1 2012-12-12 Sam Steingold <sds@gnu.org>
3 * frame.el (frame-maximization-style): New user option.
4 (toggle-frame-maximized): Toggle frame maximization according to
5 `frame-maximization-style', bound to <f11>.
6 (cycle-frame-maximized): Cycle between all maximization styles and
7 non-maximized frame, bound to shift-<f11>.
9 2012-12-12 David Cadé <codename68@gmail.com>
11 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
13 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
15 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
16 (eieio-override-prin1): Don't quote kewords and booleans.
17 (object-write) <eieio-default-superclass>: Don't put closing parens
18 on new line, avoid needless empty lines, align values that are objects
19 with the slot keyword (instead of beginning on the same line).
20 (eieio-list-prin1): Align value with slot keyword; increase
21 eieio-print-depth before printing members of the list.
23 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
25 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
26 a display text-property.
27 (report-emacs-bug-hook): Don't bother deleting it any more.
29 * hilit-chg.el (highlight-save-buffer-state): Delete.
30 Use with-silent-modifications instead.
31 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
33 * button.el: Handle buttons in display text-properties.
34 (button--area-button-p, button--area-button-string):
35 Use (STRING . STRING-POS) representation instead of just STRING.
37 2012-12-11 Eli Zaretskii <eliz@gnu.org>
39 * makefile.w32-in (compile4-SH): Fix a typo that caused term
40 subdirectory be skipped.
42 2012-12-11 Glenn Morris <rgm@gnu.org>
44 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
46 * progmodes/f90.el (f90-line-continued, f90-indent-region):
47 Treat preprocessor lines embedded in continuations like comments.
48 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
50 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
52 * calc/calc.el (calc-standard-date-formats): Add more date
54 * calc/calc-forms.el (math-parse-iso-date): New function.
55 (math-parse-date): Use `math-parse-iso-date' when appropriate.
56 (math-parse-iso-date-validate): Add extra error checking.
57 (calc-date-notation): Add ability to access new date formats.
59 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
61 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
62 font-lock as well as when there's no text-property.
64 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
66 * hi-lock.el: Refine the choice of default face.
67 (hi-lock-keyword->face): New function. Use it wherever we used
69 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
70 (hi-lock--last-face): Remove var.
71 (hi-lock--unused-faces): New var to replace it.
72 (hi-lock-read-face-name): Use/maintain it.
73 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
74 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
75 if it has another face.
77 2012-12-10 Eli Zaretskii <eliz@gnu.org>
79 * subr.el (w32notify-handle-event): New function.
80 (inotify-handle-event): Doc fix.
82 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
84 * subr.el (inotify-event-p, inotify-handle-event): New functions.
86 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
88 * simple.el (just-one-space): Doc fix.
90 2012-12-10 Eli Zaretskii <eliz@gnu.org>
92 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
94 2012-12-10 Le Wang <l26wang@gmail.com>
96 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
97 narrowed buffer (bug#12361).
99 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
101 * vc/vc-hooks.el (vc-state): Doc fix.
103 2012-12-10 Glenn Morris <rgm@gnu.org>
105 * mail/rmail.el (rmail-maybe-display-summary):
106 Preserve buffer, in case select-window changes it. (Bug#13066)
108 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
110 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
111 cl-load-hook where they belong.
113 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
115 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
117 2012-12-09 Eli Zaretskii <eliz@gnu.org>
119 Parallelize byte compilation on MS-Windows.
120 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
121 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
122 (WINS_BASIC): Define as concatenation of the above.
123 (compile): Subdivide into 4 separate and independent jobs that can
125 (compile0-CMD, compile0-SH): New targets for compiling
126 COMPILE_FIRST files, which are prerequisites for the rest of the
128 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
129 New targets for parallel compilation with cmd.exe.
130 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
131 compiling under a Unixy shell.
133 2012-12-09 Chong Yidong <cyd@gnu.org>
135 * simple.el (set-mark-default-inactive): Delete this
136 accidentally-introduced option.
137 (set-mark-command, exchange-point-and-mark): Remove calls.
139 2012-12-09 Glenn Morris <rgm@gnu.org>
141 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
142 Respect a defcustom's :set function, if appropriate. (Bug#109)
143 (eval-defun): Doc fix.
145 2012-12-08 Juri Linkov <juri@jurta.org>
147 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
148 (Info-fontify-node, Info-bookmark-make-record): Remove the
149 file extension from Info-current-file (Bug#13016).
151 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
153 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
154 point, still provide some default.
155 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
156 names, since we don't use it right now. Actually return the list.
157 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
159 2012-12-07 Chong Yidong <cyd@gnu.org>
161 * novice.el (disabled-command-function): Remove a spurious help
162 xref (Bug#13043). Suggested by Kelly Dean.
164 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
165 syntax is specified (Bug#13025).
167 * info.el (Info-set-mode-line): Remove the file extension from
168 Info-current-file if there is one (Bug#13016).
170 2012-12-07 Glenn Morris <rgm@gnu.org>
172 * mail/rmail.el (rmail-mime-decoded): New permanent local.
173 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
174 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
175 and rmail-mime-decoded. (Bug#9841)
177 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
178 (batch-unrmail, unrmail): Doc fixes.
179 (unrmail): Respect unrmail-mbox-format.
180 * mail/rmail.el (rmail-mbox-format): New option.
181 (rmail-show-message-1): Respect rmail-mbox-format.
183 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
185 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
187 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
189 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
190 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
191 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
192 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
193 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
194 (cl-progv): Don't rely on dynamic scoping to find the body.
195 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
196 (cl--proclaims-deferred): Rename from the "cl-" prefix.
197 (cl-declaim): Use backquotes.
198 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
199 Use "cl--" prefix for the object's tag.
201 * ses.el: Use advice-add/remove.
202 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
203 (copy-region-as-kill, yank): Use advice-add.
204 (ses-unload-function): Use advice-remove.
206 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
208 * button.el: Make them work in header-lines (bug#12817).
209 (button-map): Add bindings for header-line and mode-line use.
210 (button-get, button-put, button-label): `button' may now be a string.
211 (button-activate): Don't make it a defsubst.
212 (button--area-button-p, button--area-button-string): New functions.
213 (make-text-button): Fix the return value when `beg' was a string.
214 (push-button): Handle the mode-line case.
216 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
218 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
219 (sql-signum): Remove. Use `cl-signum' instead.
220 (sql-read-passwd): Remove; use read-passwd instread.
221 (sql-get-login-ext): Use read-string.
222 (sql-get-login): Use dolist and pcase.
223 (sql--completion-table): Rename from sql-try-completion.
224 Use complete-with-action.
225 (sql-mode): Don't change abbrev-all-caps globally.
226 (sql-connect): Don't rely on dynamic scoping for `new-name'.
227 (sql-postgres-completion-object): Initialize vars in their `let'.
228 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
229 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
230 (sql-comint-interbase): Use a single append, without setq.
231 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
233 * hi-lock.el: Rework the default face and the serialize regexp code.
234 (hi-lock--auto-select-face-defaults): Remove.
235 (hi-lock-string-serialize-serial): Remove.
236 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
238 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
240 (hi-lock-set-pattern): Adjust accordingly.
241 (hi-lock--regexps-at-point): Simplify accordingly.
242 (hi-lock--auto-select-face-defaults): Remove.
243 (hi-lock--last-face): New var to replace it.
244 (hi-lock-read-face-name): Rewrite (bug#11095).
245 (hi-lock-unface-buffer): Arrange for the face to be the next default.
247 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
249 * net/tramp.el (tramp-replace-environment-variables):
250 Hide compiler warning.
251 (tramp-file-name-for-operation): Remove `executable-find',
252 `start-process', `call-process' and `call-process-region'.
254 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
256 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
259 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
261 2012-12-06 Chong Yidong <cyd@gnu.org>
263 * ffap.el (ffap-replace-file-component): Fix typo.
265 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
267 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
268 fix open-paren-like token test (bug#12785).
270 2012-12-06 Glenn Morris <rgm@gnu.org>
272 * mail/rmailsum.el (rmail-new-summary): Tweak for
273 rmail-maybe-display-summary changing buffer. (Bug#13066)
275 2012-12-06 Juri Linkov <juri@jurta.org>
277 * info.el (Info-fontify-node): Don't hide the last newline.
280 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
282 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
283 so as to enable message-read-from-minibuffer to expand mail aliases.
285 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
287 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
288 the `intangible' property.
289 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
291 2012-12-05 Deniz Dogan <deniz@dogan.se>
293 * net/rcirc.el (rcirc-urls): Update documentation.
294 (rcirc-condition-filter): New function.
295 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
296 and exclude consecutive duplicate URLs (Bug#6082).
298 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
300 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
301 Check return code of copy command.
303 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
304 Use group `tramp'. Add version.
306 2012-12-05 Chong Yidong <cyd@gnu.org>
308 * ffap.el (ffap-url-regexp): Don't require matching at front of
310 (ffap-url-p): If only a substring matches, return that.
311 (ffap-url-at-point): Use the return value of ffap-url-p.
312 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
313 (find-file-at-point, dired-at-point, dired-at-point-prompter)
314 (ffap-guess-file-name-at-point): Likewise.
315 (ffap-replace-file-component): Fix typo.
317 * info.el (info-display-manual): Add existing Info buffers, whose
318 files may not be in Info-directory-list, to the completion.
319 (info--manual-names): New helper function.
321 2012-12-05 Glenn Morris <rgm@gnu.org>
323 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
324 New functions, for detecting and resolving conflicts. (Bug#10709)
326 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
328 * hi-lock.el (hi-lock-auto-select-face): New user variable.
329 (hi-lock-auto-select-face-defaults): New buffer local variable.
330 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
331 (hi-lock-unface-buffer): Prompt user with useful defaults.
332 With prefix arg, unhighlight all hi-lock patterns in buffer.
334 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
336 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
338 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
340 * Makefile.in (TRAMP_SRC):
341 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
343 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
345 * net/tramp-adb.el: New package.
347 2012-12-04 Chong Yidong <cyd@gnu.org>
349 * terminal.el: Move to obsolete/.
351 * longlines.el: Move to obsolete/.
353 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
354 Remove code referring to longlines mode.
356 2012-12-03 Juri Linkov <juri@jurta.org>
358 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
360 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
362 * textmodes/ispell.el (ispell-init-process)
363 (ispell-start-process, ispell-internal-change-dictionary):
364 Make sure personal dictionary name is expanded after initial
365 `default-directory' value. Use expanded strings for
366 keep/restart checks and for value (Bug#13019).
368 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
370 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
372 2012-12-03 Leo Liu <sdl.web@gmail.com>
374 * files.el (dir-locals-read-from-file): Check file non-empty
375 before reading. (Bug#13038)
377 2012-12-03 Glenn Morris <rgm@gnu.org>
379 * jka-cmpr-hook.el (jka-compr-get-compression-info):
380 Remove any version extension before checking filename. (Bug#13006)
381 (jka-compr-compression-info-list): Belated :version bump.
383 2012-12-03 Chong Yidong <cyd@gnu.org>
385 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
387 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
388 (buffer-menu): Doc fix (Bug#12294).
390 2012-12-03 Roland Winkler <winkler@gnu.org>
392 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
393 of diary-show-all-entries in the diary buffer (Bug#12994).
395 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
397 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
398 "<STDIN>". This is binary safe.
400 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
402 * calc/calc-forms.el (math-absolute-from-iso-dt)
403 (math-date-to-iso-dt, math-parse-iso-date-validate)
404 (math-iso-dt-to-date): New functions.
405 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
406 (math-fd-isoweekday): New variables.
407 (calc-date-notation, math-parse-standard-date, math-format-date)
408 (math-format-date-part): Add support for more formatting codes.
410 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
412 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
413 current buffer's file name when called interactively (Bug#12488).
415 2012-12-02 Juri Linkov <juri@jurta.org>
417 * info.el (info-display-manual): Don't clobber an existing Info
418 buffer (Bug#10770). Add completion (Bug#10771).
420 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
422 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
423 before using it for comparison (Bug#5297).
425 2012-12-01 Jari Aalto <jari.aalto@cante.net>
427 * textmodes/css-mode.el (css-current-defun-name): New function.
430 * textmodes/sgml-mode.el (html-current-defun-name): New function.
433 2012-12-01 Chong Yidong <cyd@gnu.org>
435 Modularize add-log-current-defun (Bug#2224).
436 Suggested by Jari Aalto.
438 * vc/add-log.el (add-log-current-defun-function): Doc fix.
439 (add-log-current-defun): Move mode-specific code to other files.
440 (add-log-lisp-like-modes, add-log-c-like-modes)
441 (add-log-tex-like-modes): Variables deleted.
443 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
444 (lisp-mode-variables): Use it.
446 * progmodes/cc-mode.el (c-common-init):
447 * progmodes/cperl-mode.el (cperl-mode): Set a value for
448 add-log-current-defun-function.
450 * progmodes/m4-mode.el (m4-current-defun-name): New function.
453 * progmodes/perl-mode.el (perl-current-defun-name): New.
456 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
457 Use lisp-current-defun-name.
459 * textmodes/tex-mode.el (tex-current-defun-name): New.
460 (tex-common-initialization): Use it.
462 * textmodes/texinfo.el (texinfo-current-defun-name): New.
463 (texinfo-mode): Use it.
465 2012-12-01 Chong Yidong <cyd@gnu.org>
467 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
468 * progmodes/autoconf.el (autoconf-mode):
469 * progmodes/js.el (js-mode):
470 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
471 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
472 * progmodes/perl-mode.el (perl-mode):
473 * progmodes/sh-script.el (sh-mode, sh-set-shell):
474 * textmodes/css-mode.el (css-mode):
475 * textmodes/sgml-mode.el (html-mode, sgml-mode)
476 (sgml-tags-invisible, sgml-guess-indent):
477 * textmodes/tex-mode.el (tex-common-initialization)
478 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
479 (doctex-mode, plain-tex-mode, latex-mode):
480 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
482 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
484 * vc/vc-hg.el (vc-hg-next-revision):
485 Ensure use of default "tip" output format. (Bug#6968)
487 2012-12-01 Kim F. Storm <storm@cua.dk>
489 * startup.el (fancy-startup-tail): Add a clickable link
492 2012-12-01 Chong Yidong <cyd@gnu.org>
494 * startup.el (fancy-startup-tail): Improve the message about
495 auto-save files (Bug#2176).
497 * files.el (recover-session): Improve the descriptive message, and
498 use substitute-command-keys.
500 2012-12-01 Glenn Morris <rgm@gnu.org>
502 * ido.el (ido-file-internal):
503 Handle other-window, other-frame for dired. (Bug#13036)
505 2012-11-30 Glenn Morris <rgm@gnu.org>
507 * icomplete.el (icomplete-separator): Fix :version.
509 2012-11-30 Chong Yidong <cyd@gnu.org>
511 * shell.el (shell): For C-u M-x shell, use an inactive shell
512 buffer as the default (Bug#1975).
513 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
514 (shell-mode): Use them to reapply ansi colorization if Shell mode
517 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
519 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
521 2012-11-30 Samuel Bronson <naesten@gmail.com>
523 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
524 flag to xargs, for compatibility with BSD xargs (Bug#11703).
526 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
528 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
529 by move-to-column (Bug#3234).
531 2012-11-30 Chong Yidong <cyd@gnu.org>
533 * longlines.el (longlines-wrap-line, longlines-encode-region):
534 Preserve text properties (Bug#1425).
536 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
538 * vc/vc.el (vc-register): Allow registering a file which is
539 already registered with a different backend (Bug#10589).
541 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
542 Stefan Monnier <monnier@iro.umontreal.ca>
544 * icomplete.el: Change separator; add ido-style commands.
545 (icomplete-show-key-bindings): Remove custom var.
546 (icomplete-get-keys): Remove function.
547 (icomplete-forward-completions, icomplete-backward-completions):
549 (icomplete-minibuffer-map): New var.
550 (icomplete-minibuffer-setup): Use it.
551 (icomplete-exhibit): Don't delay if the list of completions is known.
552 (icomplete-separator): New custom.
553 (icomplete-completions): Use it.
554 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
555 (minibuffer-force-complete-and-exit): New command.
556 (minibuffer--complete-and-exit): New function extracted from
557 minibuffer-complete-and-exit.
558 (minibuffer-complete-and-exit): Use it.
560 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
561 error message when the file doesn't exist (bug#12974).
563 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
565 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
567 2012-11-29 Glenn Morris <rgm@gnu.org>
569 * files.el (hack-dir-local-variables): Warn if try to set
570 coding via dir-locals, since it doesn't work. (Bug#7169)
572 Add desktop support for restoring vc-dir buffers. (Bug#10606)
573 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
574 Set buffer-local value of desktop-save-buffer.
575 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
577 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
578 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
580 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
581 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
583 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
586 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
588 * calc/calc-forms.el (calc-date-notation): Fix regexp
589 used to find time codes. Fix symbol for seconds.
591 2012-11-27 Glenn Morris <rgm@gnu.org>
593 * emacs-lisp/derived.el (derived-mode-make-docstring):
594 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
596 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
598 * textmodes/table.el (table-insert): Don't use `symbol-name' on
599 lexically scoped variables (bug#13005).
601 2012-11-27 Glenn Morris <rgm@gnu.org>
603 * vc/vc-hooks.el (vc-mistrust-permissions):
604 Default to t, to avoid data-loss. (Bug#11490)
606 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
608 * progmodes/python.el (python-indent-guess-indent-offset):
609 If indentation is guessed make python-indent-offset buffer-local.
611 Fix Imenu regression.
612 * progmodes/python.el (python-nav-beginning-of-defun):
613 Fix forward movement when statement(s) separates point from defun.
614 (python-imenu-prev-index-position): New function.
616 2012-11-27 Eli Zaretskii <eliz@gnu.org>
618 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
620 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
621 Don't set buffer-file-type. Return nil. (Bug#12989)
623 2012-11-27 Glenn Morris <rgm@gnu.org>
625 * hippie-exp.el (hippie-expand-try-functions-list):
626 Re-autoload it. (Bug#12982)
628 2012-11-27 Eli Zaretskii <eliz@gnu.org>
630 * descr-text.el (describe-char-padded-string):
631 Call internal-char-font only on GUI frames. (Bug#11964)
633 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
635 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
636 and obsoletion message.
638 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
640 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
641 the constructs to keep outside of the `cl-block' (bug#12977).
643 2012-11-27 Chong Yidong <cyd@gnu.org>
645 * mouse.el (mouse-drag-line): Even if the line is not draggable,
646 keep reading until we get the up-event anyway, in order to process
647 the up-event for mouse-1-click-follows-link (Bug#12971).
649 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
651 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
652 base function is not yet defined (bug#12965).
653 (ad-activate-advised-definition): Use ad-compile-function.
654 (ad-activate): Use cond.
656 2012-11-25 Leo Liu <sdl.web@gmail.com>
658 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
661 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
663 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
664 reftex-section-info-function in order to be compatible with
667 * textmodes/reftex.el (reftex-section-pre-regexp)
668 (reftex-section-post-regexp, reftex-section-info-function):
670 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
671 reftex-section-post-regexp, and reftex-section-info-function in order
672 to be compatible with Texinfo integration.
674 * textmodes/reftex-toc.el (reftex-toc-promote-action):
675 use reftex-section-pre-regexp variable in order to be compatible with
678 2012-11-25 Chong Yidong <cyd@gnu.org>
680 * faces.el: Make face-spec-set more analogous to setq.
681 (face-spec-set): Change the third arg to specify whether this
682 function is being called via defface, customize, or a third party.
683 Set the appropriate symbol properties. Clear the override spec if
684 setting via Custom. Initialize face if necessary. (Bug#4988)
685 (face-spec-recalc): Allow theme faces to completely replace the
686 defface spec, in the same way as custom faces (Bug#8454).
688 * cus-face.el (custom-declare-face): Move face initialization to
690 (custom-theme-set-faces): Don't initialize the face name here, as
691 that is now done in face-spec-set.
693 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
694 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
695 Simplify by using the new arg to face-spec-set.
697 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
698 reset face-override-spec too, and use custom-declare-face.
700 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
702 * term/ns-win.el (ns-initialize-window-system): Move creation of
703 fontsets here (Bug#11964).
705 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
707 * ses.el (ses-rename-cell): Correct bug on mode-line update after
710 2012-11-24 Chong Yidong <cyd@gnu.org>
712 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
715 * custom.el (custom-theme-set-variables): Use a topological sort
716 for ordering by custom dependencies (Bug#12952).
717 (custom--sort-vars, custom--sort-vars-1): New functions.
719 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
721 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
722 lexical-binding (bug#12938).
724 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
726 * image-mode.el (image-transform-check-size): Use assertions only
727 for images of type imagemagick.
729 Otherwise no error, image-transform-fit-to-{width,height} is
730 silently ignored, as before. Doc fix.
732 2012-11-24 Chong Yidong <cyd@gnu.org>
734 * faces.el (color-defined-p): Doc fix (Bug#12853).
736 2012-11-24 Juri Linkov <juri@jurta.org>
738 * dired.el (dired-mark): Add optional arg `interactive'.
739 Check for `use-region-p' if `interactive' is non-nil.
740 (dired-unmark, dired-flag-file-deletion): Add optional arg
741 `interactive'. Call `dired-mark' with the arg `interactive'.
744 * wdired.el: Revert 2012-10-17 change partly and replace it with
745 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
746 (wdired-finish-edit): Add marks for new file names to
747 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
748 after `revert-buffer'.
749 (wdired-do-renames): Remove calls to `dired-remove-file',
750 `dired-add-file', `dired-add-entry'. (Bug#11795)
752 2012-11-24 Alan Mackenzie <acm@muc.de>
754 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
756 Fix bugs in the state cache. Enhance a debugging mechanism.
757 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
758 "brace at column zero" strategy for C++.
759 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
760 (c-parse-state-point): New variable.
761 (c-record-parse-state-state): Record old parse state with
762 `copy-tree'. Record previous value of point.
763 (c-debug-parse-state-double-cons): New debugging function.
764 (c-debug-parse-state): Call the above new function.
765 (c-toggle-parse-state-debug): Output a confirmatory message.
767 * progmodes/cc-mode.el (c-before-change, c-after-change):
768 Call c-invalidate-state-cache from `c-before-change' instead of
771 2012-11-23 Chong Yidong <cyd@gnu.org>
773 * find-cmd.el (find-constituents): Add executable, ipath,
774 readable, samefile, writable, daystart, regextype (Bug#12856).
776 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
778 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
780 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
782 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
783 definition. This fixes a bootstrap failure.
784 (calc-gregorian-switch): In menu, put dates before regions.
785 This is easier to follow, lines up better in the menu, and lets us
786 coalesce regions that switch at the same time. Give country
787 names, not "Vatican", as that's better for non-expert users.
788 Use names that are stable between the date of switch and now, e.g.,
789 Bohemia and Moravia (which existed then and now) and not
790 Czechoslovakia (which didn't exist then and doesn't exist now).
791 What is now the U.S. mostly did not switch at the same time as
792 Britain, so omit the U.S. Correct spelling of "Britain".
793 Catholic Switzerland was too much of a mess, so omit it.
795 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
797 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
798 after the variable is changed.
800 2012-11-21 Daniel Colascione <dancol@dancol.org>
802 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
803 in SQL declarations for font-lock.
804 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
806 2012-11-21 Glenn Morris <rgm@gnu.org>
808 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
809 (face-italic-p): Add optional argument "inherit".
811 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
812 Remove -p suffix from names, for consistency with other set-face-*.
813 (set-face-inverse-video): Fix interactive spec.
814 * play/gamegrid.el (gamegrid-make-mono-tty-face):
815 * textmodes/table.el (table--update-cell-face):
816 Use set-face-inverse-video rather than now obsolete alias.
818 2012-11-21 Eli Zaretskii <eliz@gnu.org>
820 * simple.el (line-move): Don't call line-move-partial if
821 scroll-conservatively is in effect. (Bug#12927)
823 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
825 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
826 Fallback on completion-at-point rather than
827 pcomplete-expand-and-complete, and only if pcomplete actually failed.
828 (eshell-cmpl-initialize): Setup completion-at-point.
830 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
832 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
834 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
836 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
837 are remote, check out-of-band property for both.
839 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
841 * window.el (switch-to-buffer): Re-add the warning that was lost in the
844 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
846 More minor time fixes.
847 * calendar/time-date.el: Commentary fix.
848 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
849 too much other code depends on (0 0) time stamps.
850 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
851 Add a couple of FIXME comments.
853 Minor cleanup for times as lists of four integers.
854 * files.el (dir-locals-directory-cache):
855 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
857 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
858 * ps-bdf.el (bdf-file-newer-than-time):
859 Process four-integers time stamps, not two. Doc fixes.
861 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
863 * uniquify.el (uniquify-managed): Use defvar-local.
864 (rename-buffer, create-file-buffer): Advise with advice-add.
865 (uniquify-unload-function): Unadvise accordingly.
867 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
868 (trace-buffer): Don't purecopy.
869 (trace-entry-message, trace-exit-message): Add `context' arg.
870 (trace--timer): New var.
871 (trace-make-advice): Adjust for use in nadvice.
872 Add `context' argument. Delay `display-buffer' via a timer.
873 (trace-function-internal): Use advice-add.
874 (trace--read-args): New function.
875 (trace-function-foreground, trace-function-background): Use it.
876 (trace-function): Rename to trace-function-foreground and redefine as
877 an alias to that new name.
878 (untrace-function, untrace-all): Adjust to the use of nadvice.
880 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
882 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
884 * subr.el (called-interactively-p-functions): New var.
885 (internal--called-interactively-p--get-frame): New macro.
886 (called-interactively-p, interactive-p): Rewrite in Lisp.
887 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
888 (called-interactively-p-functions): Use it.
889 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
890 (called-interactively-p-functions): Use it.
891 * allout.el (allout-called-interactively-p): Don't assume
892 called-interactively-p is a subr.
894 2012-11-20 Glenn Morris <rgm@gnu.org>
896 * profiler.el (profiler-report-mode-map): Add a menu.
897 No need to bind `q' because we derive from special-mode.
898 (profiler-report-find-entry): Handle calls from the menu-bar.
900 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
902 * emacs-lisp/byte-run.el (defun-declarations-alist):
903 Allow a compiler-macro to be a lambda expression.
905 * progmodes/python.el: Use cl-lib. Move var declarations outside of
907 (python-syntax-context): Add compiler-macro.
908 (python-font-lock-keywords): Simplify with De Morgan.
910 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
912 * files.el (load-file): Require match in minibuffer selection, as was
913 the case in Emacs-20 before we changed the spec to allow .elc files
916 * json.el: Don't require cl since we don't use it.
917 * color.el: Don't require cl.
918 (color-complement): `caddr' -> `nth 2'.
920 * calendar/time-date.el (time-to-seconds): De-obsolete.
922 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
924 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
926 (math-date-to-julian-dt): Adjust the initial approximation for the
927 year to deal with the new definition of the DATE.
929 2012-11-19 Daniel Colascione <dancol@dancol.org>
931 * term/w32-win.el (cygwin-convert-path-from-windows):
932 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
934 2012-11-18 Chong Yidong <cyd@gnu.org>
936 * filecache.el (file-cache--read-list): New function.
937 (file-cache-add-directory-list, file-cache-add-file-list)
938 (file-cache-delete-file-list, file-cache-delete-directory-list):
939 Use it to read a list of files or directories (Bug#12846).
940 (file-cache-add-file, file-cache-add-directory)
941 (file-cache-delete-file-list, file-cache-delete-file-regexp)
942 (file-cache-delete-directory): Print an message.
944 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
946 * calc/calc-forms.el (math-date-to-dt): Use integer date when
947 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
949 2012-11-18 Glenn Morris <rgm@gnu.org>
951 * image.el (insert-image, insert-sliced-image): Doc fix.
953 2012-11-18 Chong Yidong <cyd@gnu.org>
955 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
958 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
960 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
961 response when the target file is in a subdirectory (Bug#12757).
963 2012-11-18 Chong Yidong <cyd@gnu.org>
965 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
967 2012-11-18 Glenn Morris <rgm@gnu.org>
969 * emacs-lisp/cl-lib.el (face-underline-p):
970 Use set-face-underline rather than the alias set-face-underline-p.
972 * window.el (with-temp-buffer-window): Doc fix.
973 * subr.el (with-output-to-temp-buffer):
974 Add doc xref to with-temp-buffer-window.
976 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
978 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
979 * calc/calc.el (math-format-date-cache): Declare.
981 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
983 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
984 It also uses January 1, 1 AD as its day number 1.
985 * calc/calc-forms.el (math-julian-date-beginning)
986 (math-julian-date-beginning-int): Implement this.
988 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
990 * descr-text.el (quail-find-key):
991 * dired.el (desktop-file-name):
992 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
993 * generic-x.el (comint-mode, comint-exec):
994 * image-dired.el (widget-forward):
995 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
996 (speedbar-change-expand-button-char)
997 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
998 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
999 * printing.el (easy-menu-add-item, easy-menu-remove-item)
1000 (widget-field-action, widget-value-set):
1001 * speedbar.el (imenu--make-index-alist):
1002 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
1003 (ring-length, ring-insert):
1004 * vcursor.el (compare-windows-skip-whitespace):
1005 * woman.el (dired-get-filename):
1008 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
1010 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1012 * calc/calc.el (calc-gregorian-switch): New variable.
1014 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
1015 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
1016 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
1017 (math-leap-year-p): Add option to distinguish between Julian
1018 and Gregorian calendars.
1019 (math-day-number): Use `math-day-in-year' to do the computations.
1020 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
1021 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1022 to do the computations.
1023 (math-date-to-dt): Use `math-date-to-julian-dt' and
1024 `math-date-to-gregorian-dt' to do the computations.
1025 (calcFunc-weekday, math-format-date-part): Use the new version of
1026 the DATE to determine the weekday.
1027 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1030 2012-11-17 Eli Zaretskii <eliz@gnu.org>
1032 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1033 Cygwin; otherwise use 'file:'. (Bug#12914)
1034 (cygwin-convert-path-from-windows): Declare, to avoid
1035 byte-compiler warnings.
1037 2012-11-17 Andreas Politz <politza@fh-trier.de>
1039 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1040 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1041 prefix and negative numeric prefix args (Bug#12795).
1043 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
1045 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1046 Don't signal an error with a score that is too low to add to the
1047 list of top scores. (Bug#12779)
1049 2012-11-17 Chong Yidong <cyd@gnu.org>
1051 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1053 * filecache.el (file-cache-add-file): Handle relative file name in
1054 the argument (Bug#12694).
1056 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1058 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1060 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1062 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1064 * emacs-lisp/cl-lib.el: Set more meaningful version number.
1066 2012-11-16 Martin Rudalics <rudalics@gmx.at>
1068 * window.el (enlarge-window, shrink-window): Don't mention return
1069 value in doc-string (Bug#12896).
1070 (window--display-buffer): Don't resize frames - it won't work
1071 with all window managers and defeat pop-up-frame-alist.
1072 (display-buffer-alist): In doc-string explain that CONDITION can
1073 be a function and which arguments are passed to it (Bug#12854).
1074 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
1075 expressions (Bug#12854).
1076 (display-buffer): Pass ACTION argument to
1077 display-buffer-assq-regexp.
1079 2012-11-16 Glenn Morris <rgm@gnu.org>
1081 * window.el (fit-frame-to-buffer-bottom-margin)
1082 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1084 * faces.el (face-underline-p): Use face-attribute-specified-or.
1086 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
1088 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1090 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1092 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1094 2012-11-16 Glenn Morris <rgm@gnu.org>
1096 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
1097 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1099 * faces.el (face-underline-p): Doc fix. Handle :underline being
1100 things other than `t' (a string, a list).
1101 (face-inverse-video-p): Doc fix.
1102 (set-face-underline): Rename it back from set-face-underline-p.
1103 Doc fix. Allow interactive input of values other than t.
1104 (read-face-attribute): Apply formatting to :underline,
1105 since like :box and :stipple it can take list values.
1107 * term.el (ansi-term): Don't let C-x escape-char binding
1108 clobber the more standard C-c binding. (Bug#12842)
1110 * subr.el (set-temporary-overlay-map): Doc fix.
1112 2012-11-16 Martin Rudalics <rudalics@gmx.at>
1114 * window.el (record-window-buffer)
1115 (display-buffer-record-window): When copying the markers to
1116 window-point preserve window-point-insertion-type. (Bug#12588)
1118 2012-11-16 Glenn Morris <rgm@gnu.org>
1120 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1121 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1122 Use new names for hooks rather than obsolete aliases.
1124 2012-11-15 Daniel Colascione <dancol@dancol.org>
1126 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
1127 prefix instead of "file:" so that when FILE-NAME begins with "//",
1128 as it does when the target file is on a network share, url-handler
1131 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1133 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1134 a preactivated advice from an old advice.el; they're not compatible!
1136 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
1138 * emacs-lisp/nadvice.el (advice--make-interactive-form):
1139 Fix string-spec case.
1141 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1143 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1145 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1146 (advice--buffer-local-function-sample): New var.
1147 (advice--set-buffer-local, advice--buffer-local): New functions.
1148 (add-function, remove-function): Use them.
1150 2012-11-15 Drew Adams <drew.adams@oracle.com>
1152 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1154 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1156 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1157 potential binding of print-gensym to t, and prettify (back)quotes in
1158 case they appear in args's default values (bug#12884).
1160 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1162 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1163 (advice-eval-interactive-spec): New function.
1164 (advice--make-interactive-form): Support around advice (bug#12844).
1166 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
1168 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1169 more strict. Add docstring.
1170 (ruby-expression-expansion-re): Extract from
1171 `ruby-match-expression-expansion'.
1172 (ruby-syntax-propertize-function): After everything else, search
1173 for expansions in string literals, mark their insides as
1174 whitespace syntax and save match data for font-lock.
1175 (ruby-font-lock-keywords): Use the 2nd group from expression
1177 (ruby-match-expression-expansion): Use the match data saved to the
1178 text property in ruby-syntax-propertize-function.
1180 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1182 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1185 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1187 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1188 start/end keyword a bit harder. Works with different values of N.
1190 (ruby-end-of-block): Update accordingly.
1192 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1194 * woman.el (woman-file-name): Don't mess with unread-command-events
1197 * emacs-lisp/advice.el: Layer on top of nadvice.el.
1198 Remove out of date self-require hack.
1199 (ad-do-advised-functions): Use simple `dolist'.
1200 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1201 (ad-advice-definition): Redefine as functions.
1202 (ad-advice-classes): Move before first use.
1203 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
1204 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
1205 (ad--defalias-fset): Remove functions.
1206 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
1207 (ad-get-orig-definition): Rewrite.
1208 (ad-make-advised-definition-docstring): Change base docstring.
1209 (ad-real-orig-definition): Rewrite.
1210 (ad-map-arglists): Change name of called function.
1211 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1212 (ad-make-advised-definition): Simplify.
1213 (ad-assemble-advised-definition): Tweak for new calling context.
1214 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
1215 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
1216 function and call ad-activate if needed.
1217 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1218 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1219 (ad-compile-function): Compile ad-Advice-*.
1220 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1221 (ad-start-advice, ad-stop-advice): Remove.
1223 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1225 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1226 period before class method names, not after. Remove handling of
1227 one impossible case. Add comments.
1229 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1231 * emacs-lisp/advice.el: Remove support for freezing.
1232 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1233 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1234 Remove support for `freeze'.
1236 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1237 override the default.
1238 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1240 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1243 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1245 (advice--strip-macro): New function.
1246 (advice--defalias-fset): Use them to handle macros.
1247 (advice-add): Use them.
1248 (advice-member-p): Correctly handle macros.
1250 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1252 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1253 Never font-lock the beginning of singleton class as heredoc.
1255 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1257 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1259 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
1261 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
1262 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1263 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
1265 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
1267 Fix end-of-defun misbehavior.
1268 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1269 python-beginning-of-defun-function. Handle nested defuns
1271 (python-nav-end-of-defun): Rename from
1272 python-end-of-defun-function. Ensure forward movement.
1273 (python-info-current-defun): Reimplement to work as intended
1274 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
1275 parent defuns as soon as possible.
1277 2012-11-13 Glenn Morris <rgm@gnu.org>
1279 * progmodes/flymake.el (flymake-error-bitmap)
1280 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1281 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1283 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1285 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1286 backward, always stop at indentation. Reverts the change from
1287 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1289 2012-11-13 Glenn Morris <rgm@gnu.org>
1291 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1292 Add ibuffer-filter-by-derived-mode.
1294 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1295 the same name shadowing each other.
1297 * window.el (with-temp-buffer-window): Doc tweak.
1299 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1301 * help.el (temp-buffer-max-height):
1302 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
1303 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1305 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1307 * emacs-lisp/nadvice.el: New package.
1308 * subr.el (special-form-p): New function.
1309 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1310 (elp-all-instrumented-list): Remove var.
1311 (elp-not-profilable): Remove elp-wrapper.
1312 (elp-profilable-p): Use autoloadp and special-form-p.
1313 (elp--advice-name): New const.
1314 (elp-instrument-function): Use advice-add.
1315 (elp--instrumented-p): New predicate.
1316 (elp-restore-function): Use advice-remove.
1317 (elp-restore-all, elp-reset-all): Use mapatoms.
1318 (elp-set-master): Use elp--instrumented-p.
1319 (elp--make-wrapper): Rename from elp-wrapper, return a function
1320 suitable for advice-add. Use cl-inf.
1321 (elp-results): Use mapatoms+elp--instrumented-p.
1322 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1323 (debug-function-list): Remove var.
1324 (debug): Rename arg, and then let-bind it explicitly inside.
1325 (debugger-setup-buffer): Rename arg.
1326 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1327 (debugger-frame-number): Adjust to new debug-on-entry setup.
1328 (debug--implement-debug-on-entry): Rename from
1329 implement-debug-on-entry, add argument.
1330 (debugger-special-form-p): Remove, use special-form-p instead.
1331 (debug-on-entry): Use advice-add.
1332 (debug--function-list): New function.
1333 (cancel-debug-on-entry): Use it, along with advice-remove.
1334 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1335 (debugger-list-functions): Use debug--function-list instead of
1336 debug-function-list.
1337 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1338 (ad-special-form-p): Remove, use special-form-p instead.
1339 (ad-set-advice-info): Use add-function and remove-function.
1340 (ad--defalias-fset): Adjust accordingly.
1342 2012-11-10 Glenn Morris <rgm@gnu.org>
1344 * mail/emacsbug.el (report-emacs-bug-tracker-url)
1345 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1346 (report-emacs-bug-create-existing-bugs-buffer)
1347 (report-emacs-bug-parse-query-results)
1348 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
1350 * term.el (term-default-fg-color, term-default-bg-color):
1351 Make obsolete, rather than just saying "deprecated" in the doc.
1353 * term.el (term): Rename from `term-face'.
1354 (term-current-face, ansi-term-color-vector)
1355 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1358 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
1360 * server.el (server-create-window-system-frame): Handle Nextstep
1361 specially (Bug#12780).
1363 2012-11-10 Glenn Morris <rgm@gnu.org>
1365 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1366 Unautoload, and make obsolete. (Bug#7449)
1368 2012-11-10 Chong Yidong <cyd@gnu.org>
1370 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1371 rename from diff-remove-trailing-whitespace (Bug#12831).
1373 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1375 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1376 miscompilation of trace.el.
1378 2012-11-10 Glenn Morris <rgm@gnu.org>
1380 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1382 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1384 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1387 2012-11-10 Chong Yidong <cyd@gnu.org>
1389 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1390 a defcustom with an appropriate :set function.
1391 (minibuffer-default--in-prompt-regexps): New function.
1393 2012-11-10 Glenn Morris <rgm@gnu.org>
1395 * emacs-lisp/cl.el (define-setf-expander, defsetf)
1396 (define-modify-macro): Doc fixes.
1398 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1399 (gv-define-simple-setter): Update doc of `fix-return'.
1401 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1403 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1404 twice when `fix-return' is set (bug#12813).
1406 * emacs-lisp/cl.el (defsetf): Pass the third arg to
1407 gv-define-simple-setter (bug#12812).
1409 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1412 2012-11-10 Glenn Morris <rgm@gnu.org>
1414 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1416 * emacs-lisp/cl-extra.el (cl-prettyexpand):
1417 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1418 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1419 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1421 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1423 2012-11-10 Leo Liu <sdl.web@gmail.com>
1425 * ido.el (ido-set-matches-1): Improve flex matching performance by
1426 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1428 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1430 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1431 (ad--defalias-fset): New function.
1432 (ad-safe-fset): Remove.
1433 (ad-make-freeze-definition): Use cl-letf*.
1435 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1437 * subr.el (dolist): Don't bind VAR in RESULT.
1439 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1440 (fset, documentation): Don't save real def since we don't advise.
1441 (ad-do-advised-functions): Remove problematic `result-form'.
1442 (ad-safe-fset): `ad-real-fset' => `fset'.
1443 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1444 uses CL's dolist internally.
1445 (ad-arglist): Remove unused arg `name'.
1446 (ad-docstring, ad-make-advised-docstring):
1447 `ad-real-documentation' => `documentation'.
1448 (warning-suppress-types): Declare.
1449 (ad-set-arguments): Simple CSE.
1450 (ad-recover-normality): Sanity check.
1452 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1453 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1455 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
1457 * ses.el: symbol to coordinate mapping is made by symbol property
1458 `ses-cell'. This means that the same mapping is done for all SES
1459 sheets. That is good enough for cells with standard A1 names, but
1460 not for named cell. So a hash map is added for the latter.
1461 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
1462 (ses-sym-rowcol): Use hashmap for named cell.
1463 (ses-is-cell-sym-p): New defun.
1464 (ses-decode-cell-symbol): New defun.
1465 (ses-create-cell-variable): Add cell to hashmap when name is not
1467 (ses-rename-cell): Check that cell new name is not already in
1468 spreadsheet with the use of ses-is-cell-sym-p
1469 (ses-rename-cell): Use hash map for named cells, but accept also
1470 renaming back to A1-like.
1472 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1474 * emacs-lisp/advice.el: Use new dynamic docstrings.
1475 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1476 Use dynamic-docstring-function instead of ad-advice-info.
1477 (ad--make-advised-docstring): New function extracted from
1478 ad-make-advised-docstring.
1479 (ad-make-advised-docstring): Use it.
1480 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1482 (sql-help): Use it with dynamic-docstring-function.
1484 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1486 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1488 * files.el (hack-one-local-variable--obsolete): New function.
1489 (hack-one-local-variable): Use it for obsolete settings.
1491 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1494 * progmodes/js.el (js--filling-paragraph): New var.
1495 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1496 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1499 2012-11-08 Julien Danjou <julien@danjou.info>
1501 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1502 `auto-mode-alist' (Bug#12835).
1504 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1506 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1507 (perl--prettify-symbols-alist): New const.
1508 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1510 (perl-font-lock-keywords-2): Use them.
1511 (perl-electric-noindent-p): New function.
1512 (perl-mode): Use it to set up electric-indent-mode.
1513 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1514 (perl-mode-map): Remove bindings for them.
1515 (perl-imenu-generic-expression, perl-outline-level):
1516 Match functions&packages in column>0.
1518 * env.el (env--substitute-vars-regexp): New const.
1519 (substitute-env-vars): Use it. Add `only-defined' arg.
1520 * net/tramp.el (tramp-replace-environment-variables): Use it.
1522 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1523 Byte-compile *before* eval in eval-and-compile.
1524 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1525 (byte-compile-file-form-autoload): Don't hide actual definition.
1526 (byte-compile-maybe-guarded): Accept `functionp' as well.
1528 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1530 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
1532 * notifications.el (notifications-get-server-information-method):
1534 (notifications-get-capabilities): Fix docstring.
1535 (notifications-get-server-information): New defun.
1537 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1539 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1542 * textmodes/ispell.el: Experimental support for support debugging.
1543 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1545 (ispell-print-if-debug): New function to print stuff to
1546 `ispell-debug-buffer' if debugging is enabled.
1547 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1548 show some debugging info.
1549 (ispell-buffer-with-debug): New function that creates a debugging
1550 buffer and calls `ispell-buffer' with debugging enabled.
1552 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1553 comment in autoconf mode. (Bug#12768)
1555 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1557 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1558 frame-first-window, frame-root-window, frame-selected-window,
1559 minibuffer-selected-window, minibuffer-window,
1560 window-absolute-pixel-edges, window-at, window-body-height,
1561 window-body-width, window-display-table, window-combination-limit,
1562 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1563 window-inside-edges, window-inside-pixel-edges, window-left-child,
1564 window-left-column, window-margins, window-next-buffers,
1565 window-next-sibling, window-new-normal, window-new-total,
1566 window-normal-size, window-parameter, window-parameters, window-parent,
1567 window-pixel-edges, window-point, window-prev-buffers,
1568 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1569 window-start, window-text-height, window-top-child, window-top-line,
1570 window-total-height, window-total-width and window-use-time to the list
1571 of functions without side-effects.
1572 (toplevel): Add window-valid-p to the list of error-free functions
1573 without side-effects.
1575 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1577 * textmodes/ispell.el (ispell-program-name):
1578 Update spellchecker parameters when customized.
1580 2012-11-04 Glenn Morris <rgm@gnu.org>
1582 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1584 2012-11-04 Chong Yidong <cyd@gnu.org>
1586 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1587 same-window-* variables.
1589 2012-11-04 Juri Linkov <juri@jurta.org>
1591 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1592 (isearch-describe-key, isearch-describe-mode): Use a display
1593 action instead of binding same-window-* variables (Bug#10040).
1595 2012-11-03 Glenn Morris <rgm@gnu.org>
1597 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1598 Rename handler properties back from cl-- to cl-. (Bug#12788)
1600 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1602 2012-11-03 Eli Zaretskii <eliz@gnu.org>
1604 * term/pc-win.el: Don't load term/internal from here.
1606 * loadup.el: Load term/internal from here.
1608 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1610 * progmodes/python.el (inferior-python-mode): Fix hang in
1611 jit-lock (Bug#12645).
1613 2012-11-03 Martin Rudalics <rudalics@gmx.at>
1615 * window.el (switch-to-visible-buffer)
1616 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1618 2012-11-03 Glenn Morris <rgm@gnu.org>
1620 * emacs-lisp/cl-lib.el (cl--random-time):
1621 Rename from cl-random-time. (Bug#12773)
1622 (cl--gensym-counter, cl--random-state): Update callers.
1623 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1625 2012-11-03 Chong Yidong <cyd@gnu.org>
1627 * cus-start.el: Make cursor-type customizable (Bug#11633).
1629 2012-11-02 Glenn Morris <rgm@gnu.org>
1631 * filecache.el: No need to load find-lisp when compiling.
1632 (find-lisp-find-files): Autoload it.
1633 (file-cache-add-directory-recursively): Don't require find-lisp.
1635 * image.el (image-type-from-file-name): Trivial simplification.
1637 * emacs-lisp/bytecomp.el (byte-compile-eval):
1638 Decouple "noruntime" and "cl-functions" warnings.
1640 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
1642 * play/gomoku.el (gomoku-display-statistics): Update mode line
1643 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1645 2012-10-31 Martin Rudalics <rudalics@gmx.at>
1647 * window.el (quit-restore-window): If the window has been
1648 created on an existing frame and ended up as the sole window on
1649 that frame, do not delete it (Bug#12764).
1651 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1653 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1654 Rename from sh--inside-arithmetic-expression, handle more cases
1657 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1658 (sh-font-lock-open-heredoc): Use it (bug#12770).
1660 2012-10-30 Glenn Morris <rgm@gnu.org>
1662 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1664 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1666 2012-10-29 Chong Yidong <cyd@gnu.org>
1668 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1669 function key is stored in a keyboard macro (Bug#4894).
1671 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1673 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1675 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1677 (diff-unified->context, diff-context->unified)
1678 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1680 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1682 * files.el (find-alternate-file): Only ask one question (bug#12487).
1684 2012-10-29 Chong Yidong <cyd@gnu.org>
1686 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1687 Suggested by Dan Nicolaescu (Bug#6326).
1689 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1691 * startup.el (fancy-about-screen): Don't message (Bug#12680).
1693 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1695 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1697 * face-remap.el (face-remap-add-relative): Handle the case where a
1698 face-remapping-alist entry is a cons cell (Bug#12762).
1700 2012-10-29 Kevin Ryde <user42@zip.com.au>
1702 * woman.el (woman-parse-numeric-value): Handle picas correctly
1705 2012-10-29 Glenn Morris <rgm@gnu.org>
1707 * emacs-lisp/cl.el (defsetf): Doc fix.
1709 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1711 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1712 syntax to the matching opener, if any (bug#12547).
1713 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1714 matching open as a "case-(".
1715 (sh-smie-rc-grammar): Add a corresponding rule for it.
1717 2012-10-28 Daniel Hackney <dan@haxney.org>
1719 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1720 "PKGNAME-autoloads.el" in case we created it.
1722 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1724 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1725 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
1726 (completion--twq-all): Disable too-strict assertions.
1728 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1730 2012-10-27 Eli Zaretskii <eliz@gnu.org>
1732 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1733 text to match the real keybindings.
1735 2012-10-27 Juri Linkov <juri@jurta.org>
1737 * wdired.el (wdired-keep-marker-rename): New defcustom.
1738 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1741 * dired.el (dired-keep-marker-rename): Add reference to
1742 `wdired-keep-marker-rename' in the docstring.
1743 Add default character value ?R to display initially in
1744 Customization UI instead of ?@.
1746 2012-10-27 Martin Rudalics <rudalics@gmx.at>
1748 * window.el (display-buffer): In doc-string describe
1749 window-height and window-width alist entries.
1751 * time.el (display-time-world): Restore fit-window-to-buffer
1754 2012-10-27 Chong Yidong <cyd@gnu.org>
1756 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1758 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
1760 * minibuffer.el (completion-category-overrides): New completion
1761 category `bookmark' (bug#11131).
1763 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1765 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1766 Silence bogus compiler warnings for ad-do-it.
1768 * bookmark.el (bookmark-completing-read): Set the completion category
1769 to `bookmark' (bug#11131).
1771 2012-10-26 Bastien <bzg@altern.org>
1772 Stefan Monnier <monnier@iro.umontreal.ca>
1774 * face-remap.el: Use lexical-binding.
1775 (text-scale-adjust): Improve docstring. Use itself for the temporary
1776 overlay-map bindings, so as to repeat the "Use..." message each time.
1778 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1780 * emacs-lisp/macroexp.el (macroexp--expand-all):
1781 Obey byte-compile-warning-enabled-p (bug#12486).
1783 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1784 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1786 2012-10-26 Martin Rudalics <rudalics@gmx.at>
1788 * mouse.el (mouse-drag-line): Move last form into preceding when
1791 * help.el (resize-temp-buffer-window): Fix doc-string.
1793 2012-10-25 David Engster <deng@randomsample.de>
1795 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
1796 Remove. This feature is already integrated in imenu.
1798 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1799 always loaded. Require `speedbar' unconditionally.
1801 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1803 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1805 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1807 * net/ldap.el (ldap-search-internal): The official ldif format starts
1808 with a "version: 1" header (bug#12724).
1810 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1813 2012-10-25 Glenn Morris <rgm@gnu.org>
1815 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1817 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1819 * minibuffer.el (minibuffer-force-complete): Use one more marker
1820 for the temporary-overlay-map command (bug#12619).
1822 2012-10-24 Chong Yidong <cyd@gnu.org>
1824 * time.el (display-time-world-mode): Derive from special-mode.
1825 (display-time-world): Use display-buffer (Bug#12708).
1826 (display-time-world-mode-map): Variable deleted.
1827 (display-time-world-display): Wrap the final delete-char inside
1830 2012-10-24 Chong Yidong <cyd@gnu.org>
1832 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1835 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1837 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1839 * minibuffer.el (completion--all-sorted-completions-location): New var.
1840 (completion--cache-all-sorted-completions)
1841 (completion--flush-all-sorted-completions): Use it.
1842 (completion-in-region, completion-in-region--postch)
1843 (completion-at-point, completion-help-at-point): Use markers in
1844 completion-in-region--data (bug#12619).
1846 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1848 * progmodes/compile.el (compilation-start): Try to handle common
1849 quoting of `cd' argument (bug#12640).
1851 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1854 2012-10-23 Glenn Morris <rgm@gnu.org>
1856 * progmodes/gud.el (gud-menu-map):
1857 Check gdb-active-process is bound. (Bug#12358)
1859 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1861 * repeat.el (repeat): Set real-this-command (bug#12232).
1863 * htmlfontify.el (hfy-post-html-hook):
1864 * filesets.el (filesets-cache-fill-content-hook):
1865 * arc-mode.el (archive-extract-hook):
1866 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1867 * net/rcirc.el (rcirc-sentinel-functions)
1868 (rcirc-receive-message-functions, rcirc-activity-functions)
1869 (rcirc-print-functions):
1870 * net/dbus.el (dbus-event-error-functions):
1871 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1872 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1873 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1874 * term/sun.el (sun-raw-prefix-hooks):
1875 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1877 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
1879 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1880 Set `tramp-chunksize' to 1. This improves the performance.
1881 (tramp-smb-wait-for-output): Add timeout to
1882 `tramp-accept-process-output' calls.
1884 2012-10-23 Chong Yidong <cyd@gnu.org>
1886 * faces.el (font-list-limit): Define as an obsolete variable.
1888 * startup.el (command-line):
1889 * cus-start.el: Don't refer to font-list-limit.
1891 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1893 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1895 * subr.el (internal-temp-output-buffer-show): Rename from
1896 temp-output-buffer-show, since previously compiled files expect this name.
1898 2012-10-23 Glenn Morris <rgm@gnu.org>
1900 * image.el (image-type-from-file-name): If multiple types match,
1901 return the first one that is supported. (Bug#9045)
1903 2012-10-22 Glenn Morris <rgm@gnu.org>
1905 * image.el (imagemagick-enabled-types): Doc fix.
1907 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1909 * progmodes/which-func.el (which-func-current): The hash-table may have
1910 an explicit nil (bug#12338).
1912 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1914 * electric.el (electric-pair-delete-selection-self-insert-function):
1915 Rename to electric-pair-will-use-region, return a boolean.
1916 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1918 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1919 (delete-selection-pre-hook): Use use-region-p.
1920 (delete-selection-self-insert-function): Remove.
1921 (self-insert-command): Obey self-insert-uses-region-functions.
1922 (self-insert-iso): Revert to previous setting, since we don't actually
1923 know what that command does.
1924 (delete-selection-self-insert-hooks): Remove.
1926 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1928 * delsel.el (delete-selection-helper): New function, extracted from
1929 delete-selection-pre-hook.
1930 (delete-selection-pre-hook): Use it.
1931 (delete-selection-self-insert-function): New function.
1932 (delete-selection-self-insert-hooks): New hook.
1933 (self-insert-command, self-insert-iso): Use it.
1934 * electric.el (electric-pair-syntax): New function, extracted from
1935 electric-pair-post-self-insert-function.
1936 (electric-pair-post-self-insert-function): Use it.
1937 (electric-pair-delete-selection-self-insert-function): New function.
1938 (electric-pair-mode): Require delsel and setup
1939 delete-selection-self-insert-hooks (bug#11520).
1941 2012-10-20 Chong Yidong <cyd@gnu.org>
1943 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1944 no changes to show (Bug#12586).
1946 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1947 list explicitly (Bug#12571).
1949 2012-10-20 Arne Jørgensen <arne@arnested.dk>
1951 * progmodes/flymake.el (flymake-create-temp-inplace):
1954 2012-10-20 Eli Zaretskii <eliz@gnu.org>
1956 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1958 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1960 * calc/calc-units.el (math-extract-units): Properly extract powers
1963 2012-10-20 Daniel Colascione <dancol@dancol.org>
1965 * frame.el (make-frame): Set x-display-name as we used to in order
1966 to unbreak creating an X11 frame from an Emacs daemon started
1969 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1971 * minibuffer.el (minibuffer-force-complete): Make the next completion use
1972 the same completion-field (bug#12221).
1974 2012-10-19 Martin Rudalics <rudalics@gmx.at>
1976 * emacs-lisp/debug.el (debug): Record height of debugger window
1977 also when debugger will be back (Bug#8789).
1979 2012-10-18 Chong Yidong <cyd@gnu.org>
1981 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1982 Convert to defcustom.
1983 (gdb-get-source-file): Don't bind pop-up-windows.
1985 * progmodes/gud.el (gud-display-line): Don't specially re-use
1986 other frames for the gdb-mi case (Bug#12648).
1988 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1990 * emacs-lisp/advice.el: Clean up commentary a bit.
1991 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1992 (byte-code-function-p): Never redefine.
1994 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1996 2012-10-18 Glenn Morris <rgm@gnu.org>
1998 * dired.el (dired-sort-toggle): Some ls implementations only allow
1999 a single option string. (Bug#12666)
2001 * minibuffer.el (completion-cycle-threshold): Doc fix.
2003 2012-10-17 Kenichi Handa <handa@gnu.org>
2005 * international/mule.el (set-keyboard-coding-system):
2006 Recover input meta mode when the new coding system doesn not use 8-bit.
2007 Supply TERMINAL arg to set-input-meta-mode.
2009 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
2011 * wdired.el (wdired-old-marks): New variable.
2012 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
2013 (wdired-do-renames): Move point with renamed file and don't lose
2014 mark status (Bug#11795).
2016 2012-10-16 Juri Linkov <juri@jurta.org>
2018 * replace.el (query-replace-help): Mention multi-buffer replacement
2019 keys in the Help message. (Bug#12655)
2021 2012-10-15 Chong Yidong <cyd@gnu.org>
2023 * emacs-lisp/byte-run.el (defsubst): Doc fix.
2025 2012-10-14 Eli Zaretskii <eliz@gnu.org>
2027 * window.el (display-buffer): Doc fix.
2029 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2030 Adjust the msft regexp to the output of Studio 2010, and move msft
2031 before edg-1. See the discussion on emacs-devel,
2032 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2035 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2037 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2038 (oset): Move uses of object-class-fast macro after its definition.
2040 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2042 2012-10-13 Chong Yidong <cyd@gnu.org>
2044 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2045 enabled, re-enable it (Bug#11963).
2047 2012-10-13 Martin Rudalics <rudalics@gmx.at>
2049 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2050 non-nil, restore window configuration (Bug#12623).
2052 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2054 * help-fns.el (describe-variable, describe-function-1):
2055 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2057 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2059 2012-10-12 Glenn Morris <rgm@gnu.org>
2061 * mail/rmailsum.el (rmail-header-summary):
2062 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
2064 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
2066 * progmodes/python.el (python-mode-map):
2067 Replace subtitute-key-definition with proper command remapping.
2068 (python-nav--up-list): Fix behavior for blocks on the same level.
2070 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2072 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
2074 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2075 changes to the format of load-history.
2077 * international/mule-cmds.el (read-char-by-name): Move let-binding of
2078 completion-ignore-case in case that var is buffer-local (bug#12615).
2080 2012-10-11 Kenichi Handa <handa@gnu.org>
2082 * international/eucjp-ms.el: Re-generated.
2084 2012-10-10 Kenichi Handa <handa@gnu.org>
2086 * select.el (xselect--encode-string): If a coding is specified for
2087 selection, and that is compatible with COMPOUND_TEXT, use it.
2089 2012-10-10 Martin Rudalics <rudalics@gmx.at>
2091 * window.el (switch-to-buffer-preserve-window-point): New option.
2093 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
2095 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2097 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2098 Don't document nil as a useful value (bug#12583).
2100 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
2102 * net/tramp.el (tramp-debug-message):
2103 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
2104 (with-tramp-progress-reporter): Rename from
2105 `tramp-with-progress-reporter'.
2106 (with-tramp-file-property, with-tramp-connection-property):
2107 Move from tramp-cache.el, rename from `with-file-property' and
2108 `with-connection-property', respectively.
2110 * net/tramp-cache.el: Remove `with-file-property' and
2111 `with-connection-property'.
2114 * net/tramp-gvfs.el:
2116 * net/tramp-smb.el: Adapt callees.
2118 * net/trampver.el: Update release number.
2120 2012-10-09 Glenn Morris <rgm@gnu.org>
2122 * w32-fns.el (set-message-beep):
2123 * term/w32-win.el (set-message-beep): Update declarations.
2125 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2127 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2128 (mode-line-widen, mode-line-input-method-map)
2129 (mode-line-coding-system-map, mode-line-remote)
2130 (mode-line-unbury-buffer, mode-line-bury-buffer)
2131 (mode-line-next-buffer, mode-line-previous-buffer):
2132 Replace save-selected-window+select-window => with-selected-window.
2134 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2135 * progmodes/cc-vars.el (bq-process): Remove, unused.
2137 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2139 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
2141 Implemented `backward-up-list'-like navigation.
2142 * progmodes/python.el (python-nav-up-list)
2143 (python-nav-backward-up-list): New functions.
2144 (python-mode-map): Define substitute key for backward-up-list to
2145 python-nav-backward-up-list.
2147 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2149 * progmodes/python.el (python-fill-paragraph): Rename from
2150 python-fill-paragraph-function. Fixed fill-paragraph for
2151 decorators (Bug#12605).
2153 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2155 * progmodes/python.el (python-shell-output-filter): Handle extra
2156 carriage return in OSX (Bug#12409).
2158 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2160 Fix shell handling of unbalanced quotes and parens in output.
2161 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
2162 (python-syntax-propertize-function): Use it.
2163 (python-shell-output-syntax-table): New var.
2164 (inferior-python-mode): Prevent unbalanced parens/quotes from
2165 previous output mess with current input context.
2167 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
2169 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2170 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2172 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
2174 * ffap.el (ffap-replace-file-component): Support Tramp file name
2175 syntax, not only ange-ftp's one.
2177 2012-10-08 Glenn Morris <rgm@gnu.org>
2179 * cus-start.el (message-log-max): Set :version.
2181 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2183 2012-10-08 Martin Rudalics <rudalics@gmx.at>
2185 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2186 the minibuffer window (Bug#10851).
2188 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2190 Enhancements on forward-sexp movement.
2191 * progmodes/python.el (python-nav-beginning-of-statement)
2192 (python-nav-end-of-statement): Return point-marker.
2193 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2194 (python-info-current-symbol)
2195 (python-info-statement-starts-block-p): Rename from
2196 python-info-beginning-of-block-p.
2197 (python-info-statement-ends-block-p): Rename from
2198 python-info-end-of-block-p.
2199 (python-info-beginning-of-statement-p)
2200 (python-info-end-of-statement-p)
2201 (python-info-beginning-of-block-p, python-info-end-of-block-p):
2204 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2206 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2207 frame-selected-windows.
2209 2012-10-08 Daniel Colascione <dancol@dancol.org>
2211 * battery.el (battery-status-function): Check for
2212 w32-battery-status itself, not system-time windows-nt.
2214 * frame.el: Require cl-lib.
2215 (display-format-alist): New variable mapping frame types to
2216 functions that initialize them.
2217 (window-system-for-display): New function: interprets
2218 display-format-alist.
2219 (make-frame-on-display): Remove existing display-selection logic
2220 and just forward to make-frame, which will now DTRT.
2221 (make-frame): Restructure to use window-system-for-display to
2222 figure out how to create a frame on a given display.
2223 (display-mouse-p): Look for frame-type w32, not a particular
2226 * loadup.el: Load w32 lisp code when we have the w32 feature.
2228 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2229 system-type windows-nt.
2231 * server.el (server-create-window-system-frame): Look for window
2233 (server-proces-filter): Only force a window system when windows-nt
2234 _and_ w32. Explain why.
2236 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2237 of window systems we configure for the mode.
2239 * startup.el (command-line): Mark window system is initialized
2240 after we've done it.
2242 * common-win.el (x-select-text): Look for w32, not windows-nt.
2244 * ns-win.el: Require cl-lib. Add ourselves to
2245 display-format-alist.
2246 (ns-initialize-window-system): Assert we're not initialized twice.
2248 * w32-win.el: Enable lexical binding; require cl-lib; add
2249 ourselves to display-format-alist.
2250 (w32-handle-dropped-file): Convert incoming dropped files from
2251 Windows paths to Cygwin ones before passing them on to the rest of
2253 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2254 (w32-initialize-window-system): Assert we're not initialized twice.
2256 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2257 (x-initialize-window-system): Assert we're not initialized twice.
2259 * w32-common-fns.el: New File.
2260 (w32-version, w32-using-nt, w32-get-clipboard-data)
2261 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2262 (w32-charset-info-alist, x-last-selected, text)
2263 (x-get-selection-value, x-selection-value): Move here.
2265 * w32-fns.el: Require w32-common-fns.
2266 (w32-version, w32-using-nt, w32-get-clipboard-data)
2267 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2268 (w32-charset-info-alist, x-last-selected, text)
2269 (x-get-selection-value, x-selection-value): Move to
2273 (w32-allow-system-shell, w32-system-shells): Define only in
2276 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2278 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2279 (read-passwd): Remove a few more potential sources of leaks.
2281 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2283 * progmodes/python.el (inferior-python-mode)
2284 (python-shell-make-comint): Fix initialization of local
2285 variables copied from parent buffer.
2287 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
2289 * term/ns-win.el (ns-read-file-name): Update declaration to match
2291 (ns-respond-to-change-font): Change fontsize separatly so we are sure
2292 it is set when font is acted upon.
2294 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2296 Enhancements to indentation.
2297 * progmodes/python.el (python-indent-context): Give priority to
2298 inside-string context. Make comments indentation markers.
2299 (python-indent-region): Do not mess with strings, unless it's the
2300 enclosing set of quotes.
2302 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2304 * window.el (internal--before-save-selected-window)
2305 (internal--after-save-selected-window): New functions extracted from
2306 save-selected-window. Make sure we return the `alist' we construct.
2307 (save-selected-window): Use them.
2309 * textmodes/tex-mode.el (tex-recenter-output-buffer):
2310 Use with-selected-window.
2312 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2313 forms that define macros (bug#12593).
2315 2012-10-07 Kenichi Handa <handa@gnu.org>
2317 * international/mule-conf.el (compound-text-with-extensions):
2318 Add :mime-charset property as x-ctext.
2320 2012-10-07 Stefan Merten <smerten@oekonux.de>
2322 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2323 (rst-indent-literal-normal, rst-indent-literal-minimized)
2324 (rst-indent-comment): Correct :version tag.
2325 (rst-official-cvs-rev): Correct version string.
2327 2012-10-07 Glenn Morris <rgm@gnu.org>
2329 * mail/rmailmm.el (rmail-mime-process-multipart):
2330 Do not confuse a multipart message with an epilogue
2331 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
2333 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2335 Fix shell output retrieval and comint-prompt-regexp init.
2336 * progmodes/python.el (inferior-python-mode):
2337 (python-shell-make-comint): Fix initialization of
2338 comint-prompt-regexp from copied file local variables.
2339 (python-shell-fetched-lines): Remove var.
2340 (python-shell-output-filter-in-progress): Rename from
2341 python-shell-fetch-lines-in-progress.
2342 (python-shell-output-filter-buffer): Rename from
2343 python-shell-fetch-lines-string.
2344 (python-shell-fetch-lines-filter): Delete function.
2345 (python-shell-output-filter): New function.
2346 (python-shell-send-string-no-output): Use them.
2348 2012-10-07 Glenn Morris <rgm@gnu.org>
2350 * hi-lock.el (hi-lock-process-phrase):
2351 Try to make it less fragile. (Bug#7161)
2353 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2355 2012-10-06 Glenn Morris <rgm@gnu.org>
2357 * ehelp.el (electric-help-mode): Use help-mode rather than
2358 non-existent mode `help'.
2359 (electric-help-map): Use button-buffer-map. (Bug#10917)
2361 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2362 (reftex-create-bibtex-footer): Fix custom types.
2364 * progmodes/sh-script.el (sh-indent-after-continuation):
2365 Add explicit :group.
2367 * textmodes/rst.el (rst-preferred-decorations)
2368 (rst-shift-basic-offset): Clarify obsolescence versions.
2370 * profiler.el (profiler): Add missing group :version tag.
2371 * avoid.el (mouse-avoidance-banish-position):
2372 * proced.el (proced-renice-command):
2373 * calc/calc.el (calc-ensure-consistent-units):
2374 * calendar/icalendar.el (icalendar-import-format-uid):
2375 * net/tramp.el (tramp-save-ad-hoc-proxies):
2376 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2377 * progmodes/flymake.el (flymake-error-bitmap)
2378 (flymake-warning-bitmap, flymake-fringe-indicator-position):
2379 * progmodes/sh-script.el (sh-indent-after-continuation):
2380 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2381 (verilog-before-save-font-hook, verilog-after-save-font-hook):
2382 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2383 (vhdl-array-index-record-field-in-sensitivity-list)
2384 (vhdl-indent-comment-like-next-code-line):
2385 * textmodes/reftex-vars.el (reftex-ref-style-alist)
2386 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2387 (reftex-cite-key-separator, reftex-create-bibtex-header)
2388 (reftex-create-bibtex-footer):
2389 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2390 (rst-indent-literal-normal, rst-indent-literal-minimized)
2391 (rst-indent-comment): Add missing custom :version tags.
2393 * calendar/timeclock.el (timeclock-modeline-display):
2394 Add missing obsolete alias for renamed user option.
2396 * strokes.el (strokes-modeline-string):
2397 * emulation/crisp.el (crisp-mode-modeline-string):
2398 * eshell/esh-mode.el (eshell-status-in-modeline):
2399 Aliases to defcustoms must come before the defcustom.
2401 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2402 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2403 (cal-tex-cursor-week-monday): Doc fixes.
2404 (cal-tex-cursor-week2-summary): Doc fix.
2405 Rename from cal-tex-cursor-week-at-a-glance.
2407 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2408 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
2410 * calendar/calendar.el (calendar-mode-map):
2411 Add cal-tex-cursor-week2-summary.
2413 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2415 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2417 * subr.el (read-passwd-map): New var.
2418 (read-passwd): Use `read-string' again.
2419 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2421 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
2423 * register.el (append-to-register, prepend-to-register):
2424 Deactivate mark, as does `copy-to-register' (bug#12389).
2426 2012-10-06 Chong Yidong <cyd@gnu.org>
2428 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2430 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2432 * international/characters.el: Fix simple mistake ((car chars) ->
2433 elt), delete duplicated code.
2435 2012-10-06 Glenn Morris <rgm@gnu.org>
2437 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2439 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2441 * color.el (color-hsl-to-rgb): Fix incorrect results for
2442 small and large hue values. (Bug#12559)
2444 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
2446 Enhancements to docstring formatting when filling paragraphs.
2447 * progmodes/python.el (python-fill-docstring-style): Rename from
2448 python-fill-string-style. Added new style.
2449 (python-fill-string): Use new style. Better checks for
2452 2012-10-05 Glenn Morris <rgm@gnu.org>
2454 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2456 * color.el (color-name-to-rgb, color-rgb-to-hex)
2457 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2458 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2459 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2460 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2462 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2464 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
2466 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2467 to get the correct size across symlinks.
2469 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2471 2012-10-04 Juri Linkov <juri@jurta.org>
2473 * replace.el (query-replace-interactive): Declare obsolete.
2474 (query-replace-read-from): Add the last incremental search string
2475 to the list of default values accessible via M-n.
2476 (map-query-replace-regexp): Use `read-regexp'.
2477 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2478 (map-query-replace-regexp, replace-string, replace-regexp):
2479 Fix docstrings to replace mentions of `query-replace-interactive'
2480 with alternatives. (Bug#12526)
2482 2012-10-04 Juri Linkov <juri@jurta.org>
2484 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2485 (dired-pop-to-buffer): Declare obsolete.
2486 (dired-mark-pop-up): Doc fix.
2488 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
2490 Allow user to set docstring style for fill-paragraph.
2491 * progmodes/python.el
2492 (python-fill-comment-function, python-fill-string-function)
2493 (python-fill-decorator-function, python-fill-paren-function):
2494 Remove :safe for defcustoms.
2495 (python-fill-string-style): New defcustom
2496 (python-fill-paragraph-function): Enhance context detection.
2497 (python-fill-string): Honor python-fill-string-style settings.
2499 2012-10-04 Martin Rudalics <rudalics@gmx.at>
2501 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2502 after setting its buffer (Bug#10805).
2504 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
2506 Fix cornercase for string syntax.
2507 * progmodes/python.el (python-syntax-propertize-function):
2508 Simplify and enhance the regexp for unescaped quotes. Now it also
2509 matches quotes in weird situations like the single quote in
2511 (python-syntax-stringify): Simplify num-quotes detecting code.
2513 2012-10-03 Glenn Morris <rgm@gnu.org>
2515 * help-macro.el (three-step-help):
2516 Revert 2012-09-29 change. (Bug#12567)
2518 2012-10-03 Martin Rudalics <rudalics@gmx.at>
2520 * menu-bar.el (kill-this-buffer): Don't do anything when
2521 `menu-frame' is not alive or visible (Bug#8184).
2523 * emacs-lisp/debug.el (debug): When quitting the debugger window
2524 restore current buffer (Bug#12502).
2526 2012-10-02 Chong Yidong <cyd@gnu.org>
2528 * progmodes/hideif.el (hif-lookup, hif-defined):
2529 Handle semantic-c-takeover-hideif.
2531 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2533 Change sampling interval units from ms to ns.
2534 * profiler.el (profiler-sampling-interval): Change units
2535 from ms to ns, multiplying the default by 1000000 so that
2537 (profiler-report-cpu-line-format): Give enough room for
2538 the maximum counters on 64-bit hosts.
2539 (profiler-report-render-calltree-1): Call them "CPU samples",
2540 not "Time (ms)", since they are not milliseconds now (and
2543 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2545 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2546 Fix querying BBDB for entries without a last name (Bug#11580).
2548 2012-10-02 Chong Yidong <cyd@gnu.org>
2550 * emacs-lisp/eieio.el: Restore Version header.
2552 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2554 * vc/diff-mode.el (diff--auto-refine-data): New var.
2555 (diff-hunk): Use it to delay refinement.
2556 (diff-mode): Remove overlays when we turn off font-lock.
2558 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2559 (table-initialize-table-fixed-width-mode)
2560 (table-set-table-fixed-width-mode): Remove functions.
2561 (table-command-list): Move initialization into declaration.
2562 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2563 (table-with-cache-buffer): Use `declare'.
2564 (table-span-cell): Simplify via CSE.
2565 (table-fixed-width-mode): Use define-minor-mode.
2566 (table-call-interactively, table-funcall, table-apply): Remove.
2567 (table-function): New function, to replace them.
2569 * bookmark.el (bookmark-search-pattern): Remove var.
2570 (bookmark-read-search-input): Remove function.
2571 (bookmark-bmenu-search): Reimplement using a minibuffer.
2573 * faces.el (modeline): Remove obsolete face name.
2575 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2576 and give a non-nil default value.
2577 (add-change-log-entry): Simplify accordingly.
2579 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2581 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2582 (vc-git-log-edit-toggle-amend): New function.
2583 (vc-git-log-edit-toggle-signoff): New function.
2584 (vc-git-log-edit-mode): New major mode.
2585 (vc-git-log-edit-mode-map): Keymap for it.
2586 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2588 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2590 (log-edit-toggle-header): New function.
2591 (log-edit-extract-headers): Accept function values in HEADERS alist.
2593 2012-10-01 David Engster <deng@randomsample.de>
2595 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2596 from symbol property and change message to be more consistent with
2598 (eieio-describe-generic): Add filename for each implementation.
2599 Fix indices for generic and normal methods.
2600 (eieio-method-def, eieio-class-def): New buttons.
2601 (eieio-help-find-method-definition)
2602 (eieio-help-find-class-definition): New functions.
2603 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2604 class, constructor and method definitions.
2606 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2607 information in symbol property.
2608 (scoped-class): Remove.
2609 (eieio-slot-name-index, call-next-method): Check if it is bound.
2611 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
2613 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2614 (eieio-custom-mode): New major mode.
2615 (eieio-customize-object): Use it.
2617 2012-10-01 Eric Ludlam <zappo@gnu.org>
2619 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2620 specifying the expected class, and whether subclassing is allowed.
2621 (eieio-persistent-convert-list-to-object):
2622 (eieio-persistent-validate/fix-slot-value)
2623 (eieio-persistent-slot-type-is-class-p): New functions.
2624 (eieio-named::slot-missing): Doc fix.
2626 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2627 Stop using unused publd variable.
2629 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2630 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2631 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2632 (eieio-speedbar-handle-click): Do not specify a class for the
2633 method. Fixes method invocation order problems with EDE.
2635 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2637 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2638 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2640 2012-10-01 Karl Fogel <kfogel@red-bean.com>
2642 * bookmark.el (bookmark-version-control): Give tags in the
2643 :type choices (Bug#12309), and improve doc string.
2644 (bookmark-write-file): Bind `print-circle' to `t' to allow
2645 circular custom bookmark types. (Bug#12503)
2647 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2649 Revert the FOLLOW-SYMLINKS change for file-attributes.
2650 * files.el (remote-file-name-inhibit-cache, after-find-file):
2651 * time.el (display-time-file-nonempty-p): Undo last change.
2653 * profiler.el (profiler-sampling-interval): Change default back to 1.
2654 See Stefan Monnier in
2655 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2657 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2659 Shell output catching a la gud-gdb.
2660 * progmodes/python.el (python-shell-fetch-lines-in-progress)
2661 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2663 (python-shell-fetch-lines-filter): New function.
2664 (python-shell-send-string-no-output): Use them.
2666 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2668 * profiler.el (profiler-sampling-interval): Rename from
2669 profiler-sample-interval.
2670 (profiler-sampling-interval): Default to 10.
2671 (profiler-find-profile): New command (was profiler-find-log).
2672 (profiler-find-profile-other-window): New command.
2673 (profiler-find-profile-other-frame): New command.
2674 (profiler-profile): Introduce API-level data structure.
2676 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2678 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2679 * files.el (remote-file-name-inhibit-cache):
2680 * time.el (display-time-file-nonempty-p): Use it.
2681 * files.el (after-find-file): Don't chase links before calling
2682 file-exists-p, as file-exists-p already does the right thing.
2684 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
2686 Merge from standalone RefTeX repository.
2688 The following ChangeLog entries are shortened versions of the
2689 original ones with file paths adapted. A not so strongly edited
2690 version of the original ChangeLog can be found in the commit log.
2692 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
2693 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2694 Correctly handle new value type returned by `reftex-citation'.
2696 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
2697 that entries with whitespace at various places are found.
2698 Doc fix. Include entries that are cross-referenced from cited entries.
2699 Include @String definitions in the resulting bib file. Add header
2700 and footer defined in `reftex-create-bibtex-header' and
2701 `reftex-create-bibtex-footer'.
2702 (reftex-do-citation): Make it possible again to insert
2703 non-existent entries. Save match data when asking for optional
2704 arguments. Return all keys, not just the first one.
2705 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2706 all citations in the same line.
2707 (reftex-parse-bibtex-entry): Accept additional optional argument
2708 `raw' and keep quotes or braces if it is non-nil. Match fields
2709 containing hyphens besides word constituents.
2710 (reftex-get-string-refs): New function.
2711 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2712 and ask if it should be reread in case it did.
2713 (reftex-pop-to-bibtex-entry)
2714 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2715 entries with spaces or tabs in front of arguments.
2716 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2717 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2718 Match entries containing numbers and symbol constituents.
2719 (reftex-do-citation, reftex-figure-out-cite-format):
2720 Use `reftex-cite-key-separator'.
2722 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2723 (reftex-mouse-view-crossref): Explain why point is set.
2725 * textmodes/reftex-global.el: Whitespace changes.
2727 * textmodes/reftex-index.el: Move provide statement to end of
2729 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2730 (reftex-index-visit-phrases-buffer): Set marker when visiting
2731 buffer. This allows for returning from the phrases file to the
2732 file one was just editing instead of the file where the last
2733 phrases was added from.
2734 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2735 punctuation syntax as it usually is not used as string quote in
2736 TeX-related modes and may occur unmatched. The change also
2737 prevents fontification of quoted content.
2738 (reftex-index-phrases-mode): Use it.
2740 * textmodes/reftex-parse.el (reftex-parse-from-file):
2741 Move backward one char if a `\' was matched after a section macro.
2742 (reftex-parse-from-file): Use beginning of match instead of end as
2745 * textmodes/reftex-ref.el: Adapt creation of
2746 `reftex-<package>-<macro>' functions to new structure of
2747 `reftex-ref-style-alist'.
2748 (reftex-reference): Use `reftex-ref-style-list' function.
2749 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
2750 reference macro if `reftex-ref-macro-prompt' is non-nil.
2751 (reftex-reference): Pass refstyle to `reftex-format-special'.
2752 Determine reference macro by looking at
2753 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2754 Use only one special format function.
2755 (reftex-varioref-vref, reftex-fancyref-fref)
2756 (reftex-fancyref-Fref): Remove definitions. The functions are now
2757 generated from `reftex-ref-style-alist'.
2758 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2760 (reftex-format-special): New function.
2762 * textmodes/reftex-sel.el
2763 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2764 of `reftex-ref-style-alist'. Remove code for testing macro type.
2765 (reftex-select-toggle-varioref)
2766 (reftex-select-toggle-fancyref): Remove.
2767 (reftex-select-cycle-ref-style-internal)
2768 (reftex-select-cycle-ref-style-forward)
2769 (reftex-select-cycle-ref-style-backward): New functions.
2770 (reftex-select-label-map): Use `v' and `V' for general cycling
2771 through reference styles. Add `p' for switching between number
2772 and page reference types.
2774 * textmodes/reftex-toc.el (reftex-re-enlarge):
2775 Call `enlarge-window' only if there is something to do because in Emacs
2776 the horizontal version throws an error even if the parameter is 0.
2778 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2779 (reftex-plug-into-AUCTeX): Doc fix.
2780 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2781 string. Adapt to new name.
2782 (reftex-ref-style-alist): Change structure so that it is not
2783 possible to use multiple different package names within a style.
2784 Remove the symbols for symbols for macro type distinction.
2785 Add characters for macro selection.
2786 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2787 (reftex-create-bibtex-footer): New variables.
2788 (reftex-format-ref-function): Mention third argument of special
2790 (reftex-ref-style-alist, reftex-ref-style-default-list):
2792 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2793 to new implementation. Mark as obsolete. Add compatibility code
2794 for honoring the variable values in case they are set.
2795 (reftex-cite-format-builtin, reftex-bibliography-commands):
2796 Add support for ConTeXt.
2797 (reftex-format-ref-function, reftex-format-cite-function):
2799 (reftex-cite-key-separator): New variable.
2801 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2802 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2803 `reftex-syntax-table' because parens have to retain their paren
2804 syntax in order for parsing of BibTeX entries like @book(...) to
2806 (reftex-in-comment): Do not error out if `comment-start-skip' is
2807 not set. Deal correctly with escaped comment characters.
2808 (reftex-tie-multifile-symbols): Add doc string.
2809 Initialize `reftex-ref-style-list'.
2810 (reftex-untie-multifile-symbols): Add doc string.
2811 (reftex-add-index-macros): Doc fix.
2812 (reftex-ref-style-activate, reftex-ref-style-toggle)
2813 (reftex-ref-style-list): New functions.
2814 (reftex-mode-menu): Use them. Adapt to new structure of
2815 `reftex-ref-style-alist'.
2816 (reftex-select-with-char): Kill the RefTeX Select buffer when
2818 (reftex-remove-if): New function.
2819 (reftex-erase-all-selection-and-index-buffers)
2820 (reftex-mode-menu): Reference styles are now computed from
2821 `reftex-ref-style-alist'. Fix typo.
2822 (reftex-report-bug): New function.
2823 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2824 algorithms with O(n log n). Introduce optional argument SORT (not
2827 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2829 Enhancements for triple-quote string syntax.
2830 * progmodes/python.el (python-syntax-propertize-function):
2831 Match both quote cases in one regexp.
2832 (python-syntax-stringify): Handle matches properly.
2834 2012-09-30 Juri Linkov <juri@jurta.org>
2836 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
2837 to nil around the call to `insert' to prevent
2838 directory time modification by lock_file. (Bug#2295)
2839 * tar-mode.el (tar-summarize-buffer): Idem.
2841 2012-09-30 Juri Linkov <juri@jurta.org>
2843 * facemenu.el (list-colors-sort): Add option "Luminance".
2844 (list-colors-sort-key): Implement it.
2846 * vc/diff-mode.el (diff-refine-removed):
2847 * vc/ediff-init.el (ediff-fine-diff-A):
2848 * vc/smerge-mode.el (smerge-refined-removed):
2849 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2851 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2853 * term/ns-win.el (x-file-dialog): New function.
2855 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
2857 * ido.el (ido-max-directory-size): Default to nil; the current
2858 default is small for POSIX systems, and impractical on Windows 7
2859 now that lstat returns directory sizes for NTFS.
2861 2012-09-30 Martin Rudalics <rudalics@gmx.at>
2863 In buffer display functions handle window-height/window-width
2864 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
2865 * window.el (window--display-buffer): New argument ALIST.
2866 Obey window-height and window-width alist entries.
2867 (window--try-to-split-window): New argument ALIST.
2868 Bind window-combination-limit to t when the window's size shall be
2869 changed and window-combination-limit equals `window-size'.
2870 (display-buffer-in-atom-window)
2871 (display-buffer-in-major-side-window)
2872 (display-buffer-in-side-window, display-buffer-same-window)
2873 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2874 (display-buffer-pop-up-window, display-buffer-below-selected)
2875 (display-buffer-at-bottom, display-buffer-in-previous-window)
2876 (display-buffer-use-some-window): Adjust all callers of
2877 window--display-buffer and window--try-to-split-window.
2878 (fit-frame-to-buffer): New option.
2879 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2881 (display-buffer-in-major-side-window): Evaluate window-height /
2882 window-width alist entries.
2884 * help.el (temp-buffer-resize-frames)
2885 (temp-buffer-resize-regexps): Remove options.
2886 (temp-buffer-resize-mode): Adjust doc-string.
2887 (resize-temp-buffer-window): Don't consult
2888 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2889 temp-buffer-resize-frames.
2891 * dired.el (dired-mark-pop-up):
2892 Call display-buffer-below-selected with a fit-window-to-buffer alist
2895 2012-09-30 Chong Yidong <cyd@gnu.org>
2897 * server.el (server-host): Document the security implications.
2898 (server-auth-key): Doc fix.
2900 * startup.el (initial-buffer-choice): Doc fix.
2902 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2904 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2907 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2909 * help-fns.el (help-fns--obsolete): Fix last change.
2911 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2913 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2914 (minor-mode-map-alist): Remove redundant code.
2916 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2917 visited in a buffer.
2918 (cvs-insert-visited-file): New function.
2919 (find-file-hook): Use it.
2921 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2923 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2925 (log-edit-empty-buffer-p): Don't require a space after a header.
2927 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2929 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2931 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2932 a proper minor-mode.
2934 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2936 2012-09-29 Glenn Morris <rgm@gnu.org>
2938 * winner.el (winner-mode): Remove variable (let define-minor-mode
2940 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2942 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2943 (winner-mode): Use define-minor-mode.
2945 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2946 the full definition in loaddefs, rather than duplicating it.
2948 * help-macro.el (three-step-help): No need to autoload defcustom.
2950 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2951 (inferior-lisp-program, inferior-lisp-load-command)
2952 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2953 No need to autoload defcustoms.
2955 * hippie-exp.el (hippie-expand-try-functions-list)
2956 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2957 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2958 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2959 (hippie-expand-only-buffers): No need to autoload defcustoms.
2960 * progmodes/vhdl-mode.el (vhdl-line-expand):
2961 Explicitly load hippie-exp, so it does not get autoloaded
2962 while hippie-expand-try-functions-list is let-bound.
2964 2012-09-28 Glenn Morris <rgm@gnu.org>
2966 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2968 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2969 Only "cl.el" counts as cl these days.
2971 2012-09-28 Juri Linkov <juri@jurta.org>
2973 Display archive errors in the echo area instead of inserting
2976 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2977 to STDERR-TEST that can be a regexp matching a successful output.
2978 Create a temporary file and redirect stderr to it. Search for
2979 STDERR-TEST in the stderr output and display it in the echo area
2980 if no match is found.
2981 (archive-extract-by-file): New function like
2982 `archive-extract-by-stdout' but extracting archives to files
2983 and looking for successful matches in stdout. Function body is
2984 mostly copied from `archive-rar-extract'.
2985 (archive-rar-extract): Use `archive-extract-by-file'.
2986 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2988 2012-09-28 Leo Liu <sdl.web@gmail.com>
2990 * pcomplete.el (pcomplete-show-completions):
2991 Use minibuffer-message to make pcomplete usable in minibuffer.
2993 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2995 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2997 * type-break.el: Use lexical-binding.
2998 (type-break-mode): Use define-minor-mode.
3000 * emacs-lisp/pcase.el (pcase--mark-used): New.
3001 (pcase--u1): Use it (bug#12512).
3003 * custom.el (load-theme): Set buffer-file-name so the load is recorded
3004 in load-history with the right file name.
3006 2012-09-28 Tassilo Horn <tsdh@gnu.org>
3008 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
3009 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
3010 (doc-view-get-bounding-box): Make bounding box slicing work for
3011 ODF and DVI documents.
3013 2012-09-28 Glenn Morris <rgm@gnu.org>
3015 * type-break.el (type-break-mode, type-break-interval)
3016 (type-break-good-rest-interval, type-break-keystroke-threshold):
3017 No need to autoload.
3018 (type-break-good-rest-interval, type-break-keystroke-threshold):
3021 2012-09-28 Chong Yidong <cyd@gnu.org>
3023 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3026 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3028 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
3030 2012-09-27 Glenn Morris <rgm@gnu.org>
3032 * faces.el (x-display-name): Declare (for without-x builds).
3034 * linum.el (linum-format): Don't autoload it. Improve :type.
3036 * progmodes/tcl.el: Don't require outline when compiling.
3037 (outline-regexp, outline-level): Declare.
3038 * textmodes/sgml-mode.el: Don't require outline when compiling.
3039 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3041 * term.el (term-ansi-reset):
3042 Try setting term-ansi-face-already-done to nil. (Bug#11785)
3044 * vc/vc.el (vc-next-action): Only gripe about committing read-only
3045 files for RCS and SCCS. (Bug#9781)
3047 2012-09-27 Chong Yidong <cyd@gnu.org>
3049 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3050 change; value should be t.
3052 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3054 * image-mode.el: Use lexical-binding.
3055 (image-mode-winprops): Use t to stand for the window of
3056 a buffer that's not displayed.
3057 * doc-view.el (doc-view-new-window-function): Handle the new
3059 (doc-view-enlarge): Make it a real nop if the size is not changed.
3060 (doc-view-display): Handle the case where the buffer is not (yet?)
3061 displayed in any window.
3062 (doc-view-saved-settings): New var.
3063 (doc-view-mode): Use it.
3064 (doc-view-fallback-mode): Set it.
3066 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3067 Set lexical-binding.
3068 (minibuffer-eldef-shorten-default): New var.
3069 (minibuffer-default-in-prompt-regexps): Use it for new default.
3070 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3072 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
3074 * international/uni-bidi.el:
3075 * international/uni-category.el:
3076 * international/uni-name.el:
3077 * international/uni-numeric.el: Regenerate.
3079 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
3080 Stefan Monnier <monnier@iro.umontreal.ca>
3082 * profiler.el: New file.
3084 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3086 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3087 (testcover-reinstrument): Simplify with CSE.
3089 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
3091 * window.el (temp-buffer-window-setup): Fix typo in docstring.
3093 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
3095 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3096 (verilog-auto-input, verilog-auto-insert-lisp)
3097 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3098 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3099 (verilog-auto-unused, verilog-auto-wire)
3100 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3101 newline. Reported by Andrew Jones.
3102 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3103 Reported by Brad Dobbie.
3104 (verilog-batch-delete-trailing-whitespace):
3105 Create verilog-batch-delete-trailing-whitespace.
3106 Reported by Brad Dobbie.
3107 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3108 parameters from another module. Reported by Dan Katz.
3109 (verilog-auto, verilog-auto-assign-modport)
3110 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3111 AUTOINOUTMODPORT for UVM interface module shell generation.
3112 Reported by Brad Dobbie.
3113 (verilog-auto-inst-interfaced-ports): Make default nil, as more
3115 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3116 Reported by Matt Martin.
3118 2012-09-25 Martin Rudalics <rudalics@gmx.at>
3120 * window.el (window--resize-child-windows): When resizing child
3121 windows proportionally, process them in reverse order to
3122 preserve the "when splitting a window the new one gets the odd
3124 (window--resize-root-window-vertically): When resizing the
3125 minibuffer window try to affect only windows at the bottom of the
3128 2012-09-25 Chong Yidong <cyd@gnu.org>
3130 * subr.el (declare): Doc fix.
3132 * help-fns.el (help-fns--obsolete): Handle macros properly.
3134 2012-09-25 Chong Yidong <cyd@gnu.org>
3136 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3137 this function obsolete.
3139 * calendar/cal-x.el (calendar-two-frame-setup)
3140 (calendar-only-one-frame-setup, calendar-one-frame-setup):
3141 * calendar/calendar.el (american-calendar, european-calendar)
3142 (calendar-for-loop):
3143 * comint.el (comint-dynamic-simple-complete)
3144 (comint-dynamic-complete-as-filename, comint-unquote-filename):
3145 * desktop.el (desktop-load-default):
3146 * dired-x.el (dired-omit-here-always)
3147 (dired-hack-local-variables, dired-default-directory):
3148 * emacs-lisp/derived.el (derived-mode-class):
3149 * emacs-lisp/timer.el (timer-set-time-with-usecs):
3150 * emacs-lock.el (toggle-emacs-lock):
3151 * epa.el (epa-display-verify-result):
3152 * epg.el (epg-sign-keys, epg-start-sign-keys)
3153 (epg-passphrase-callback-function):
3154 * eshell/esh-util.el (eshell-for):
3155 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3156 (eshell-add-to-window-buffer-names):
3157 * files.el (locate-file-completion):
3158 * imenu.el (imenu-example--create-c-index)
3159 (imenu-example--create-lisp-index)
3160 (imenu-example--lisp-extract-index-name)
3161 (imenu-example--name-and-position):
3162 * international/mule-cmds.el (princ-list):
3163 * international/mule-diag.el (decode-codepage-char):
3164 * international/mule-util.el (detect-coding-with-priority):
3165 * iswitchb.el (iswitchb-read-buffer):
3166 * mail/mailalias.el (mail-complete):
3167 * mail/sendmail.el (mail-sent-via):
3168 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3169 (mouse-major-mode-menu):
3170 * password-cache.el (password-read-and-add):
3171 * pcomplete.el (pcomplete-parse-comint-arguments):
3172 * progmodes/sh-script.el (sh-maybe-here-document):
3173 * replace.el (query-replace-regexp-eval):
3174 * savehist.el (savehist-load):
3175 * simple.el (choose-completion-delete-max-match):
3176 * term.el (term-dynamic-simple-complete):
3177 * vc/ediff-init.el (ediff-check-version):
3178 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3179 * vc/vc.el (vc-diff-switches-list):
3180 * view.el (view-return-to-alist-update): Likewise.
3182 * subr.el (eval-next-after-load, makehash, insert-string)
3183 (assoc-ignore-representation, assoc-ignore-case): Use declare to
3185 (mode-line-inverse-video): Variable deleted.
3187 * international/mule-util.el (string-to-sequence): Remove.
3189 * calendar/calendar.el (calendar-version):
3190 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3191 (icalendar-convert-diary-to-ical):
3192 * cus-edit.el (custom-mode):
3193 * ansi-color.el (ansi-color-unfontify-region):
3194 * international/latin1-disp.el (latin1-char-displayable-p):
3195 * progmodes/cwarn.el (turn-on-cwarn-mode):
3196 * progmodes/which-func.el (which-func-update-1):
3197 Use define-obsolete-function-alias.
3199 * net/newst-backend.el (newsticker-cache-filename):
3200 * net/newst-treeview.el (newsticker-groups-filename):
3201 Fix incorrect obsolescence declaration.
3203 * allout.el (allout-passphrase-hint-string): Likewise.
3204 (allout-init): Use a declare form to mark obsolete.
3206 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3207 this applies to functions.
3209 * iswitchb.el (iswitchb-read-buffer): Move code of
3210 iswitchb-define-mode-map here, and delete that obsolete function.
3212 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3213 font-lock-reference-face.
3215 2012-09-25 Glenn Morris <rgm@gnu.org>
3217 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3220 * eshell/em-term.el (eshell-term-name):
3221 Default to term-term-name. (Bug#12485)
3223 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3225 * progmodes/python.el (python-shell-send-buffer): Better handling
3226 of "if __name__ == '__main__':" conditionals when sending the buffer.
3228 2012-09-24 Glenn Morris <rgm@gnu.org>
3230 * eshell/esh-cmd.el (eshell-find-alias-function):
3231 Tighten up file-name regexp. (Bug#12499)
3233 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3235 Enhancements for triple-quote string syntax.
3236 * progmodes/python.el (python-quote-syntax): Remove.
3237 (python-syntax-propertize-function): New value.
3238 (python-syntax-count-quotes, python-syntax-stringify):
3241 2012-09-24 Chong Yidong <cyd@gnu.org>
3243 * mail/supercite.el (sc-version): Remove obsolete function.
3244 (sc-describe): Don't mark as obsolete, since it is bound.
3245 (sc-submit-bug-report): Remove.
3247 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3248 (cvs-commit-buffer-require-final-newline): Remove.
3249 (log-edit-require-final-newline)
3250 (log-edit-changelog-full-paragraphs): Default to t.
3252 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3253 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3254 * vc/vc.el (vc-checkout-carefully): Likewise.
3256 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3257 (emerge-version): Remove.
3259 * progmodes/compile.el (compile-internal): Remove.
3260 (compilation-parse-errors-function): Fix typo.
3262 * international/mule.el (set-char-table-default): Remove.
3263 (set-coding-priority, make-coding-system, generic-char-p)
3264 (charset-list, charset-bytes, charset-id): Use declare to mark
3265 functions as obsolete.
3267 * vc/pcvs-defs.el (cvs-buffer-name-alist)
3268 (cvs-invert-ignore-marks): Remove references to obsolete vars.
3269 * vc/vc-hooks.el (vc-default-registered): Don't use
3270 vc-master-templates.
3272 * font-lock.el (font-lock-reference-face):
3273 Use define-obsolete-variable-alias.
3275 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3276 * calendar/calendar.el (calendar-font-lock-keywords):
3277 * calendar/diary-lib.el (diary-font-lock-keywords)
3278 (diary-fancy-font-lock-keywords):
3279 * textmodes/reftex-sel.el (reftex-insert-docstruct):
3280 * textmodes/reftex-index.el (reftex-insert-index):
3281 * textmodes/reftex-cite.el (reftex-format-bib-entry):
3282 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3283 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3284 * progmodes/prolog.el (prolog-font-lock-keywords):
3285 * progmodes/idlwave.el (idlwave-idl-keywords):
3286 * progmodes/ada-mode.el (ada-font-lock-keywords):
3287 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3289 2012-09-24 Glenn Morris <rgm@gnu.org>
3291 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3293 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
3295 * progmodes/python.el (python-indent-line): More consistent cursor
3298 2012-09-23 Stefan Merten <smerten@oekonux.de>
3300 * textmodes/rst.el: Fix compiler warning.
3302 2012-09-23 Roland Winkler <winkler@gnu.org>
3304 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3305 Transcribe also LaTeX hyphenation.
3306 (bibtex-reformat): Bug fix. Do not quote twice the elements of
3307 bibtex-reformat-previous-options.
3309 2012-09-23 Roland Winkler <winkler@gnu.org>
3311 * proced.el (proced-renice-command): New variable.
3312 (proced-marked-processes): New function.
3313 (proced-with-processes-buffer): New macro.
3314 (proced-send-signal): Use them.
3315 (proced-renice): New command bound to r.
3317 2012-09-23 Roland Winkler <winkler@gnu.org>
3319 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3320 ibuffer-saved-filter-groups has one element, shortcut the call of
3321 completing-read. (Bug#12331)
3323 2012-09-23 Chong Yidong <cyd@gnu.org>
3325 * bindings.el (mode-line-toggle-read-only):
3326 * bs.el (bs-toggle-readonly):
3327 * buff-menu.el (Buffer-menu-toggle-read-only):
3328 * dired.el (dired-toggle-read-only):
3329 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3331 2012-09-23 Chong Yidong <cyd@gnu.org>
3333 * image.el (image-type-available-p): Adapt to init-image-library
3336 2012-09-22 Juri Linkov <juri@jurta.org>
3338 * dired.el (dired-mode-map): Add [remap read-only-mode] for
3339 `dired-toggle-read-only'. (Bug#12462)
3341 2012-09-22 Martin Rudalics <rudalics@gmx.at>
3343 * subr.el (temp-output-buffer-show): New function.
3344 (with-output-to-temp-buffer): Call temp-output-buffer-show
3345 instead of internal-temp-output-buffer-show.
3347 2012-09-22 Chong Yidong <cyd@gnu.org>
3349 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3352 * repeat.el (repeat): Doc fix (Bug#12348).
3354 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3357 * simple.el (shell-command-on-region): Doc fix.
3358 (read-only-mode): Doc fix.
3360 2012-09-22 Eli Zaretskii <eliz@gnu.org>
3362 * emacs-lisp/timer.el (run-with-idle-timer)
3363 (timer-activate-when-idle): Warn against reinvoking an idle timer
3364 from within its own timer action. (Bug#12447)
3366 2012-09-22 Martin Rudalics <rudalics@gmx.at>
3368 * cus-start.el (window-combination-limit): Add new optional
3370 * window.el (temp-buffer-window-show)
3371 (window--try-to-split-window): Handle new values of
3372 window-combination-limit (Bug#1806).
3373 (split-window): Test window-combination-limit for t instead of
3375 (display-buffer-at-bottom): New buffer display action function.
3376 * help.el (temp-buffer-resize-regexps): New option.
3377 (temp-buffer-resize-mode): Rewrite doc-string.
3378 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
3379 Don't resize reused window. Suggested by Glenn Morris.
3381 2012-09-22 Stefan Merten <smerten@oekonux.de>
3383 * textmodes/rst.el: Revamp section title faces.
3384 (rst-official-version)
3385 (rst-package-emacs-version-alist): Sync with official version
3387 (rst-faces-defaults, rst-set-level-default)
3388 (rst-level-face-max, rst-level-face-base-color)
3389 (rst-level-face-base-light, rst-level-face-format-light)
3390 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3391 (rst-adornment-faces-alist): Match new setup.
3392 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3393 (rst-level-5, rst-level-6): New faces.
3395 2012-09-22 Chong Yidong <cyd@gnu.org>
3397 * simple.el (undo): Handle indirect buffers (Bug#8207).
3399 2012-09-21 Leo Liu <sdl.web@gmail.com>
3401 IDO: Disable match re-ordering for buffer switching.
3402 * ido.el (ido-buffer-disable-smart-matches): New variable.
3403 (ido-set-matches-1): Use it. (Bug#2042)
3405 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
3407 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3408 Fix 2011-05-17 change. (Bug#12418)
3410 2012-09-21 Leo Liu <sdl.web@gmail.com>
3412 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3414 2012-09-21 Glenn Morris <rgm@gnu.org>
3416 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3417 Be more robust about locating simple.el.
3419 2012-09-21 Glenn Morris <rgm@gnu.org>
3421 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3423 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3425 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3427 2012-09-20 Juri Linkov <juri@jurta.org>
3429 * replace.el (query-replace-read-from): Use `read-regexp' instead
3430 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3431 (occur-read-primary-args): Use `read-regexp' instead of
3433 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3434 `read-from-minibuffer'.
3435 * isearch.el (isearch-occur): Use `read-regexp' instead of
3437 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3438 `read-from-minibuffer'.
3439 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3440 of `read-string'. (Bug#7567)
3442 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3443 and allow accepting a list of strings prepended to a list of
3444 standard default values. Doc fix. (Bug#12321)
3446 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3448 * replace.el (read-regexp): Don't add ": " when PROMPT already
3449 ends with a colon and space. (Bug#12321)
3451 2012-09-20 Tassilo Horn <tsdh@gnu.org>
3453 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3456 2012-09-20 Stefan Merten <smerten@oekonux.de>
3458 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
3459 Fixes feature request bug#11711.
3460 (rst-mode): Create `imenu-create-index-function'.
3461 (rst-get-stripped-line): Delete after refactoring.
3462 (rst-section-tree, rst-section-tree-rec)
3463 (rst-section-tree-point): Refactor and document properly.
3464 (rst-imenu-find-adornments-for-position)
3465 (rst-imenu-convert-cell, rst-imenu-create-index):
3468 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3470 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3471 (macroexp--expand-all): Use it.
3472 (macroexp--funcall-and-return): Remove by folding it into its sole
3473 caller (macroexp--warn-and-return).
3474 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3475 Use macroexp--obsolete-warning.
3477 * calc/calc.el: Fix last change by removing the whole chunk, since it
3478 was only needed back when Calc was not bundled.
3480 2012-09-20 Martin Rudalics <rudalics@gmx.at>
3482 * emacs-lisp/debug.el (debug): Restore assignment to
3483 debugger-old-buffer removed on 2012-09-08.
3485 2012-09-20 Juri Linkov <juri@jurta.org>
3487 * dired-aux.el (dired-diff): Remove (require 'diff) since
3488 `diff-latest-backup-file' is now autoloaded.
3490 2012-09-20 Chong Yidong <cyd@gnu.org>
3492 * vc/diff.el (diff-latest-backup-file): Autoload.
3494 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3496 * calc/calc.el: Remove redundant autoload shape check.
3497 (sel-mode): Don't defvar.
3498 (calc-get-stack-element): Add `sel-mode' arg instead.
3499 (calc-top, calc-top-list): Pass it this additional argument.
3500 * calc/calc-store.el (calc-store-map):
3501 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3502 (calc-map-equation, calc-outer-product, calc-inner-product):
3503 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3505 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3507 2012-09-19 Juri Linkov <juri@jurta.org>
3509 * dired-aux.el (dired-diff): Add (require 'diff) because
3510 `diff-latest-backup-file' is not autoloaded.
3511 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3512 of `dired-get-filename' to t to not report error when there is
3513 no default file on the current line.
3515 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3517 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3518 macroexp--eval-if-compile.
3519 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3520 (macroexp--expand-all): Use them (bug#12371).
3522 * doc-view.el (doc-view-guess-paper-size)
3523 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3525 2012-09-19 Tassilo Horn <tsdh@gnu.org>
3527 New feature: set optimal slice from BoundingBox information.
3528 * doc-view.el (doc-view-mode-map): Add keybinding.
3529 (doc-view-menu): Add menu entry.
3530 (doc-view-set-slice): Adapt docstring.
3531 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3532 (doc-view-scale-bounding-box)
3533 (doc-view-set-slice-from-bounding-box): New functions.
3534 (doc-view-paper-sizes): New defvar.
3536 2012-09-19 Glenn Morris <rgm@gnu.org>
3538 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3539 (byte-compile-log-warning): Autoload. (Bug#12371)
3541 * calendar/calendar.el (calendar-american-month-header)
3542 (calendar-european-month-header, calendar-iso-month-header)
3543 (calendar-month-header): New options.
3544 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3545 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3547 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3549 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3551 2012-09-18 Juri Linkov <juri@jurta.org>
3553 * dired-aux.el (dired-diff): Restore original functionality of
3554 getting the default value, but keep new feature of using the
3555 latest existing backup file (`diff-latest-backup-file').
3557 2012-09-18 Juri Linkov <juri@jurta.org>
3559 * dired.el (dired-mark): If the region is active in Transient Mark
3560 mode, mark all files in the active region. Doc fix.
3561 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3562 Doc fix. (Bug#10624)
3564 2012-09-18 Juri Linkov <juri@jurta.org>
3566 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3567 attributes for M-n are pulled from the file at point.
3568 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3569 Suggested by Drew Adams. (Bug#10624)
3571 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3573 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3574 whitespace after "end".
3575 (ruby-do-end-to-brace): Collapse block to one line if it fits
3578 2012-09-18 Martin Rudalics <rudalics@gmx.at>
3580 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3582 (debug): Don't remove debugger window when debugger is expected
3585 2012-09-18 Chong Yidong <cyd@gnu.org>
3587 * custom.el (defface): Doc fix.
3589 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3591 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3593 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3594 to initialize query-on-exit; then test that instead (bug#12288).
3596 2012-09-17 Stefan Merten <smerten@oekonux.de>
3598 * textmodes/rst.el: Add support for `testcover'.
3599 (rst-defcustom-testcover, rst-testcover-add-compose)
3600 (rst-testcover-add-1value): New functions.
3601 (rst-portable-mark-active-p): Replace by `use-region-p'.
3602 (rst-update-section, rst-classify-adornment)
3603 (rst-find-title-line): Mark `1value' forms.
3604 (rst-classify-adornment): Remove superfluous form.
3605 (rst-update-section, rst-get-adornments-around)
3606 (rst-adornment-complete-p, rst-get-next-adornment)
3607 (rst-adjust, rst-promote-region)
3608 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3609 (rst-find-pfx-in-region, rst-section-tree-rec)
3610 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3611 (rst-toc-node, rst-toc, rst-forward-section)
3612 (rst-iterate-leftmost-paragraphs)
3613 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3614 (rst-bullet-list-region)
3615 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3616 (rst-compile-find-conf, rst-compile)
3617 (rst-repeat-last-character): Fix style.
3619 2012-09-17 Chong Yidong <cyd@gnu.org>
3621 * comint.el (comint--complete-file-name-data): Don't add a space
3622 if the status is `sole'; that adds a gratuitous space in the
3623 completion-cycling case (Bug#12092).
3625 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3627 2012-09-17 Richard Stallman <rms@gnu.org>
3629 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3630 only in the mime-shown mode, not in raw mode.
3631 (rmail-mime): Toggle off mime by displaying the message without
3632 mime processing. (Bug#12305)
3634 * mail/rmail.el (rmail-retry-failure):
3635 Turn off mime processing first. (Bug#12037)
3637 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3639 2012-09-17 Chong Yidong <cyd@gnu.org>
3641 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3642 (shell-dynamic-complete-functions): Convert to defcustom.
3643 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3645 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3646 * comint.el (comint-prompt-read-only):
3647 * custom.el (defcustom):
3648 * hi-lock.el (hi-lock-mode):
3649 * ibuffer.el (ibuffer-formats):
3650 * ielm.el (ielm-prompt-read-only):
3651 * novice.el (disable-command):
3652 * saveplace.el (toggle-save-place):
3653 * speedbar.el (speedbar-supported-extension-expressions):
3654 * startup.el (auto-save-list-file-prefix, init-file-user)
3655 (after-init-hook, inhibit-startup-echo-area-message):
3656 * strokes.el (strokes-help):
3657 * time-stamp.el (time-stamp):
3658 * calendar/calendar.el (calendar, diary-file):
3659 * calendar/diary-lib.el (diary-mail-entries, diary)
3660 (diary-list-entries-hook):
3661 * calendar/holidays.el (holidays, calendar-holidays):
3662 * calendar/lunar.el (lunar-phases):
3663 * calendar/solar.el (sunrise-sunset):
3664 * emulation/edt.el (edt-load-keys):
3665 * emulation/viper.el (viper-mode):
3666 * eshell/em-alias.el (eshell-command-aliases-list):
3667 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3668 * international/ogonek.el (ogonek-information):
3669 * net/tramp-cmds.el (tramp-bug):
3670 * net/quickurl.el (quickurl-reread-hook-postfix):
3671 * play/decipher.el (decipher-font-lock-keywords):
3672 * progmodes/cc-styles.el (c-set-style):
3673 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3674 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3675 * progmodes/octave-mod.el (octave-mode):
3676 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3677 * progmodes/verilog-mode.el (verilog-read-defines):
3678 * textmodes/two-column.el (2C-mode): Likewise.
3680 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3682 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3683 that holds many addresses.
3685 2012-09-16 Chong Yidong <cyd@gnu.org>
3687 * align.el (align-areas): Call the indication function with
3688 positions instead of markers for arguments (Bug#12343).
3690 * files.el (parse-colon-path): Use split-string (Bug#12351).
3692 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
3693 (display-buffer-function): Mark as obsolete.
3695 * progmodes/compile.el (compilation-parse-errors): Accept list
3696 values similar to font-lock-keywords (Bug#12136).
3697 Suggested by Oleksandr Manzyuk.
3698 (compilation-error-regexp-alist): Doc fix.
3700 2012-09-15 Glenn Morris <rgm@gnu.org>
3702 * version.el (emacs-bzr-version-bzr): New function.
3703 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3705 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3706 checkouts, check the parent dirstate matches the branch.
3707 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3710 * version.el (emacs-bzr-version): Doc fix.
3711 (emacs-bzr-version-dirstate): New function.
3712 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3713 is local try and check that it matches the branch. If not, just
3714 use dirstate information. (Bug#12441)
3716 2012-09-14 Juri Linkov <juri@jurta.org>
3718 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3721 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3723 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3725 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3726 Remove obsolete byte-compiler hack that tried to silence some warnings.
3727 (edebug-submit-bug-report): Remove.
3728 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3729 Remove aliases, use the un-prefixed name instead.
3730 (edebug-pop-to-buffer): Consider other frames.
3731 (edebug-original-read):: Make it more obvious that it's always defined.
3732 (edebug--make-form-data-entry, edebug--form-data-name)
3733 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3734 single-dashed name, and implement with cl-defstruct.
3735 (edebug-set-form-data-entry): Use the standard accessors.
3736 (edebug-make-top-form-data-entry): Use push.
3737 (edebug-no-match): Drop useless `funcall'.
3738 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3740 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3741 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3742 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3743 (easy-menu-define, with-custom-print): Remove redundant specs.
3744 (edebug-outside-overriding-local-map)
3745 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3746 (edebug--display): Bind unread-command-events directly to nil rather
3747 than binding it to unread-command-events and later setting it to nil.
3748 (edebug--display): Kill edebug-eval-buffer here...
3749 (edebug--recursive-edit): ...rather than here.
3750 Bind standard-output and standard-input.
3751 (edebug-eval): Check cl-macroexpand-all is fboundp.
3752 (edebug-temp-display-freq-count): Fix last change.
3754 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3755 * subr.el (noreturn, 1value): Add `debug' spec.
3756 * emacs-lisp/advice.el: Require cl-lib.
3757 (ad-copy-tree): Remove, use copy-tree instead.
3758 (ad-dolist): Remove use dolist or cl-dolist instead.
3759 (ad-do-return): Remove, use cl-return instead.
3760 (defadvice): Add `debug' spec.
3762 2012-09-13 Juri Linkov <juri@jurta.org>
3764 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3767 2012-09-13 Glenn Morris <rgm@gnu.org>
3769 * calc/calc.el (math-compose-expr):
3770 * calc/calc-ext.el (math-compose-expr):
3771 * progmodes/cc-defs.el (cl-macroexpand-all):
3772 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3773 (cl-macroexpand-all): Update declarations.
3775 * vc/vc.el: No need to require ediff.
3776 (ediff-load-version-control): Declare.
3777 (ediff-vc-internal): Fix declaration.
3778 (vc-version-ediff): Require ediff.
3780 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3782 Use a more backwards-compatible timer format (Bug#12430).
3783 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3784 being right after USECS, as that better supports old code that
3785 inadvisedly looked directly at the timer vector.
3787 2012-09-13 Kenichi Handa <handa@gnu.org>
3789 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3790 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3791 `coding-priority' property of these language environment.
3793 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3795 Fix glitches caused by addition of psec to timers (Bug#12430).
3796 * image.el (image-animate-timer):
3797 * time.el (display-time-world-timer):
3798 Use timer--function and timer--args rather than raw access to
3801 2012-09-13 Glenn Morris <rgm@gnu.org>
3803 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3804 If not compiling a file, try using load-file-name.
3806 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3808 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3810 (edebug-update-eval-list): Use `push'.
3812 * emacs-lisp/edebug.el: Use lexical-binding.
3813 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3814 Mark unused args with underscore.
3815 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3816 (edebug-form-data): Use defvar-local.
3817 (edebug-make-before-and-after-form, edebug-make-after-form):
3819 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3820 Not dynamically scoped any more.
3821 (edebug--enter-trace): Add arguments `function' and `args'.
3822 Rename from edebug-enter-trace.
3823 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3824 (edebug--update-coverage): Add `after-index' and `value' args.
3825 Rename from edebug-update-coverage.
3826 (edebug-slow-after): Call it accordingly.
3827 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3828 edebug-recursive-edit.
3829 (edebug--display): Call it accordingly. Add args `value',
3830 `offset-index', and `arg-mode'. Rename from edebug-display.
3831 (edebug-debugger, edebug): Call it accordingly.
3832 (edebug-eval-display-list): Use dolist.
3834 2012-09-12 Juri Linkov <juri@jurta.org>
3836 * info.el (Info-search): Don't check for isearch-mode and
3837 isearch-regexp before let-binding search-spaces-regexp to
3838 Info-search-whitespace-regexp.
3839 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3840 search-whitespace-regexp if isearch-lax-whitespace or
3841 isearch-regexp-lax-whitespace is non-nil.
3842 (Info-mode): Don't set local variable search-whitespace-regexp.
3843 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3845 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3847 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3848 (debugger-env-macro): Remove support for unread-command-char.
3850 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3851 the temporary map re-appearing on emulation-mode-map-alists.
3853 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3856 * ehelp.el (with-electric-help): Accept functions in
3857 electric-help-form-to-execute.
3858 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3859 And replace unread-command-char -> unread-command-events.
3861 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
3863 Sync with Tramp 2.2.6.
3865 * net/tramp.el (tramp-accept-process-output): Don't use
3866 JUST-THIS-ONE in the XEmacs case.
3868 * net/trampver.el: Update release number.
3870 2012-09-12 Martin Rudalics <rudalics@gmx.at>
3872 * emacs-lisp/debug.el (debugger-previous-window-height):
3874 (debug): When debugger-jumping-flag is non-nil try to restore
3875 height of debugger window. (Bug#8789)
3877 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3879 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3880 overriding-local-map and pre/post-command-hook here.
3881 (edebug-recursive-edit): Do it here instead (bug#12345).
3882 (edebug-outside-unread-command-char): Remove all uses of
3883 unread-command-char.
3885 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3886 inhibit-debugger is bound instead.
3888 2012-09-11 Bastien Guerry <bzg@gnu.org>
3890 * subr.el (set-temporary-overlay-map): Add a docstring.
3893 2012-09-11 Bastien Guerry <bzg@gnu.org>
3895 * minibuffer.el (completion-table-subvert): Fix docstring.
3898 2012-09-11 Bastien Guerry <bzg@gnu.org>
3900 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
3902 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3904 * progmodes/sql.el: Version 3.1
3905 (sql-db2-escape-newlines): New variable.
3906 (sql-escape-newlines-filter): Use it.
3908 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
3910 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3912 2012-09-10 Dan Nicolaescu <dann@gnu.org>
3914 * vc/diff-mode.el (diff-mode-menu):
3915 Bind diff-remove-trailing-whitespace.
3917 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3919 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
3920 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3921 (emacs-lisp-byte-code-mode): New functions.
3922 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3923 (eval-defun-2): Remove bogus interactive spec.
3924 (lisp-indent-line): Remove redundant whole-exp code, now done in
3925 indent-according-to-mode.
3926 (save-match-data): Remove redundant indent data.
3928 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3931 2012-09-09 Juri Linkov <juri@jurta.org>
3933 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3934 (replace-lax-whitespace, query-replace-regexp)
3935 (query-replace-regexp-eval, replace-regexp): Doc fix.
3936 (perform-replace, replace-highlight): Let-bind
3937 isearch-lax-whitespace to replace-lax-whitespace and
3938 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3940 * isearch.el (isearch-query-replace): Let-bind
3941 replace-lax-whitespace to isearch-lax-whitespace and
3942 replace-regexp-lax-whitespace to
3943 isearch-regexp-lax-whitespace. (Bug#10885)
3945 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3947 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3949 2012-09-09 Alan Mackenzie <acm@muc.de>
3951 * progmodes/cc-engine.el (c-state-cache-init):
3952 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3953 (c-record-parse-state-state):
3954 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
3956 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3958 * register.el (register-separator): Rename from
3959 separator-register. All uses changed. Doc fix.
3960 (register): Fix version.
3962 2012-09-09 Chong Yidong <cyd@gnu.org>
3964 * replace.el (query-replace-map): Bind four new symbols for
3965 requesting window scrolling.
3967 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3968 query-replace-map (Bug#8948).
3970 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3972 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3973 since they are now in query-replace-map.
3975 * window.el (scroll-other-window-down): Make the arg optional.
3977 2012-09-09 Chong Yidong <cyd@gnu.org>
3979 * files.el (hack-local-variables-confirm): Use quit-window to kill
3980 the *Local Variables* buffer.
3982 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3984 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3985 not just expect to be at its beginning. Adjust callees.
3986 Succeed when do-end block has no space before the pipe character.
3987 (ruby-brace-to-do-end): When the original block is one-liner,
3988 convert to multiline. Reindent the result.
3990 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
3992 * register.el (register): New group.
3993 (separator-register): New user option.
3994 (increment-register): Route it to `append-to-register', if
3995 register contains text. Implication is that `C-x r +' can now be
3996 used for appending to a text register (bug#12217).
3997 (append-to-register, prepend-to-register): Add separator based on
3998 `separator-register'.
4000 2012-09-08 Alan Mackenzie <acm@muc.de>
4002 AWK Mode: make auto-newline work when there's "==" in the pattern.
4003 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
4005 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
4006 Test more rigorously for "=" token.
4008 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4010 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
4011 Only fail when reached LIMIT.
4013 2012-09-08 Chong Yidong <cyd@gnu.org>
4015 * dired.el (dired-mode-map): Don't bind M-=.
4017 * dired-aux.el (dired-diff): Use backup file as default.
4019 2012-09-08 Drew Adams <drew.adams@oracle.com>
4021 * subr.el (add-to-history): Fix delete usage (Bug#12314).
4023 2012-09-08 Chong Yidong <cyd@gnu.org>
4025 * subr.el (syntax-after, syntax-class): Doc fix.
4027 2012-09-08 Martin Rudalics <rudalics@gmx.at>
4029 * window.el (display-buffer-in-previous-window): New buffer
4030 display action function.
4032 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4033 (debugger-previous-window): New variable.
4034 (debug): Rewrite using display-buffer-in-previous-window,
4035 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
4037 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4039 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
4041 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
4043 * progmodes/python.el (python-shell-send-string):
4044 When default-directory is remote, create temp file on remote
4046 (python-shell-send-file): When file is remote, pass local view of
4047 file paths to remote Python interpreter. (Bug#12340)
4049 2012-09-07 Chong Yidong <cyd@gnu.org>
4051 * window.el (switch-to-buffer): Doc fix (Bug#12181).
4053 * files.el (after-find-file): Don't fail on a read-only buffer if
4054 require-final-newline is `visit' or `visit-save' (Bug#11156).
4056 * subr.el (read-char-choice): Allow quitting via ESC ESC.
4058 * userlock.el (ask-user-about-supersession-threat):
4059 Use read-char-choice (Bug#12093).
4061 2012-09-07 Chong Yidong <cyd@gnu.org>
4063 * subr.el (buffer-narrowed-p): New function.
4065 * ses.el (ses-widen):
4066 * simple.el (count-words--buffer-message):
4067 * net/browse-url.el (browse-url-of-buffer): Use it.
4069 * simple.el (count-words-region): Don't signal an error if there
4070 is a non-nil prefix arg and the mark is not set.
4072 * help.el (describe-key-briefly): Allow the message to be seen
4073 when invoked from the minibuffer (Bug#7014).
4075 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4077 * progmodes/ruby-mode.el (ruby-end-of-defun)
4078 (ruby-beginning-of-defun): Simplify, allow indentation before
4079 block beginning and end keywords.
4080 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4081 (ruby-end-of-defun): Expect that the point is at the beginning of
4084 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4086 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4088 (cl--make-usage-args): Strip _ from argument names.
4090 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4092 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4093 obsolete alias speedbar-key-map.
4094 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4095 (vhdl-index-menu-init): Don't use obsolete variable
4096 font-lock-maximum-size.
4098 2012-09-06 Chong Yidong <cyd@gnu.org>
4100 * frame.el (window-system-version): Mark as obsolete.
4102 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4103 of obsolete variable speedbar-key-map.
4105 2012-09-06 Juri Linkov <juri@jurta.org>
4107 * replace.el (replace-lax-whitespace): New defcustom.
4108 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4109 (replace-string, replace-regexp): Mention it in docstrings.
4110 (perform-replace, replace-highlight): Let-bind
4111 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4112 to the values of replace-lax-whitespace and regexp-flag.
4113 Don't let-bind search-whitespace-regexp. (Bug#10885)
4115 * isearch.el (isearch-query-replace): Let-bind
4116 replace-lax-whitespace instead of let-binding
4117 replace-search-function and replace-re-search-function.
4118 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4119 and isearch-regexp-lax-whitespace to lazy-highlight variables.
4120 (isearch-toggle-symbol): Set isearch-regexp to nil
4121 in isearch-word mode (like in isearch-toggle-word).
4123 2012-09-06 Juri Linkov <juri@jurta.org>
4125 * replace.el (replace-search-function)
4126 (replace-re-search-function): Set default values to nil.
4127 (perform-replace): Let-bind isearch-related variables based on
4128 replace-related values, call `isearch-search-fun' and let-bind
4129 the result to `search-function'. Remove code that sets
4130 `search-function' and `search-string' separately for
4132 (replace-highlight): Add new argument `delimited-flag' and
4133 rename other arguments to the names used in `perform-replace'.
4134 Let-bind `isearch-word' to the argument `delimited-flag'.
4135 (Bug#10885, bug#10887)
4137 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4139 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4140 ruby-beginning-of-indent, simplify, allow all keywords to have
4141 indentation before them.
4142 (ruby-beginning-of-indent): Adjust for above. Search until the
4143 found point is not inside a string or comment.
4144 (ruby-font-lock-keywords): Allow symbols to start with "@"
4145 character, give them higher priority than variables.
4146 (ruby-syntax-propertize-function)
4147 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4148 matchers. Expression expansions are not comments when inside a
4149 string, and there comment syntax status is irrelevant.
4150 (ruby-match-expression-expansion): New function. Check that
4151 expression expansion is inside a string, and it's not escaped.
4152 (ruby-font-lock-keywords): Use it.
4154 2012-09-05 Martin Rudalics <rudalics@gmx.at>
4156 * help.el (temp-buffer-max-height): New default value.
4157 (temp-buffer-resize-frames): New option.
4158 (resize-temp-buffer-window): Optionally resize frame.
4160 * window.el (fit-frame-to-buffer-bottom-margin): New option.
4161 (fit-frame-to-buffer): New function.
4163 2012-09-05 Glenn Morris <rgm@gnu.org>
4165 * emulation/cua-rect.el (cua--init-rectangles):
4166 * textmodes/picture.el (picture-mode-map):
4167 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4168 like forward-char and backward-char. (Bug#12317)
4170 2012-09-05 Leo Liu <sdl.web@gmail.com>
4172 * progmodes/flymake.el (flymake-warning-re): New variable.
4173 (flymake-parse-line): Use it.
4175 2012-09-05 Glenn Morris <rgm@gnu.org>
4177 * calendar/holidays.el (holiday-christian-holidays):
4178 Rename an entry. (Bug#12289)
4180 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4182 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4185 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4187 * loadup.el: Load macroexp. Remove hack.
4188 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4189 (macroexp--expand-all): Use it to get better warnings.
4190 (macroexp--backtrace, macroexp--trim-backtrace-frame)
4191 (internal-macroexpand-for-load): New functions.
4192 (macroexp--pending-eager-loads): New var.
4193 (emacs-startup-hook): New hack to replace one in loadup.el.
4194 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4195 (cl--compiler-macro-cXXr): Move to top, before they can be used.
4196 (cl-psetf): Simplify.
4197 (cl-defstruct): Add indent rule.
4199 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
4201 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4202 over `user-mail-address' for the SMTP MAIL FROM envelope.
4203 (smtpmail-via-smtp): Ditto.
4205 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
4207 * progmodes/ruby-mode.el: Clean up keybindings.
4208 (ruby-mode-map): Don't bind ruby-electric-brace,
4209 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4210 backward-kill-word, reindent-then-newline-and-indent.
4211 (ruby-mark-defun): Remove.
4212 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
4213 (ruby-mode): Set local beginning-of-defun-function and
4214 end-of-defun-function values.
4216 2012-09-03 Martin Rudalics <rudalics@gmx.at>
4218 * window.el (temp-buffer-window-setup-hook)
4219 (temp-buffer-window-show-hook): New hooks.
4220 (temp-buffer-window-setup, temp-buffer-window-show)
4221 (with-temp-buffer-window): New functions.
4222 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4223 (special-display-popup-frame): Make sure the window used shows BUFFER.
4225 * help.el (temp-buffer-resize-mode): Fix doc-string.
4226 (resize-temp-buffer-window): New optional argument WINDOW.
4228 * files.el (recover-file, save-buffers-kill-emacs):
4229 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4231 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
4233 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4234 remote definition of `default-directory', ensure we can connect.
4236 2012-09-02 Juri Linkov <juri@jurta.org>
4238 Toggle whitespace matching mode with M-s SPC.
4239 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4241 * isearch.el (search-whitespace-regexp): Doc fix.
4242 Remove cons cell customization.
4243 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4244 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4246 (isearch-forward, isearch-forward-regexp): Doc fix.
4247 (isearch-toggle-lax-whitespace): New command.
4248 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4249 (re-search-forward-lax-whitespace)
4250 (re-search-backward-lax-whitespace): New functions.
4251 (isearch-whitespace-regexp): Remove function.
4252 (isearch-query-replace): Let-bind replace-search-function and
4253 replace-re-search-function.
4254 (isearch-occur): Let-bind search-spaces-regexp according to the
4255 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4256 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4257 condition for C-q SPC.
4258 (isearch-search-fun-default): Use new functions mentioned above.
4259 (isearch-search-forward, isearch-search-backward): Remove functions.
4260 (isearch-search): Don't let-bind search-spaces-regexp.
4261 (isearch-lazy-highlight-space-regexp): Remove variable.
4262 (isearch-lazy-highlight-lax-whitespace)
4263 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4264 (isearch-lazy-highlight-new-loop): Use them.
4265 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4267 2012-09-02 Chong Yidong <cyd@gnu.org>
4269 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4271 2012-09-02 Glenn Morris <rgm@gnu.org>
4273 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
4275 2012-09-01 Glenn Morris <rgm@gnu.org>
4277 * term.el: Tidy up menu definitions.
4278 (term-mode-map): Use easymenu for In/Out, Complete menus.
4279 (term-pager-break-map): Initialize in the defvar.
4280 (term-terminal-menu, term-signals-menu): Define with easymenu.
4281 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
4282 (term-pager-menu): New, extracted from term-process-pager.
4283 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4284 (term-update-mode-line): Propertize line/char and page items.
4285 (term-process-pager): Move keymap initialization elsewhere.
4287 2012-09-01 Martin Rudalics <rudalics@gmx.at>
4289 * window.el (switch-to-prev-buffer): Handle additional values of
4290 BURY-OR-KILL argument. Don't switch in minibuffer window.
4291 (switch-to-next-buffer): Don't switch in minibuffer window.
4292 (quit-restore-window): New function based on quit-window.
4293 Handle additional values of former KILL argument.
4294 (quit-window): Call quit-restore-window with appropriate
4295 interpretation of KILL argument.
4296 (display-buffer-below-selected): New buffer display action
4299 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4301 * minibuffer.el (completion-at-point-functions): Complete docstring
4304 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
4306 Better seed support for (random).
4307 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4308 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4309 * play/mpuz.el, play/tetris.el, play/zone.el:
4310 * calc/calc-comb.el (math-init-random-base):
4311 * play/blackbox.el (bb-init-board):
4312 * play/life.el (life):
4313 * server.el (server-use-tcp):
4314 * type-break.el (type-break):
4315 Remove unnecessary call to (random t).
4316 * net/sasl.el (sasl-unique-id-function):
4317 Change (random t) to (random), now that the latter is more random.
4318 * play/life.el (life-initialized): Remove no-longer-needed var.
4320 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
4322 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4323 Consider frame's buffer predicate when choosing the buffer.
4326 2012-08-30 Richard Stallman <rms@gnu.org>
4328 * simple.el (special-mode-map): Delete binding for `z'.
4330 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
4332 * progmodes/compile.el (compilation-always-kill): Doc fix.
4334 2012-08-30 Chong Yidong <cyd@gnu.org>
4336 * window.el (display-buffer-reuse-frames): Make the obsolescence
4337 message more informative.
4339 2012-08-30 Glenn Morris <rgm@gnu.org>
4341 * paren.el (show-paren-delay):
4342 Add a :set function. Doc fix. (Bug#12297)
4344 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
4346 * progmodes/compile.el (compilation-always-kill): New var.
4347 (compilation-start): Use it.
4349 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4351 * simple.el (read-only-mode): Move from files.el for bootstrapping.
4352 * files.el (read-only-mode): Move to simple.el.
4354 * files.el (read-only-mode): New minor mode.
4355 (toggle-read-only): Use it and mark obsolete.
4356 (find-file--read-only):
4357 * vc/vc.el (vc-next-action, vc-checkout):
4358 * vc/vc-cvs.el (vc-cvs-checkout):
4359 * obsolete/vc-mcvs.el (vc-mcvs-update):
4360 * ffap.el (ffap--toggle-read-only): Update callers.
4362 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
4364 * eshell/esh-ext.el (eshell-external-command): Do not examine
4365 remote shell scripts.
4366 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
4368 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4371 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4373 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4375 2012-08-28 Leo Liu <sdl.web@gmail.com>
4377 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4378 completion-at-point. (Bug#12220)
4380 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4382 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4384 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4386 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4387 be buffer-local; add delete-trailing-whitespace (bug#12259).
4389 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
4391 * progmodes/hideif.el (hif-compress-define-list):
4392 Fix typo. (Bug#11951)
4394 2012-08-28 Dan Nicolaescu <dann@gnu.org>
4396 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4397 buffer local setting.
4399 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4400 rcirc-encode-coding-system.
4402 2012-08-28 Leo Liu <sdl.web@gmail.com>
4404 * net/rcirc.el (rcirc-split-message): New function.
4405 (rcirc-send-message): Use it. (Bug#12051)
4407 2012-08-28 Juri Linkov <juri@jurta.org>
4409 * info.el (Info-fontify-node): Hide empty lines at the end of
4410 the node. (Bug#12272)
4412 2012-08-27 Drew Adams <drew.adams@oracle.com>
4414 * dired.el (dired-pop-to-buffer): Make window start at beginning
4415 of buffer (Bug#12281).
4417 2012-08-26 Chong Yidong <cyd@gnu.org>
4419 * window.el (special-display-regexps, special-display-frame-alist)
4420 (special-display-buffer-names, special-display-function)
4421 (display-buffer-reuse-frames): Mark as obsolete.
4423 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4425 * help.el (help-print-return-message): Don't treat
4426 display-buffer-reuse-frames specially.
4428 2012-08-26 Chong Yidong <cyd@gnu.org>
4430 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4431 New variable, replacing gdb-frame-parameters.
4432 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4433 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4434 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4435 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4436 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4437 the functions directly with gdb-display-buffer-other-frame-action.
4438 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4439 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4440 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4441 (gdb-display-registers-buffer): Define directly.
4442 (def-gdb-display-buffer): Macro deleted.
4443 (gdb-display-buffer): Remove second and third args, callers don't
4444 use them. Defer to the default display-buffer behavior, apart
4445 from making windows dedicated.
4446 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4448 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4450 * window.el (display-buffer-pop-up-frame): Handle a
4451 pop-up-frame-parameters alist entry.
4452 (display-buffer): Document it.
4454 2012-08-26 Chong Yidong <cyd@gnu.org>
4456 * isearch.el (search-whitespace-regexp): Make string and nil
4457 values apply to both ordinary and regexp search. Allow a cons
4458 cell value to distinguish between the two.
4459 (isearch-whitespace-regexp, isearch-search-forward)
4460 (isearch-search-backward): New functions.
4461 (isearch-occur, isearch-search-fun-default, isearch-search)
4462 (isearch-lazy-highlight-new-loop): Use them.
4463 (isearch-forward, isearch-forward-regexp): Doc fix.
4465 2012-08-26 Chong Yidong <cyd@gnu.org>
4467 * faces.el (help-argument-name): Always inherit from italic
4470 2012-08-25 Martin Rudalics <rudalics@gmx.at>
4472 * window.el (window--even-window-heights): Even heights when
4473 WINDOW and the selected window form a vertical combination.
4474 (display-buffer-use-some-window): Provide that window used gets
4475 sized back by quit-window. (Bug#11880) and (Bug#12091)
4477 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4479 Fix file time stamp problem with bzr and CVS (Bug#12001).
4480 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4481 in the file's time stamp, since the version control system loses
4484 2012-08-22 Juri Linkov <juri@jurta.org>
4486 * info.el (Info-fontify-node): Hide the suffix of the
4487 Info file name in the header line. (Bug#12187)
4489 2012-08-22 Glenn Morris <rgm@gnu.org>
4491 * calendar/cal-tex.el (cal-tex-weekly-common):
4492 Restore leading blank page.
4494 2012-08-22 Le Wang <l26wang@gmail.com>
4496 * misc.el (forward-to-word, backward-to-word): Activate or extend
4497 the region under `shift-select-mode'. (Bug#12231)
4499 2012-08-22 Bastien Guerry <bzg@gnu.org>
4501 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4502 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4503 gives details on why the space is never needed.
4505 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4507 * window.el (walk-window-tree, window-with-parameter):
4508 New optional argument MINIBUF to control whether these functions
4509 should run on the minibuffer window.
4510 (window-at-side-list): Don't operate on minibuffer window.
4511 (window-in-direction): Simplify and rewrite doc-string.
4512 (window--size-ignore): Rename to window--size-ignore-p.
4514 (display-buffer-in-atom-window, window--major-non-side-window)
4515 (window--major-side-window, display-buffer-in-major-side-window)
4516 (delete-side-window, display-buffer-in-side-window):
4518 (window--side-check, window-deletable-p, delete-window)
4519 (delete-other-windows, split-window): Handle side windows and
4520 atomic windows appropriately.
4521 (window--display-buffer): Call display-buffer-record-window also
4522 when the window buffer did not change.
4524 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4526 * help-fns.el (help-fns--key-bindings):
4527 Abbreviate non-symbol remap targets. (Bug#12174)
4529 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4531 * dired.el (dired-mark-remembered): Don't clobber point.
4534 2012-08-22 Glenn Morris <rgm@gnu.org>
4536 * progmodes/bug-reference.el (bug-reference): New custom group.
4537 (bug-reference-bug-regexp): Make it a defcustom.
4539 2012-08-22 Daiki Ueno <ueno@unixuser.org>
4541 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4542 (js-paren-indent-offset, js-square-indent-offset)
4543 (js-curly-indent-offset): Add :safe (Bug#12257).
4545 2012-08-22 Edward O'Connor <hober0@gmail.com>
4547 * json.el (json-key-format): Add error properties.
4548 (json-encode-key): New function.
4549 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4550 Use json-encode-key.
4552 2012-08-22 Glenn Morris <rgm@gnu.org>
4554 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4555 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4556 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4557 Update for above change.
4559 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4561 * cus-face.el (custom-face-attributes): Fix customize type for the
4562 :underline attribute. (Bug#11805)
4564 2012-08-21 Martin Rudalics <rudalics@gmx.at>
4566 * window.el (window-point-1, set-window-point-1): Remove.
4567 (window-in-direction, record-window-buffer)
4568 (set-window-buffer-start-and-point, split-window-below)
4569 (window--state-get-1, display-buffer-record-window):
4570 Replace calls to window-point-1 and set-window-point-1 by calls to
4571 window-point and set-window-point respectively.
4573 2012-08-21 Glenn Morris <rgm@gnu.org>
4575 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4576 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4579 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4580 (cal-tex-shortday): New function.
4581 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4582 (cal-tex-cursor-filofax-daily): Use the above.
4584 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4586 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4587 (cal-tex-cursor-filofax-week): Use them.
4589 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4591 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4592 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4594 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4595 (cal-tex-end-document): Don't rely on buffer name.
4597 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4599 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4600 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
4601 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4604 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4605 (cal-tex-cursor-week, cal-tex-cursor-week2)
4606 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4607 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4608 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4609 (cal-tex-insert-preamble, cal-tex-b-document)
4610 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4611 Improve cal-tex-cmd usage.
4613 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4614 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4615 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4616 (cal-tex-weekly-paper): New function.
4617 (cal-tex-cursor-week, cal-tex-cursor-week2)
4618 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4619 (cal-tex-cursor-day): Use it.
4621 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4622 (cal-tex-cursor-filofax-week): Remove leading blank page.
4624 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4625 Add autoload cookie. For now at least, don't use color, since
4626 no other cal-tex function does.
4628 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4629 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4630 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4632 2012-08-21 Juri Linkov <juri@jurta.org>
4634 * info.el (Info-file-attributes): New variable.
4635 (info-insert-file-contents): Add file attributes to
4636 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4637 `Info-toc-nodes' when previous modtime of the Info file is less
4639 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4640 of info.el. (Bug#12230)
4642 2012-08-20 Glenn Morris <rgm@gnu.org>
4644 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4645 * calendar/holidays.el (calendar-holiday-list):
4646 Report errors with display-warning rather than beep'n'sleep.
4648 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
4650 * net/tramp.el (tramp-accept-process-output): Accept only output
4651 from PROC. Otherwise, process filters and sentinels might be
4652 confused. (Bug#12145)
4654 2012-08-20 Chong Yidong <cyd@gnu.org>
4656 * descr-text.el (describe-text-properties-1): Use overlays-in to
4657 report on empty overlays (Bug#3322).
4659 2012-08-20 Glenn Morris <rgm@gnu.org>
4661 * mail/rmailout.el (rmail-output-read-file-name):
4662 Trap and report errors in rmail-output-file-alist elements.
4664 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4665 since most non-font-lock faces are not also variables).
4667 2012-08-20 Edward Reingold <reingold@iit.edu>
4669 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4670 New function. (Bug12160)
4672 2012-08-19 Glenn Morris <rgm@gnu.org>
4674 * mail/rmailout.el (rmail-output-read-file-name):
4675 Fix previous change (when the alist is nil or does not match).
4677 2012-08-19 Chong Yidong <cyd@gnu.org>
4679 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4682 2012-08-18 Chong Yidong <cyd@gnu.org>
4684 * simple.el (yank-handled-properties): New defcustom.
4685 (yank-excluded-properties): Add font-lock-face and category.
4688 * subr.el (remove-yank-excluded-properties):
4689 Obey yank-handled-properties. The special handling of font-lock-face
4690 and category is now done this way, instead of being hard-coded.
4691 (insert-for-yank-1): Remove font-lock-face handling.
4692 (yank-handle-font-lock-face-property)
4693 (yank-handle-category-property): New function.
4695 2012-08-17 Glenn Morris <rgm@gnu.org>
4697 * mail/rmailout.el (rmail-output-read-file-name):
4698 Check rmail-output-file-alist against the full message body
4699 in the correct rmail buffer. (Bug#12214)
4701 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
4703 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4704 Eliminate superfluous prompt. (Bug#12203)
4706 2012-08-17 Chong Yidong <cyd@gnu.org>
4708 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4709 font spec, set the font directly (Bug#3228).
4711 2012-08-17 Martin Rudalics <rudalics@gmx.at>
4713 * window.el (delete-window): Fix last fix.
4715 2012-08-16 Martin Rudalics <rudalics@gmx.at>
4717 * window.el (window-valid-p): Move to window.c.
4718 (window-child, window-child-count, window-last-child)
4719 (window-normalize-window, window-combined-p)
4720 (window-combinations, window-atom-root, window-min-size)
4721 (window-sizable, window-sizable-p, window-size-fixed-p)
4722 (window-min-delta, window-max-delta, window--resizable)
4723 (window--resizable-p, window-resizable, window-total-size)
4724 (window-full-height-p, window-full-width-p, window-body-size)
4725 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4726 (minimize-window, window-deletable-p, delete-window)
4727 (delete-other-windows, set-window-buffer-start-and-point)
4728 (next-buffer, previous-buffer, split-window, balance-windows-2)
4729 (set-window-text-height, window-buffer-height)
4730 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
4731 (truncated-partial-width-window-p): Minor code adjustments.
4732 In doc-strings state whether the argument window has to denote a
4733 live, valid or any window.
4735 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4737 * progmodes/subword.el (subword-forward-function)
4738 (subword-backward-function, subword-forward-regexp)
4739 (subword-backward-regexp): New variables.
4740 (subword-forward, subword-forward-internal, subword-backward-internal):
4741 Use new variables, eg so that different "word" definitions
4742 can be easily used. (Bug#11411)
4744 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4746 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4747 for composite selectors.
4748 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4749 operation just because we can't find a previous revision.
4751 2012-08-15 Chong Yidong <cyd@gnu.org>
4753 * frame.el (set-frame-font): Accept font objects.
4755 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4757 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4759 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4761 * man.el (Man-overstrike-face, Man-underline-face)
4762 (Man-reverse-face): Remove variables.
4763 (Man-overstrike, Man-underline, Man-reverse): New faces.
4764 (Man-fontify-manpage): Use them instead of the variables.
4765 (Man-cleanup-manpage): Comment change.
4766 (Man-ansi-color-map): New variable.
4767 (Man-fontify-manpage): Use it.
4768 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4770 Implement ANSI SGR parameters 22-27 (bug#12146).
4771 * ansi-color.el (ansi-colors): Doc fix.
4772 (ansi-color-context, ansi-color-context-region): Doc fix.
4773 (ansi-color--find-face): New function.
4774 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4775 Rename the local variable `face' to `codes' since it is now a list of
4776 ansi codes. Doc fix.
4777 (ansi-color-get-face): Remove.
4778 (ansi-color-parse-sequence): New function, derived from
4779 ansi-color-get-face.
4780 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4783 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4785 * subr.el (read-passwd): Allow use from a minibuffer.
4787 2012-08-14 Eli Zaretskii <eliz@gnu.org>
4789 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4790 inside comments and strings as identifiers.
4792 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4793 expression to evaluate. This allows to evaluate expressions with
4794 embedded whitespace.
4795 (gud-tooltip-tips): Add a blank before the newline in the
4796 message-box text, for the benefit of message-box emulation on
4799 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4800 messages from GDB, pop them up in a tooltip to give feedback to
4802 (gdb-tooltip-print-1): Quote the expression to evaluate.
4803 This allows to evaluate expressions with embedded whitespace.
4804 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4805 if the TTY name is nil or empty (which happens when communicating
4806 with the inferior via pipes, e.g. on MS-Windows).
4807 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4808 don't send that to the GUD buffer.
4810 2012-08-14 Glenn Morris <rgm@gnu.org>
4812 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4813 Optimize away setq-default with no args, as for setq. (Bug#12195)
4815 2012-08-14 Chong Yidong <cyd@gnu.org>
4817 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4819 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4822 2012-08-14 Glenn Morris <rgm@gnu.org>
4824 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4826 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
4828 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4829 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4830 Use cached shell name.
4832 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4834 * progmodes/python.el (python-shell-send-string):
4835 (python-shell-send-setup-code): Do not use `format' with `message'.
4837 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4839 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4840 (ruby-percent-literal-beg-re): New constant.
4841 (ruby-syntax-general-delimiters-goto-beg): Rename to
4842 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4843 (ruby-syntax-propertize-general-delimiters): Rename to
4844 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4845 popular term. Adjust comments everywhere.
4846 (ruby-syntax-propertize-percent-literal): Only propertize when not
4847 inside a simple string or comment. When the literal is unclosed,
4848 leave the text after it unpropertized.
4849 (ruby-syntax-methods-before-regexp): New constant.
4850 (ruby-syntax-propertize-function): Use it to recognize regexps.
4851 Don't look at the text after regexp, just use the whitelist.
4853 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4855 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4856 non-nil always load the compiled file if it exists. (Bug#12197)
4858 2012-08-14 Chong Yidong <cyd@gnu.org>
4860 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4861 (hi-lock-set-pattern): When deciding whether to use font lock or
4862 overlays, look at font-lock-mode instead of font-lock-fontified
4864 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4865 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4867 2012-08-14 Daiki Ueno <ueno@unixuser.org>
4869 * subr.el (internal--after-with-selected-window): Fix typo
4872 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4874 Use `completion-table-dynamic' for completion functions.
4875 * progmodes/python.el
4876 (python-shell-completion--do-completion-at-point)
4877 (python-shell-completion--get-completions):
4879 (python-shell-completion-complete-at-point): New function.
4880 (python-completion-complete-at-point): Use it.
4882 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
4884 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4885 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4887 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4889 * subr.el (function-get): Refine `autoload' arg so it can also
4890 autoload functions for gv.el (bug#12191).
4891 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4894 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4895 Prefer pcase-let over destructuring-bind.
4896 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4897 Also, remove whitespace as we go, rather than after accumulating the
4900 * subr.el (internal--before-with-selected-window)
4901 (internal--after-with-selected-window): Fix typo seleted->selected.
4902 (with-selected-window): Adjust callers.
4903 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4905 2012-08-13 Bastien Guerry <bzg@gnu.org>
4907 * window.el (special-display-popup-frame): Minor docstring
4908 enhancement. (Bug#12172)
4910 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4912 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4914 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4917 * files.el (hack-local-variables-filter): Remove useless eval.
4919 2012-08-13 Martin Rudalics <rudalics@gmx.at>
4921 * subr.el (with-selected-window): Fix last change.
4923 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4925 * subr.el (internal--before-with-seleted-window)
4926 (internal--after-with-seleted-window): New functions.
4927 (with-selected-window): Use them, to replace dependency on
4930 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4932 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4933 binding for `newline'.
4934 (ruby-move-to-block): When moving backward, stop at block opening,
4936 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4937 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4938 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4939 `ruby-toggle-block'.
4941 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4943 * ibuffer.el (ibuffer-do-toggle-read-only):
4944 * dired.el (dired-toggle-read-only):
4945 * buff-menu.el (Buffer-menu-toggle-read-only):
4946 * bindings.el (mode-line-toggle-read-only):
4947 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4949 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4951 * descr-text.el (describe-char): Put the overlays over the
4952 "displayed as" character.
4954 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4956 * calc/calc-units.el (math-default-units-table): Give an
4958 (math-put-default-units): Add options to put composite units and
4959 unit systems in the default units table.
4960 (calc-convert-units): Send composite units to
4961 `math-put-default-units' when appropriate.
4963 2012-08-11 Glenn Morris <rgm@gnu.org>
4965 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4967 * tutorial.el (help-with-tutorial):
4968 * emacs-lisp/copyright.el (copyright-update-directory):
4969 * emacs-lisp/autoload.el (autoload-find-generated-file)
4970 (autoload-find-file): Disable local eval: (for insurance).
4972 * files.el (hack-local-variables-filter): If an eval: form is not
4973 known to be safe, and enable-local-variables is :safe, then ignore
4974 the form totally, as is done for non-eval forms. (Bug#12155)
4975 This is CVE-2012-3479.
4977 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4979 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4980 (rx-form): Simplify.
4982 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4984 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4985 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4986 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4987 (ruby-syntax-propertize-function): Adjust for changes in
4988 `ruby-syntax-propertize-heredoc'.
4990 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4992 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4993 binding (use `M-;' instead).
4994 (ruby-singleton-class-p): New function.
4995 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
4997 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4999 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
5001 2012-08-10 Chong Yidong <cyd@gnu.org>
5003 * progmodes/python.el (python-shell-get-process-name): Don't mess
5004 with same-window-buffer-names.
5006 * eshell/eshell.el (eshell-add-to-window-buffer-names)
5007 (eshell-remove-from-window-buffer-names): Make obsolete.
5008 (eshell-buffer-name, eshell-unload-hook): Don't use them.
5009 (eshell): Just use pop-to-buffer-same-window instead.
5011 2012-08-10 Chong Yidong <cyd@gnu.org>
5013 * bindings.el: Bind M-= back to count-words-region.
5015 * simple.el (count-words-region): Accept a prefix arg for acting
5016 on the entire buffer.
5017 (count-words--buffer-message): New helper function.
5019 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5021 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5022 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5023 (event-start, event-end): Use posn-at-point to return a more
5025 (posnp): New function.
5026 * mouse.el (popup-menu-normalize-position): Use it.
5028 2012-08-10 Masatake YAMATO <yamato@redhat.com>
5030 * mouse.el (popup-menu-normalize-position): New function.
5031 (popup-menu): Use `popup-menu-normalize-position' to normalize
5032 the form for POSITION argument.
5034 * term/x-win.el (x-menu-bar-open):
5035 Use the value returend from (posn-at-point) as position
5036 passed to `popup-menu'.
5038 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5040 * calc/calccomp.el (math-compose-expr): Add extra argument
5041 indicating that parentheses should be put around products in
5042 denominators. Give multiplication precedence over division during
5045 2012-08-09 Chong Yidong <cyd@gnu.org>
5047 * man.el (Man-switches, Man-sed-command, Man-awk-command)
5048 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5049 (Man-untabify-command, manual-program): Convert to defcustom
5052 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5054 * descr-text.el (describe-char): Don't insert extra newlines
5057 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5058 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5060 * align.el (align-region): Delete temporary markers (Bug#10047).
5061 Plus some code cleanups.
5063 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5065 * progmodes/python.el (python-pdbtrack-tracked-buffer)
5066 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5067 (python-shell-internal-last-output): Use make-local-variable
5068 instead of make-variable-buffer-local.
5070 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5072 * progmodes/python.el: Enhancements to forward-sexp.
5073 (python-nav-forward-sexp): Rename from
5074 python-nav-forward-sexp-function.
5075 (python-nav--forward-sexp, python-nav--backward-sexp):
5078 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5080 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5081 modes and simplification modes.
5083 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5085 * delsel.el (delete-selection-pre-hook): Don't propagate the
5086 file-supersession signals (bug#12161).
5088 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5090 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5091 (cl-map-extents): Add compatibility aliases (bug#12135).
5093 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
5095 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5096 tests by `ignore-error'.
5097 (tramp-find-shell): Open also a new shell, when cache is already
5098 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
5100 2012-08-08 Juri Linkov <juri@jurta.org>
5102 * bookmark.el: Add `defaults' property to the bookmark record.
5103 (bookmark-current-buffer): Doc fix.
5104 (bookmark-make-record): Add `defaults' property with default values
5105 to the bookmark record.
5106 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5107 with `bookmark-insert-current-bookmark'.
5108 (bookmark-set): Get `defaults' property from the bookmark record
5109 and use it in `read-from-minibuffer'.
5110 (bookmark-insert-current-bookmark): Remove function.
5112 * info.el (Info-bookmark-make-record): Add `defaults' property
5113 with values of canonical Info node name, the current Info file
5114 name and the current Info node name. (Bug#12107)
5116 2012-08-08 Juri Linkov <juri@jurta.org>
5118 * files.el (basic-save-buffer): Use `buffer-name' as the default
5119 of `read-file-name' when buffer is not visiting a file (bug#12128).
5121 2012-08-08 Juri Linkov <juri@jurta.org>
5123 * info.el (Info-isearch-search): Doc fix.
5124 (Info-search): Change search-failed message from "initial node" to
5125 "end of node" (bug#12078).
5126 (Info-isearch-search): Change `isearch-string-state' to
5127 `isearch--state-string'.
5129 2012-08-08 Glenn Morris <rgm@gnu.org>
5131 * language/persian.el: Remove file.
5132 * language/misc-lang.el: Move unique part of persian.el here.
5133 * loadup.el: Remove language/persian.
5135 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
5137 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5139 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
5141 * progmodes/python.el Fixed defsubst warning.
5142 (python-syntax-context) Rename from python-info-ppss-context.
5143 (python-syntax-context-type): Rename from
5144 python-info-ppss-context-type.
5145 (python-syntax-comment-or-string-p): Rename from
5146 python-info-ppss-comment-or-string-p.
5148 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5150 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5152 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
5154 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5155 a defcustom that is quoted with backquote.
5157 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5158 Fix handling of interactive spec when the body uses return.
5159 (math-do-arg-check, math-define-function-body): Use backquote forms.
5160 * calc/calc-ext.el (math-defcache): Likewise.
5161 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5162 * allout.el (allout-new-exposure): Likewise.
5163 * calc/calcalg2.el (math-tracing-integral): Likewise.
5164 * info.el (Info-last-menu-item): Likewise.
5165 * emulation/vip.el (vip-loop): Likewise.
5166 * textmodes/artist.el (artist-funcall): Likewise.
5167 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5168 Construct menu-item directly.
5170 * progmodes/autoconf.el (font-lock-syntactic-keywords):
5173 2012-08-07 Chong Yidong <cyd@gnu.org>
5175 * simple.el (deactivate-mark): Preserve text properties when
5176 saving the primary selection (Bug#8384).
5178 2012-08-07 Kevin Ryde <user42@zip.com.au>
5180 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5181 (woman-parse-numeric-value): On a bad .IP line, issue a warning
5182 and continue processing (Bug#12110).
5184 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5186 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5187 syntax-propertize-function (bug#10095).
5189 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5191 * help-fns.el (help-fns--key-bindings, help-fns--signature)
5192 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5193 describe-function-1.
5194 (describe-function-1): Use them. Move compiler macro after sig.
5195 (help-fns--compiler-macro): Use function-get. Assume we're already in
5196 standard-output. Adjust layout to new call order.
5198 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5199 re-binding a symbol that has a symbol-macro (bug#12119).
5201 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
5203 * language/persian.el: New file. (Bug#11812)
5204 * loadup.el: Add language/persian.el.
5206 2012-08-06 Chong Yidong <cyd@gnu.org>
5208 * window.el (window--maybe-raise-frame): New function.
5209 (window--display-buffer): Split off from here.
5210 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5211 (display-buffer-pop-up-window, display-buffer-use-some-window):
5212 Obey an inhibit-switch-frame action alist entry.
5213 (display-buffer): Update doc.
5215 * replace.el (occur-after-change-function): Avoid losing focus by
5216 using the inhibit-switch-frame display parameter (Bug#12139).
5218 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
5220 Make internal shell process buffer names start with space.
5221 * progmodes/python.el (python-shell-make-comint): Add optional
5223 (run-python-internal): Use it.
5224 (python-shell-internal-get-or-create-process): Check for new
5225 internal buffer names.
5227 2012-08-06 Glenn Morris <rgm@gnu.org>
5229 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5230 Do less getting and setting of environment variables.
5232 2012-08-05 Chong Yidong <cyd@gnu.org>
5234 * proced.el (proced): Add substitution string to docstring to
5235 trigger autoloading of the proced library on C-h f (Bug#1768).
5237 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5238 Don't show defvars which have no second argument (Bug#8638).
5240 * imenu.el (imenu-generic-expression): Move documentation here
5241 from imenu--generic-function.
5242 (imenu--generic-function): Refer to imenu-generic-expression.
5244 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
5246 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5247 indentation declaration.
5248 (viper-loop): Add indentation declaration (Bug#7025).
5250 2012-08-05 Chong Yidong <cyd@gnu.org>
5252 * help-fns.el (describe-variable): Add hyperlink for
5253 directory-local variables files. Improve buffer-local and
5254 permanent-local reporting; suggested by MON KEY (Bug#6644).
5256 * help-mode.el (help-dir-local-var-def): New button type.
5258 * files.el (kill-buffer-hook): Provide a defvar.
5260 2012-08-05 Glenn Morris <rgm@gnu.org>
5262 * eshell/esh-ext.el (eshell/addpath):
5263 Also update eshell-path-env. (Bug#12013)
5265 2012-08-05 Chong Yidong <cyd@gnu.org>
5267 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
5269 * fringe.el (fringe-styles): Add docstring.
5270 (fringe--check-mode): New function.
5271 (set-fringe-mode, set-fringe-style): Use it.
5272 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5274 * files.el (set-auto-mode): Fix invalid setq call.
5276 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5278 * isearch.el: Misc simplification; use defstruct.
5279 (isearch-mode-map): Dense maps now work like sparse ones.
5280 (isearch--state): New defstruct.
5281 (isearch-string-state, isearch-message-state, isearch-point-state)
5282 (isearch-success-state, isearch-forward-state)
5283 (isearch-other-end-state, isearch-word-state, isearch-error-state)
5284 (isearch-wrapped-state, isearch-barrier-state)
5285 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5286 replaced by defstruct's accessors.
5287 (isearch--set-state): Rename from isearch-top-state and change
5289 (isearch-push-state): Use new isearch--get-state.
5290 (isearch-toggle-word): Disable regexp when enabling word.
5291 (isearch-message-prefix): Remove unused arg _c-q-hack.
5292 (isearch-message-suffix): Remove unused arg _ellipsis.
5294 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
5296 * simple.el (list-processes--refresh): For a server use :host or
5297 :local as the address.
5298 (list-processes): Doc fix.
5300 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
5302 * lisp/mpc.el: Support password in host argument.
5303 (mpc--proc-connect): Parse and use new password element.
5304 Set mpc-proc variable instead of returning process.
5305 (mpc-proc): Adjust accordingly.
5307 2012-08-03 Eli Zaretskii <eliz@gnu.org>
5309 * whitespace.el (whitespace-display-mappings): Use Unicode
5310 codepoints, instead of emacs-mule codepoints. See
5311 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5314 * files.el (file-truename): Don't skip symlink-chasing part on
5315 windows-nt. Incorporate the resolution of 8+3 short aliases on
5316 Windows into the loop that recursively chases symlinks.
5317 Compare directory and its parent case-insensitively on MS-Windows and
5320 2012-08-03 Chong Yidong <cyd@gnu.org>
5322 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5324 * sort.el (sort-regexp-fields): Doc fix.
5326 2012-08-03 Tassilo Horn <tsdh@gnu.org>
5328 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5329 labels regex position point at the expected place.
5331 2012-08-03 MON KEY <monkey@sandpframing.com>
5333 * net/imap.el (imap-interactive-login, imap-authenticate)
5334 (imap-mailbox-lsub, imap-mailbox-list)
5335 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5336 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5337 (imap-parse-response): Doc fix.
5339 2012-08-03 João Távora <joaotavora@gmail.com>
5341 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5342 if sexp scanning does not move point (Bug#5734).
5344 2012-08-02 Tassilo Horn <tsdh@gnu.org>
5346 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5347 Add listings, minted, and ctable packages.
5348 (reftex-label-alist-builtin): Move listings, minted, and ctable
5349 entries before LaTeX.
5350 (reftex-label-alist): Docfix.
5352 2012-08-02 Bastien Guerry <bzg@gnu.org>
5354 * replace.el (occur): Fix docstring (bug#12122).
5356 2012-08-02 Glenn Morris <rgm@gnu.org>
5358 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5360 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
5362 Obsolete alias inactivate-current-input-method-function (Bug#10150).
5363 * international/mule-cmds.el: Create
5364 inactivate-current-input-method-function as an obsolete alias for
5365 deactivate-current-input-method-function. See Katsumi Yamaoka in
5366 <http://bugs.gnu.org/10150#46>.
5368 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
5370 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5373 2012-08-01 Glenn Morris <rgm@gnu.org>
5375 * progmodes/autoconf.el (autoconf-definition-regexp):
5376 Add AH_TEMPLATE, adjust submatch numbering.
5377 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5378 (autoconf-current-defun-function): Update for above change.
5379 (autoconf-current-defun-function): First skip to end of current word.
5381 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
5383 * calendar/cal-html.el (cal-html-insert-agenda-days):
5384 Fix typo. (Bug#12018)
5386 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5388 Shell processes: enhancements to startup and CEDET compatibility.
5389 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5390 (python-shell-make-comint): accept-process-output at startup.
5391 (run-python-internal): Set inferior-python-mode-hook to nil.
5392 (python-shell-internal-get-or-create-process): call sit-for.
5393 (python-preoutput-result): Add obsolete alias.
5394 (python-shell-internal-send-string): Use it.
5395 (python-shell-send-setup-code): Remove call to
5396 accept-process-output.
5398 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
5400 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5403 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
5405 * calc-mode.el (calc-basic-simplification-mode): Rename from
5406 `calc-limited-simplification-mode'.
5407 (calc-alg-simplification-mode): New function.
5408 (calc-set-simplify-mode): Adjust message.
5410 * calc.el (calc-set-mode-line): Adjust mode line display for
5411 basic simplification mode.
5413 * calc-help.el (calc-m-prefix-help): Update help message.
5415 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5416 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5418 2012-07-31 Bastien Guerry <bzg@gnu.org>
5420 * man.el (man): Fix comment. (bug#12101)
5422 2012-07-31 Martin Rudalics <rudalics@gmx.at>
5424 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5425 Don't return a non-nil value when no suitable buffer was found.
5427 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5429 * progmodes/python.el (run-python-internal): Disable font lock for
5432 2012-07-30 Stefan Merten <smerten@oekonux.de>
5434 * textmodes/rst.el: Silence `checkdoc-ispell'.
5435 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5436 (rst-official-version, rst-official-cvs-rev)
5437 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5438 (rst-mode-map): New key binding.
5440 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5442 Update .PHONY listings in makefiles.
5443 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5444 autoloads, update-subdirs, updates, bzr-update, update-authors,
5445 compile-onefile, compile-calc, backup-compiled-files,
5446 compile-after-backup, compile-one-process, mh-autoloads,
5447 bootstrap-clean, distclean, maintainer-clean.
5449 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5451 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5452 (calc-set-mode-line): Don't display "AlgSimp ".
5454 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5455 (calc-lim-simplify-mode): New function.
5456 (calc-set-simplify-mode): Default to 'alg.
5457 (calc-default-simplify-mode): Make algebraic simplifications
5460 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5461 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5463 * calc/calc-help.el (calc-m-prefix-help): Change messages to
5464 indicate new simplification modes.
5466 * calc/README: Mention new default simplification mode.
5468 * calc/calc.el (math-normalize-error): New variable.
5469 (math-normalize): Set `math-normalize-error' to t
5470 when there's an error.
5472 * calc/calc-alg.el (math-simplify): Don't simplify when
5473 `math-normalize' returns an error.
5475 2012-07-29 Eli Zaretskii <eliz@gnu.org>
5477 * international/mule-cmds.el (set-locale-environment): Revert last
5478 change, since display-graphic-p returns nil when this function is
5479 called during startup. Instead...
5481 * term/w32console.el (terminal-init-w32console): ...setup the
5482 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5484 2012-07-29 Juri Linkov <juri@jurta.org>
5486 * simple.el (goto-line): Don't display default line number in the
5487 prompt because it should be displayed by `read-number' (bug#9952).
5488 Add the current line number to the defaults of `goto-line' to
5489 allow its easier modification by users with `M-n' (bug#9201).
5491 * subr.el (read-number): Support multiple default values like in
5492 other minibuffer reading functions. Replace `read' with
5493 `string-to-number' for consistency with `number-to-string'.
5495 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5497 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5498 * emulation/viper-init.el (viper-deactivate-input-method-action):
5499 Rename from viper-inactivate-input-method-action.
5500 (viper-deactivate-input-method):
5501 Rename from viper-inactivate-input-method.
5502 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5503 * international/mule-cmds.el (deactivate-input-method):
5504 Rename from inactivate-input-method.
5505 Also run input-method-deactivate-hook.
5506 (deactivate-current-input-method-function):
5507 Rename from inactivate-current-input-method-function.
5508 (input-method-deactivate-hook): New hook.
5509 (input-method-inactivate-hook): Mark obsolete.
5510 (inactivate-input-method): Mark obsolete.
5512 * international/quail.el (quail-activate):
5513 Also run quail-deactivate-hook.
5514 (quail-deactivate): Rename from quail-inactivate.
5515 * international/robin.el (robin-activate):
5516 Also run robin-deactivate-hook.
5517 (robin-deactivate): Rename from robin-inactivate.
5519 2012-07-29 Chong Yidong <cyd@gnu.org>
5521 * simple.el (indicate-copied-region): New function.
5522 (kill-ring-save): Split off from here.
5524 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5525 (kill-rectangle): Set deactivate-mark to t on read-only error.
5527 * register.el (copy-to-register, copy-rectangle-to-register):
5528 Deactivate the mark, and use indicate-copied-region (Bug#10056).
5529 (append-to-register, prepend-to-register): Call indicate-copied-region.
5531 2012-07-29 Juri Linkov <juri@jurta.org>
5533 * simple.el (async-shell-command-buffer): New defcustom.
5534 (shell-command): Use it. (Bug#4719)
5536 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5538 * international/mule-cmds.el (set-locale-environment): In a
5539 console session on MS-Windows, set up keyboard and terminal
5540 encoding from the OEM codepage, not the ANSI codepage.
5543 2012-07-28 Chong Yidong <cyd@gnu.org>
5545 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5548 2012-07-28 Leo Liu <sdl.web@gmail.com>
5550 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5551 the alist (bug#12029).
5553 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5555 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5556 (compile-always, compile-first)
5557 ($(lisp)/calendar/cal-loaddefs.el)
5558 ($(lisp)/calendar/diary-loaddefs.el)
5559 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5560 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5561 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5562 instead of on update-subdirs.
5563 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5565 2012-07-28 Chong Yidong <cyd@gnu.org>
5567 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5568 directory if vc-deduce-backend returns nil (Bug#7350).
5570 * simple.el (delete-trailing-lines): New option.
5571 (delete-trailing-whitespace): Obey it (Bug#11879).
5573 2012-07-28 David Engster <deng@randomsample.de>
5575 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5576 Explanation of new 'symbol-qnames feature in doc-strings.
5577 (xml-maybe-do-ns): Return expanded names as plain symbols if
5578 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5579 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5581 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5583 Consistent completion in inferior python with emacs -nw.
5584 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5585 binding in inferior-python-mode-map with "\t".
5586 (python-shell-completion-complete-at-point)
5587 (python-completion-complete-at-point): Remove interactive spec.
5589 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5591 * calc/calccomp.el (math-compose-expr): Undo previous change.
5593 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5595 * progmodes/python.el (python-mode-map): Add keybinding for
5597 (python-shell-make-comint): Fix pop-to-buffer call.
5598 (run-python): Autoload. New arg SHOW.
5599 (python-shell-get-or-create-process): Do not pop python process
5602 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
5604 * notifications.el (notifications-on-action-signal)
5605 (notifications-on-closed-signal): Use also the bus address for the map.
5606 (notifications-notify, notifications-close-notification)
5607 (notifications-get-capabilities): Add optional argument BUS.
5609 2012-07-27 Tassilo Horn <tsdh@gnu.org>
5611 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5612 Add support for the lstlisting and minted environments, and for the
5614 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5615 labels written in keyvals syntax.
5617 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5619 * calc/calccomp.el (math-compose-expr): Use parentheses when
5620 there is a product in the denominator of a fraction.
5622 2012-07-26 Eli Zaretskii <eliz@gnu.org>
5624 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5625 ($(lisp)/calendar/diary-loaddefs.el)
5626 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5627 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5628 Fixes failures in parallel bootstrap because subdirs.el is being
5629 rewritten while the autoload files are built at the same time,
5630 which needs to load subdirs.el.
5632 2012-07-26 Martin Rudalics <rudalics@gmx.at>
5634 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5635 (mouse-drag-line): Don't exit tracking when a switch-frame or
5636 switch-window event occurs (Bug#12006).
5638 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5640 * mouse.el (popup-menu): Fix last change.
5642 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5644 Autoload from Lisp with more care. Follow aliases when looking for
5645 function properties.
5646 * subr.el (autoloadp): New function.
5647 (symbol-file): Use it.
5648 (function-get): New function.
5649 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5651 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5652 (lisp-indent-function):
5653 * emacs-lisp/gv.el (gv-get):
5654 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5655 * emacs-lisp/byte-opt.el (byte-optimize-form):
5656 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5657 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5659 * emacs-lisp/cl.el: Don't propagate function properties any more.
5661 * speedbar.el (speedbar-add-localized-speedbar-support):
5662 * emacs-lisp/disass.el (disassemble-internal):
5663 * desktop.el (desktop-load-file):
5664 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5665 (describe-function-1):
5666 * emacs-lisp/find-func.el (find-function-noselect):
5667 * emacs-lisp/elp.el (elp-instrument-function):
5668 * emacs-lisp/advice.el (ad-has-proper-definition):
5669 * apropos.el (apropos-safe-documentation, apropos-macrop):
5670 * emacs-lisp/debug.el (debug-on-entry):
5671 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5672 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5673 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5675 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5677 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5678 function, not an obsolete variable (Bug#12046).
5680 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5682 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5684 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5686 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5687 window only if it is still live (Bug#12034).
5689 2012-07-25 Martin Rudalics <rudalics@gmx.at>
5691 * subr.el (redirect-frame-focus): Add advertised calling
5692 convention (Bug#12030).
5694 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5696 Prefer typical American spelling for "acknowledgment".
5697 * vc/add-log.el (change-log-acknowledgment): Rename from
5698 change-log-acknowledgement, with an alias for the old name.
5700 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5702 * calc-alg.el (math-simplify-divide): Don't cross multiply
5703 in an equation when the lhs is a variable.
5705 2012-07-24 Julien Danjou <julien@danjou.info>
5707 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5710 2012-07-23 Eli Zaretskii <eliz@gnu.org>
5712 * startup.el (command-line): Don't display an empty user name in
5713 the error message about non-existent home directory, when
5714 init-file-user was set to an empty string. See
5715 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5716 for the details and context.
5718 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5720 * ses.el (ses-cell-formula-aset): New macro.
5721 (ses-cell-references-aset): New macro.
5722 (ses-cell-p): New function.
5723 (ses-rename-cell): Do no longer rely on complex operations like
5724 ses-cell-set-formula or ses-set-cell to change the cell and handle
5725 the undo at the same time, but rather use lower level new macros
5726 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
5727 the undo directly. Refresh the mode line.
5729 2012-07-21 Leo Liu <sdl.web@gmail.com>
5731 * progmodes/cc-cmds.el (c-defun-name):
5732 Use match-string-no-properties instead for consistency.
5734 2012-07-20 Leo Liu <sdl.web@gmail.com>
5736 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5739 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5741 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5743 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5744 * progmodes/bug-reference.el, misearch.el: Provide themselves
5747 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5748 of narrowed buffer (bug#11966).
5750 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5752 * ses.el (ses-rename-cell): Set new name also in reference list of
5753 cells of which the renamed cell depends.
5755 2012-07-20 Masatake YAMATO <yamato@redhat.com>
5757 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5758 to check whether menu-bar is shown or not. If not shown,
5759 show the menu-bar as a popup menu instead of using tmm.
5760 * mouse.el (popup-menu): Accept `point' as `position' argument.
5762 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5764 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5765 up inside string symbol literal (bug#11923).
5767 2012-07-20 Eli Zaretskii <eliz@gnu.org>
5769 * startup.el (fancy-startup-text): Read the whole tutorial, not
5770 just its first 256 bytes. Prevents gibberish in display of the
5773 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5775 Drop idle buffer compaction due to an absence of the
5777 * compact.el: Remove.
5779 2012-07-19 Sam Steingold <sds@gnu.org>
5781 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5782 vc-bzr-pull & vc-bzr-merge-branch.
5783 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5784 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5785 for consistency with compilation-error-regexp-alist.
5786 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5787 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5788 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5789 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5791 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5793 * emacs-lisp/chart.el: Use lexical-binding.
5794 (chart-emacs-storage): Don't hardcode the list of entries.
5796 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5798 Next round of tweaks caused by Fgarbage_collect changes.
5799 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5801 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5803 Compact buffers when idle.
5804 * compact.el: New file.
5806 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5808 * subr.el (eventp): Presume that if it looks vaguely like an event,
5809 it's an event (bug#10190).
5811 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5813 Enhancements to ppss related code (thanks Stefan).
5814 * progmodes/python.el (python-indent-context)
5815 (python-indent-calculate-indentation, python-indent-dedent-line)
5816 (python-indent-electric-colon, python-nav-forward-block)
5817 (python-mode-abbrev-table)
5818 (python-info-assignment-continuation-line-p): Simplify checks
5820 (python-info-continuation-line-p): Cleanup.
5821 (python-info-ppss-context): Do not catch 'quote.
5822 (python-info-ppss-context-type)
5823 (python-info-ppss-comment-or-string-p): Simplify.
5825 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5827 * progmodes/python.el: Enhancements to eldoc support.
5828 (python-info-current-symbol): New function.
5829 (python-eldoc-at-point): Use python-info-current-symbol.
5830 (python-info-current-defun): Fix cornercase on first defun scan.
5831 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5832 and signal error when no inferior python process is available.
5834 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5836 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5837 assume it's always t.
5838 (vc-git-registered): Remove caching, the function is only called
5840 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5842 2012-07-18 Chong Yidong <cyd@gnu.org>
5844 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5846 * simple.el (count-words): Report on narrowing (Bug#9959).
5848 * bindings.el: Bind M-= to count-words.
5850 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5852 2012-07-18 Masatake YAMATO <yamato@redhat.com>
5854 * progmodes/sh-script.el (sh-imenu-generic-expression):
5855 Capture a function with `function' keyword and without parentheses
5856 like "function FOO" (bug#11856).
5858 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5860 * window.el (split-window-sensibly): Make WINDOW argument
5863 2012-07-18 Chong Yidong <cyd@gnu.org>
5865 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5867 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5868 and make C-x 8 RET exit isearch (Bug#11439).
5870 * international/iso-transl.el: Move isearch-mode-map key
5871 definitions to isearch.el.
5873 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5875 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5876 (eieio-defclass): Use gv-define-setter when possible.
5878 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5880 Reflect recent changes in Fgarbage_collect.
5881 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5882 reflect new format of data returned by Fgarbage_collect.
5884 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5886 New utility functions + python-info-ppss-context fix (Bug#11910).
5887 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5888 (python-info-ppss-comment-or-string-p): New functions.
5889 (python-info-ppss-context): Small fix for string check.
5891 2012-07-17 Juri Linkov <juri@jurta.org>
5893 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5894 (dired-do-async-shell-command): Don't add `*' at the end of the
5895 command (Bug#11815).
5896 (dired-do-shell-command): Doc fix.
5897 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5898 Join the individual commands using either "&" or ";" as the
5899 separator depending on the values of these trailing characters.
5900 At the end re-add the trailing "&". (Bug#10598)
5902 * simple.el (async-shell-command): Sync the interactive spec with
5903 `shell-command'. Doc fix.
5904 (shell-command): Doc fix.
5906 2012-07-17 Juri Linkov <juri@jurta.org>
5908 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5910 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5912 Final renames and doc fixes for movement commands (bug#11899).
5913 * progmodes/python.el (python-nav-beginning-of-statement):
5914 Rename from python-nav-statement-start.
5915 (python-nav-end-of-statement): Rename from
5916 python-nav-statement-end.
5917 (python-nav-beginning-of-block): Rename from
5918 python-nav-block-start.
5919 (python-nav-end-of-block): Rename from python-nav-block-end.
5921 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5923 * progmodes/python.el (python-shell-send-string-no-output):
5924 Allow accept-process-output to quit, keeping shell process ready for
5925 future interactions (Bug#11868).
5927 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5929 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5931 * emacs-lisp/elint.el (elint-find-args-in-code):
5932 Use help-function-arglist, so as to handle lexical byte-code.
5934 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5937 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5939 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5940 Avoid spuriously marking the buffer as modified because of c-is-sws.
5942 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5943 as not-a-comment (bug#11946).
5945 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5946 for uninterned vars.
5948 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5949 Use read-event since we don't really want to read chars but bytes.
5951 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5952 $$..$$ but also $..$ using regexps (bug#11953).
5953 Use tex-verbatim for \url and \path.
5954 (tex-font-lock-keywords): Define as defconst like the others.
5955 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5957 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5959 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5960 alias for insert-char.
5962 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5964 * progmodes/python.el: Simplified imenu implementation.
5965 (python-nav-jump-to-defun): Remove command.
5966 (python-mode-map): Use `imenu' instead.
5967 (python-nav-list-defun-positions-cache)
5968 (python-imenu-include-defun-type, python-imenu-make-tree)
5969 (python-imenu-subtree-root-label, python-imenu-index-alist):
5971 (python-nav-list-defun-positions, python-nav-read-defun)
5972 (python-imenu-tree-assoc, python-imenu-make-element-tree)
5973 (python-imenu-make-tree, python-imenu-create-index):
5975 (python-mode): Update to interact with imenu by setting
5976 `imenu-extract-index-name-function' only.
5978 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5980 * progmodes/python.el: Enhancements to navigation commands.
5981 (python-nav-backward-sentence)
5982 (python-nav-forward-sentence): Remove.
5983 (python-nav-backward-statement, python-nav-forward-statement)
5984 (python-nav-statement-start, python-nav-statement-end)
5985 (python-nav-backward-block, python-nav-forward-block)
5986 (python-nav-block-start, python-nav-block-end)
5987 (python-nav-forward-sexp-function)
5988 (python-info-current-line-comment-p)
5989 (python-info-current-line-empty-p): New functions.
5990 (python-indent-context): Use `python-nav-statement-start'.
5992 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
5994 * eshell/em-ls.el (eshell/ls): Use `apply'.
5996 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5997 multi-hops, instead of Tramp internals.
5999 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
6001 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
6002 when F1 and F2 are located on different hosts.
6004 2012-07-14 Chong Yidong <cyd@gnu.org>
6006 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
6007 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
6008 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
6009 (xterm-mouse--read-event-sequence-1000)
6010 (xterm-mouse--read-event-sequence-1006): New functions. For old
6011 mouse protocol, handle M-mouse-X events correctly.
6012 (xterm-mouse-event): New arg specifying mouse protocol.
6013 (turn-on-xterm-mouse-tracking-on-terminal)
6014 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
6015 sequence to toggle extended coordinates on newer XTerms.
6016 This appears to be harmless on terminals which do not support this.
6018 2012-07-14 Leo Liu <sdl.web@gmail.com>
6020 Add fringe bitmap indicators for flymake. (Bug#11253)
6021 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6022 (flymake-make-overlay): New arg BITMAP.
6023 (flymake-error-bitmap, flymake-warning-bitmap)
6024 (flymake-fringe-indicator-position): New user variables.
6026 * fringe.el: New bitmap exclamation-mark.
6028 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
6030 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6033 2012-07-14 Chong Yidong <cyd@gnu.org>
6035 * electric.el (electric-pair-post-self-insert-function): Fix pair
6036 insertion in empty-region case (Bug#11520).
6038 2012-07-14 Chong Yidong <cyd@gnu.org>
6040 * bindings.el: Consolidate ctl-x-r-map bindings.
6041 Bind copy-rectangle-as-kill to C-x r w.
6043 * rect.el, register.el: Move bindings to bindings.el.
6045 2012-07-14 Reuben Thomas <rrt@sc3d.org>
6047 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6049 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
6051 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
6053 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
6055 * bindings.el (top): Use `mapc' instead of `mapcar'.
6057 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6059 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
6061 * progmodes/sql.el (sql-comint): Suppress the check for program on
6062 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
6065 2012-07-13 Chong Yidong <cyd@gnu.org>
6067 * bindings.el: Assign a non-nil permanent-local property to
6068 per-buffer variables which lack a default value (Bug#11930).
6070 * help-fns.el (describe-variable): In the "automatically becomes
6071 local" notice, take note of permanent-local variables.
6073 2012-07-13 Chong Yidong <cyd@gnu.org>
6075 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
6076 to allow printing the message when called from Lisp.
6078 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6079 Remove toggle-read-only.
6081 * bs.el (bs-toggle-readonly):
6082 * buff-menu.el (Buffer-menu-toggle-read-only):
6083 Remove with-no-warnings around toggle-read-only.
6085 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6086 Remove with-no-warnings around toggle-read-only.
6087 (ffap-read-only, ffap-read-only-other-window)
6088 (ffap-read-only-other-frame): Callers changed.
6090 * help-mode.el: Don't require view package.
6091 (help-mode-finish): Set buffer-read-only instead of calling
6094 * bindings.el (mode-line-toggle-read-only):
6095 * dired.el (dired-toggle-read-only):
6096 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6097 with non-nil second arg.
6099 * emacs-lisp/eieio-custom.el (eieio-customize-object):
6100 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6103 2012-07-12 Eli Zaretskii <eliz@gnu.org>
6105 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6108 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6110 More CL cleanups and reduction of use of cl.el.
6111 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6112 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6113 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6114 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6115 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6116 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6117 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6118 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6119 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6120 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6121 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6122 * eshell/em-cmpl.el, eshell/em-banner.el:
6123 * calendar/parse-time.el: Use cl-lib.
6124 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6125 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6126 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6127 * term/ns-win.el, term.el, shell.el, ps-samp.el:
6128 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6129 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6130 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6131 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6132 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6133 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6134 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6135 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6136 `lambda' rather than with `quote'.
6137 (eshell-do-opt): Adjust accordingly.
6138 (eshell-process-option): Simplify.
6139 * eshell/esh-var.el:
6140 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6141 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6142 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6143 to `pcase--dontcare'.
6144 * emacs-lisp/cl.el (labels): Mark obsolete.
6145 (cl--letf, letf): Move to cl-lib.
6146 (cl--letf*, letf*): Remove.
6147 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6148 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6149 (cl-progv): Rewrite.
6150 (cl--letf, cl-letf): Move from cl.el.
6151 (cl-letf*): New macro.
6152 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6154 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
6156 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6158 2012-07-11 Chong Yidong <cyd@gnu.org>
6160 * vc/log-edit.el (log-edit-vc-backend): New variable.
6161 (log-edit): Doc fix.
6163 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
6164 argument of log-edit to set up all local variables.
6165 (vc-start-logentry): New optional arg specifying VC backend.
6167 * vc/vc.el (vc-checkin): Use it.
6168 (vc-deduce-fileset): Handle Log Edit buffers.
6169 (vc-diff): Make first argument optional too.
6171 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6173 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
6175 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6176 command, just in case. The function is not needed anymore.
6177 (eshell-external-command): Do not call `eshell-remote-command'.
6179 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6181 Reduce use of (require 'cl).
6182 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6183 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6184 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6185 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6186 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6187 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6188 * battery.el, avoid.el, abbrev.el: Use cl-lib.
6189 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6190 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6191 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6192 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6193 * calculator.el, autorevert.el, apropos.el: Don't require CL.
6194 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6195 (byte-compile-unfold-bcf, byte-compile-check-variable):
6196 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6197 (byte-compile-nilconstp):
6198 * emacs-lisp/autoload.el (make-autoload): Use pcase.
6199 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6201 * emacs-lisp/gv.el (cond): Make it a valid place.
6202 (if): Simplify slightly.
6204 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6205 (pcase--self-quoting-p): New function.
6206 (pcase--u1): Use it.
6208 2012-07-10 Glenn Morris <rgm@gnu.org>
6210 * emacs-lisp/authors.el (authors-fixed-entries):
6211 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6213 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
6215 Rename configure.in to configure.ac (Bug#11603).
6216 * emacs-lisp/authors.el (authors-canonical-file-name):
6217 * progmodes/autoconf.el (autoconf-mode):
6218 Prefer configure.ac to configure.in.
6220 2012-07-08 Chong Yidong <cyd@gnu.org>
6222 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6223 Implement the mouse-1-click-follows-link handling properly.
6225 * info.el (Info-link-keymap): Use follow-link mechanism for
6226 header-line links (Bug#374).
6228 * simple.el (deactivate-mark): Do not set the primary selection
6229 if another program has acquired it (Bug#11772).
6231 2012-07-07 Kevin Ryde <user42@zip.com.au>
6233 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6234 (woman-decode-region): Replace escaped-escapes without destroying
6235 bold or underline (Bug#11552).
6236 (woman2-process-escapes): Handle nofill regions (Bug#11591).
6238 2012-07-07 Chong Yidong <cyd@gnu.org>
6240 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
6241 (interprogram-cut-function, interprogram-paste-function):
6242 Mention that we typically mean the clipboard.
6244 2012-07-06 Glenn Morris <rgm@gnu.org>
6246 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6248 * files.el (toggle-read-only): Restrict message to interactive use.
6250 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
6252 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6254 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6256 2012-07-06 Glenn Morris <rgm@gnu.org>
6258 * Makefile.in (compile-one-process): Rename from "recompile".
6260 * Makefile.in (bzr-update): "compile" is the same as "recompile
6261 autoloads", but parallelizable, so use that instead.
6263 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
6265 * window.el (quit-window): Always restore window height when
6266 it's saved in quit-restore parameter (Bug#11810).
6268 2012-07-06 Glenn Morris <rgm@gnu.org>
6270 * simple.el (kill-whole-line): Doc tweak.
6272 2012-07-06 Eli Zaretskii <eliz@gnu.org>
6274 * files.el (file-relative-name): Compare file names
6275 case-insensitively if on MS-Windows or MS-DOS, or if
6276 read-file-name-completion-ignore-case is non-nil. Don't use
6277 case-fold-search for this purpose. (Bug#11827)
6279 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
6281 * calendar/cal-dst.el (calendar-current-time-zone):
6282 Return calendar-current-time-zone-cache if non-nil.
6284 2012-07-17 Masatake YAMATO <yamato@redhat.com>
6285 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6287 * calendar/cal-dst.el (calendar-current-time-zone):
6288 Return calendar-current-time-zone-cache if non-nil.
6290 2012-07-06 Glenn Morris <rgm@gnu.org>
6292 * Makefile.in (cvs-update): Remove old alias.
6294 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
6296 Sync with Tramp 2.2.6-pre.
6298 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6299 compatible declaration.
6301 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6302 Protect `list-load-path-shadows' call.
6304 * net/tramp-compat.el (top): Require packages, which aren't
6305 autoloaded anymore for XEmacs. Protect call of
6306 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6307 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
6308 it hurts at least for SXEmacs.
6309 (tramp-compat-temporary-file-directory): In XEmacs, there is no
6310 standard-value for `temporary-file-directory'.
6312 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6313 Redirect stderr to /dev/null.
6314 (tramp-sh-handle-write-region): uid and gid can be floats.
6315 Reported by Russell Sim <russell.sim@gmail.com>.
6316 (tramp-sh-handle-vc-registered): Hide errors.
6317 (tramp-vc-file-name-handler): Use dummy results for `process-file'
6318 and `start-file-process'.
6319 (tramp-maybe-open-connection): Check also whether `non-essential'
6322 2012-07-04 Chong Yidong <cyd@gnu.org>
6324 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6325 (xml-parse-tag): Likewise, and avoid changing entity tables.
6326 (xml-syntax-table): Define from scratch, making sure not to give
6327 x2000 and other Unicode spaces whitespace syntax, since those are
6329 (xml-parse-fragment): Delete unused function.
6330 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6331 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6332 (xml-entity-ref, xml-pe-reference-re)
6333 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6334 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6335 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6336 (xml-entity-value-re): Use syntax references in regexps where
6337 possible; no need to define inside a let-binding.
6338 (xml-parse-dtd): Use xml-pe-reference-re.
6339 (xml-entity-or-char-ref-re): New defconst.
6340 (xml-parse-string, xml-substitute-special): Use it.
6342 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6344 * files.el (locate-dominating-file): Allow `name' to be a predicate.
6345 (find-file--read-only): New function.
6346 (find-file-read-only, find-file-read-only-other-window)
6347 (find-file-read-only-other-frame): Use it.
6348 (insert-file-contents-literally): Don't `fset'.
6349 (get-free-disk-space): Use locate-dominating-file.
6351 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6352 function is already compiled.
6354 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
6356 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
6358 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6359 files on the same host.
6361 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
6363 * help-fns.el (describe-function-1): Only call
6364 help-fns--autoloaded-p when we have a file name. (Bug#11848)
6366 2012-07-03 Chong Yidong <cyd@gnu.org>
6368 * xml.el: Protect parser against XML bombs.
6369 (xml-entity-expansion-limit): New variable.
6370 (xml-parse-string, xml-substitute-special): Use it.
6371 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6373 2012-07-03 Glenn Morris <rgm@gnu.org>
6375 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6376 Allow linking to specific messages in debbugs reports (eg 123#5).
6378 2012-07-02 Chong Yidong <cyd@gnu.org>
6380 * xml.el: Fix entity and character reference expansion, allowing
6381 them to expand into markup as per XML spec.
6382 (xml-default-ns): New variable.
6383 (xml-entity-alist): Use XML spec definitions for lt and amp.
6384 (xml-parse-region): Make first two arguments optional.
6385 Discard text properties.
6386 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6387 All callers changed.
6388 (xml-parse-tag): Call xml-parse-tag-1. For backward
6389 compatibility, this function should not modify buffer contents.
6390 (xml-parse-tag-1): Fix opening-tag regexp.
6391 (xml-parse-string): Rewrite, handling entity and character
6392 references properly.
6393 (xml--entity-replacement-text): Signal an error if a parameter
6394 entity is undefined.
6396 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6398 * comint.el (comint-output-filter): Filter out repeated prompts.
6400 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6401 and file-name-absolute-p.
6402 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6405 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
6408 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6409 Rename from byte-compile--refiy-function. All uses changed.
6411 2012-07-01 Chong Yidong <cyd@gnu.org>
6413 * xml.el (xml--parse-buffer): New function. Move most of
6414 xml-parse-region here.
6415 (xml-parse-region): Copy region into a temporary buffer, since
6416 parameter entity substitution requires changing buffer contents.
6417 Use xml--parse-buffer.
6418 (xml-parse-file): Use xml--parse-buffer.
6419 (xml-parse-dtd): Make parameter entity substitution work right.
6420 Use proper regexps for ELEMENT declarations (Bug#7172).
6422 2012-06-30 Glenn Morris <rgm@gnu.org>
6424 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6426 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6427 Remove outdated and unnecessary dbus declarations.
6429 2012-06-30 Eli Zaretskii <eliz@gnu.org>
6431 * emacs-lisp/timer.el (timer-until): Subtract results of
6432 float-time, instead of taking float-time of the result of
6433 time-subtract, since float-time signals an error for negative time
6436 2012-06-30 Chong Yidong <cyd@gnu.org>
6438 * xml.el (xml-*-re): Convert defvars into defconsts, and
6439 eval-and-compile them so eval-and-compile works on derivatives.
6440 (xml--entity-replacement-text): Use eval-and-comple.
6442 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
6444 * vc/vc-git.el (vc-git-registered): Use cache property
6446 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6447 `vc-git-working-revision' in order to benefit from the cache.
6448 (vc-git-root): Use cache property `git-root'. (Bug#11757)
6450 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6452 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
6453 removed (likely outside Emacs). (Bug#11757)
6455 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6457 * emacs-lisp/cl-lib.el: Require macroexp.
6459 2012-06-30 Chong Yidong <cyd@gnu.org>
6461 * xml.el: Implement XML parameter entities.
6462 (xml-parameter-entity-alist): New variable.
6463 (xml-parse-region, xml-parse-fragment): Preserve previous values
6464 of xml-entity-alist and xml-parameter-entity-alist, so that
6465 repeated calls on different documents do not change them.
6466 (xml-parse-tag): Fix doctype regexp.
6467 (xml--entity-replacement-text): New function.
6468 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6469 properly requires url retrieval which is unimplemented.
6470 (xml-escape-string): Doc fix.
6472 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6474 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6476 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6478 * fringe.el (fringe-mode): Doc fix.
6480 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
6482 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6484 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6485 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6487 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
6489 * calendar/cal-dst.el (calendar-current-time-zone):
6490 Return calendar-current-time-zone-cache if non-nil.
6492 2012-06-29 Masatake YAMATO <yamato@redhat.com>
6494 * progmodes/which-func.el (which-func-format):
6495 Add mouse-face. (Bug#11698)
6497 2012-06-29 Leo Liu <sdl.web@gmail.com>
6499 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6501 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6503 * minibuffer.el (minibuffer-confirm-exit-commands):
6504 Add completion-at-point (bug#11725).
6506 2012-06-29 Glenn Morris <rgm@gnu.org>
6508 * progmodes/f90.el (f90-font-lock-keywords-2):
6509 Add some preprocessor elements. (Bug#10499)
6511 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6513 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6514 Use syntax-propertize (bug#11739).
6516 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
6518 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6520 2012-06-28 Julien Danjou <julien@danjou.info>
6522 * term.el (term-handle-colors-array): Use a set of new faces to
6523 color the terminal. Also uses :inverse-video property.
6524 (term-default-fg-color): Set to nil by default, deprecate in favor
6526 (term-default-bg-color): Set to nil by default, deprecate in favor
6528 (term-current-face): Use `term-face' by default.
6529 (term-bold-attribute): Variable deleted.
6531 2012-06-28 Glenn Morris <rgm@gnu.org>
6533 * simple.el (completion-list-mode-finish):
6534 Don't use toggle-read-only. (Since completion-list-mode has
6535 a special mode-class, it wasn't doing anything extra anyway.)
6537 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6539 Make inlining of other-mode interpreted functions work (bug#11799).
6540 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6541 (byte-compile): Use it to fix compilation of lexical-binding closures.
6542 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6543 function, if needed.
6545 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6547 * help-mode.el (help-make-xrefs): Don't just withstand
6548 cyclic-variable-indirection but any error in documentation-property.
6550 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6552 * bindings.el (bindings--define-key): New function.
6553 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6554 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6555 * bindings.el: Use it to purecopy define-key bindings.
6557 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6559 * emacs-lisp/cl.el (flet): Mark obsolete.
6560 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6561 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6562 * progmodes/js.el (js-c-fill-paragraph):
6563 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6564 (ebrowse-switch-member-buffer-to-derived-class):
6565 * play/5x5.el (5x5-solver): Use cl-flet.
6567 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6568 (cl--symbol-function): New macro.
6569 (cl--letf, cl--letf*): Use it.
6571 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6572 Strip "toggle-" if any.
6574 2012-06-27 Glenn Morris <rgm@gnu.org>
6576 * info.el (Info-default-directory-list): Move here from paths.el.
6577 * paths.el: Remove file, which is now empty.
6578 * loadup.el: No longer load "paths".
6580 * custom.el (custom-initialize-delay): Doc fix.
6582 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6583 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6584 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6585 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6586 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6587 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6588 * eshell/eshell.el (eshell-defgroup): Remove alias.
6590 2012-06-27 Chong Yidong <cyd@gnu.org>
6592 * help.el (help-enable-auto-load): New variable.
6594 * help-fns.el (help-fns--autoloaded-p): New function.
6595 (describe-function-1): Refer to a function as "autoloaded" if it
6596 was autoloaded at any time in the past. Perform autoloading if
6597 help-enable-auto-load is non-nil.
6599 2012-06-26 Eli Zaretskii <eliz@gnu.org>
6601 * makefile.w32-in (compile, compile-always): Depend on
6602 update-subdirs, not on subdirs.el. Otherwise, several different
6603 sub-targets of 'bootstrap' running in parallel could
6604 simultaneously write to subdirs.el, producing a garbled file.
6606 2012-06-26 Sam Steingold <sds@gnu.org>
6608 * files.el (file-name-base): New convenience function.
6609 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6610 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6611 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6612 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6613 * textmodes/ispell.el, textmodes/reftex-ref.el:
6614 * textmodes/tex-mode.el: Use it.
6615 Did not touch cedet and org because they are maintained elsewhere.
6617 2012-06-26 Martin Rudalics <rudalics@gmx.at>
6619 * calendar/calendar.el (calendar-exit): Don't try to delete or
6620 iconify last frame. See:
6621 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6623 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6625 * server.el (server-process-filter): Remember dir in the
6626 process's `server-client-directory' properties.
6628 2012-06-24 Chong Yidong <cyd@gnu.org>
6630 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6633 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
6635 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6637 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6639 * help-fns.el (describe-variable): Don't croak when doc is not found.
6640 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6641 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6642 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6643 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6644 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6646 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6648 2012-06-23 Chong Yidong <cyd@gnu.org>
6650 * info.el (Info-mouse-follow-link): Accept symbol values of
6651 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
6652 (Info-fontify-node): Use Info-link-keymap for all navigation
6653 buttons, with link-args property to perform the desired action.
6654 (Info-link-keymap): Doc fix.
6655 (Info-next-link-keymap, Info-prev-link-keymap)
6656 (Info-up-link-keymap): Delete now-unused keymaps.
6658 2012-06-23 Chong Yidong <cyd@gnu.org>
6660 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6662 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6665 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6667 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6669 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6672 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6673 the requote function doesn't work properly (bug#11714).
6675 2012-06-23 Glenn Morris <rgm@gnu.org>
6677 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6679 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6681 Further GV/CL cleanups.
6682 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6684 (gv--defun-declaration): New function.
6685 (defun-declarations-alist): Use it.
6686 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6687 (gv-place): Autoload.
6688 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6689 original definition of dotimes and dolist.
6690 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6691 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6692 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6693 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6694 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6695 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6696 to the function's definition.
6697 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6701 * env.el: Don't use CL.
6703 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6705 Support higher-resolution time stamps (Bug#9000).
6707 * calendar/time-date.el (with-decoded-time-value): New arg
6708 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6709 (encode-time-value): New optional arg PICO. New type 3.
6710 (time-to-seconds) [!float-time]: Support the new picoseconds
6711 component if it's used.
6712 (seconds-to-time, time-subtract, time-add):
6713 Support ps-resolution time stamps as well.
6715 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6716 (timerp): Timer vectors now have length 9, not 8.
6717 (timer--time): Support new-style (4-part) time stamps.
6718 (timer-next-integral-multiple-of-time): Time stamps now have
6719 picosecond resolution, so take a bit more care about rounding.
6720 (timer-relative-time, timer-inc-time): New optional arg psecs.
6721 (timer-set-time-with-usecs): Set psecs to 0.
6722 (timer--activate): Check psecs component, too.
6724 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6726 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6728 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6729 Move the non-essential binding to the post/pre-command-hook where it is
6730 more obviously correct.
6732 * subr.el (read-passwd): Don't use a history at all.
6733 * savehist.el (savehist-save): Remove password saved accidentally
6734 because of the above bug.
6736 2012-06-22 Bastien Guerry <bzg@gnu.org>
6738 * files.el (toggle-read-only): Display a message telling whether
6739 the buffer is read-only or not (bug#11726).
6741 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6743 * emacs-lisp/gv.el: New file.
6744 * subr.el (push, pop): Extend to generalized variables.
6745 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6746 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6747 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6748 gv-define-simple-setter, and gv-define-expander.
6749 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6750 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6751 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6752 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6753 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6755 (cl-defstruct): Don't define setf-method any more.
6756 * emacs-lisp/cl.el (flet): Don't autoload.
6757 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6758 (define-setf-expander, defsetf, define-modify-macro)
6759 (cl-struct-setf-expander): Move from cl-lib.el.
6760 * emacs-lisp/syntax.el:
6761 * emacs-lisp/ewoc.el:
6762 * emacs-lisp/smie.el:
6763 * emacs-lisp/cconv.el:
6764 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6765 (timer--time): Use gv-define-simple-setter.
6766 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6767 to avoid coding-system problems in subr.el. Adjust all users.
6768 (macroexp--maxsize, macroexp-small-p): New functions.
6769 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6770 * scroll-bar.el (scroll-bar-mode):
6771 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6772 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6773 * winner.el (winner-configuration, winner-make-point-alist)
6774 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6775 * files.el (locate-file-completion-table): Avoid list*.
6777 2012-06-22 Chong Yidong <cyd@gnu.org>
6779 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6780 (dired-create-files): Doc fix (Bug#11329).
6781 (dired-do-copy): Doc fix (Bug#11334).
6782 (dired-mark-read-string): Doc fix (Bug#11553).
6784 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6785 Doc fix (Bug#11326).
6786 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6787 (dired-dwim-target): Doc fix.
6789 * wdired.el (wdired-mode): Doc fix.
6791 2012-06-22 Glenn Morris <rgm@gnu.org>
6793 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6794 (pcmpl-rpm-cache-stamp-file): New constant.
6795 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6796 (pcmpl-rpm-packages): Optionally cache list of packages.
6798 * pcmpl-rpm.el (pcmpl-rpm): New group.
6799 (pcmpl-rpm-query-options): New option.
6800 (pcmpl-rpm-packages): No need to inline it.
6801 Use pcmpl-rpm-query-options.
6803 * calendar/calendar.el (calendar-in-read-only-buffer):
6804 Avoid some needless mode changes.
6806 2012-06-21 Chong Yidong <cyd@gnu.org>
6808 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6809 (desktop-path): Remove . from the default value (Bug#10977).
6810 (desktop-read): Use user-emacs-directory if desktop-path is nil.
6812 2012-06-20 Chong Yidong <cyd@gnu.org>
6814 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6816 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6818 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6821 2012-06-20 Chong Yidong <cyd@gnu.org>
6823 * term.el (term-window-width): Handle the case of a missing right
6825 (term-check-size): Use window-text-height (Bug#5445).
6826 (term-mode): Use define-derived-mode. Minor cleanups.
6827 Set font-lock-defaults (Bug#7692).
6828 (term-move-columns, term-insert-char, term-emulate-terminal)
6829 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
6831 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
6833 * net/ange-ftp.el (ange-ftp-get-passwd):
6834 Bind `enable-recursive-minibuffers'.
6835 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6837 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6839 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6841 2012-06-19 Glenn Morris <rgm@gnu.org>
6843 * progmodes/python.el (python-mode): Derive from prog-mode.
6845 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6847 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6848 (edt-user-menu-bar-update-buffers): New functions.
6849 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6851 2012-06-19 Chong Yidong <cyd@gnu.org>
6853 * subr.el (with-selected-window): Preserve the selected window's
6854 terminal's top-frame (Bug#4702).
6856 * window.el (save-selected-window): Likewise.
6858 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6860 * progmodes/python.el (python-rx-constituents): Move backquote.
6861 (python-skeleton-define, python-define-auxiliary-skeleton):
6864 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
6866 * minibuffer.el (read-file-name-default): Revert the patch from
6869 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6871 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6872 (pcase--u1, pcase--q1): Don't use apply-partially.
6874 2012-06-18 Glenn Morris <rgm@gnu.org>
6876 * progmodes/python.el (python-proc, python-buffer)
6877 (python-send-receive, python-send-string): Fix obsolete versions.
6879 2012-06-18 Martin Rudalics <rudalics@gmx.at>
6881 * window.el (special-display-p): Completely remove stringp
6882 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6884 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
6886 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6888 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6890 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6891 * net/tramp-sh.el (tramp-maybe-open-connection):
6892 Throw if `non-essential' is non-nil.
6894 2012-06-17 Martin Rudalics <rudalics@gmx.at>
6896 * window.el (special-display-p): Signal an error if BUFFER-NAME
6897 is not a string (Bug#11713).
6899 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6901 * progmodes/python.el (python-info-beginning-of-backslash):
6902 Rename from python-info-beginning-of-backlash, as a spelling fix.
6904 2012-06-17 Chong Yidong <cyd@gnu.org>
6906 * term.el (term-emulate-terminal): If term-check-size is called,
6907 move point to the process mark without resetting point (Bug#4635).
6909 2012-06-17 Glenn Morris <rgm@gnu.org>
6911 * international/mule-cmds.el (mule-menu-keymap)
6912 (set-language-environment, set-locale-environment): Doc tweaks.
6914 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6916 * cus-face.el (custom-face-attributes): Add wave-style underline
6918 * faces.el (set-face-attribute): Update docstring to describe
6919 wave-style underline attribute.
6921 2012-06-16 Chong Yidong <cyd@gnu.org>
6923 * term/xterm.el (terminal-init-xterm): Discard input before
6924 querying background mode (Bug#10959).
6926 2012-06-16 Stefan Merten <smerten@oekonux.de>
6928 * textmodes/rst.el: Added and corrected some comments.
6929 (rst-re-alist-def): Improve symbol syntax.
6930 (rst-mode-syntax-table): Correct syntax entries.
6931 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6932 (rst-official-version, rst-official-cvs-rev): Update version
6935 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
6937 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6938 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6940 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6942 * progmodes/python.el: New python.el merge.
6943 (python-guess-indent): Obsolete var.
6944 (python-indent-guess-indent-offset): New defcustom.
6945 (python-indent): Obsolete var.
6946 (python-indent-offset): New defcustom.
6947 (python-python-command, python-jython-command): Delete var.
6948 (python-shell-interpreter): New defcustom.
6949 (python-pdbtrack-do-tracking-p): Delete var.
6950 (python-pdbtrack-activate): New defcustom.
6951 (python-use-skeletons): Obsolete var.
6952 (python-skeleton-autoinsert): New defcustom.
6953 (inferior-python-filter-regexp, python-continuation-offset)
6954 (python-honour-comment-indentation, python-indent-string-contents)
6955 (python-jython-packages, python-mode-hook)
6956 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6957 (python-shell-prompt-alist)
6958 (python-source-modes): Delete defcustoms.
6959 (python-check-buffer-name, python-eldoc-setup-code)
6960 (python-eldoc-string-code, python-ffap-setup-code)
6961 (python-ffap-string-code, python-fill-comment-function)
6962 (python-fill-decorator-function, python-fill-paren-function)
6963 (python-fill-string-function, python-imenu-include-defun-type)
6964 (python-imenu-make-tree, python-imenu-subtree-root-label)
6965 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6966 (python-shell-compilation-regexp-alist)
6967 (python-shell-completion-module-string-code)
6968 (python-shell-completion-pdb-string-code)
6969 (python-shell-completion-setup-code)
6970 (python-shell-completion-string-code)
6971 (python-shell-enable-font-lock, python-shell-exec-path)
6972 (python-shell-extra-pythonpaths)
6973 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6974 (python-shell-process-environment)
6975 (python-shell-prompt-block-regexp)
6976 (python-shell-prompt-output-regexp)
6977 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6978 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6979 (python-shell-virtualenv-path): New defcustoms.
6980 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6981 (inferior-python-mode-syntax-table, python--prompt-regexp)
6982 (python-buffer, python-command python-python-command)
6983 (python-default-template, python-imports, python-indent-index)
6984 (python-indent-list, python-indent-list-length)
6985 (python-mode-running, python-pdbtrack-is-tracking-p)
6986 (python-preoutput-continuation, python-preoutput-leftover)
6987 (python-preoutput-result, python-preoutput-skip-next-prompt)
6988 (python-prev-dir/file, python-recursing)
6989 (python-saved-check-command, python-version-checked)
6990 (python-which-func-length-limit)
6991 (view-return-to-alist): Delete vars.
6992 (python-check-custom-command, python-dotty-syntax-table)
6993 (python-imenu-index-alist, python-indent-current-level)
6994 (python-indent-dedenters, python-indent-levels)
6995 (python-nav-beginning-of-defun-regexp)
6996 (python-nav-list-defun-positions-cache)
6997 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6998 (python-shell-internal-buffer)
6999 (python-skeleton-available): New vars.
7000 (def-python-skeleton): Delete macro.
7001 (python-skeleton-define): New macro.
7002 (python-define-auxiliary-skeleton, python-rx): New macros.
7003 (python-insert-class): Delete command.
7004 (python-skeleton-class): New command.
7005 (python-insert-def): Delete command.
7006 (python-skeleton-def): New command.
7007 (python-insert-for): Delete command.
7008 (python-skeleton-for): New command.
7009 (python-insert-if): Delete command.
7010 (python-skeleton-if): New command.
7011 (python-insert-try/except, python-insert-try/finally): Delete commands.
7012 (python-skeleton-try): New command.
7013 (python-insert-while): Delete command.
7014 (python-skeleton-while): New command.
7015 (python-backspace): Delete command.
7016 (python-indent-dedent-line-backspace): New command.
7017 (python-electric-colon): Delete command.
7018 (python-indent-electric-colon): New command.
7019 (python-guess-indent): Delete command.
7020 (python-indent-guess-indent-offset): New command.
7021 (python-shift-left): Delete command.
7022 (python-indent-shift-left): New command.
7023 (python-shift-right): Delete command.
7024 (python-indent-shift-right): New command.
7025 (python-find-function): Delete command.
7026 (python-nav-jump-to-defun): New command.
7027 (python-next-statement): Delete command.
7028 (python-nav-forward-sentence): New command.
7029 (python-previous-statement): Delete command.
7030 (python-nav-backward-sentence): New command.
7031 (python-fill-paragraph): Delete command.
7032 (python-fill-paragraph-function): New command.
7033 (python-send-buffer): Delete command.
7034 (python-shell-send-buffer): New command.
7035 (python-send-defun): Delete command.
7036 (python-shell-send-defun): New command.
7037 (python-send-region, python-send-region-and-go): Delete commands.
7038 (python-shell-send-region)
7039 (python-shell-switch-to-shell): New commands.
7040 (python-send-string): Delete command.
7041 (python-shell-send-string): New command.
7042 (python-switch-to-python): Delete command.
7043 (python-shell-switch-to-shell): New command.
7044 (python-describe-symbol): Delete command.
7045 (python-eldoc-at-point): New command.
7046 (python--set-prompt-regexp, python-args-to-list)
7047 (python-after-info-look, python-check-version)
7048 (python-check-comint-prompt, python-find-imports)
7049 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7050 (python-unload-function, python-expand-template)
7051 (python-maybe-jython, python-preoutput-filter)
7052 (python-pdbtrack-get-source-buffer)
7053 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7054 (python-pdbtrack-toggle-stack-tracking)
7055 (python-pdbtrack-track-stack-file, python-initial-text)
7056 (python-first-word, python-comment-line-p, python-send-command)
7057 (python-setup-brm, python-sentinel, python-set-proc)
7058 (python-skip-out, python-input-filter, python-outdent-p)
7059 (python-outline-level, python-backslash-continuation-line-p)
7060 (python-end-of-block, python-end-of-statement, python-mark-block)
7061 (python-beginning-of-block, python-beginning-of-statement)
7062 (python-blank-line-p, python-beginning-of-string)
7063 (python-open-block-statement-p): Delete functions.
7064 (python-indent-line, python-indent-line-1): Delete functions.
7065 (python-indent-line): New function.
7066 (python-indentation-levels): Delete function.
7067 (python-indent-calculate-levels): New function.
7068 (python-proc): Delete function.
7069 (python-shell-get-process): New function.
7070 (python-send-receive): Delete function.
7071 (python-shell-send-string-no-output): New function.
7072 (python-module-path): Delete function.
7073 (python-ffap-module-path): New function.
7074 (python-completion-at-point)
7075 (python-symbol-completions): Delete functions.
7076 (python-completion-complete-at-point): New function.
7077 (python-load-file): Delete function.
7078 (python-shell-send-file): New function.
7079 (python-calculate-indentation): Delete function.
7080 (python-indent-calculate-indentation): New function.
7081 (python-skip-comments/blanks): Delete function.
7082 (python-util-forward-comment): New function.
7083 (python-continuation-line-p): Delete function.
7084 (python-info-continuation-line-p): New function.
7085 (python-which-func, python-current-defun): Delete function.
7086 (python-info-current-defun): New function.
7087 (python-beginning-of-defun): Delete function.
7088 (python-nav-beginning-of-defun): New function.
7089 (python-close-block-statement-p)
7090 (python-block-end-p): Delete function.
7091 (python-info-closing-block): New function.
7092 (python-comint-output-filter-function)
7093 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7094 (python-fill-comment, python-fill-decorator, python-fill-paren)
7095 (python-fill-string, python-imenu-make-element-tree)
7096 (python-imenu-make-tree, python-imenu-tree-assoc)
7097 (python-indent-context, python-indent-dedent-line)
7098 (python-indent-line-function)
7099 (python-indent-post-self-insert-function)
7100 (python-indent-toggle-levels)
7101 (python-info-assignment-continuation-line-p)
7102 (python-info-beginning-of-backlash)
7103 (python-info-block-continuation-line-p)
7104 (python-info-closing-block-message)
7105 (python-info-line-ends-backslash-p)
7106 (python-info-looking-at-beginning-of-defun)
7107 (python-info-ppss-context, python-info-ppss-context-type)
7108 (python-nav-list-defun-positions, python-nav-read-defun)
7109 (python-nav-sentence-end, python-nav-sentence-start)
7110 (python-pdbtrack-comint-output-filter-function)
7111 (python-pdbtrack-set-tracked-buffer)
7112 (python-shell-calculate-exec-path)
7113 (python-shell-calculate-process-environment)
7114 (python-shell-completion--do-completion-at-point)
7115 (python-shell-completion--get-completions)
7116 (python-shell-completion-complete-at-point)
7117 (python-shell-completion-complete-or-indent)
7118 (python-shell-get-or-create-process)
7119 (python-shell-get-process-name)
7120 (python-shell-internal-get-or-create-process)
7121 (python-shell-internal-get-process-name)
7122 (python-shell-internal-send-string, python-shell-make-comint)
7123 (python-shell-parse-command, python-shell-send-setup-code)
7124 (python-skeleton-add-menu-items)
7125 (python-util-clone-local-variables, python-util-position)
7126 (run-python-internal, python-indentation-levels)
7127 (python-nav-beginning-of-defun)
7128 (python-completion-complete-at-point): New functions.
7129 (run-python): Change arguments. New API requirements.
7131 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7133 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7136 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7137 (macroexp--expand-all): Use it.
7139 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7140 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7141 Use `cl-function' instead.
7143 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
7145 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7146 Suggested by Stefan Monnier while discussing bug#11657.
7148 2012-06-14 Sam Steingold <sds@gnu.org>
7150 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7152 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
7154 * play/doctor.el (doctor-doc): Remove parameter and use
7155 doctor-sent instead of sent.
7156 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
7158 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7160 * files.el: Require cl-lib.
7161 (file-name-non-special): Replace case -> cl-case.
7163 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7165 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7166 mapping from #' to function*.
7168 2012-06-13 Chong Yidong <cyd@gnu.org>
7170 * mouse.el (mouse-drag-track): Do not set the mark if the user
7171 releases the mouse without selecting anything (Bug#11588).
7173 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7175 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7176 as well (bug#11646).
7178 * loadup.el: Count byte-code functions as well.
7180 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7181 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7183 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7184 (bug#11649). Add cl-defun and cl-defmacro.
7186 2012-06-13 Drew Adams <drew.adams@oracle.com>
7188 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7191 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
7193 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7194 Otherwise, it blocks in batch mode.
7196 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
7198 * help-mode.el (bookmark-make-record-default): Declare.
7200 2012-06-13 Chong Yidong <cyd@gnu.org>
7202 * emacs-lisp/package.el (list-packages): Compute a list of
7203 packages that are newly-available since the last list-packages
7205 (package-menu--new-package-list): New var.
7206 (package-menu--generate, package-menu--print-info)
7207 (package-menu--status-predicate, package-menu-mark-install):
7208 Handle new status label "new".
7210 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7212 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7213 conversion to backquotes.
7215 2012-06-12 Chong Yidong <cyd@gnu.org>
7217 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7218 Rename from gud-inhibit-global-bindings.
7220 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7222 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7223 hook from nxml-glyph-set-hook.
7225 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7228 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7230 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7231 Convert to defcustom.
7233 2012-06-12 Drew Adams <drew.adams@oracle.com>
7235 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7237 (help-mode): Use them.
7239 2012-06-11 Glenn Morris <rgm@gnu.org>
7241 * progmodes/fortran.el (fortran-font-lock-keywords-3):
7242 Use preprocessor face for directives.
7243 (fortran-directive-re): Doc fix.
7245 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7247 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7248 conversion to backquotes (bug#11652).
7250 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7251 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7252 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7253 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7254 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7255 (cl-ninth, cl-tenth): Mark them as inlinable.
7256 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7257 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7258 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7259 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7260 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7261 (cl-list*, cl-adjoin): Don't put an autoload manually.
7262 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7263 (cl--compiler-macro-list*): Add autoload cookie.
7264 (cl--compiler-macro-cXXr): New function.
7266 * help-fns.el (help-fns--compiler-macro): New function extracted from
7267 describe-function-1; follow aliases and use `compiler-macro' property.
7268 (describe-function-1): Use it.
7270 2012-06-11 Chong Yidong <cyd@gnu.org>
7272 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7273 is uninstalled, if imagemagick is installed.
7275 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7277 * emacs-lisp/cl-lib.el: Use lexical-binding.
7278 (cl-map-extents, cl-maclisp-member): Remove.
7279 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7280 (cl--set-substring, cl--block-wrapper, cl--block-throw)
7281 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7282 * emacs-lisp/cl-extra.el: Use lexical-binding.
7283 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7284 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7285 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7286 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7287 * emacs-lisp/cl-seq.el: Use lexical-binding.
7288 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7289 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7290 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7291 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7292 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7295 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
7297 Sync with Tramp 2.2.6-pre.
7299 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7300 `print-length' and `print-level' to nil, in order to avoid
7301 truncation. Reported by Christopher Schmidt
7302 <christopher@ristopher.com>.
7304 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7306 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7308 (tramp-compat-copy-directory): Add optional argument
7309 COPY-CONTENTS. It is not handled yet.
7311 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7312 (tramp-ftp-file-name-p): Simplify.
7314 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7315 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7318 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7319 (tramp-methods): Do not use `tramp-password-end-of-line'.
7320 (tramp-completion-function-alist-putty): Handle UNIX case.
7321 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7322 (tramp-do-file-attributes-with-stat)
7323 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7324 gid as real numbers. They could run out of integer range on cygwin.
7325 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7326 (tramp-sh-handle-expand-file-name): Handle hops.
7327 (tramp-open-connection-setup-interactive-shell):
7328 Use `tramp-cleanup'. Move check for busyboxes ...
7329 (tramp-find-shell): ... here. Simplify implementation.
7330 Set "remote-shell" property also for alternative shells.
7331 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7332 If failing, a regular file would be written otherwise.
7333 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
7334 (tramp-find-inline-encoding): Cache the coding commands in the
7335 process cache. Apply test command on the remote side, if defined.
7336 (tramp-find-inline-compress): Cache the compress commands in the
7338 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7339 when requested. Handle hops.
7340 (tramp-current-connection): New defvar.
7341 (tramp-maybe-open-connection): Use `tramp-cleanup'.
7342 Throw `suppress', if there was a failed connection shortly before.
7343 Handle user interrupt. (Bug#10187)
7344 (tramp-get-inline-compress, tramp-get-inline-coding):
7345 Read connection properties from the process cache.
7347 * net/tramp-smb.el (tramp-smb-server-version)
7348 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7350 (tramp-smb-prompt): Extend for powershell prompt.
7351 (tramp-smb-file-name-handler-alist): Add handlers for
7352 `process-file', `shell-command' and `start-file-process'.
7353 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7354 (tramp-smb-winexe-shell-command-switch): New defcustoms.
7355 (tramp-smb-file-name-p): Simplify.
7356 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7357 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7358 (tramp-smb-shell-quote-argument): New defuns.
7359 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7360 Implement using "tar". By this, time-stamps are preserved.
7361 (tramp-smb-handle-copy-file): Handle also the case of directories.
7362 (tramp-smb-do-file-attributes-with-stat)
7363 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7364 Use `tramp-get-connection-buffer').
7365 (tramp-smb-handle-rename-file): Use "rename", when source and
7366 target are on the same share.
7367 (tramp-smb-maybe-open-connection): Handle wrong passwords.
7368 Use `tramp-smb-server-version'.
7369 (tramp-smb-wait-for-output): Remove prompt.
7371 * net/tramp.el (top): Require 'cl.
7372 (tramp-methods, tramp-rsh-end-of-line):
7373 Remove `tramp-password-end-of-line' from docstring.
7374 (tramp-save-ad-hoc-proxies): New defcustom.
7375 (tramp-completion-function-alist): Adapt docstring.
7376 (tramp-default-password-end-of-line): Remove defcustom.
7377 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
7378 (tramp-user-regexp, tramp-file-name-regexp-unified)
7379 (tramp-file-name-regexp-url): Extend regexp by hop separator.
7380 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7381 (tramp-remote-file-name-spec-regexp): New defconst.
7382 (tramp-file-name-structure): Extend structure for hops.
7383 (tramp-get-method-parameter): Move up.
7384 (tramp-file-name-p, tramp-dissect-file-name)
7385 (with-parsed-tramp-file-name): Handle hops.
7386 (tramp-file-name-hop): New defun.
7387 (tramp-make-tramp-file-name): New optional arg HOP.
7388 (tramp-message-show-progress-reporter-message): New defvar.
7389 (tramp-with-progress-reporter): Use it. We cannot use
7390 `tramp-message-show-message' here, because this suppresses also
7392 (tramp-error-with-buffer): Suppress buffer view, if
7393 `tramp-message-show-message' is nil.
7394 Use `tramp-get-connection-buffer'.
7395 (tramp-cleanup): New defun.
7396 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7397 (tramp-file-name-handler): If `debug-on-error' is set, propagate
7399 (tramp-completion-handle-file-name-all-completions): Handle hops.
7400 Fix an error when called from ido.
7401 (tramp-completion-dissect-file-name): Use better local variable
7402 name. Add hop to the vector.
7403 (tramp-handle-insert-file-contents): Use progress-reporter for the
7405 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7407 (tramp-check-for-regexp): Simplify search.
7408 (tramp-enter-password): Remove it. Move implementation ...
7409 (tramp-action-password): ... here.
7410 (tramp-mode-string-to-int, tramp-local-host-p)
7411 (tramp-make-tramp-temp-file, tramp-read-passwd)
7412 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7413 Set tramp-autoload cookie.
7415 * net/trampver.el: Update release number.
7417 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7418 Michael Albinus <michael.albinus@gmx.de>
7420 * net/tramp.el (tramp-set-completion-function): Fix docstring.
7421 (tramp-parse-group, tramp-parse-file)
7422 (tramp-parse-shostkeys-sknownhosts): New defuns.
7423 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7424 (tramp-parse-shosts-group, tramp-parse-sconfig)
7425 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7426 (tramp-parse-sknownhosts, tramp-parse-hosts)
7427 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7429 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7430 (tramp-parse-putty-group): Don't narrow.
7431 (tramp-parse-putty): Make a loop.
7432 (tramp-file-name-handler): Catch the `suppress' signal.
7434 2012-06-11 Chong Yidong <cyd@gnu.org>
7436 * image.el (imagemagick-register-types): Put the ImageMagick entry
7437 at the end of image-type-file-name-regexps.
7439 2012-06-11 Johan Bockgård <bojohan@gnu.org>
7441 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7442 (pcase, pcase-let*, pcase-dolist): Use them.
7444 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7446 * emacs-lisp/pcase.el (pcase--let*): New function.
7447 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7448 (pcase--expand): Use macroexp-let².
7450 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7452 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7453 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7454 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7455 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7456 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7457 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7459 2012-06-10 Glenn Morris <rgm@gnu.org>
7461 * mail/rmail.el (rmail-yank-current-message): Leave point at
7462 correct position. (Bug#11660)
7464 2012-06-10 Chong Yidong <cyd@gnu.org>
7466 * allout-widgets.el: Fix code header.
7468 2012-06-10 Chong Yidong <cyd@gnu.org>
7470 * cus-edit.el (customize-changed-options-previous-release):
7473 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7475 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7477 2012-06-09 Chong Yidong <cyd@gnu.org>
7479 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7481 2012-06-09 Martin Rudalics <rudalics@gmx.at>
7483 * window.el (special-display-popup-frame): Don't use
7484 window--display-buffer (Bug#11651).
7486 2012-06-09 Eli Zaretskii <eliz@gnu.org>
7488 Fix parallel builds: make sure loaddefs.el is not being written
7489 while Lisp files are compiled.
7490 (compile): Don't depend on 'mh-autoloads'.
7491 (compile-CMD, compile-SH): Depend on 'autoloads'.
7492 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7494 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7496 2012-06-09 Chong Yidong <cyd@gnu.org>
7498 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7499 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7500 Doc fixes (Bug#11225).
7502 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7504 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7505 a function if there's a clear indication that it has a compiler-macro.
7506 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7507 (macro-declarations-alist): Add arglist to declaration functions.
7508 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7509 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7510 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7511 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7512 Also add autoload to find the compiler macro.
7513 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7514 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7515 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7516 (cl--compiler-macro-get): New functions, replacing calls to
7517 cl-define-compiler-macro.
7518 (cl-typep) [compiler-macro]: Use macroexp-let².
7520 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
7522 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7523 string properly, fixes Bug#11473.
7525 2012-06-08 Chong Yidong <cyd@gnu.org>
7527 * faces.el (set-face-attribute): Doc fix.
7528 (modify-face): Don't use :bold and :italic.
7529 (error, warning, success): Tweak definitions.
7531 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7532 (custom-modified, custom-set, custom-changed, custom-themed)
7533 (custom-saved, custom-button, custom-button-mouse)
7534 (custom-button-pressed, custom-state, custom-comment-tag)
7535 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7536 (custom-group-subtitle): Use new-style face specs.
7537 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7538 (custom-set-face, custom-changed-face, custom-saved-face)
7539 (custom-button-face, custom-button-pressed-face)
7540 (custom-documentation-face, custom-state-face)
7541 (custom-comment-face, custom-comment-tag-face)
7542 (custom-variable-tag-face, custom-variable-button-face)
7543 (custom-face-tag-face, custom-group-tag-face-1)
7544 (custom-group-tag-face): Remove obsolete face alias.
7546 * epa.el (epa-validity-high, epa-validity-medium)
7547 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7548 (epa-field-name, epa-field-body):
7549 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7550 (font-lock-keyword-face, font-lock-builtin-face)
7551 (font-lock-function-name-face, font-lock-variable-name-face)
7552 (font-lock-type-face, font-lock-constant-face):
7553 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7554 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7555 * speedbar.el (speedbar-button-face, speedbar-file-face)
7556 (speedbar-directory-face, speedbar-tag-face)
7557 (speedbar-selected-face, speedbar-highlight-face)
7558 (speedbar-separator-face):
7559 * whitespace.el (whitespace-newline, whitespace-space)
7560 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7561 (whitespace-line, whitespace-space-before-tab)
7562 (whitespace-space-after-tab, whitespace-indentation)
7564 * emulation/cua-base.el (cua-global-mark):
7565 * eshell/em-prompt.el (eshell-prompt):
7566 * net/newst-plainview.el (newsticker-new-item-face)
7567 (newsticker-old-item-face, newsticker-immortal-item-face)
7568 (newsticker-obsolete-item-face, newsticker-date-face)
7569 (newsticker-statistics-face, newsticker-default-face):
7570 * net/newst-reader.el (newsticker-feed-face)
7571 (newsticker-extra-face, newsticker-enclosure-face):
7572 * net/newst-treeview.el (newsticker-treeview-face)
7573 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7574 (newsticker-treeview-immortal-face)
7575 (newsticker-treeview-obsolete-face)
7576 (newsticker-treeview-selection-face):
7577 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7578 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7579 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7580 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7581 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7582 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7583 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7585 * progmodes/vera-mode.el (vera-font-lock-number)
7586 (vera-font-lock-function, vera-font-lock-interface):
7587 * textmodes/table.el (table-cell): Use new-style face specs, and
7588 don't use the old :bold and :italic attributes.
7590 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7591 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7592 (ebrowse-member-class, ebrowse-progress): Likewise.
7593 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7594 (ebrowse-file-name-face, ebrowse-default-face)
7595 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7596 (ebrowse-progress-face): Remove obsolete faces.
7598 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7599 Inherit from error and warning faces respectively.
7601 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7603 (flyspell-incorrect-face, flyspell-duplicate-face):
7604 Remove obsolete aliases.
7606 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
7608 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7611 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7613 * startup.el (argv, argi): Make lexically scoped.
7614 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7615 * emacs-lisp/cl-macs.el: Use lexical-binding.
7616 Rename cl-bind-* to cl--bind-*.
7617 * files.el: Don't require `cl' since it doesn't use it.
7618 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7620 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
7622 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7623 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7624 instead of calling external sort utility.
7625 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7627 2012-06-08 Eli Zaretskii <eliz@gnu.org>
7629 * descr-text.el (describe-char): Mention how to insert the
7630 character, if the current input method doesn't support it.
7631 See the discussion in this thread for the details:
7632 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7634 2012-06-08 Sam Steingold <sds@gnu.org>
7636 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7637 XF86Back to previous-buffer.
7638 (minibuffer-local-map): Bind them to next-history-element and
7639 previous-history-element respectively.
7640 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7641 help-go-back respectively.
7642 * info.el (Info-mode-map): Bind them to Info-history-forward and
7643 Info-history-back respectively.
7644 These are the keys next to Up on the ThinkPad keyboard.
7646 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7648 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7649 * emacs-lisp/cl-macs.el: Provide itself.
7650 (cl--labels-convert-cache): New var.
7651 (cl--labels-convert): New function.
7652 (cl-flet, cl-labels): New implementation with new semantics, relying on
7654 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7655 (cl-closure-vars, cl--function-convert-cache)
7656 (cl--function-convert): Move from cl-macs.el.
7657 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7658 rename by removing the "cl-" prefix.
7659 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7661 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7663 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7664 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7665 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7666 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7667 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7668 (cl-hash-table-count): Add old compatibility aliases.
7670 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7671 Use macroexpand-all-environment instead.
7672 (cl--old-macroexpand): New var.
7673 (cl--sm-macroexpand): New function.
7674 (cl-symbol-macrolet): Use it during macro expansion.
7675 (cl--function-convert-cache): New var.
7676 (cl--function-convert): New function, extracted from
7678 (cl-lexical-let): Use it.
7680 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7681 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7682 (cl-member): Remove old alias.
7684 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7685 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7686 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7687 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7688 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7689 (cl-macroexpand-cmacs): Remove var.
7690 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7691 Use macroexpand-all instead.
7693 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7695 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7696 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7697 (macroexp-copyable-p): New functions and macros.
7698 * emacs-lisp/edebug.el (edebug-unwrap):
7699 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7700 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7701 (pcase--let*): Remove.
7702 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7703 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7704 macroexp-const-p instead.
7705 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7707 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7708 instead of "cl-" for internal definitions. Use macroexp-const-p.
7709 (cl-old-bc-file-form): Remove var.
7710 (cl-const-exprs-p): Remove fun.
7711 (cl-labels, cl-macrolet): Use backquote.
7712 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7713 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7714 (cl-define-setf-expander): Rename from cl-define-setf-method.
7715 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7717 * international/mule-cmds.el: Don't require CL.
7718 (view-hello-file): Don't use `letf'.
7720 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7722 * tmm.el (tmm-prompt): Use string-prefix-p.
7723 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7724 (tmm-add-prompt): Use minibuffer-completion-help.
7725 (tmm-delete-map): Remove.
7727 * subr.el (kbd): Make it its own function.
7729 2012-06-07 Stefan Merten <smerten@oekonux.de>
7731 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7732 Silence compiler warnings. Fix versions.
7733 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7734 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
7735 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7736 (rst-package-emacs-version-alist): Correct Emacs version to
7737 represent major merge with upstream.
7738 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7740 2012-06-06 Glenn Morris <rgm@gnu.org>
7742 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7743 Only print environment variables if set.
7745 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7747 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7748 (macroexp--cons): Rename from maybe-cons.
7749 (macroexp--accumulate): Rename from macroexp-accumulate.
7750 (macroexp--all-forms): Rename from macroexpand-all-forms.
7751 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7752 (macroexp--expand-all): Rename from macroexpand-all-1.
7754 2012-06-06 Sam Steingold <sds@gnu.org>
7756 * calendar/calendar.el (calendar-in-read-only-buffer):
7757 Call `special-mode' to enable the standard read-only keybindings.
7759 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7761 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7762 with "loading" messages (bug#11635).
7764 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
7766 * files.el (enable-remote-dir-locals): New option.
7767 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7769 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7770 Ensure, that the temp directory is local.
7772 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7773 `temporary-file-directory'.
7775 * progmodes/python.el (python-send-region): Ensure, that the
7776 temporary file is created also in the remote case.
7778 2012-06-06 Glenn Morris <rgm@gnu.org>
7780 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7781 (vc-rcs-update-changelog): Use it.
7783 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
7785 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7786 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7787 (vc-sccs-diff): Replace use of the external vcdiff script.
7789 2012-06-05 Glenn Morris <rgm@gnu.org>
7791 * ledit.el: Move to obsolete/.
7793 2012-06-05 Sam Steingold <sds@gnu.org>
7795 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
7798 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7800 * emacs-lisp/cust-print.el: Move to obsolete.
7802 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7803 compiler-macro expansion.
7805 Add native compiler-macro support.
7806 * emacs-lisp/macroexp.el (macroexpand-all-1):
7807 Support compiler-macros directly. Properly follow aliases and apply
7808 the compiler macros more thoroughly.
7809 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7810 macroexpand now properly follows aliases.
7811 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7812 (cl-compiler-macroexpand): Use new prop.
7813 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7815 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7817 2012-06-05 Martin Rudalics <rudalics@gmx.at>
7819 * window.el (get-lru-window, get-mru-window, get-largest-window):
7820 New argument NOT-SELECTED to avoid picking the selected window.
7821 (window--display-buffer-1, window--display-buffer-2): Replace by
7822 new function window--display-buffer
7823 (display-buffer-same-window, display-buffer-reuse-window)
7824 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7825 Use window--display-buffer.
7826 (display-buffer-use-some-window): Remove temporary dedication
7827 hack by calling get-lru-window and get-largest-window with
7828 NOT-SELECTED argument non-nil. Call window--display-buffer.
7830 2012-06-05 Glenn Morris <rgm@gnu.org>
7832 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7833 Replace external vcdiff script.
7835 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7837 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7839 2012-06-04 Chong Yidong <cyd@gnu.org>
7841 * image.el (imagemagick-types-inhibit): Revert last change.
7843 (imagemagick-enabled-types): Remove CIN and EPS*.
7845 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7847 * emacs-lisp/cl-lib.el: Rename from cl.el.
7848 * emacs-lisp/cl.el: New compatibility file.
7849 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7850 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7851 to obey the "cl-" prefix.
7852 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7854 2012-06-03 Glenn Morris <rgm@gnu.org>
7856 * emacs-lisp/authors.el (authors-aliases): Addition.
7858 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7861 2012-06-03 Stefan Merten <smerten@oekonux.de>
7863 * textmodes/rst.el: Add comments.
7864 (rst-transition, rst-adornment): New faces.
7865 (rst-adornment-faces-alist): Make default safe to reevaluate.
7867 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7868 Improve customization tags.
7869 (rst-define-level-faces): Clarify meaning.
7871 2012-06-03 Chong Yidong <cyd@gnu.org>
7873 * progmodes/compile.el (compilation-mode-line-fail)
7874 (compilation-mode-line-run, compilation-mode-line-exit):
7876 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7878 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7880 * progmodes/which-func.el (which-func-update-ediff-windows):
7881 New function. Use it in ediff-select-hook (Bug#11478).
7883 2012-06-03 Chong Yidong <cyd@gnu.org>
7885 * bindings.el: Remove explicit help text from format-mode-line.
7886 It is now supplied by mode-line-default-help-echo.
7887 (mode-line-front-space, mode-line-end-spaces)
7888 (mode-line-misc-info): New variables.
7889 (mode-line-modes, mode-line-position): Move the default value to
7890 the variable definition.
7891 (mode-line-default-help-echo): New defcustom.
7892 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7893 (mode-line-modified-help-echo): New functions.
7894 (mode-line-mule-info, mode-line-modified): Use them.
7895 (mode-line-eol-desc, propertized-buffer-identification):
7896 Consistency fixes for help text.
7897 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7898 set-buffer-file-coding-system (Bug#289).
7899 (mode-line-mule-info-help-echo): Update help text.
7901 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7903 * simple.el (execute-extended-command): Set real-this-command
7906 2012-06-02 Chong Yidong <cyd@gnu.org>
7908 Remove incorrect uses of "modeline" in comments, docstrings, and
7909 function/variable names (Bug#10329).
7911 * cus-edit.el (mode-line):
7912 * dframe.el (dframe-mouse-hscroll):
7913 * emacs-lisp/re-builder.el:
7914 * emacs-lisp/easy-mmode.el (define-minor-mode):
7915 * frame.el (set-frame-name):
7916 * help.el (lookup-minor-mode-from-indicator):
7917 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7918 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7919 (c-toggle-hungry-state):
7920 * progmodes/antlr-mode.el (antlr-language-alist):
7921 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7922 * progmodes/vhdl-mode.el (vhdl-mode):
7923 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7924 * term/ns-win.el (ns-face-at-pos):
7925 * term/sup-mouse.el (sup-mouse-report):
7926 * textmodes/flyspell.el (flyspell-mode-line-string):
7927 * textmodes/ispell.el (ispell-highlight-face):
7928 * textmodes/reftex-global.el:
7929 * vc/vc-arch.el (vc-arch-mode-line-string):
7930 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7931 * vc/vc-git.el (vc-git-mode-line-string):
7932 * vc/vc-hooks.el (vc-display-status)
7933 (vc-default-mode-line-string):
7934 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7936 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7938 * dired.el (dired-sort-set-mode-line): Rename from
7939 dired-sort-set-modeline. All callers changed.
7941 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7942 eshell-status-in-modeline.
7944 * foldout.el (foldout-mode-line-string): Rename from
7945 foldout-modeline-string. All callers changed.
7946 (foldout-update-mode-line): Rename from foldout-update-modeline.
7948 * subr.el (redraw-modeline): Make into obsolete alias.
7950 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7951 timeclock-modeline-display. Make old name an alias.
7952 (timeclock-update-mode-line): Likewise. All callers changed.
7953 (timeclock-mode-line-display): No need to check before using
7955 (timeclock-relative, timeclock-day-over-hook)
7956 (timeclock-use-elapsed, timeclock-mode-string)
7957 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7959 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7960 crisp-mode-modeline-string.
7962 * play/solitaire.el (solitaire-build-mode-line): Rename from
7963 solitaire-build-modeline. All callers changed.
7965 * play/zone.el (zone-hiding-mode-line): Rename from
7966 zone-hiding-modeline. All callers changed.
7967 (zone): Remove unusued `modeline-hidden-level' property.
7969 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7970 xscheme-modeline-initialize. All callers changed.
7972 * strokes.el (strokes-lighter): Rename from
7973 strokes-modeline-string.
7975 * textmodes/sgml-mode.el (html-face-tag-alist)
7976 (html-tag-face-alist): Use mode-line face instead of obsolete
7979 2012-06-02 Stefan Merten <smerten@oekonux.de>
7981 * textmodes/rst.el: Always require `cl'.
7982 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
7984 2012-06-02 Chong Yidong <cyd@gnu.org>
7986 * image.el (imagemagick-enabled-types): Rename from
7987 imagemagick-types-enable. Add many more types.
7988 (imagemagick-types-inhibit): Change default to nil.
7989 (imagemagick-filter-types): Caller changed.
7991 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7993 * emacs-lisp/cl-macs.el: Use backquotes.
7994 (cl-transform-function-property): Use eval-and-compile rather than
7996 (defstruct): Use declare-function instead of with-no-warnings.
7998 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7999 (byte-compile-output-docform): Re-add the print-circle bindings.
8000 (byte-compile-fix-header): Use #$ just because it's shorter.
8001 (byte-compile-output-file-form): Remove defun/defmacro.
8003 2012-06-01 Martin Rudalics <rudalics@gmx.at>
8005 * simple.el (choose-completion): Remove now obsolete binding for
8008 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
8010 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
8011 in order to avoid "Stack overflow in regexp matcher".
8013 2012-05-31 Glenn Morris <rgm@gnu.org>
8015 * image.el: For clarity, call imagemagick-register-types at
8016 top-level, rather than relying on a custom :initialize.
8017 (imagemagick-types-enable): New option. (Bug#11557)
8018 (imagemagick-filter-types): New function. (Bug#7406)
8019 (imagemagick-register-types): Use imagemagick-filter-types.
8020 If disabling support, remove elements altogether rather
8021 than using an impossible regexp.
8022 (imagemagick-types-inhibit): Give it the default init function.
8024 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8026 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8027 Handle arbitrary file name lengths (Bug#11585).
8029 2012-05-31 Martin Rudalics <rudalics@gmx.at>
8031 * desktop.el (desktop-read): Clear previous and next buffers for
8032 all windows and bury *Messages* buffer (bug#11556).
8034 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8036 Add `declare' for `defun'. Align `defmacro's with it.
8037 * emacs-lisp/easy-mmode.el (define-minor-mode)
8038 (define-globalized-minor-mode): Don't autoload the var definitions.
8039 * emacs-lisp/byte-run.el: Use lexical-binding.
8040 (defun-declarations-alist, macro-declarations-alist): New vars.
8041 (defmacro, defun): Use them.
8042 (make-obsolete, define-obsolete-function-alias)
8043 (make-obsolete-variable, define-obsolete-variable-alias):
8045 (macro-declaration-function): Mark obsolete.
8046 * emacs-lisp/autoload.el: Use lexical-binding.
8047 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
8049 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8051 * textmodes/ispell.el (ispell-with-no-warnings):
8053 (ispell-kill-ispell, ispell-change-dictionary):
8054 Use `called-interactively-p' for Emacs instead of obsolete
8057 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8059 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8060 (macro-declaration-function): Move var from C code.
8061 (macro-declaration-function): Define function with defalias.
8062 * emacs-lisp/macroexp.el (macroexpand-all-1):
8063 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8064 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8065 defun/defmacro any more.
8066 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8067 Provide fallback for unknown arglist.
8068 (byte-compile-arglist-warn): Change calling convention.
8069 (byte-compile-output-file-form): Move print-vars binding.
8070 (byte-compile-output-docform): Simplify accordingly.
8071 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8072 (byte-compile-defmacro-declaration): Remove.
8073 (byte-compile-file-form-defmumble): Generalize to defalias.
8074 (byte-compile-output-as-comment): Return byte-positions.
8075 Simplify callers accordingly.
8076 (byte-compile-lambda): Use `assert'.
8077 (byte-compile-defun, byte-compile-defmacro): Remove.
8078 (byte-compile-file-form-defalias):
8079 Use byte-compile-file-form-defmumble.
8080 (byte-compile-defalias-warn): Remove.
8082 2012-05-29 Stefan Merten <smerten@oekonux.de>
8084 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
8085 possible. Fix authors. Improve comments. Improve loading of `cl'.
8087 (rst-mode-abbrev-table): Merge definition.
8088 (rst-mode): Make sure `font-lock-defaults' is buffer local.
8089 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8091 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
8093 * calendar/icalendar.el
8094 (icalendar-export-region): Export UID properly.
8096 2012-05-29 Leo Liu <sdl.web@gmail.com>
8097 * calendar/icalendar.el (icalendar-import-format):
8098 Add `icalendar-import-format-uid' (Bug#11525).
8099 (icalendar-import-format-uid): New.
8100 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8103 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8105 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8106 different alternative patterns.
8107 (pcase-codegen): Be more careful to preserve identity.
8108 (pcase--u1): Don't forget to mark vars as used.
8110 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8111 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8112 (byte-compile-from-buffer): ...rather than here.
8114 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8115 functions from byte-compile-function-environment.
8117 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
8119 * window.el (window-deletable-p): Avoid deleting the root window
8120 of a frame with an active minibuffer.
8122 2012-05-29 Martin Rudalics <rudalics@gmx.at>
8124 * simple.el (choose-completion): Use quit-window (Bug#11567).
8126 2012-05-29 Chong Yidong <cyd@gnu.org>
8128 * whitespace.el (whitespace-cleanup): Fix usage of
8129 whitespace-empty-at-bob-regexp (Bug#11492).
8131 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8133 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8136 2012-05-29 Juri Linkov <juri@jurta.org>
8138 * isearch.el (isearch-mode-map): Bind `M-s _' to
8139 `isearch-toggle-symbol'. Bind `M-s c' to
8140 `isearch-toggle-case-fold'.
8141 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8142 (isearch-forward): Add `M-s _' to the docstring.
8143 (isearch-forward-symbol, isearch-toggle-case-fold)
8144 (isearch-symbol-regexp): New functions. (Bug#11381)
8146 2012-05-29 Juri Linkov <juri@jurta.org>
8148 * isearch.el (isearch-word): Add docstring. (Bug#11381)
8149 (isearch-occur, isearch-search-and-update): If `isearch-word' is
8150 a function, call it to get the regexp.
8151 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8152 property `isearch-message-prefix' instead of the string "word ".
8153 (isearch-search-fun-default): For the case of `isearch-word',
8154 return a lambda that calls re-search-forward/re-search-backward
8155 with a regexp returned by `word-search-regexp' or by the function
8158 2012-05-29 Juri Linkov <juri@jurta.org>
8160 * isearch.el (isearch-search-fun-default): New function.
8161 (isearch-search-fun): Move default part to the new function
8162 `isearch-search-fun-default'.
8163 (isearch-search-fun-function): Set the default value to
8164 `isearch-search-fun-default'. (Bug#11381)
8166 * comint.el (comint-history-isearch-end):
8167 Use `isearch-search-fun-default'.
8168 (comint-history-isearch-search): Use `isearch-search-fun-default'
8169 and remove spacial case for `isearch-word'.
8170 (comint-history-isearch-wrap): Remove spacial case for
8173 * hexl.el (hexl-isearch-search-function):
8174 Use `isearch-search-fun-default'.
8176 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8177 Use `word-search-regexp' for `isearch-word'.
8179 * misearch.el (multi-isearch-search-fun):
8180 Use `isearch-search-fun-default'.
8182 * simple.el (minibuffer-history-isearch-search):
8183 Use `isearch-search-fun-default' and remove spacial case for
8185 (minibuffer-history-isearch-wrap): Remove spacial case for
8188 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8189 Remove spacial case for `isearch-word'.
8190 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8192 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8194 Decrease XEmacs incompatibilities.
8195 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8197 (flyspell-delete-region-overlays): Use alternative definition for
8199 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8200 (flyspell-word): Use `process-kill-without-query' if XEmacs.
8201 (flyspell-mode-on): Use `interactive-p' if XEmacs.
8202 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8203 `define-obsolete-face-alias' under XEmacs, but old method.
8205 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8206 `with-no-warnings' definition or Emacs alias.
8207 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8208 (ispell-word): Do not use `region-p' if XEmacs.
8210 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8212 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8213 Check for `ispell-dictionary-base-alist' instead of full
8214 `ispell-dictionary-alist'.
8215 (ispell-init-process): Show spellchecker when starting new Ispell
8218 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8220 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8221 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8223 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
8225 * version.el (motif-version-string, gtk-version-string)
8226 (ns-version-string): Declare.
8228 2012-05-27 Juri Linkov <juri@jurta.org>
8230 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8231 after the `eval-defun-1' specialcaseing
8232 like in `edebug-eval-defun' (bug#10181).
8234 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8235 like in `eval-defun-1'.
8237 2012-05-27 Eli Zaretskii <eliz@gnu.org>
8239 * mail/sendmail.el (mail-yank-region):
8240 Recognize rmail-yank-current-message in addition to insert-buffer.
8241 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
8242 a *mail* buffer created through rmail-start-mail with sendmail as
8245 2012-05-27 Chong Yidong <cyd@gnu.org>
8247 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8248 Default to 256 (Bug#11267).
8250 * help.el (describe-mode): Doc fix.
8252 2012-05-26 Glenn Morris <rgm@gnu.org>
8254 * w32-fns.el (w32-init-info): Remove.
8255 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8257 * info.el (info-initialize): For self-contained NS builds, put the
8258 included info/ directory at the front. (Bug#2791)
8260 * paths.el (Info-default-directory-list): Make it a defcustom,
8261 mainly so that we can use custom-initialize-delay.
8263 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8265 * subr.el (buffer-has-markers-at): Mark obsolete.
8267 * subr.el (lambda): Use declare.
8269 * emacs-lisp/lisp-mode.el (lambda):
8270 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8272 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8274 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
8276 2012-05-26 Glenn Morris <rgm@gnu.org>
8278 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8280 2012-05-25 Glenn Morris <rgm@gnu.org>
8282 * paths.el: Remove no-byte-compile.
8283 * loadup.el: No need to load paths.el uncompiled.
8285 * image.el (imagemagick-types-inhibit): Doc fix.
8287 * version.el: Remove no-byte-compile and associated formatting.
8288 * loadup.el: No need to load version.el uncompiled. AFAICS, this
8289 is ancient code from when there was an "inc-vers.el".
8291 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8293 * progmodes/gdb-mi.el: Minor style changes.
8294 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8295 Turn into minor modes.
8296 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8297 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8298 (gdb-shell): Remove unneeded let-binding.
8299 (gdb-get-many-fields): Eliminate O(n²) behavior.
8301 2012-05-25 Eli Zaretskii <eliz@gnu.org>
8303 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8304 platforms that don't link in fontset.c.
8306 2012-05-25 Juri Linkov <juri@jurta.org>
8308 Use the same diff color scheme as in modern VCSes (bug#10181).
8310 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8311 to avoid confusion with `diff-added' that now uses green colors.
8312 (diff-removed): Use shades of red.
8313 (diff-added): Use shades of green.
8314 (diff-changed): Leave just the yellow color.
8315 (diff-use-changed-face): New variable.
8316 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8317 how to highlight context diff changes.
8318 (diff-refine-change): Use shades of yellow.
8319 (diff-refine-removed): New face that uses shades of red.
8320 (diff-refine-added): New face that uses shades of green.
8321 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8322 `diff-refine-removed' in the call to `smerge-refine-subst'
8323 depending on the value of `diff-use-changed-face'.
8325 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8326 (smerge-other): Use shades of green.
8327 (smerge-base): Use shades of yellow.
8328 (smerge-refined-change): Empty face.
8329 (smerge-refined-removed): New face that uses shades of red.
8330 (smerge-refined-added): New face that uses shades of green.
8331 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
8332 args `props-r' and `props-a', and use them. Doc fix.
8333 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8334 on its value use different faces `smerge-refined-change',
8335 `smerge-refined-removed', `smerge-refined-added' in the call to
8336 `smerge-refine-subst'.
8338 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8339 Add face condition `min-colors 88' with shades of red.
8340 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8341 `min-colors 88' with shades of green.
8342 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8343 `min-colors 88' with shades of yellow.
8345 2012-05-24 Glenn Morris <rgm@gnu.org>
8347 * paths.el (prune-directory-list, remote-shell-program): Move to...
8348 * files.el (prune-directory-list, remote-shell-program): ...here.
8349 For the latter, delay initialization, prefer ssh, just search PATH.
8351 * paths.el (term-file-prefix): Move to faces.el (the only user).
8352 * faces.el (term-file-prefix): Move here, make it a defcustom.
8354 * paths.el (news-directory, news-path, news-inews-program):
8355 Move to gnus/nnspool.el.
8357 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8359 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8360 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8361 Make the latter a defcustom, with a delayed initialization.
8363 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8364 These were deleted from Gnus itself late 2010.
8366 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
8368 * progmodes/which-func.el (which-func-ff-hook):
8369 Check against user-error, not error.
8371 * emacs-lisp/edebug.el (top): Do not load or set up loading of
8372 cl-specs.el, which no longer exists.
8374 2012-05-22 Glenn Morris <rgm@gnu.org>
8376 * info.el (info-emacs-bug): New command.
8377 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8378 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8380 2012-05-21 Glenn Morris <rgm@gnu.org>
8382 * makefile.w32-in (update-subdirs-SH):
8383 * Makefile.in (update-subdirs): Update for moved update-subdirs.
8385 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8387 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8389 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8390 Simplify Maven regexp, and make sure the file can't start with a space
8393 2012-05-21 Glenn Morris <rgm@gnu.org>
8395 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8396 Scrap superfluous subshells.
8398 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8400 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8401 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8403 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
8405 * calc/calc.el (calc-ensure-consistent-units): New variable.
8407 * calc/calc-units.el (math-consistent-units-p)
8408 (math-check-unit-consistency): New functions.
8409 (calc-quick-units, calc-convert-units):
8410 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8412 (calc-extract-units): Fix typo.
8414 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8416 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8418 * textmodes/flyspell.el: Commenting style, plus code simplifications.
8419 (flyspell-default-deplacement-commands): Don't spell check after
8420 repeated window/frame switches (e.g. triggered by mouse-movement).
8421 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8422 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8423 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8424 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8426 (flyspell-get-casechars, flyspell-get-not-casechars):
8427 Simplify; Don't bother removing a ] just to add it back.
8428 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8430 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8432 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8434 (math-function-table): Add support for more C functions.
8436 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8438 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8439 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8440 Protect delay handling for otherchars against empty otherchars.
8442 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8444 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8445 their respective macro declarations.
8446 * skeleton.el (define-skeleton):
8447 * progmodes/compile.el (define-compilation-mode):
8448 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8449 (define-ibuffer-filter):
8450 * emacs-lisp/generic.el (define-generic-mode):
8451 * emacs-lisp/easy-mmode.el (define-minor-mode)
8452 (define-globalized-minor-mode):
8453 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8454 * emacs-lisp/byte-run.el (defsubst):
8455 * custom.el (deftheme): Add doc-string metadata.
8457 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8459 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8461 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8463 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8465 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8466 * emacs-lisp/cl-macs.el: Idem.
8467 * emacs-lisp/cl-specs.el: Remove.
8469 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8471 Minor renaming of internal CL functions and variables.
8472 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8473 (cl--position): Rename from cl-position.
8474 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8475 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8476 (cl--random-state): Rename from *random-state*.
8478 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8480 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8481 parens around the arg list (bug#11499).
8483 2012-05-17 Juri Linkov <juri@jurta.org>
8485 * isearch.el (word-search-regexp, word-search-backward)
8486 (word-search-forward, word-search-backward-lax)
8487 (word-search-forward-lax): Move functions from search.c
8488 (bug#10145, bug#11381).
8490 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8492 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8493 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8494 Delay for otherchars as for normal word components.
8496 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8498 * minibuffer.el (completion--sifn-requote): Fix last change.
8499 (minibuffer-local-must-match-filename-map):
8500 Move define-obsolete-variable-alias before its var.
8502 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8504 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8506 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8508 (completion--string-equal-p): New function.
8509 (completion--twq-all): Use it to get better assertion failure data.
8511 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8512 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8513 (shell--requote-argument): New functions.
8514 (shell-completion-vars): Use them.
8515 (shell--parse-pcomplete-arguments): Rename from
8516 shell-parse-pcomplete-arguments.
8517 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8518 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8519 Obey comint-file-name-quote-list.
8521 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8522 (smie-indent-keyword): Use it.
8524 2012-05-14 Stefan Merten <smerten@oekonux.de>
8526 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8528 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8530 * net/rlogin.el (rlogin-mode-map): Fix last change.
8532 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8534 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8535 the following \r\n using a single `process-send-string', since the
8536 Lotus SMTP server refuses to accept any commands if they are sent
8537 with two `process-send-string's (Bug#11444).
8539 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8541 * shell.el (shell-parse-pcomplete-arguments):
8542 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
8544 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8546 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
8547 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8548 (image-transform-width, image-transform-fit-width): New functions.
8549 (image-transform-properties): Use them.
8550 (image-transform-check-size): New function.
8551 (image-toggle-display-image): Use it (for testing).
8552 (image-transform-set-rotation): Reduce angle mod 360.
8553 Delete obsolete comment.
8555 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8557 * image-mode.el: Fix scaling (bug#11399).
8558 (image-transform-resize): Doc fix.
8559 (image-transform-properties): Default scale is 1 and height should
8562 2012-05-13 Johan Bockgård <bojohan@gnu.org>
8564 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8565 than hard-coding `car', to fix misbehavior when moving forward.
8567 2012-05-13 Chong Yidong <cyd@gnu.org>
8569 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8570 (tabulated-list-entries, tabulated-list-padding)
8571 (tabulated-list-sort-key): Make permanent-local.
8573 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8574 (electric-buffer-list): Put electric buffer menu
8575 command descriptions in this docstring, instead of the docstring
8576 of electric-buffer-menu-mode. Code cleanups.
8577 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8578 Electric-buffer-menu-mode.
8579 (electric-buffer-update-highlight): Minor code cleanup.
8581 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
8583 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8586 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8588 Move define-obsolete-variable-alias before the var's definition.
8589 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8590 * tooltip.el (tooltip-hook):
8591 * textmodes/reftex-toc.el (reftex-toc-map):
8592 * textmodes/reftex-sel.el (reftex-select-label-map)
8593 (reftex-select-bib-map):
8594 * textmodes/reftex-index.el (reftex-index-map)
8595 (reftex-index-phrases-map):
8596 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8597 * progmodes/meta-mode.el (meta-mode-map):
8598 * novice.el (disabled-command-hook):
8599 * loadhist.el (unload-hook-features-list):
8600 * frame.el (blink-cursor):
8601 * files.el (find-file-not-found-hooks, write-file-hooks)
8602 (write-contents-hooks):
8603 * emulation/tpu-edt.el (GOLD-map):
8604 * emacs-lock.el (emacs-lock-from-exiting):
8605 * emacs-lisp/generic.el (generic-font-lock-defaults):
8606 * emacs-lisp/chart.el (chart-map):
8607 * dos-fns.el (register-name-alist):
8608 * dired-x.el (dired-omit-files-p):
8609 * desktop.el (desktop-enable):
8610 * cus-edit.el (custom-mode-hook):
8611 * buff-menu.el (buffer-menu-mode-hook):
8612 * bookmark.el (bookmark-read-annotation-text-func)
8613 (bookmark-exit-hooks):
8614 * allout.el (allout-mode-deactivate-hook)
8615 (allout-exposure-change-hook, allout-structure-added-hook)
8616 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8617 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8618 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8619 comes before the corresponding variable's definition.
8621 2012-05-12 Chong Yidong <cyd@gnu.org>
8623 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
8624 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8625 (Buffer-menu-mode-map): Bind it.
8626 (Buffer-menu--pretty-name): Add a mouse-face property.
8628 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8630 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8631 (prolog-upper-case-string, prolog-lower-case-string)
8632 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8633 (prolog-use-smie, prolog-smie-grammar): New vars.
8634 (prolog-smie-forward-token, prolog-smie-backward-token)
8635 (prolog-smie-rules): New funs.
8636 (prolog-comment-indent): Remove.
8637 (prolog-mode-variables): Use default comment indentation instead.
8639 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8640 (prolog-mode): Don't call them any more.
8641 (prolog-electric-colon, prolog-electric-dash)
8642 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8644 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8646 * minibuffer.el (completion--twq-all): Again, allow case differences.
8648 * term.el: Move keymap initialization code to be more idiomatic.
8649 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8650 (term-terminal-menu): Move initialization into declaration.
8651 (term-escape-char): Let the user set it in her .emacs.
8653 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8654 Provide SMIE-based indentation (not enabled by default yet).
8655 (sh-mode-map): Don't bind electric keys.
8656 Use electric-pair-mode instead of skeleton-pair.
8657 (sh-assignment-regexp): Fit within 80 columns.
8658 (sh-indent-supported): Specify actual shell name instead of boolean.
8659 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8660 (sh-maybe-here-document): Use it. Make obsolete.
8661 (sh-electric-here-document-mode) New minor mode.
8662 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8663 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8664 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8665 (sh-smie-rc-grammar, sh-use-smie): New vars.
8666 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8667 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8668 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8669 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8670 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8671 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8672 (sh-set-shell): Use smie-setup if requested.
8674 * term.el (term-set-escape-char): Properly set term-escape-char.
8675 See http://stackoverflow.com/questions/10524656.
8677 2012-05-10 Chong Yidong <cyd@gnu.org>
8679 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8680 Use url-generic-parse-url, and handle host names and Windows
8682 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8683 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8684 URL schemes to work on.
8685 (ffap--toggle-read-only): New function.
8686 (ffap-read-only, ffap-read-only-other-window)
8687 (ffap-read-only-other-frame): Use it.
8688 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8689 necessary for ffap-url-unwrap-remote.
8691 2012-05-10 Dave Abrahams <dave@boostpro.com>
8693 * cus-start.el (create-lockfiles): Add it.
8695 2012-05-09 Chong Yidong <cyd@gnu.org>
8697 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8698 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8700 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8702 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8704 2012-05-09 Chong Yidong <cyd@gnu.org>
8706 * ansi-color.el (ansi-color-process-output): Check for validity of
8707 comint-last-output-start before using it. This avoids a bad
8708 interaction with gdb-mi's input/output buffer.
8710 2012-05-09 Glenn Morris <rgm@gnu.org>
8712 * files.el (dir-locals-read-from-file):
8713 Mention dir-locals in any error message.
8715 2012-05-09 Chong Yidong <cyd@gnu.org>
8717 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8718 package (Bug#11410).
8720 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8721 variables into description.
8723 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8725 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8726 shell-delimiter-argument-list (bug#11348).
8727 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8729 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
8731 * textmodes/rst.el: Silence byte-compiler warnings.
8732 (rst-re-alist, rst-reset-section-caches): Move around.
8733 (rst-re): Use `characterp', not `char-valid-p'.
8734 (font-lock-beg, font-lock-end): Declare.
8736 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8737 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8739 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8741 2012-05-08 Glenn Morris <rgm@gnu.org>
8743 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8745 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8747 * vc/log-edit.el: Add GNU coding standards highlighting.
8748 (log-edit-font-lock-gnu-style)
8749 (log-edit-font-lock-gnu-keywords): New vars.
8750 (log-edit-font-lock-keywords): New fun.
8751 (log-edit-mode): Don't fold case in font-lock.
8752 (log-edit-font-lock-keywords): Do not assume case-folding.
8754 * imenu.el: Misc cleanup. Make docstrings out of comments.
8755 Use lexical-binding.
8756 (imenu--index-alist, imenu--last-menubar-index-alist)
8757 (imenu-menubar-modified-tick): Use defvar-local.
8758 (imenu--split-menu): Remove unused var.
8759 (imenu--cleanup-seen): Declare as global.
8760 (imenu--cleanup): Use dolist.
8762 * subr.el (defvar-local): Add debug spec and doc-string position.
8764 2012-05-08 Glenn Morris <rgm@gnu.org>
8766 * language/burmese.el, language/cham.el, language/czech.el:
8767 * language/english.el, language/georgian.el, language/greek.el:
8768 * language/japanese.el, language/khmer.el, language/korean.el:
8769 * language/lao.el, language/misc-lang.el, language/romanian.el:
8770 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8771 * language/thai.el, language/utf-8-lang.el:
8772 Remove no-byte-compile setting.
8774 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8776 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8778 * progmodes/make-mode.el (makefile-browse):
8779 Remove unnecessary interactive. (Bug#11324)
8781 2012-05-07 Glenn Morris <rgm@gnu.org>
8783 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8785 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8787 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8789 * loadup.el: Preload newcomment.el.
8790 * newcomment.el: Move autoload-only code to toplevel.
8792 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8793 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8794 Handle new :right-align column property.
8795 (tabulated-list-print-col): Idem, plus use `display' text-property to
8796 try and preserve alignment for variable pitch fonts.
8798 2012-05-07 Chong Yidong <cyd@gnu.org>
8800 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8801 (tabulated-list-use-header-line): New var.
8802 (tabulated-list-init-header): Use it.
8803 (tabulated-list-print-fake-header): New function.
8804 (tabulated-list-print): Use it.
8805 (tabulated-list-sort-button-map): Add non-header-line commands.
8806 (tabulated-list-init-header): Add column name property to basic
8808 (tabulated-list-col-sort): Handle non-header-line button case.
8809 (tabulated-list--sort-by-column-name): Fix a corner case.
8811 * buff-menu.el (list-buffers--refresh):
8812 Handle Buffer-menu-use-header-line.
8814 2012-05-06 Chong Yidong <cyd@gnu.org>
8816 * buff-menu.el: Convert to Tabulated List mode.
8817 (Buffer-menu-buffer+size-width): Make obsolete.
8818 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8819 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8820 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8821 documentation into docstring of buffer-menu.
8822 (Buffer-menu-toggle-files-only): Add an informative message.
8823 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8824 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8825 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8826 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8827 (Buffer-menu-execute, Buffer-menu-select)
8828 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8829 (Buffer-menu-bury): Use Tabulated List machinery.
8830 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8831 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
8833 (list-buffers--refresh): New function.
8834 (list-buffers-noselect): Use it.
8835 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8836 (Buffer-menu--pretty-file-name): New helper functions.
8838 * loadup.el: Preload tabulated-list.
8840 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8841 tabulated-list-sort-column.
8842 (tabulated-list-init-header): Add the initial aligning space even
8843 if tabulated-list-padding is zero.
8845 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8847 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8848 whose cdr is not a cons cell correctly (bug#11038).
8850 2012-05-06 Chong Yidong <cyd@gnu.org>
8852 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8853 Accept additional plist in column descriptors.
8854 (tabulated-list-init-header): Obey it.
8855 (tabulated-list-get-entry): New function.
8856 (tabulated-list-put-tag): Use it. Use string-width instead of
8858 (tabulated-list--column-number): New function.
8859 (tabulated-list-print): Use it.
8860 (tabulated-list-print-col): New function.
8861 Set `tabulated-list-column-name' property on each column's text.
8862 (tabulated-list-print-entry): Use it.
8863 (tabulated-list-delete-entry, tabulated-list-set-col):
8865 (tabulated-list-sort-column): New command (Bug#11337).
8867 * buff-menu.el (list-buffers): Move C-x C-b binding from
8868 buff-menu.el to bindings.el.
8870 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8871 :advertised-binding feature.
8873 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8875 * progmodes/compile.el (compilation-internal-error-properties):
8876 Calculate start position correctly when end-col is set but
8877 end-line is not (Bug#11382).
8879 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8881 * man.el (Man-unindent): Use text-property-default-nonsticky to
8882 prevent untabify from inheriting face properties (Bug#11408).
8884 2012-05-05 Stefan Merten <smerten@oekonux.de>
8886 * textmodes/rst.el: Major merge with upstream development up to
8887 Docutils SVN r7399 / rst.el V1.2.1.
8889 Clarify maintainership and authors.
8891 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8892 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8893 (rst-official-version, rst-official-cvs-rev, rst-version)
8894 (rst-package-emacs-version-alist): New functions and variables
8895 for version information.
8897 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8898 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8899 (rst-mode-syntax-table, rst-mode): New and corrected functions
8900 and variables representing reStructuredText features.
8902 (rst-re): New function for reStructuredText regexes. Use in
8905 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8906 (rst-mode-map): Rebind keys.
8908 (rst-mode-lazy, rst-font-lock-keywords)
8909 (rst-font-lock-extend-region)
8910 (rst-font-lock-extend-region-internal)
8911 (rst-font-lock-extend-region-extend)
8912 (rst-font-lock-find-unindented-line-limit)
8913 (rst-font-lock-find-unindented-line-match)
8914 (rst-adornment-level, rst-font-lock-adornment-level)
8915 (rst-font-lock-adornment-match)
8916 (rst-font-lock-handle-adornment-pre-match-form)
8917 (rst-font-lock-handle-adornment-matcher): Major revision of
8918 font-locking. Integrate with other code. Use `jit-lock-mode'.
8920 (rst-preferred-adornments, rst-adjust-hook)
8921 (rst-new-adornment-down, rst-preferred-bullets)
8922 (rst-preferred-bullets, rst-indent, rst-indent-width)
8923 (rst-indent-field, rst-indent-literal-normal)
8924 (rst-indent-literal-minimized, rst-indent-comment): Change,
8925 extend and improve customization.
8927 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8928 (rst-normalize-cursor-position, rst-get-decoration)
8929 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8930 (rst-rstrip, rst-toc-insert-find-delete-contents)
8931 (rst-shift-fill-region, rst-compute-bullet-tabs)
8932 (rst-debug-print-tabs, rst-debug-mark-found)
8933 (rst-shift-region-guts, rst-shift-region-right)
8934 (rst-shift-region-left, rst-use-char-classes)
8935 (rst-font-lock-keywords-function)
8936 (rst-font-lock-indentation-point)
8937 (rst-font-lock-find-unindented-line-begin)
8938 (rst-font-lock-find-unindented-line-end)
8939 (rst-font-lock-find-unindented-line)
8940 (rst-font-lock-adornment-point, rst-font-lock-level)
8941 (rst-adornment-level-alist): Remove functions and variables.
8943 (rst-compare-adornments, rst-get-adornment-match)
8944 (rst-suggest-new-adornment, rst-get-adornments-around)
8945 (rst-adornment-complete-p, rst-get-next-adornment)
8946 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8947 (rst-straighten-adornments): Standardize function names to
8948 use "adornment" instead of "decoration". Correct callers.
8949 Similar standardizing in many places.
8951 (rst-update-section, rst-adjust, rst-promote-region)
8952 (rst-enumerate-region, rst-bullet-list-region)
8953 (rst-repeat-last-character): Correct use of `interactive'.
8955 (rst-classify-adornment, rst-find-all-adornments)
8956 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8957 (rst-find-leftmost-column, rst-repeat-last-character):
8960 (rst-find-title-line, rst-reset-section-caches)
8961 (rst-get-adornments-around, rst-adjust-adornment-work)
8962 (rst-arabic-to-roman, rst-roman-to-arabic)
8963 (rst-insert-list-pos, rst-insert-list-new-item)
8964 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8967 (rst-all-sections, rst-section-hierarchy)
8968 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8971 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8972 configuration instead of only buffer. Change where necessary.
8974 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8975 (rst-shift-region, rst-adaptive-fill): New functions for
8976 indentation and filling.
8978 (rst-comment-line-break, rst-comment-indent)
8979 (rst-comment-insert-comment, rst-comment-region)
8980 (rst-uncomment-region): New functions for handling comments.
8982 (rst-compile): Quote shell arguments.
8984 (rst-compile-pdf-preview, rst-compile-slides-preview):
8985 Delete temporary files after use.
8987 2012-05-05 Glenn Morris <rgm@gnu.org>
8989 * calendar/cal-html.el: Optionally include holidays in the output.
8990 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8991 (cal-html-holidays): New option.
8992 (cal-html-css-default): Add holiday entry.
8993 (holiday-in-range): Autoload it.
8994 (cal-html-htmlify-entry): Add optional class argument.
8995 (cal-html-htmlify-list): Add optional holidays argument.
8996 (cal-html-insert-agenda-days): Include holidays in the output.
8997 (cal-html-one-month): Maybe include holidays.
8999 * calendar/holidays.el (holiday-in-range):
9000 Move here from cal-tex-list-holidays.
9001 * calendar/cal-tex.el (cal-tex-list-holidays):
9002 Make it an obsolete alias for holiday-in-range. Update all callers.
9004 2012-05-05 Chong Yidong <cyd@gnu.org>
9006 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
9009 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
9011 * files.el (file-auto-mode-skip): New var.
9012 (set-auto-mode-1): Use it.
9014 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9016 * repeat.el: Use lexical-binding.
9017 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
9018 (repeat-undo-count): Remove.
9020 * progmodes/octave-mod.el (octave-abbrev-start):
9021 * progmodes/f90.el (f90-abbrev-start):
9022 * face-remap.el (text-scale-adjust):
9023 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9025 * emacs-lisp/pcase.el (pcase--let*): New function.
9026 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9028 (pcase--split-pred): Be more clever about ruling out overlap between
9029 a predicate and some constant pattern.
9030 (pcase--q1): Use `null' instead of (eq foo nil).
9032 * subr.el (setq-local, defvar-local): New macros.
9033 (kbd): Redefine as an alias.
9034 (with-selected-window): Leave unrelated frames alone.
9035 (set-temporary-overlay-map): New function.
9037 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9039 * subr.el (user-error): New function.
9040 * window.el (switch-to-buffer):
9041 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9042 (smerge-match-conflict):
9043 * simple.el (previous-matching-history-element)
9044 (next-matching-history-element, goto-history-element, undo-more)
9046 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9047 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9048 (next-file, tags-loop-scan, list-tags, complete-tag):
9049 * progmodes/compile.el (compilation-loop):
9050 * mouse.el (mouse-minibuffer-check):
9051 * man.el (Man-bgproc-sentinel, Man-goto-page):
9052 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9053 (Info-history-forward, Info-follow-reference, Info-menu)
9054 (Info-extract-menu-item, Info-extract-menu-counting)
9055 (Info-forward-node, Info-backward-node, Info-next-menu-item)
9056 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9057 (Info-next-reference, Info-prev-reference, Info-index)
9058 (Info-index-next, Info-follow-nearest-node)
9059 (Info-copy-current-node-name):
9060 * imenu.el (imenu--make-index-alist)
9061 (imenu-default-create-index-function, imenu-add-to-menubar):
9062 * files.el (basic-save-buffer, recover-file):
9063 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9064 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9065 (checkdoc-message-text, checkdoc-defun):
9066 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9067 * cus-edit.el (customize-changed-options, customize-rogue)
9068 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9069 (custom-variable-mark-to-reset-standard)
9070 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9072 * completion.el (check-completion-length):
9073 * comint.el (comint-search-arg)
9074 (comint-previous-matching-input-string-position)
9075 (comint-previous-matching-input)
9076 (comint-replace-by-expanded-history-before-point, comint-send-input)
9077 (comint-copy-old-input, comint-backward-matching-input)
9078 (comint-goto-process-mark, comint-set-process-mark):
9079 * calendar/calendar.el (calendar-cursor-to-date): Use it.
9080 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9082 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9084 * dabbrev.el (dabbrev--ignore-case-p): New function.
9085 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9088 * files.el (automount-dir-prefix): Mark as obsolete.
9090 2012-05-04 Glenn Morris <rgm@gnu.org>
9092 * patcomp.el, play/bruce.el: Move to obsolete/.
9094 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
9096 Fix minor Y10k bugs.
9097 * arc-mode.el (archive-unixdate):
9098 * autoinsert.el (auto-insert-alist):
9099 * calc/calc-forms.el (math-this-year):
9100 * emacs-lisp/copyright.el (copyright-current-year)
9101 (copyright-update-year, copyright):
9102 * tar-mode.el (tar-clip-time-string):
9103 * time.el (display-time-update):
9104 Don't assume years have 4 digits.
9106 2012-05-04 Chong Yidong <cyd@gnu.org>
9108 * dos-w32.el (file-name-buffer-file-type-alist)
9109 (direct-print-region-use-command-dot-com):
9110 * ffap.el (ffap-menu-regexp):
9111 * find-file.el (ff-special-constructs):
9112 * follow.el (follow-debug):
9113 * forms.el (forms--debug):
9114 * iswitchb.el (iswitchb-all-frames):
9115 * ido.el (ido-all-frames):
9116 * emacs-lisp/timer.el (timer-max-repeats):
9117 * mail/feedmail.el (feedmail-mail-send-hook)
9118 (feedmail-mail-send-hook-queued):
9119 * mail/footnote.el (footnote-signature-separator):
9120 * mail/mailabbrev.el (mail-alias-separator-string)
9121 (mail-abbrev-mode-regexp):
9122 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9123 * progmodes/idlwave.el (idlwave-libinfo-file)
9124 (idlwave-default-completion-case-is-down)
9125 (idlwave-library-routines): Convert defvars to defcustoms.
9127 * mail/rmail.el (rmail-decode-mime-charset):
9128 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9129 (idlwave-shell-fix-inserted-breaks)
9130 (idlwave-shell-activate-alt-keybindings)
9131 (idlwave-shell-use-breakpoint-glyph):
9132 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9134 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9136 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9138 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
9140 * progmodes/verilog-mode.el (font-lock-keywords):
9141 Fix mis-highligting auto. Reported by Craig Barner.
9142 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
9143 defines from global name space. Reported by Dan Dever.
9144 (verilog-auto-reset, verilog-auto-reset-widths)
9145 (verilog-auto-tieoff): Support using unbased numbers for
9146 AUTORESET and AUTOTIEOFF.
9147 (verilog-submit-bug-report): Update variable list.
9148 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
9149 parenthesis from not matching. Reported by Michael Rytting.
9150 (verilog-auto-template-lint): Fix hash error when linting modules
9151 with no used templates.
9152 (verilog-warn, verilog-warn-error)
9153 (verilog-warn-fatal): When non-interactive report multiple
9154 warnings before exiting. Suggested by Brad Dobbie.
9155 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9156 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9157 to report unused template errors. Reported by Brad Dobbie.
9158 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
9159 nets, bug438. Reported by Vns Blore.
9160 (verilog-auto-inout-module, verilog-auto-reg)
9161 (verilog-read-decls, verilog-read-sub-decls-sig)
9162 (verilog-signals-edit-wire-reg, verilog-signals-with):
9163 Fix passing of Verilog data types in ANSI input/output ports
9164 such as "output logic" into the AUTOs. Special case "wire" and
9165 "reg" for backwards compatibility presuming Verilog 2001.
9166 (verilog-auto-ascii-enum): Add "auto enum" as alias.
9167 (verilog-preprocess): Fix replication of preprocess output.
9168 Reported by Brad Dobbie.
9169 (verilog-auto-inst-interfaced-ports):
9170 Create verilog-auto-inst-interfaced-ports, bug429.
9171 Reported by Julian Gorfajn.
9172 (verilog-after-save-font-hook)
9173 (verilog-before-save-font-hook): New variable.
9174 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9175 (verilog-save-font-mods): Wrap disabling fontification, reported
9177 (verilog-do-indent, verilog-pretty-declarations-auto)
9178 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9179 Reported by Pierre-David Pfister.
9180 (verilog-set-auto-endcomments): Fix endtask auto comments outside
9181 of class declarations, bug292. Reported by Kevin Heilman.
9182 (verilog-read-decls): Fix 'parameter type' not appearing in
9183 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
9184 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
9185 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
9186 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9187 Reported by David Kravitz.
9189 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
9191 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9192 assignment with tests in ifs and for loops.
9193 (verilog-extended-complete-re, verilog-complete-reg): Change so
9194 that DPI inport functions don't look like fuction declarations.
9195 (verilog-pretty-expr): Don't line up assignment
9196 operations to the test and increment in if and for loops
9197 (verilog-extended-complete-re, verilog-complete-reg): Change so
9198 that DPI inport functions don't look like fuction declarations.
9200 2012-05-03 Kenichi Handa <handa@m17n.org>
9202 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
9203 decoding, and show a warning message without signaling an error
9206 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9208 * emacs-lisp/bytecomp.el
9209 (byte-compile-file-form-custom-declare-variable): Compile all elements,
9210 since cconv.el might have introduced :fun-body, internal-make-closure,
9211 and friends for bytecomp to handle (bug#11391).
9212 * custom.el (defcustom): Avoid ((λ ..) ..).
9214 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9216 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9218 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
9220 * notifications.el (dbus-debug):
9221 * term/linux.el (gpm-mouse-enable):
9222 * term/screen.el (xterm-register-default-colors): Declare.
9224 2012-05-02 Chong Yidong <cyd@gnu.org>
9226 * cus-start.el (gc-cons-percentage, exec-suffixes)
9227 (dos-display-scancodes, dos-hyper-key, dos-super-key)
9228 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9229 (make-cursor-line-fully-visible, void-text-area-pointer)
9230 (font-list-limit): Add customization data.
9232 * allout.el (allout-exposure-change-functions)
9233 (allout-structure-added-functions)
9234 (allout-structure-deleted-functions)
9235 (allout-structure-shifted-functions): Rename abnormal hooks from
9236 *-hook, and convert to defcustoms.
9237 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9238 Convert to defcustoms.
9239 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9241 * allout-widgets.el: Hook callers changed.
9243 2012-05-02 Eli Zaretskii <eliz@gnu.org>
9245 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9246 the yanked message in preference to the default value of
9247 buffer-file-coding-system.
9249 2012-05-02 Martin Rudalics <rudalics@gmx.at>
9251 * window.el (display-buffer--action-function-custom-type):
9254 2012-05-02 Alan Mackenzie <acm@muc.de>
9256 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9258 2012-05-01 Glenn Morris <rgm@gnu.org>
9260 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9262 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9264 * cus-edit.el (custom-variable-documentation): Simplify with format.
9266 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9267 Stefan Monnier <monnier@iro.umontreal.ca>
9269 * simple.el (suggest-key-bindings, execute-extended-command):
9270 Move from keyboard.c.
9272 2012-05-01 Chong Yidong <cyd@gnu.org>
9274 * follow.el: Eliminate advice.
9275 (set-process-filter, process-filter, sit-for): Advice deleted.
9276 (follow-mode-off-hook): Obsolete hook removed.
9277 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9279 (follow-auto): Use a :set function.
9280 (follow-mode): Rewritten. Don't advise process filters.
9281 (follow-switch-to-current-buffer-all, follow-scroll-up)
9282 (follow-scroll-down): Assume follow-mode is bound.
9283 (follow-comint-scroll-to-bottom)
9284 (follow-align-compilation-windows): New functions.
9285 (follow--window-sorter): New function.
9286 (follow-all-followers): Use it to explicitly sort windows by their
9287 positions; don't make assumptions about next-window order.
9288 (follow-windows-start-end, follow-delete-other-windows-and-split)
9289 (follow-calc-win-start): Doc fix.
9290 (follow-windows-aligned-p, follow-select-if-visible): Don't call
9291 vertical-motion unnecessarily.
9292 (follow-adjust-window): New function.
9293 (follow-post-command-hook): Use it.
9294 (follow-call-set-process-filter, follow-call-process-filter)
9295 (follow-intercept-process-output, follow-tidy-process-filter-alist)
9296 (follow-stop-intercept-process-output, follow-generic-filter):
9298 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
9299 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9300 New functions, replacing advice on scroll-bar-* commands.
9301 (follow-mwheel-scroll): New function (Bug#4112).
9303 * comint.el (comint-adjust-point): New function.
9304 (comint-postoutput-scroll-to-bottom): Use it.
9305 Call follow-comint-scroll-to-bottom for Follow mode buffers.
9307 2012-05-01 Glenn Morris <rgm@gnu.org>
9309 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9310 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9311 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9312 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9313 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9314 Remove no-byte-compile setting.
9316 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9318 * minibuffer.el (completion-table-with-quoting): Fix compatibility
9319 all-completions code to not return a number in the last cdr.
9321 2012-04-30 Leo Liu <sdl.web@gmail.com>
9323 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9326 2012-04-29 Chong Yidong <cyd@gnu.org>
9328 * follow.el (follow-calc-win-end): Rewrite to handle partial
9329 screen lines correctly (Bug#8390).
9330 (follow-avoid-tail-recenter): Minor cleanup.
9332 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9334 Avoid the obsolete `assoc' package.
9335 * speedbar.el (speedbar-refresh): Avoid adelete.
9336 (speedbar-file-lists): Simplify and avoid aput.
9337 * man.el (Man--sections, Man--refpages): New vars, replacing
9338 Man-sections-alist and Man-refpages-alist.
9339 (Man-build-section-alist, Man-build-references-alist):
9340 Use them; avoid aput.
9341 (Man--last-section, Man--last-refpage): New vars.
9342 (Man-follow-manual-reference): Use them.
9343 Use the `default' arg of completing-read.
9344 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
9346 2012-04-27 Chong Yidong <cyd@gnu.org>
9348 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9350 * startup.el (x-apply-session-resources): New function.
9352 * term/ns-win.el (ns-initialize-window-system):
9353 * term/w32-win.el (w32-initialize-window-system):
9354 * term/x-win.el (x-initialize-window-system): Use it to properly
9355 set menu-bar-mode and other vars from X resources, even if the
9356 initial frame is not a window-system frame (Bug#2299).
9358 * subr.el (read-key): Avoid running filter function when setting
9359 up temporary tool bar entries (Bug#9922).
9361 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
9363 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9366 2012-04-27 Chong Yidong <cyd@gnu.org>
9368 * select.el (xselect--encode-string): New function, split from
9369 xselect-convert-to-string.
9370 (xselect-convert-to-string): Use it.
9371 (xselect-convert-to-filename, xselect-convert-to-os)
9372 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9373 returned strings are properly encoded (Bug#11315).
9375 2012-04-27 Chong Yidong <cyd@gnu.org>
9377 * simple.el (delete-active-region): Move to killing custom group.
9379 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
9381 * progmodes/which-func.el (which-func-current): Quote %
9382 characters for mode-line processing.
9384 2012-04-27 Chong Yidong <cyd@gnu.org>
9386 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9387 reaching eob (Bug#11286).
9389 2012-04-27 Eli Zaretskii <eliz@gnu.org>
9391 * progmodes/gdb-mi.el (gdb-control-level): New variable.
9392 (gdb): Make it buffer-local and init to zero.
9393 (gdb-control-commands-regexp): New variable.
9394 (gdb-send): Don't wrap in "-interpreter-exec console" if
9395 gdb-control-level is positive. Increment gdb-control-level
9396 whenever the command matches gdb-control-commands-regexp, and
9397 decrement it each time the command is "end". (Bug#11279)
9399 2012-04-27 Martin Rudalics <rudalics@gmx.at>
9401 * window.el (adjust-window-trailing-edge, enlarge-window)
9402 (shrink-window, window-resize):
9403 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9404 windows (Bug#11276).
9406 2012-04-27 Chong Yidong <cyd@gnu.org>
9408 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
9409 fix "missing prefix" warning. All callers changed.
9411 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9413 * emacs-lisp/assoc.el: Move to obsolete/.
9415 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9417 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
9419 * term/ns-win.el (ns-define-service):
9420 * progmodes/pascal.el (pascal-goto-defun):
9421 * progmodes/js.el (js--read-tab):
9422 * progmodes/etags.el (tags-lazy-completion-table):
9423 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9424 * emacs-lisp/ewoc.el (ewoc--wrap):
9425 * emacs-lisp/assoc.el (aput, adelete, amake):
9426 * doc-view.el (doc-view-convert-current-doc):
9427 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9429 2012-04-26 Chong Yidong <cyd@gnu.org>
9431 * image.el (image-type-from-buffer): Only return supported image
9434 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9435 value, for symmetry with diff-end-of-hunk.
9436 (diff-split-hunk, diff-find-source-location)
9437 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9438 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9439 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9440 compute the relevant hunk or file properly (Bug#6005).
9441 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9443 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9452 * vc/vc.el: Replace lexical-let by lexical-binding.
9453 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9454 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9455 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9457 2012-04-26 Chong Yidong <cyd@gnu.org>
9459 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9460 (diff-mode-shared-map): Bind it to / and [remap undo].
9462 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9463 (ediff-window-setup-function): Use it as the default, to set up
9464 windows based on whether the current frame is graphical (Bug#2138).
9465 (ediff-choose-window-setup-function-automatically): Make obsolete.
9467 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9469 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9471 * ffap.el: Remove old code for obsolete package.
9472 (ffap-complete-as-file-p): Remove.
9474 Use completion-table-with-quoting for comint and pcomplete.
9475 * comint.el (comint--unquote&requote-argument)
9476 (comint--unquote-argument, comint--requote-argument): New functions.
9477 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9478 (comint-quote-filename): Use regexp-opt-charset.
9479 (comint--common-suffix, comint--common-quoted-suffix)
9480 (comint--table-subvert): Remove.
9481 (comint-unquote-function, comint-requote-function): New vars.
9482 (comint--complete-file-name-data): Use them with
9483 completion-table-with-quoting.
9484 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9485 * pcomplete.el (pcomplete-arg-quote-list)
9486 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9487 (pcomplete-unquote-argument-function): Default to non-nil.
9488 (pcomplete-unquote-argument): Simplify.
9489 (pcomplete--common-quoted-suffix): Remove.
9490 (pcomplete-requote-argument-function): New var.
9491 (pcomplete--common-suffix): New function.
9492 (pcomplete-completions-at-point): Use completion-table-with-quoting
9493 and completion-table-subvert.
9495 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9496 (minibuffer--double-dollars): Preserve properties.
9497 (completion--sifn-requote): New function.
9498 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9500 * minibuffer.el: Add support for completion of quoted/escaped data.
9501 (completion-table-with-quoting, completion-table-subvert): New funs.
9502 (completion--twq-try, completion--twq-all): New functions.
9503 (completion--nth-completion): New function.
9504 (completion-try-completion, completion-all-completions): Use it.
9506 2012-04-25 Leo Liu <sdl.web@gmail.com>
9508 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9509 Use compilation-message if available to find real filename.
9511 2012-04-25 Chong Yidong <cyd@gnu.org>
9513 * vc/diff-mode.el (diff-setup-whitespace): New function.
9514 (diff-mode): Use it.
9516 * vc/diff.el (diff-sentinel):
9517 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9518 Whitespace mode variables based on diff style (Bug#8612).
9520 2012-04-25 Leo Liu <sdl.web@gmail.com>
9522 * progmodes/python.el (python-send-region): Add suffix .py to the
9525 * files.el (auto-mode-alist): Use javascript-mode instead.
9527 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9529 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
9531 * net/soap-client.el (soap-resolve-references-for-sequence-type)
9532 (soap-resolve-references-for-array-type): Hack to prevent self
9533 references, see Bug#9.
9534 (soap-parse-envelope): Report the contents of the 'detail' node
9535 when receiving a fault reply.
9536 (soap-parse-envelope): Report the contents of the entire 'detail' node.
9538 * net/soap-inspect.el (soap-sample-value-for-simple-type)
9539 (soap-inspect-simple-type): New function.
9541 * net/soap-client.el (soap-simple-type): New struct.
9542 (soap-default-xsd-types, soap-default-soapenc-types)
9543 (soap-decode-basic-type, soap-encode-basic-type):
9544 support unsignedInt and double basic types.
9545 (soap-resolve-references-for-simple-type)
9546 (soap-parse-simple-type, soap-encode-simple-type): New function.
9547 (soap-parse-schema): Parse xsd:simpleType declarations.
9549 * net/soap-client.el (soap-default-xsd-types)
9550 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9551 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9552 the local name of "soapenc:Array".
9553 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
9554 decoding integer, byte and anyURI xsd types.
9556 2012-04-25 Chong Yidong <cyd@gnu.org>
9558 * cus-edit.el (custom-buffer-create-internal): Update header text.
9560 2012-04-25 Eli Zaretskii <eliz@gnu.org>
9562 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9563 settings on 'system-type', not on 'window-system'. On MS-Windows,
9564 set interactive-mode on in GDB.
9566 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9568 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9569 (ruby-syntax-propertize-regexp): Remove.
9570 (ruby-syntax-propertize-function): Split regexp into chunks.
9571 Match following code directly.
9573 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9575 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9576 (ruby-syntax-propertize-regexp): New function.
9577 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9578 by a special keyword.
9580 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9581 (ruby-syntax-general-delimiters-goto-beg)
9582 (ruby-syntax-propertize-general-delimiters): New functions.
9583 (ruby-syntax-propertize-function): Use them to handle GDL.
9584 (ruby-font-lock-keywords): Move old handling of GDL...
9585 (ruby-font-lock-syntactic-keywords): .. to here.
9586 (ruby-calculate-indent): Adjust indentation for GDL.
9588 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
9590 * notifications.el (top): Remove unneeded declarations.
9591 (notifications-specification-version): Change to "1.2".
9592 (notifications-interface, notifications-notify-method)
9593 (notifications-close-notification-method): Fix docstring.
9594 (notifications-get-capabilities-method): New defconst.
9595 (notifications-notify): Add :action-items, :resident and
9596 :transient hints. Change "image_data" to "image-data" and
9597 "image_path" to "image-path".
9598 (notifications-get-capabilities): New defun.
9600 2012-04-24 Leo Liu <sdl.web@gmail.com>
9602 * progmodes/python.el: Move hideshow setup to the end.
9604 2012-04-24 Martin Rudalics <rudalics@gmx.at>
9606 * window.el (handle-select-window): Clear echo area since this is
9607 no more done by read_char (Bug#11304).
9609 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9611 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9612 and `/ M' to filter-derived-mode.
9613 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9614 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9615 (ibuffer-mark-by-mode): Use default rather than initial-input.
9616 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9618 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9620 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9621 (ibuffer-filter-by-derived-mode): New filter.
9622 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9624 2012-04-23 Andreas Politz <politza@fh-trier.de>
9626 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9628 2012-04-23 Chong Yidong <cyd@gnu.org>
9630 * cus-edit.el (customize-apropos, customize-apropos-options):
9631 Disable matching of non-option variables (Bug#11176).
9632 (customize-option, customize-option-other-window)
9633 (customize-changed-options): Doc fix.
9634 (customize-apropos-options, customize-apropos-faces)
9635 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9637 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
9638 Fix word list splitting (Bug#11132).
9639 (apropos-symbol, apropos-keybinding, apropos-label)
9640 (apropos-property, apropos-function-button)
9641 (apropos-variable-button, apropos-misc-button): New faces.
9642 (apropos-symbol-face, apropos-keybinding-face)
9643 (apropos-label-face, apropos-property-face, apropos-match-face):
9644 Variables removed (Bug#8396).
9645 (apropos-library-button, apropos-format-plist, apropos-print)
9646 (apropos-print-doc, apropos-describe-plist): Callers changed.
9648 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
9650 * net/xesam.el (xesam-mode-map): Use let-bound map in
9651 initialization. (Bug#11292)
9653 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9655 Preserve ispell session localwords when switching back to
9658 * textmodes/ispell.el (ispell-buffer-session-localwords):
9659 New buffer-local variable to hold buffer session localwords.
9660 (ispell-kill-ispell): Add option 'clear to delete session
9662 (ispell-command-loop, ispell-change-dictionary)
9663 (ispell-buffer-local-words): Preserve session localwords when
9666 * textmodes/flyspell.el (flyspell-process-localwords)
9667 (flyspell-do-correct): Preserve session localwords when needed.
9669 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9671 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9672 using obsolete `translation-table-for-input'.
9673 (ispell-word, ispell-process-line, ispell-complete-word):
9674 Use plain `insert' instead of removed `ispell-insert-word'.
9676 2012-04-22 Chong Yidong <cyd@gnu.org>
9678 * cus-edit.el (custom-variable-menu)
9679 (custom-variable-reset-saved, custom-face-menu)
9680 (custom-face-reset-saved): If there is no saved value, make the
9681 "reset-saved" operation bring back the default (Bug#9509).
9682 (custom-face-state): Properly detect themed faces.
9684 * faces.el (face-spec-set): Stop supporting deprecated form of
9687 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
9689 Move functions from C to Lisp. Make non-blocking method calls
9690 the default. Implement further D-Bus standard interfaces.
9692 * net/dbus.el (dbus-message-internal): Declare function.
9693 Remove unneeded function declarations.
9694 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9695 (dbus-message-type-method-return, dbus-message-type-error)
9696 (dbus-message-type-signal): Declare variables. Remove local
9698 (dbus-interface-dbus, dbus-interface-peer)
9699 (dbus-interface-introspectable, dbus-interface-properties)
9700 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9702 (dbus-interface-objectmanager): New defconst.
9703 (dbus-call-method, dbus-call-method-asynchronously)
9704 (dbus-send-signal, dbus-method-return-internal)
9705 (dbus-method-error-internal, dbus-register-service)
9706 (dbus-register-signal, dbus-register-method): New defuns, moved
9708 (dbus-call-method-handler, dbus-setenv)
9709 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9711 (dbus-call-method-non-blocking): Make it an obsolete function.
9712 (dbus-unregister-object, dbus-unregister-service)
9713 (dbus-handle-event, dbus-register-property)
9714 (dbus-property-handler): Obey the new structure of
9715 `bus-registered-objects'.
9716 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9717 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9718 Use `dbus-call-method'.
9720 2012-04-22 Chong Yidong <cyd@gnu.org>
9722 * cus-edit.el (custom-commands, custom-reset-menu)
9723 (Custom-reset-standard): Tweak labels.
9724 (custom-reset-button-menu): Change default to t.
9725 (custom-buffer-create-internal): For the custom-reset-button-menu
9726 case, put the revert button first.
9727 (custom-group-subtitle): New face.
9728 (custom-group-value-create): Align docstring to a specific column.
9730 * wid-edit.el (widget-documentation-link-add): Don't handle
9731 indentation in this function.
9732 (widget-documentation-string-indent-to): New function.
9733 (widget-documentation-string-value-create): Use it.
9735 * autorevert.el (auto-revert):
9736 * epg-config.el (epg):
9737 * ibuffer.el (ibuffer):
9740 * eshell/eshell.el (eshell):
9741 * net/ange-ftp.el (ange-ftp):
9742 * progmodes/ebnf2ps.el (postscript):
9743 * progmodes/flymake.el (flymake):
9744 * progmodes/prolog.el (prolog):
9745 * progmodes/verilog-mode.el (verilog-mode):
9746 * progmodes/which-func.el (which-func):
9747 * term/xterm.el (xterm):
9748 * textmodes/picture.el (picture):
9749 * textmodes/tildify.el (tildify):
9750 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9751 customization buffers.
9753 2012-04-22 Alan Mackenzie <acm@muc.de>
9755 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9756 Adding a ) can hide the resulting (..) from searches. Fix it.
9757 Bound the backward search to the position of the existing (.
9759 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
9761 * progmodes/verilog-mode.el (verilog-mode): Check whether
9762 which-func-modes is t before adding verilog-mode.
9763 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9765 2012-04-21 Leo Liu <sdl.web@gmail.com>
9767 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
9769 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9771 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9772 filling of the last column of a table (Bug#5635).
9773 (woman-find-next-control-line): New arg, specifying an additional
9774 regexp component for the control line.
9775 (woman2-roff-buffer): Use it.
9776 (woman-break-table): New function.
9777 (woman2-TS): Use it.
9779 2012-04-21 Chong Yidong <cyd@gnu.org>
9781 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9782 (woman-horizontal-escapes, woman-negative-vertical-space)
9783 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9784 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9786 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9788 * minibuffer.el (completion-file-name-table): Complete user names.
9790 2012-04-20 Leo Liu <sdl.web@gmail.com>
9792 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9795 2012-04-20 Chong Yidong <cyd@gnu.org>
9797 * server.el (server-execute): Respect initial-buffer-choice if it
9798 is a string and there are no files to open (Bug#2825).
9799 (server-create-window-system-frame, server-create-tty-frame):
9800 Don't switch buffers here.
9801 (server-process-filter): Only try to open a window system frame if
9802 compiled with graphical support (Bug#8314).
9804 2012-04-20 Dan Nicolaescu <dann@gnu.org>
9806 * battery.el (battery-echo-area-format): Display remaining time
9807 for sysfs backend too (Bug#11269).
9808 (battery-linux-sysfs): Fix conditional for the charge.
9810 2012-04-20 Chong Yidong <cyd@gnu.org>
9812 * progmodes/gdb-mi.el (gdb): Revert previous change.
9813 (gdb-inferior-io--init-proc): New function.
9814 (gdb-init-1): Use it.
9815 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9816 responsible for allocating a new pty and hooking it to gdb when
9817 the old pty gets an EIO due to process exit.
9818 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9819 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9820 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9822 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9824 * window.el (window-min-size, window-sizable, window-min-delta)
9825 (window-max-delta, window--resizable, window-resizable)
9826 (window-total-size, window-full-height-p, window-full-width-p)
9827 (window-in-direction, window--resize-mini-window, window-resize)
9828 (window--resize-child-windows-normal)
9829 (window--resize-child-windows, window--resize-siblings)
9830 (window--resize-this-window, adjust-window-trailing-edge)
9831 (enlarge-window, shrink-window): Doc fixes.
9833 2012-04-20 Chong Yidong <cyd@gnu.org>
9835 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9836 New function to call delete-process on the gdb-inferior buffer's pty.
9837 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9838 pty process (Bug#11273).
9839 (gdb-update): New arg to suppress talking to the gdb process.
9840 (gdb-done-or-error): Use it.
9841 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9842 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9843 sentinel not being called.
9845 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9847 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9849 2012-04-20 Glenn Morris <rgm@gnu.org>
9851 * net/network-stream.el (open-network-stream): Doc fix.
9853 2012-04-20 Chong Yidong <cyd@gnu.org>
9855 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9857 2012-04-20 Alan Mackenzie <acm@muc.de>
9859 Ensure searching for keywords is case sensitive.
9861 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9862 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9863 (c-defun-name, c-mark-function, c-cpp-define-name)
9864 (c-comment-indent, c-scan-conditionals, c-indent-defun)
9865 (c-context-line-break): Bind case-fold-search to nil.
9867 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9868 Bind case-fold-search to nil.
9870 2012-04-20 Chong Yidong <cyd@gnu.org>
9872 * mail/sendmail.el (mail-bury): Call return action with the right
9873 Rmail buffer (Bug#11242).
9875 * server.el (server-process-filter): Handle corner case where both
9876 tty and nowait options are present (Bug#11102).
9878 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9880 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
9881 (top level): Put into the executable the ident-style '$Id:' tag on
9884 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9886 * electric.el (electric-indent-post-self-insert-function): Check that
9887 electric-indent-mode is enabled in current buffer.
9889 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9891 * imenu.el (imenu-progress-message): Restore; it is "used" in
9892 erc/erc-imenu.el and net/snmp-mode.el.
9894 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9896 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9897 (mouse-avoidance-nudge-mouse): Remove unused binding.
9899 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9901 * descr-text.el (describe-char):
9902 * progmodes/python.el (python-describe-symbol):
9903 Don't call `toggle-read-only', set `buffer-read-only'.
9905 * imenu.el (imenu-default-goto-function): Mark unused args.
9906 (imenu-progress-message): Remove obsolete macro; all callers changed.
9908 * subr.el (keymap-canonicalize): Remove unused binding.
9909 (read-passwd): Mark unused arg.
9911 * tutorial.el (tutorial--display-changes): Remove unused binding.
9912 (tutorial--save-tutorial-to): Remove unused variable.
9914 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9915 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9916 (package-generate-autoloads, package-menu--generate)
9917 (package-menu--find-upgrades): Remove unused bindings.
9919 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9920 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9921 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9922 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9923 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9924 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9925 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9926 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9927 (cua-delete-char-rectangle): Mark unused args.
9928 (cua-align-rectangle): Remove unused binding.
9930 * mail/rmail.el (compilation--message->loc)
9931 (epa--find-coding-system-for-mime-charset): Declare.
9933 * net/dbus.el (dbus-register-service): Declare.
9934 (dbus-name-owner-changed-handler): Remove unused binding.
9936 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9937 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9938 (nxml-scan-backward-within): Mark unused arg.
9939 (nxml-dynamic-markup-word): Remove unused binding.
9941 * mouse.el (mouse-menu-major-mode-map):
9942 * emacs-lisp/authors.el (authors-scan-change-log)
9943 (authors-add-to-author-list):
9944 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9945 * emacs-lisp/smie.el (smie-auto-fill):
9946 * mail/sendmail.el (mail-bury):
9947 * mail/unrmail.el (unrmail):
9948 * net/tls.el (open-tls-stream):
9949 * textmodes/picture.el (picture-mouse-set-point):
9950 Remove unused bindings.
9952 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
9954 * net/tramp.el (tramp-action-password): Let-bind
9955 `enable-recursive-minibuffers' to t.
9957 2012-04-18 Sam Steingold <sds@gnu.org>
9959 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9960 instead of 'string to accommodate values like [f11].
9961 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9962 * progmodes/gdb-mi.el: Likewise.
9964 2012-04-18 Leo Liu <sdl.web@gmail.com>
9966 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9968 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9971 2012-04-18 Chong Yidong <cyd@gnu.org>
9973 * simple.el (line-move): Use forward-line if in batch mode
9976 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9978 * files.el (after-find-file): Do not try to add a final newline if
9979 the buffer is read-only (Bug#11156).
9981 2012-04-17 Richard Stallman <rms@gnu.org>
9983 * mail/rmail.el (rmail-start-mail):
9984 Pass (rmail-mail-return...) for the return-action.
9985 Pass (rmail-yank-current-message...) for the yank-action.
9986 (rmail-yank-current-message): New function.
9987 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9988 (rmail-reply): Likewise.
9989 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9991 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
9992 buffer, not the last. Reject temp buffers. Use the rmail-mode
9995 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
9997 * server.el (server-ensure-safe-dir): Simplify.
9999 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10001 * emacs-lisp/smie.el: Provide smarter auto-filling.
10002 (smie-auto-fill): New function.
10003 (smie-setup): Use it.
10005 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
10007 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
10009 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
10010 (comment-indent): Use it.
10012 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
10014 * ses.el: The overall change is to add cell renaming, that is
10015 setting fancy names for cell symbols other than name matching
10016 "\\`[A-Z]+[0-9]+\\'" regexp .
10017 (ses-localvars): Add ses--renamed-cell-symb-list.
10018 (ses-create-cell-variable): New defun.
10019 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
10020 (ses-relocate-formula): Relocate formulas only for cells the
10021 symbols of which are not renamed, i.e. symbols whose names do not
10022 match regexp "\\`[A-Z]+[0-9]+\\'".
10023 (ses-relocate-all): Relocate values only for cells the symbols of
10024 which are not renamed.
10025 (ses-load): Create cells variables as the (ses-cell ...) are read,
10026 in order to check row col consistency with cell symbol name only
10027 for cells that are not renamed.
10028 (ses-replace-name-in-formula): New defun.
10029 (ses-rename-cell): New defun.
10031 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
10033 * progmodes/perl-mode.el (perl-indent-parens-as-block):
10034 New option (bug#11118).
10035 (perl-calculate-indent): Respect it.
10037 2012-04-17 Glenn Morris <rgm@gnu.org>
10039 * dired-aux.el (dired-mark-read-string): Doc fix.
10041 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
10043 * dired-aux.el (dired-mark-read-string): Offer optional completion.
10044 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
10046 2012-04-17 Glenn Morris <rgm@gnu.org>
10048 * mouse.el (mouse-drag-track):
10049 * speedbar.el (speedbar-frame-mode):
10050 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10052 2012-04-16 Leo Liu <sdl.web@gmail.com>
10054 * progmodes/python.el: Trivial cleanup.
10056 2012-04-16 Glenn Morris <rgm@gnu.org>
10058 * vc/vc.el (vc-string-prefix-p):
10059 * vc/pcvs-util.el (cvs-string-prefix-p):
10060 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10061 * mpc.el (mpc-string-prefix-p):
10062 Make all of these into obsolete aliases for string-prefix-p.
10064 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10066 * textmodes/two-column.el: Move custom options to the start.
10067 (frame-width): Remove compat definition.
10068 (2C-associate-buffer, 2C-dissociate):
10069 Use with-current-buffer rather than save-excursion.
10070 (2C-dissociate): Force a mode-line update.
10071 (2C-autoscroll): Use ignore-errors.
10073 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10076 * emacs-lisp/cl-extra.el (*random-state*):
10077 Remove unnecessary declaration.
10079 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10081 * play/cookie1.el (cookie-snarf):
10082 Give an explicit error if input file cannot be read.
10084 * play/yow.el (yow-file): Use expand-file-name rather than concat.
10086 * progmodes/perl-mode.el (c-macro-expand):
10087 Remove unnecessary autoload (it is in loaddefs.el).
10089 * textmodes/picture.el (picture-desired-column)
10090 (picture-update-desired-column): Convert comments to doc-strings.
10091 (picture-substitute): Remove function.
10092 (picture-mode-map): Initialize in the defvar.
10094 * woman.el: Remove eval-after-load for tar-mode.
10095 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10096 (woman-tar-extract-file): Autoload it.
10098 * frame.el (automatic-hscrolling): Make this alias obsolete.
10100 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10102 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
10103 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
10104 (ispell-dictionary-base-alist): Revert to original XEmacs
10105 friendly version for default. [:alpha:] will be added in
10106 `ispell-set-spellchecker-params' if needed.
10108 2012-04-16 Chong Yidong <cyd@gnu.org>
10110 * image.el (imagemagick--file-regexp): New variable.
10111 (imagemagick-register-types): Use it.
10112 (imagemagick-types-inhibit): Add :set function. Allow new value
10113 of t to inhibit all types.
10115 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10116 so we can preload it.
10118 * loadup.el (fboundp): Preload regexp-opt, needed by
10119 imagemagick-register-types.
10121 2012-04-15 Chong Yidong <cyd@gnu.org>
10123 * frame.el (scrolling): Remove nearly unused customization group.
10125 * scroll-all.el (scroll-all-mode): Move to windows group.
10127 2012-04-15 Chong Yidong <cyd@gnu.org>
10129 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10131 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10133 Avoid the use of ((lambda ...) ...) in lexical-binding code.
10134 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
10136 2012-04-15 Glenn Morris <rgm@gnu.org>
10138 * simple.el (process-file-side-effects): Doc fix.
10140 2012-04-15 Glenn Morris <rgm@gnu.org>
10142 * international/mule-cmds.el (set-language-environment): Doc fix.
10144 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
10146 * server.el (server-auth-key, server-generate-key): Doc fixes.
10147 (server-get-auth-key): Doc fix. Use `string-match-p'.
10148 (server-start): Reflow docstring.
10150 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
10152 * server.el (server-generate-key): `called-interactively-p'
10153 requires a parameter.
10155 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
10157 * server.el (server-auth-key): New variable.
10158 (server-generate-key, server-get-auth-key): New function.
10159 (server-start): Use the new variable and functions to allow
10160 setting a permanent server key (bug#9423).
10162 2012-04-14 Leo Liu <sdl.web@gmail.com>
10164 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10166 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
10169 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10170 Emacs uses American spelling.
10172 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
10174 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10175 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
10176 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10177 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
10179 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10181 * progmodes/which-func.el (which-func-modes): Change default.
10183 2012-04-14 Kim F. Storm <storm@cua.dk>
10185 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10186 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10188 2012-04-14 Chong Yidong <cyd@gnu.org>
10190 * custom.el (custom-theme-set-variables): Doc fix.
10192 2012-04-14 Glenn Morris <rgm@gnu.org>
10194 * international/mule.el (set-auto-coding-for-load): Doc fix.
10196 2012-04-14 Alan Mackenzie <acm@muc.de>
10198 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10199 imenu work again for Objective C Mode. Correct the *-index values,
10200 these having been disturbed by a previous change in 2011-08.
10202 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10203 Correct two search limits.
10205 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10207 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10209 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
10211 * international/characters.el: Fix sorting.
10213 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10215 * international/characters.el: Add more missing Latin case pairs.
10217 2012-04-14 Glenn Morris <rgm@gnu.org>
10219 * files.el (dir-locals-set-class-variables): Doc fix.
10221 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10223 * international/characters.el: Add set-case-syntax-pair call for
10224 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10225 counterpart. (Bug#11209)
10227 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
10229 2012-04-14 Glenn Morris <rgm@gnu.org>
10231 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10233 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10235 * textmodes/ispell.el (ispell-dictionary-base-alist):
10236 Add data for Hebrew.
10238 2012-04-14 Chong Yidong <cyd@gnu.org>
10240 * net/rcirc.el (rcirc-cmd-quit):
10241 Revert 2012-03-18 change (Bug#11192).
10243 2012-04-14 Glenn Morris <rgm@gnu.org>
10245 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10247 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10249 * minibuffer.el (completion-in-region-mode-map):
10250 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
10252 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10254 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10256 2012-04-13 Masatake YAMATO <yamato@redhat.com>
10258 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10259 to allow `C-M-f' and `C-M-b' to move to the nearest path
10260 separator (bug#9511).
10262 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10264 * avoid.el: Require cl when compiling. And also move the
10265 `provide' to the end.
10267 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10269 * avoid.el (mouse-avoidance-banish-position): New variable.
10270 (mouse-avoidance-banish-destination): Use it (bug#10165).
10272 2012-04-13 Leo Liu <sdl.web@gmail.com>
10274 * progmodes/which-func.el (which-func-modes): Add objc-mode.
10276 2012-04-13 Ken Brown <kbrown@cornell.edu>
10278 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
10279 this is no longer needed now that cygstart understands file:// URLs.
10280 (browse-url-filename-alist): For the same reason, don't modify
10281 file:// URLs on Cygwin.
10283 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10285 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10286 the region on shift if the binding is already shifted (bug#11221).
10288 2012-04-12 Glenn Morris <rgm@gnu.org>
10290 * mail/mailpost.el: Move to obsolete/.
10292 2012-04-12 Drew Adams <drew.adams@oracle.com>
10294 * imenu.el (imenu--generic-function): Ignore invisible definitions
10297 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
10299 * hexl.el (hexl-bits): New variable.
10300 (hexl-options): Mention the variable in the doc string.
10301 (hexl-rulerise, hexl-line-displen): New functions.
10302 (hexl-mode): Mention the new variable.
10303 (hexl-mode, hexl-current-address, hexl-current-address):
10305 (hexl-ascii-start-column): New function.
10306 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10307 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10309 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10311 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10312 '("-i" ENCODING), in 2 separate command-line arguments, to specify
10313 the encoding, as expected by hunspell.
10315 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10317 * battery.el (battery--linux-sysfs-regexp): New const.
10318 (battery-status-function): Use it. Remove yeeloong special case.
10319 (battery-yeeloong-sysfs): Remove.
10320 (battery-echo-area-format): Remove yeeloong special case.
10322 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10324 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10325 Reported by Noah Friedman.
10327 * subr.el (read-passwd): Use read-string.
10329 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10331 * vcursor.el (vcursor-move): Increase the priority of the overlay
10334 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10336 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10337 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10339 2012-04-11 William Stevenson <yhvh2000@gmail.com>
10341 * textmodes/artist.el (artist-mode): Convert artist-mode to use
10342 define-minor-mode (bug#10760).
10344 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10346 * progmodes/grep.el (rgrep): Tweak the find command line so
10347 that directories matching `grep-find-ignored-files' won't be
10348 pruned (bug#10351).
10350 2012-04-11 Chong Yidong <cyd@gnu.org>
10352 * startup.el (command-line): Remove support for long-obsolete
10353 variable font-lock-face-attributes.
10355 2012-04-11 Glenn Morris <rgm@gnu.org>
10357 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10359 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10361 * window.el (window--state-get-1): Obey window-point-insertion-type.
10363 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
10365 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10366 to previous function when point is on the first character of a
10367 function. Take care of that in `narrow-to-defun' (bug#6157).
10369 2012-04-11 Glenn Morris <rgm@gnu.org>
10371 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10372 not just file-errors.
10374 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10375 (vc-bzr-sha1): Use internal sha1.
10377 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10379 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10381 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
10383 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10384 that start in the middle of the line (bug#10496).
10386 2012-04-10 Dan Nicolaescu <dann@gnu.org>
10388 * battery.el (battery-linux-proc-acpi): Only one battery is
10389 discharged at a time, but that seems to confuse battery.el when
10390 computing `rate-type' for the battery not being discharged
10393 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10395 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10397 * international/quail.el: Use dolist and simplify.
10398 (quail-define-package, quail-update-keyboard-layout)
10399 (quail-define-rules): Use dolist.
10400 (quail-insert-kbd-layout, quail-get-translation): CSE.
10402 * tmm.el: Use dolist, remove left over hook.
10403 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10405 (calendar-load-hook): Don't mess with it.
10407 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10408 Use derived-mode-p. Run the diff asynchronously.
10410 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10412 * obsolete/mouse-sel.el: Add an Obsolete-since header.
10414 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
10416 * misc.el: Display absolute path of loaded DLLs (bug#10424).
10417 (list-dynamic-libraries--loaded): New function.
10418 (list-dynamic-libraries--refresh): Use it.
10420 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
10422 * progmodes/python.el (python-fill-paragraph):
10423 Make python-fill-region in a multiline string work when font-lock is
10424 disabled (bug#7018).
10426 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
10428 * language/european.el (cp775): Add oem/legacy (en)coding on
10429 DOS/MS Windows for the Baltic languages. There are still plenty
10430 of texts written in this encoding/codepage (bug#6519).
10432 2012-04-10 Glenn Morris <rgm@gnu.org>
10434 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10435 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10437 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10439 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
10440 next-line "n" and previous-line "p" in order to make recentf more
10441 consistent with ibuffer, dired or org-mode (bug#9387).
10443 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10445 * image.el (put-image): Return the overlay created instead of the
10446 optional input string (bug#7834). Note that this may break code
10447 that is (for some reason or other) depending on `put-image'
10448 returning the string.
10450 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10452 * simple.el (zap-to-char): Allow zapping using input methods
10455 * textmodes/fill.el (fill-region): Leave point and mark where they
10456 were before filling (bug#5399).
10458 2012-04-09 Glenn Morris <rgm@gnu.org>
10460 * version.el (emacs-bzr-get-version):
10461 Handle lightweight checkouts of local branches.
10463 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10465 * international/characters.el: Recover lost case pairs. (Bug#11209)
10467 2012-04-09 Chong Yidong <cyd@gnu.org>
10469 * custom.el (custom-variable-p): Return nil for non-symbol
10470 arguments instead of signaling an error.
10471 (user-variable-p): Obsolete alias for custom-variable-p.
10473 * apropos.el (apropos-variable):
10474 * files-x.el (read-file-local-variable):
10475 * simple.el (set-variable):
10476 * woman.el (woman-mini-help):
10477 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10479 2012-04-09 Glenn Morris <rgm@gnu.org>
10481 * startup.el (normal-top-level): Don't look for leim-list.el
10482 in places where it will not be found. (Bug#910)
10484 * international/mule-cmds.el (set-default-coding-systems):
10485 * files.el (normal-mode):
10486 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10487 This function was removed with ucs-tables.el in 2008.
10489 2012-04-08 Eli Zaretskii <eliz@gnu.org>
10491 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10492 ispell-encoding8-command to "-i", without a trailing space.
10493 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10494 separate command-line arguments, to specify the encoding, since
10495 that's how hunspell expects it.
10497 2012-04-08 Glenn Morris <rgm@gnu.org>
10499 * loadup.el: Load bindings before cus-start.
10500 This reduces somewhat the number of "rogue" settings in emacs -Q.
10502 2012-04-07 Glenn Morris <rgm@gnu.org>
10504 * version.el (emacs-bzr-get-version): New function.
10505 (emacs-bzr-version): New variable.
10506 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10507 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10509 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10511 * international/uni-bidi.el, international/uni-category.el:
10512 * international/uni-combining.el, international/uni-decimal.el:
10513 * international/uni-decomposition.el, international/uni-digit.el:
10514 * international/uni-lowercase.el, international/uni-mirrored.el:
10515 * international/uni-name.el, international/uni-numeric.el:
10516 * international/uni-titlecase.el, international/uni-uppercase.el:
10517 Update for Unicode 6.1.
10519 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10521 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10523 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10525 * window.el (shrink-window): Mention the `window-min-height'
10526 variable in the doc string.
10528 2012-04-05 Bastien Guerry <bzg@altern.org>
10530 * color.el (color-lighten-name): Fix typo.
10532 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10534 * server.el (server--on-display-p): New function.
10535 (server--on-display-p): Use it.
10537 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10539 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10542 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10544 * comint.el (comint--common-quoted-suffix): Check string boundary
10545 before comparing (bug#11158).
10546 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10548 2012-04-04 Chong Yidong <cyd@gnu.org>
10550 * minibuffer.el (completion-extra-properties): Doc fix.
10552 * subr.el (delayed-warnings-hook): Doc fix.
10554 2012-04-04 Daiki Ueno <ueno@unixuser.org>
10556 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10557 selection (Bug#11159).
10558 (epa-insert-keys): Inform that the default public key will be
10559 exported if no key is selected.
10561 2012-04-04 Richard Stallman <rms@gnu.org>
10563 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10565 2012-04-03 Chong Yidong <cyd@gnu.org>
10567 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10568 mail-insert-file, not its obsolete alias mail-attach-file.
10570 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
10572 * notifications.el (notifications-notify): Fix docstring.
10574 2012-04-02 Glenn Morris <rgm@gnu.org>
10576 * emacs-lisp/authors.el (authors-aliases): Another addition.
10578 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
10580 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10581 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10582 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10584 2012-04-01 Chong Yidong <cyd@gnu.org>
10586 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10587 Handle root directory properly.
10588 (copy-directory): Caller changed.
10590 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10591 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10593 2012-03-31 Glenn Morris <rgm@gnu.org>
10595 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10597 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10599 * calendar/calendar.el (calendar-window-list)
10600 (calendar-hide-window): Restore. (Bug#11140)
10601 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10603 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10605 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10607 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10608 Check if file is a symlink (Bug#10489).
10610 * files.el (copy-directory): Likewise.
10612 2012-03-30 Chong Yidong <cyd@gnu.org>
10614 * image.el (imagemagick-types-inhibit)
10615 (imagemagick-register-types): Doc fix.
10617 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10619 * textmodes/ispell.el (ispell-get-extended-character-mode):
10620 Disable extended-char-mode for hunspell. hunspell does not support it
10621 and treats ~word as ordinary words in pipe mode.
10623 2012-03-30 Glenn Morris <rgm@gnu.org>
10625 * tutorial.el (help-with-tutorial): Ensure local variables don't
10626 happen to make the buffer read-only. (Bug#11127)
10628 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10630 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10631 (perl-calculate-indent): Return `noindent' in strings.
10633 2012-03-28 Sam Steingold <sds@gnu.org>
10635 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10636 instead of the broken adhockery which does not prevent calendar
10637 buffers from being displayed at random after exit.
10638 (calendar-window-list, calendar-hide-window): Remove the broken
10641 2012-03-28 Glenn Morris <rgm@gnu.org>
10643 * replace.el (query-replace-map): Doc fix.
10645 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10647 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10648 contents. (Bug#11109)
10650 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10652 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10654 (avl-tree--check, avl-tree--check-node): New funs.
10656 2012-03-27 Martin Rudalics <rudalics@gmx.at>
10658 * window.el (switch-to-visible-buffer): New option.
10659 (switch-to-prev-buffer, switch-to-next-buffer):
10660 Observe switch-to-visible-buffer. Make sure that checking for a window
10661 showing a buffer already is done on the same frame.
10663 2012-03-27 Glenn Morris <rgm@gnu.org>
10665 * startup.el (mail-host-address): Doc fix.
10667 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10669 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10670 than 197 variables.
10672 2012-03-26 Ami Fischman <ami@fischman.org>
10674 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10676 2012-03-26 Glenn Morris <rgm@gnu.org>
10678 * files.el (save-buffers-kill-emacs): Doc fix.
10680 * startup.el (normal-top-level, command-line, command-line-1):
10681 Give them doc strings.
10683 2012-03-25 Eli Zaretskii <eliz@gnu.org>
10685 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
10686 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
10688 2012-03-25 Chong Yidong <cyd@gnu.org>
10690 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10691 theme if it was previously enabled before (Bug#11031).
10693 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10694 spec with custom-face-get-current-spec if its :shown-value is not
10695 determined yet (Bug#9337).
10696 (customize-create-theme, custom-theme-revert): Doc fixes.
10698 * button.el (button-at): Minor addition to docstring.
10700 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
10702 * vc/vc.el (vc-merge): Fix a prompt.
10704 2012-03-24 Chong Yidong <cyd@gnu.org>
10706 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10709 * button.el (button-at): Minor addition to docstring.
10711 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10713 * newcomment.el (comment-choose-indent): No space after BOL.
10715 2012-03-22 Sam Steingold <sds@gnu.org>
10717 * window.el (switch-to-prev-buffer): Revert last patch because the
10718 bug turned out to be an advertised feature (Elisp manual 28.14).
10720 2012-03-22 Glenn Morris <rgm@gnu.org>
10722 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10723 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10725 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10727 * net/network-stream.el (network-stream-open-starttls): Make error
10728 message under Windows be less misleading.
10730 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10732 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10733 understands (bug#9942).
10735 2012-03-22 Chong Yidong <cyd@gnu.org>
10737 * simple.el (end-of-visible-line): Handle return value of
10738 next-single-property-change properly (Bug#9371).
10740 2012-03-22 Kenichi Handa <handa@m17n.org>
10742 * international/quail.el (quail-insert-kbd-layout): Fix previous
10743 change. To avoid unwanted bidi reordering, use
10744 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10746 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10748 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10749 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10750 (ruby-beginning-of-indent): Be more careful with the difference
10751 between word-boundary and symbol boundary.
10752 (ruby-mode-syntax-table): Make : a symbol constituent.
10754 2012-03-21 Andreas Politz <politza@fh-trier.de>
10756 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10758 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10760 * progmodes/etags.el (tags-completion-at-point-function):
10763 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10765 2012-03-21 Sam Steingold <sds@gnu.org>
10767 * progmodes/etags.el (tags-completion-at-point-function):
10768 Avoid the error when point is inside the pattern.
10770 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10772 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10775 2012-03-21 Drew Adams <drew.adams@oracle.com>
10777 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10779 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10781 * ido.el (ido-set-current-directory, ido-read-internal)
10782 (ido-choose-completion-string, ido-completion-help): Handle nil
10783 value of ido-completion-buffer (Bug#11008).
10785 2012-03-21 Sam Steingold <sds@gnu.org>
10787 * window.el (switch-to-prev-buffer): Do not switch to a visible
10788 window previous buffer, just like with the frame previous buffers.
10790 2012-03-21 Chong Yidong <cyd@gnu.org>
10792 * faces.el (make-face, make-empty-face, copy-face):
10793 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10796 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10798 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10799 (widget-complete): Remove broken use of it.
10801 2012-03-20 Chong Yidong <cyd@gnu.org>
10803 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10804 Use string-width and truncate-string-width to handle arbitrary
10807 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10809 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10810 to draw rectangles, not squares. (Regression introduced by revno
10811 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10813 2012-03-18 Chong Yidong <cyd@gnu.org>
10815 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10816 it is not yet defined (for temacs).
10818 2012-03-18 Leo Liu <sdl.web@gmail.com>
10820 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10823 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10825 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10826 (ispell-choices-win-default-height, ispell-silently-savep)
10827 (ispell-dictionary-alist, ispell-encoding8-command)
10828 (ispell-check-version, ispell-aspell-find-dictionary)
10829 (ispell-valid-dictionary-list, ispell-words-keyword)
10830 (ispell-get-word, ispell-internal-change-dictionary)
10831 (ispell-region, ispell-skip-region-list)
10832 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10833 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10834 (ispell-message-text-end, ispell-message)
10835 (ispell-buffer-local-parsing): Doc fix.
10837 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
10839 * htmlfontify.el: Add support for code block fontification for ODT
10840 export (Bug #9914).
10841 (hfy-optimisations): Define new option
10843 (hfy-fontify-buffer): Honor above setting.
10844 (hfy-begin-span, hfy-end-span): New routines factored out form
10845 `hfy-fontify-buffer'.
10846 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10847 that permit insertion of custom tags.
10848 (hfy-fontify-buffer): Use above handlers.
10849 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10850 (hfy-face-to-css): Re-defined to be a variable.
10851 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
10852 over multiple runs. This is made possible by having the caller let
10853 bind a special variable `hfy-user-sheet-assoc'.
10854 (htmlfontify-string): New defun.
10855 (hfy-compile-face-map): Make sure that the last char in the
10856 buffer is correctly fontified.
10857 (hfy-face-resolve-face): Whitespace only change.
10859 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10861 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10862 message more clear.
10864 2012-03-16 Leo Liu <sdl.web@gmail.com>
10866 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10868 2012-03-16 Alan Mackenzie <acm@muc.de>
10870 Further optimise the handling of large macros.
10872 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10873 limit to a call of `c-literal-limits'.
10874 (c-determine-+ve-limit): New function.
10875 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10876 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
10877 In CASE 5B, restrict a search limit to 500.
10878 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10880 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10881 Restrict macro bounds to +-500 from after-change's BEG END.
10883 2012-03-16 Leo Liu <sdl.web@gmail.com>
10885 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10887 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10889 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
10890 `special-mode' setting of `buffer-read-only'. (Bug#11010)
10892 2012-03-16 Glenn Morris <rgm@gnu.org>
10894 * view.el (view-buffer, view-buffer-other-window)
10895 (view-buffer-other-frame): Doc fixes re special mode-class.
10897 * subr.el (eval-after-load): If named feature is provided not from
10898 a file, run after-load forms. (Bug#10946)
10900 * calendar/calendar.el (calendar-insert-at-column):
10901 Handle non-unit-width characters a bit better. (Bug#10978)
10903 2012-03-15 Chong Yidong <cyd@gnu.org>
10905 * emacs-lisp/ring.el (ring-extend): New function.
10906 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10908 * comint.el (comint-read-input-ring)
10909 (comint-add-to-input-history): Grow comint-input-ring lazily.
10911 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10913 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10914 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10916 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10917 (imenu-add-to-menubar): Don't add a redundant index.
10918 (imenu-update-menubar): Handle a dynamically composed keymap.
10920 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10922 * mail/sendmail.el (mail-encode-header):
10923 Bind rfc2047-encode-encoded-words to nil.
10925 2012-03-13 Glenn Morris <rgm@gnu.org>
10927 * calendar/calendar.el (calendar-string-spread):
10928 Handle non-unit-width characters a bit better. (Bug#10978)
10930 2012-03-13 Leo Liu <sdl.web@gmail.com>
10932 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10933 directory and file as argument (Bug#10822).
10935 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10937 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10938 For dynamically generated code, follow $PC.
10939 (gdb-disassembly-handler-custom): Handle no function name case.
10941 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10943 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10944 * emulation/ws-mode.el (ws-query-replace):
10945 * sort.el (sort-regexp-fields):
10946 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10948 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10950 * dabbrev.el: Fix cycle completion order (bug#10963).
10951 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10952 (dabbrev-completion): Don't use an obarray; provide
10953 a cycle-sort-function.
10955 2012-03-12 Leo Liu <sdl.web@gmail.com>
10957 * simple.el (kill-new): Use equal-including-properties for comparison.
10958 (kill-do-not-save-duplicates): Doc fix.
10960 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10962 * dabbrev.el: Fix cycle completion (bug#10963).
10963 Use lexical binding and wrap to 80 columns.
10964 (dabbrev-completion): Delay computing the list of completions.
10966 2012-03-12 Kenichi Handa <handa@m17n.org>
10968 * international/quail.el (quail-insert-kbd-layout): Surround each
10969 row by LRO and PDF instead of inserting many LRMs. Pad the left
10970 and right of each non-spacing marks. Insert invisible space
10971 between lower and upper characters to prevent composition.
10973 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10975 * minibuffer.el (minibuffer-complete): Don't get confused when the
10976 function is run twice via different commands (bug#10958).
10977 (complete-with-action): Fix docstring.
10979 2012-03-12 Chong Yidong <cyd@gnu.org>
10981 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10982 (nxml-completion-at-point-function): New function.
10983 (nxml-mode): Use it.
10984 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10986 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10987 Load generated autoloads file before byte compiling (Bug#10970).
10988 (package--make-autoloads-and-compile): New helper fun.
10990 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10992 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10994 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
10996 * autorevert.el (auto-revert-handler): Ensure, that
10997 file-readable-p is applied only for local files or in
10998 auto-revert-tail-mode.
11000 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
11002 * server.el (server-eval-at): Handle non-tcp connections.
11003 Decode result string.
11005 * server.el (server-msg-size): New constant.
11006 (server-reply-print): New function.
11007 (server-eval-and-print): Use it.
11008 (server-eval-at): Use server-quote-arg and server-unquote-arg.
11009 Handle -print-nonl.
11011 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
11013 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
11016 2012-03-11 Chong Yidong <cyd@gnu.org>
11018 * simple.el (goto-line): Doc fix (Bug#9938).
11020 * subr.el (save-window-excursion): Doc fix (Bug#9979).
11022 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11023 when finished (Bug#10963).
11025 2012-03-11 Martin Rudalics <rudalics@gmx.at>
11027 * window.el (split-window-below): Fix bug in case where
11028 split-window-keep-point is nil (Bug#10971).
11030 2012-03-11 Juri Linkov <juri@jurta.org>
11032 * replace.el (replace-highlight): Set isearch-word to nil
11033 unconditionally. (Bug#10887)
11035 2012-03-10 Eli Zaretskii <eliz@gnu.org>
11037 * net/mairix.el (mairix-replace-invalid-chars): Rename from
11038 mairix-replace-illegal-chars; all callers changed. Don't remove
11039 ^, ~, and = characters: they are meaningful in mairix search specs.
11040 (mairix-widget-create-query): Add usage information about mairix
11041 search forms: negating words, searching for substrings, etc.
11043 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
11045 * international/fontset.el (font-encoding-alist): Add an entry for
11046 ksx1001 (Bug#5667).
11048 2012-03-10 Richard Stallman <rms@gnu.org>
11050 * mail/sendmail.el (mail-encode-header):
11051 Set rfc2047-encode-encoded-words.
11053 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11055 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11056 view buffer means not swapped.
11057 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11058 (rmail-write-region-annotate): Error if real text has disappeared.
11060 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11062 2012-03-10 Chong Yidong <cyd@gnu.org>
11064 * emulation/cua-rect.el (cua--init-rectangles):
11065 * emulation/cua-base.el (cua--init-keymaps):
11066 Add delete-forward-char to remappings (Bug#9666).
11068 2012-03-10 Martin Rudalics <rudalics@gmx.at>
11070 * speedbar.el (speedbar-unhighlight-one-tag-line):
11071 Avoid unhighlighting due to frame switching (Bug#10275).
11073 2012-03-10 Chong Yidong <cyd@gnu.org>
11075 * minibuffer.el (completion-in-region, completion-help-at-point):
11076 Give the completion field overlay a high priority (Bug#6830).
11078 * dired.el (dired-goto-file): Recognize absolute file name
11079 listings (Bug#7126).
11080 (dired-goto-file-1): New helper function.
11081 (dired-toggle-read-only): Inhibit warnings.
11083 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
11085 * net/dbus.el (dbus-property-handler): Return empty array if
11086 there are no properties.
11088 2012-03-09 Leo Liu <sdl.web@gmail.com>
11090 * savehist.el (savehist-printable): Stricter check for string
11093 2012-03-09 Eli Zaretskii <eliz@gnu.org>
11095 * mail/smtpmail.el (smtpmail-send-it):
11096 Bind coding-system-for-write to *-unix, so that FCC files are kept in
11099 2012-03-09 Glenn Morris <rgm@gnu.org>
11101 * files.el (dir-locals-find-file):
11102 Don't check result is regular, readable.
11103 (dir-locals-read-from-file): Demote errors.
11105 2012-03-08 Eli Zaretskii <eliz@gnu.org>
11107 * international/quail.el (quail-insert-kbd-layout):
11108 Insert invisible LRM characters before each character in a keyboard
11109 layout cell, to prevent their reordering by bidi display engine.
11110 For details, see the discussion in
11111 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11113 2012-03-08 Alan Mackenzie <acm@muc.de>
11115 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11116 the starting position; make it extend the marked region when
11117 invoked repeatedly - all under appropriate circumstances.
11118 Fixes bugs #5525, #10906.
11120 2012-03-08 Glenn Morris <rgm@gnu.org>
11122 * files.el (locate-dominating-file, dir-locals-find-file):
11123 Undo 2012-03-06 change.
11125 2012-03-07 Eli Zaretskii <eliz@gnu.org>
11127 * international/quail.el (quail-help):
11128 Force bidi-paragraph-direction be left-to-right. See discussion in
11129 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11132 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
11134 Avoid superfluous registering of signals. (Bug#10807)
11136 * notifications.el (notifications-on-action-object)
11137 (notifications-on-close-object): New defvars.
11138 (notifications-on-action-signal, notifications-on-closed-signal):
11139 Unregister the signal if not needed any longer.
11140 (notifications-notify): Register `notifications-action-signal' or
11141 `notifications-closed-signal', if :on-action or :on-close has been
11142 passed as argument.
11144 2012-03-07 Chong Yidong <cyd@gnu.org>
11146 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11149 2012-03-06 Glenn Morris <rgm@gnu.org>
11151 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11152 (x-disown-selection-internal, x-get-selection-internal):
11153 Doc fix (add arglist signatures). (Bug#10783)
11155 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11157 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11158 Handle breakpoints with no "type".
11160 2012-03-06 Glenn Morris <rgm@gnu.org>
11162 * files.el (locate-dominating-file): Add optional predicate argument.
11163 (dir-locals-find-file): Make use of above change.
11165 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
11167 * info.el (Info-insert-dir): Also try "dir.gz".
11169 2012-03-06 Glenn Morris <rgm@gnu.org>
11171 * files.el (dir-locals-find-file):
11172 Ignore non-readable or non-regular files. (Bug#10928)
11174 * files.el (locate-dominating-file): Doc fix.
11176 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
11178 * calendar/calendar.el (calendar-set-mode-line):
11179 `getenv' returns a string. (Bug#10951)
11181 2012-03-05 Leo Liu <sdl.web@gmail.com>
11183 * simple.el (backward-delete-char-untabify): Constrain point to
11186 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11188 2012-03-05 Chong Yidong <cyd@gnu.org>
11190 * simple.el (count-words): If called from Lisp, return the word
11191 count, for symmetry with `count-lines'. Arglist changed.
11192 (count-words--message): Args changed. Consolidate counting code
11193 from count-words and count-words-region.
11194 (count-words-region): Caller changed.
11195 (count-lines-region): Make it an obsolete alias.
11197 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
11199 * saveplace.el (save-place-to-alist)
11200 (save-place-ignore-files-regexp): Allow value nil to disable this
11203 2012-03-04 Chong Yidong <cyd@gnu.org>
11205 * faces.el (face-spec-reset-face): For the default face, reset the
11206 attributes to default values (Bug#10748).
11208 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11210 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11211 previous patch: Check `message-send-mail-function', and not the
11212 default function (bug#10897).
11214 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
11216 * notifications.el (notifications-on-action-signal)
11217 (notifications-on-closed-signal): Check for unique service name of
11218 incoming event. Fix error in removing entry.
11219 (top): Register for signals with wildcard service name.
11220 (notifications-notify): Use daemon unique service name for map entries.
11222 2012-03-04 Chong Yidong <cyd@gnu.org>
11224 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
11226 2012-03-04 Glenn Morris <rgm@gnu.org>
11228 * abbrev.el (copy-abbrev-table, abbrev-table-p)
11229 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11230 (expand-abbrev, define-abbrev-table): Doc fixes.
11232 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11234 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11235 `message-default-send-mail-function' and not `send-mail-function'
11236 when doing the prompting for `sendmail-query-once' before sending
11237 in Message buffers (bug#10897).
11239 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11240 This is inconsistent with all the other stream functions, which leave
11241 the setting up to the higher levels (if so wanted) (bug#10931).
11243 2012-03-02 Alan Mackenzie <acm@muc.de>
11245 Depessimize the handling of very large macros.
11247 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11248 (c-macro-cache-syntactic): New variables to implement a one
11249 element macro cache.
11250 (c-invalidate-macro-cache): New function.
11251 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11252 Adapt to use the new cache.
11253 (c-state-safe-place): Use better the cache of safe positions.
11254 (c-state-semi-nonlit-pos-cache)
11255 (c-state-semi-nonlit-pos-cache-limit):
11256 New variables for...
11257 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11258 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
11259 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11260 Use c-state-semi-safe-place.
11262 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11263 Add c-invalidate-macro-cache to the C, C++, Obj entries.
11265 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
11267 * jka-compr.el (jka-compr-call-process):
11268 Apply `file-accessible-directory-p' only when the default directory is
11271 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
11273 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
11274 access of FILE2, if FILE1 does not exist.
11276 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11277 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11279 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11280 Add "PAGER=" to `process-environment'.
11282 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
11284 * progmodes/sql.el: Bug fix
11285 (sql-get-login-ext): Save login values in globals.
11286 (sql-get-login): Use new version of `sql-get-login-ext'.
11287 (sql-interactive-mode): Set global `sql-connection' to nil.
11288 (sql-connect): Set global values for connection.
11289 (sql-product-interactive): Save global values as buffer local.
11291 2012-02-29 Leo Liu <sdl.web@gmail.com>
11293 * abbrev.el (define-abbrevs): Reset sys to nil.
11295 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11297 * files.el (file-equal-p): Rename from `files-equal-p'.
11298 Return nil when one or both files don't exist.
11299 (file-subdir-of-p): Now only top directory must exists,
11300 return nil if it doesn't.
11301 (copy-directory): No need to test with `file-subdir-of-p' after
11303 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11306 2012-02-28 Glenn Morris <rgm@gnu.org>
11308 * shell.el (shell-mode):
11309 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11310 * play/landmark.el (landmark-font-lock-face-O):
11311 * play/handwrite.el (handwrite):
11312 * play/gomoku.el (gomoku-O):
11313 * net/browse-url.el (browse-url-browser-display):
11314 * international/mule.el (define-charset):
11315 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11316 * filesets.el (filesets-find-file-delay):
11317 * eshell/em-xtra.el (eshell-xtra):
11318 * eshell/em-unix.el (eshell-grep):
11319 * emulation/viper.el (viper-mode):
11320 * emacs-lisp/regexp-opt.el (regexp-opt-group):
11321 * emacs-lisp/easymenu.el (easy-menu-define):
11322 * calendar/timeclock.el (timeclock-use-display-time):
11324 * bookmark.el (bookmark-save-flag):
11325 Doc fix (standardize possessive apostrophe usage).
11327 2012-02-27 Chong Yidong <cyd@gnu.org>
11329 * emulation/viper-cmd.el (viper-intercept-ESC-key):
11330 Fix key-binding lookup for ESC key (Bug#9146).
11332 * font-lock.el (font-lock-specified-p): Rename from
11333 font-lock-spec-present. Callers changed.
11335 2012-02-27 Daniel Hackney <dan@haxney.org>
11337 * emacs-lisp/package.el (package-compute-transaction):
11338 Handle holding a package version to t in package-load-list.
11340 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
11342 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11343 (tramp-get-inode, tramp-get-device): Use cached values.
11345 2012-02-26 Alan Mackenzie <acm@muc.de>
11347 Check there is a font-lock specification before doing initial
11350 * font-core.el (font-lock-mode): Move the conditional from
11351 :after-hook to font-lock-initial-fontify.
11352 (font-lock-default-function): Move the check for a specification
11353 to font-lock-spec-present.
11355 * font-lock.el (font-lock-initial-fontify): Call ...
11356 (font-lock-spec-present): New function.
11358 2012-02-26 Jim Blandy <jimb@red-bean.com>
11360 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11361 (gdb-send): Apply it to the operand of the '-interpreter-exec
11362 console' command, so that we can pass arguments with (say) quotes
11363 in them. Store exact string sent in gdb-debug-log (Bug#10765).
11365 2012-02-26 Chong Yidong <cyd@gnu.org>
11367 * help-fns.el (describe-function-1): Clarify description of
11368 remapping (Bug#10844).
11370 * files.el (files-equal-p): Doc fix.
11371 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
11372 and quit the loop once a mismatch is found.
11374 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
11376 * bs.el (bs--show-with-configuration): Don't throw an error
11377 if the window cannot be split; otherwise, subsequent calls to
11378 bs-show fail, restoring a stale window config. (Bug#10882)
11380 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
11382 * term/ns-win.el (global-map): Bind ns-drag-file to
11383 ns-find-file (Bug#5855, Bug#10050).
11385 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
11387 * calendar/parse-time.el (parse-time-string): Allow extractor to
11390 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
11392 * net/tramp.el (tramp-file-name-for-operation):
11393 Add `files-equal-p' and `file-subdir-of-p'.
11395 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
11396 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11397 Add COPY-CONTENTS argument.
11399 2012-02-25 Chong Yidong <cyd@gnu.org>
11401 Add custom groups for VC backends, for consistency with vc-bzr.
11403 * vc/vc-arch.el (vc-arch):
11404 * vc/vc-cvs.el (vc-cvs):
11405 * vc/vc-git.el (vc-git):
11406 * vc/vc-hg.el (vc-hg):
11407 * vc/vc-mtn.el (vc-mtn):
11408 * vc/vc-rcs.el (vc-rcs):
11409 * vc/vc-sccs.el (vc-sccs):
11410 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11411 All relevant defcustoms reassigned.
11413 2012-02-25 Chong Yidong <cyd@gnu.org>
11415 * newcomment.el (comment-styles): Add autoload (Bug#10868).
11417 * term/x-win.el (x-initialize-window-system): Reduce default for
11418 x-selection-timeout to 5 seconds (Bug#8869).
11420 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11422 * files.el (files-equal-p, file-subdir-of-p): New functions.
11423 (copy-directory): Error when trying to copy a directory on itself.
11424 Add missing copy-contents arg to tramp handler.
11425 * dired-aux.el (dired-copy-file-recursive): Same.
11426 (dired-create-files): Modify destination when source is equal to
11427 dest when copying files.
11428 Return also when dest is a subdir of source. (Bug#10489)
11430 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
11432 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11435 2012-02-23 Alan Mackenzie <acm@muc.de>
11437 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11438 parameter "after-hook:" to allow the expansion to run code after
11439 the execution of the mode hooks.
11441 * font-lock.el (font-lock-initial-fontify): New function extracted
11442 from font-lock-mode-internal.
11444 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
11447 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11449 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11450 (completion--cache-all-sorted-completions): New function.
11451 (completion-all-sorted-completions): Use it.
11452 (completion--do-completion, minibuffer-force-complete):
11453 Use it to re-instate the flush hook.
11455 * icomplete.el (icomplete-completions): Replace last fix with a better
11458 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11460 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11461 when it might call us back infinitely (bug#10797).
11463 2012-02-23 Glenn Morris <rgm@gnu.org>
11465 * minibuffer.el (completion-category-overrides): Doc fix.
11467 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11469 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11470 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11472 2012-02-23 Glenn Morris <rgm@gnu.org>
11474 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
11475 (authors-obsolete-files-regexps, authors-ignored-files)
11476 (authors-ambiguous-files, authors-renamed-files-alist):
11479 2012-02-23 Juri Linkov <juri@jurta.org>
11481 * isearch.el (isearch-occur): Sync interactive spec with occur's
11482 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11484 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11486 2012-02-22 Juri Linkov <juri@jurta.org>
11488 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11489 (ucs-insert): Doc fix. Check for hex digits in the string.
11490 Don't display `nil' in the error message. (Bug#10857)
11492 2012-02-22 Alan Mackenzie <acm@muc.de>
11494 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
11496 2012-02-22 Glenn Morris <rgm@gnu.org>
11498 * ffap.el (ffap-c-path):
11499 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11501 2012-02-22 Chong Yidong <cyd@gnu.org>
11503 * custom.el (load-theme): Doc fix.
11505 2012-02-22 Glenn Morris <rgm@gnu.org>
11507 * dired-x.el (dired-guess-shell-alist-default):
11508 Remove escape sequences from nroff output. (Bug#172)
11510 2012-02-21 Glenn Morris <rgm@gnu.org>
11512 * vc/emerge.el (emerge-defvar-local):
11513 Set `permanent-local' property rather than unused `preserved'.
11515 * textmodes/picture.el (picture-delete-char): New alias.
11516 (picture-mode-map): Use it. (Bug#10860)
11517 (picture-mode): Doc fix.
11519 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
11521 * newcomment.el (uncomment-region-default): Remove unused binding.
11523 2012-02-21 Glenn Morris <rgm@gnu.org>
11525 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11526 (picture-self-insert, picture-tab-chars): Doc fix.
11527 (picture-mode-map): Fix C-a, C-e.
11529 2012-02-20 Glenn Morris <rgm@gnu.org>
11531 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11533 2012-02-20 Leo Liu <sdl.web@gmail.com>
11535 * icomplete.el (icomplete-completions): Check FROM arg before
11536 passing to substring (Bug#10850).
11538 2012-02-19 Chong Yidong <cyd@gnu.org>
11540 * comint.el: Require ansi-color.
11541 (comint-output-filter-functions): Add ansi-color-process-output.
11543 * ansi-color.el: Don't set comint-output-filter-functions; it is
11544 now in the initial value defined in comint.el.
11545 (ansi-color-apply-face-function): New variable.
11546 (ansi-color-apply-on-region): Use it.
11547 (ansi-color-apply-overlay-face): New function.
11549 * shell.el (shell): No need to require ansi-color.
11550 (shell-mode): Use ansi-color-apply-face-function to highlight
11551 color escapes using font-lock-face property (Bug#10835).
11553 2012-02-19 Chong Yidong <cyd@gnu.org>
11555 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11556 mode-line formats (Bug#10839).
11558 2012-02-18 Glenn Morris <rgm@gnu.org>
11560 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11562 * mail/undigest.el (unforward-rmail-message): Doc fix.
11564 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11566 2012-02-18 Eli Zaretskii <eliz@gnu.org>
11568 * international/characters.el (script-list): Sync with the latest
11569 Unicode Character Database.
11571 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11573 * international/titdic-cnv.el: Remove duplicate coding tag.
11574 * language/cham.el: Likewise.
11575 * language/tai-viet.el: Likewise.
11577 2012-02-18 Glenn Morris <rgm@gnu.org>
11579 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11580 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11581 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11582 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11583 * calendar/holidays.el (holiday-bahai-holidays)
11584 (calendar-holidays, list-holidays):
11585 Use utf-8 Bahá'í in doc-strings, menus, etc.
11587 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11589 * saveplace.el (save-place-ignore-files-regexp): New variable
11590 allowing for excluding files from saving their location of point.
11591 The default value matches the temporary commit message editing
11592 files from Git, SVN, Bazaar, and Mercurial.
11593 (save-place-to-alist): Use it.
11595 2012-02-17 Lawrence Mitchell <wence@gmx.li>
11596 Stefan Monnier <monnier@iro.umontreal.ca>
11598 * newcomment.el (uncomment-region-default): Don't leave extra space
11599 when an arg is provided (bug#8150).
11601 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11603 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
11605 2012-02-17 Glenn Morris <rgm@gnu.org>
11607 * net/socks.el: Require network-stream. (Bug#10599)
11609 2012-02-17 Kenichi Handa <handa@m17n.org>
11611 * international/charprop.el:
11612 * international/uni-name.el:
11613 * international/uni-old-name.el:
11614 * international/uni-comment.el: Regenerate.
11616 2012-02-16 Glenn Morris <rgm@gnu.org>
11618 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11619 Interactively in calendar buffer, give an error if not on a date.
11621 2012-02-15 Glenn Morris <rgm@gnu.org>
11623 * shell.el (shell-delimiter-argument-list):
11624 Revert 2011-02-17 change. (Bug#8027)
11626 2012-02-15 Chong Yidong <cyd@gnu.org>
11628 * minibuffer.el (completion-at-point-functions): Doc fix.
11630 * custom.el (defcustom): Doc fix; note use of defvar.
11632 2012-02-15 Glenn Morris <rgm@gnu.org>
11634 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11637 2012-02-14 Glenn Morris <rgm@gnu.org>
11639 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11641 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11643 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11644 way the ports list is computed.
11645 (smtpmail-query-smtp-server): Prompt the user for a port number if
11646 we can't connect to any of the standard ports (bug#10810).
11648 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11650 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11652 2012-02-13 Glenn Morris <rgm@gnu.org>
11654 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11656 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11658 * net/gnutls.el (gnutls-trustfiles): New variable.
11659 (gnutls-negotiate): Use it.
11661 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11663 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11664 does its stuff if Gnus is running.
11666 2012-02-13 Alan Mackenzie <acm@muc.de>
11668 Fix a loop in c-set-fl-decl-start.
11670 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
11671 c-backward-syntactic-ws actually moves backwards.
11673 2012-02-13 Leo Liu <sdl.web@gmail.com>
11675 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11676 beginning so that all \C-o chars are removed.
11678 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11680 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
11682 2012-02-12 Alan Mackenzie <acm@muc.de>
11684 Fix infinite loop with long macros.
11685 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
11687 2012-02-12 Chong Yidong <cyd@gnu.org>
11689 * window.el (display-buffer): Doc fix (Bug#10785).
11691 2012-02-12 Glenn Morris <rgm@gnu.org>
11693 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11694 (x-disown-selection-internal, x-get-selection-internal):
11695 Sync docs with the xselect.c versions.
11697 * allout-widgets.el: Add missing license notice.
11699 2012-02-11 Glenn Morris <rgm@gnu.org>
11701 * select.el (x-get-selection-internal, x-own-selection-internal)
11702 (x-disown-selection-internal):
11703 * x-dnd.el (x-get-selection-internal): Update declarations.
11705 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11707 * window.el (window-sides-slots):
11708 * tool-bar.el (tool-bar-position):
11709 * term/xterm.el (xterm-extra-capabilities):
11710 * ses.el (ses-self-reference-early-detection):
11711 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11712 (verilog-auto-wire-type)
11713 (verilog-auto-delete-trailing-whitespace)
11714 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11715 (verilog-auto-tieoff-declaration):
11716 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11717 (sql-oracle-statement-starters, sql-oracle-scan-on):
11718 * progmodes/prolog.el (prolog-align-comments-flag)
11719 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11720 (prolog-left-indent-regexp, prolog-paren-indent-p)
11721 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11722 (prolog-types, prolog-mode-specificators)
11723 (prolog-determinism-specificators, prolog-directives)
11724 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11725 (prolog-electric-dot-flag)
11726 (prolog-electric-dot-full-predicate-template)
11727 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11728 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11729 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11730 (prolog-program-switches, prolog-prompt-regexp)
11731 (prolog-debug-on-string, prolog-debug-off-string)
11732 (prolog-trace-on-string, prolog-trace-off-string)
11733 (prolog-zip-on-string, prolog-zip-off-string)
11734 (prolog-use-standard-consult-compile-method-flag)
11735 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11736 (prolog-imenu-max-lines, prolog-info-predicate-index)
11737 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11738 (prolog-char-quote-workaround):
11739 * progmodes/cc-vars.el (c-defun-tactic):
11740 * net/tramp.el (tramp-encoding-command-interactive)
11741 (tramp-local-end-of-line):
11742 * net/soap-client.el (soap-client):
11743 * net/netrc.el (netrc-file):
11744 * net/gnutls.el (gnutls):
11745 * minibuffer.el (completion-category-overrides)
11746 (completion-cycle-threshold)
11747 (completion-pcm-complete-word-inserts-delimiters):
11748 * man.el (Man-name-local-regexp):
11749 * mail/feedmail.el (feedmail-display-full-frame):
11750 * international/characters.el (glyphless-char-display-control):
11751 * eshell/em-ls.el (eshell-ls-date-format):
11752 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11753 (lisp-lambda-list-keyword-parameter-indentation)
11754 (lisp-lambda-list-keyword-parameter-alignment):
11755 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11756 * dired-x.el (dired-omit-verbose):
11757 * cus-theme.el (custom-theme-allow-multiple-selections):
11758 * calc/calc.el (calc-highlight-selections-with-faces)
11759 (calc-lu-field-reference, calc-lu-power-reference)
11760 (calc-note-threshold):
11761 * battery.el (battery-mode-line-limit):
11762 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11763 (archive-7z-update):
11764 * allout.el (allout-prefixed-keybindings)
11765 (allout-unprefixed-keybindings)
11766 (allout-inhibit-auto-fill-on-headline)
11767 (allout-flattened-numbering-abbreviation):
11768 * allout-widgets.el (allout-widgets-auto-activation)
11769 (allout-widgets-icons-dark-subdir)
11770 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11771 (allout-widgets-theme-dark-background)
11772 (allout-widgets-theme-light-background)
11773 (allout-widgets-item-image-properties-emacs)
11774 (allout-widgets-item-image-properties-xemacs)
11775 (allout-widgets-run-unit-tests-on-load)
11776 (allout-widgets-time-decoration-activity)
11777 (allout-widgets-hook-error-post-time)
11778 (allout-widgets-track-decoration):
11779 Add missing :version tags to new defcustoms and defgroups.
11781 * progmodes/sql.el (sql-ansi-statement-starters)
11782 (sql-oracle-statement-starters): Add custom type.
11784 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11785 (prolog-system-version): Give it a type.
11787 2012-02-11 Eli Zaretskii <eliz@gnu.org>
11789 * term/pc-win.el (x-select-text, x-selection-owner-p)
11790 (x-own-selection-internal, x-disown-selection-internal)
11791 (x-get-selection-internal): Sync doc strings and argument lists
11792 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11794 2012-02-11 Leo Liu <sdl.web@gmail.com>
11796 * progmodes/python.el (python-end-of-statement): Fix infinite
11799 2012-02-10 Glenn Morris <rgm@gnu.org>
11801 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11802 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11804 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11806 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11807 about SMTP before checking the From header.
11809 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
11810 into own function for reuse by emacsbug.el.
11812 2012-02-10 Leo Liu <sdl.web@gmail.com>
11814 * subr.el (condition-case-unless-debug): Rename from
11815 condition-case-no-debug. All callers changed.
11816 (with-demoted-errors): Fix caller.
11818 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11819 * nxml/rng-valid.el (rng-do-some-validation):
11820 * emacs-lisp/package.el (package-refresh-contents)
11821 (package-menu-execute):
11822 * desktop.el (desktop-create-buffer):
11823 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
11825 2012-02-10 Glenn Morris <rgm@gnu.org>
11827 * textmodes/bibtex.el:
11828 Add missing :version tags for new/changed defcustoms.
11830 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11832 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
11834 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11835 (smtpmail-via-smtp): Use it, or fall back on the From address.
11836 (smtpmail-send-it): Ditto.
11838 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11840 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11841 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11842 (byte-compile-tmp-var): New const.
11843 (byte-compile-defvar): Use it to minimize .elc size.
11844 Just use `defvar' rather than simulate it (bug#10761).
11846 2012-02-09 Glenn Morris <rgm@gnu.org>
11848 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11850 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11853 * progmodes/compile.el (compilation-error-screen-columns)
11854 (compilation-first-column, compilation-filter-start): Doc fixes.
11856 * vc/log-view.el (log-view-toggle-entry-display):
11857 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11859 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11860 (report-emacs-bug-can-use-xdg-email):
11861 (report-emacs-bug-insert-to-mailer): Doc fixes.
11862 (report-emacs-bug): Message fix.
11864 * net/browse-url.el (browse-url-can-use-xdg-open)
11865 (browse-url-xdg-open): Doc fixes.
11867 * electric.el (electric-indent-mode, electric-pair-mode)
11868 (electric-layout-rules, electric-layout-mode): Doc fixes.
11869 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11871 2012-02-08 Martin Rudalics <rudalics@gmx.at>
11873 * server.el (server-unselect-display): Don't inadvertently kill
11874 the current buffer. (Bug#10729)
11876 2012-02-08 Glenn Morris <rgm@gnu.org>
11878 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11879 (sql-list-table): Doc fixes.
11881 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11882 Comment out (does nothing).
11884 * completion.el (dynamic-completion-mode):
11885 * dirtrack.el (dirtrack-debug-mode):
11886 * electric.el (electric-layout-mode):
11887 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11888 * face-remap.el (text-scale-mode, buffer-face-mode):
11889 * iimage.el (iimage-mode):
11890 * image-mode.el (image-transform-mode):
11891 * minibuffer.el (completion-in-region-mode):
11892 * scroll-lock.el (scroll-lock-mode):
11893 * simple.el (next-error-follow-minor-mode):
11894 * tar-mode.el (tar-subfile-mode):
11895 * tooltip.el (tooltip-mode):
11896 * vcursor.el (vcursor-use-vcursor-map):
11897 * wid-browse.el (widget-minor-mode):
11898 * emulation/tpu-edt.el (tpu-edt-mode):
11899 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11900 * international/iso-ascii.el (iso-ascii-mode):
11901 * language/thai-util.el (thai-word-mode):
11902 * mail/supercite.el (sc-minor-mode):
11903 * net/goto-addr.el (goto-address-mode):
11904 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11905 * progmodes/cwarn.el (cwarn-mode):
11906 * progmodes/flymake.el (flymake-mode):
11907 * progmodes/glasses.el (glasses-mode):
11908 * progmodes/hideshow.el (hs-minor-mode):
11909 * progmodes/pascal.el (pascal-outline-mode):
11910 * textmodes/enriched.el (enriched-mode):
11911 * vc/smerge-mode.el (smerge-mode):
11912 Doc fixes (minor mode argument).
11914 2012-02-07 Eli Zaretskii <eliz@gnu.org>
11916 * ls-lisp.el (ls-lisp-sanitize): New function.
11917 (ls-lisp-insert-directory): Use it to fix or remove any elements
11918 in file-alist with missing attributes. (Bug#4673)
11920 2012-02-07 Alan Mackenzie <acm@muc.de>
11922 Fix spurious recognition of c-in-knr-argdecl.
11924 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11925 putative K&R region.
11927 2012-02-07 Alan Mackenzie <acm@muc.de>
11929 * progmodes/cc-engine.el (c-forward-objc-directive):
11930 Prevent looping in "#pragma mark @implementation".
11932 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
11934 * notifications.el (notifications-on-closed-signal): Make `reason'
11935 optional. (Bug#10744)
11937 2012-02-07 Glenn Morris <rgm@gnu.org>
11939 * emacs-lisp/easy-mmode.el (define-minor-mode):
11940 Doc fixes for the macro and the mode it defines.
11942 * image.el (imagemagick-types-inhibit): Doc fix.
11944 * cus-start.el (imagemagick-render-type): Add it.
11946 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11948 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11949 Set the default at load time, too, so that `font-lock-fontify-buffer'
11950 can be called without setting up the entire mode first. This fixes
11951 a bug in `mm-inline-text' with C MIME parts.
11953 2012-02-06 Chong Yidong <cyd@gnu.org>
11955 * simple.el (list-processes--refresh): Delete exited processes
11958 * comint.el (comint-next-prompt): next-single-char-property-change
11959 and prev-single-char-property-change never return nil (Bug#8657).
11961 * custom.el (defcustom): Doc fix (Bug#9711).
11963 2012-02-05 Chong Yidong <cyd@gnu.org>
11965 * cus-edit.el (custom-variable-reset-backup): Quote the value
11966 before storing it in the customized-value property (Bug#6712).
11967 (custom-display): Add a customization type tag.
11968 (custom-buffer-create-internal): Improve tooltip message.
11970 * wid-edit.el (widget-field-value-get): New optional arg to
11971 suppress trailing whitespace truncation.
11972 (character): Use it (Bug#2689).
11974 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11976 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11977 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11979 2012-02-05 Chong Yidong <cyd@gnu.org>
11981 * cus-edit.el (custom-variable-value-create): For mismatched
11982 types, show the current value (Bug#7600).
11984 * custom.el (defcustom): Doc fix.
11986 2012-02-05 Glenn Morris <rgm@gnu.org>
11988 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11990 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
11992 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11993 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11994 (pp-last-sexp): Use `looking-at-p'.
11996 2012-02-04 Glenn Morris <rgm@gnu.org>
11998 * files.el (revert-buffer):
11999 Doc fix (mention revert-buffer-in-progress-p).
12001 * emacs-lisp/ert-x.el (ert-simulate-command):
12002 Check deferred-action-list (which is obsolete) is bound.
12004 * subr.el (with-wrapper-hook): Doc fixes.
12006 * simple.el (filter-buffer-substring-functions)
12007 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
12009 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
12011 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
12012 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
12014 2012-02-04 Leo Liu <sdl.web@gmail.com>
12016 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
12018 2012-02-04 Glenn Morris <rgm@gnu.org>
12020 * image.el (image-extension-data): Add obsolete alias.
12022 * isearch.el (isearch-update): Doc fix.
12024 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12026 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12028 2012-02-03 Glenn Morris <rgm@gnu.org>
12030 * image.el (image-animated-p): Doc fix. Use image-animated-types.
12031 (image-animate-timeout): Doc fix.
12033 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12035 2012-02-02 Glenn Morris <rgm@gnu.org>
12037 * server.el (server-auth-dir): Doc fix.
12038 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
12040 * subr.el (run-mode-hooks): Doc fix.
12042 2012-02-02 Juri Linkov <juri@jurta.org>
12044 * image-mode.el (image-toggle-display-image): Remove tautological
12045 `major-mode' from the `derived-mode-p' test.
12047 2012-02-02 Kenichi Handa <handa@m17n.org>
12049 * composite.el (compose-region): Cancel previous change.
12051 2012-02-02 Kenichi Handa <handa@m17n.org>
12053 * composite.el (compose-region, compose-string): Signal error for
12054 a null string component (Bug#6988).
12056 2012-02-01 Chong Yidong <cyd@gnu.org>
12058 * view.el (view-buffer-other-window, view-buffer-other-frame):
12059 Handle special modes like view-buffer (Bug#10650).
12060 (view-buffer): Simplify.
12062 * frame.el (set-frame-font): Tweak meaning of third argument.
12064 * dynamic-setting.el (font-setting-change-default-font):
12065 Use set-frame-font (Bug#9982).
12067 2012-02-01 Glenn Morris <rgm@gnu.org>
12069 * progmodes/compile.el (compilation-internal-error-properties):
12070 Respect compilation-first-column in the "*compilation*" buffer.
12072 * emacs-lisp/easy-mmode.el (define-minor-mode):
12073 Relax :variable's test for a named function.
12075 2012-01-31 Alan Mackenzie <acm@muc.de>
12077 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12080 2012-01-31 Chong Yidong <cyd@gnu.org>
12082 * frame.el (set-frame-font): New arg ALL-FRAMES.
12084 * menu-bar.el (menu-set-font): Use set-frame-font.
12086 * faces.el (face-spec-reset-face): Don't apply unspecified
12087 attribute values to the default face.
12089 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
12091 * progmodes/cwarn.el (cwarn): Remove dead link.
12092 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12093 Remove * from defcustom docstrings.
12094 (turn-on-cwarn-mode): Make obsolete.
12095 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12096 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12098 2012-01-31 Glenn Morris <rgm@gnu.org>
12100 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
12101 Fix :variable handling of mode a symbol not equal to modefun.
12102 Allow named functions to be used as the cdr of :variable.
12104 2012-01-30 Glenn Morris <rgm@gnu.org>
12106 * emacs-lisp/authors.el (authors-fixed-entries):
12107 Remove reference to deleted file rnewspost.el.
12109 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
12111 * window.el (window-with-parameter): Remove unused variable `windows'.
12112 (window--side-check): Remove unused variable `code'.
12113 (window--resize-siblings): Remove unused variable `first'.
12114 (adjust-window-trailing-edge): Remove unused variable `failed'.
12115 (window-deletable-p, window--delete): Remove unused variable `buffer'.
12116 Use `let', not `let*'.
12117 (balance-windows-2): Remove unused variable `found'.
12118 (window--state-put-2): Remove unused variable `splits'.
12119 (window-state-put): Remove unused variable `selected'.
12120 (same-window-p): Use `string-match-p'.
12121 (display-buffer-assq-regexp): Remove unused variable `value'.
12122 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12123 Mark argument ALIST as ignored.
12124 (pop-to-buffer): Remove unused variable `old-window'.
12126 2012-01-29 Eli Zaretskii <eliz@gnu.org>
12128 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12129 and .lzma compressed files.
12131 2012-01-29 Chong Yidong <cyd@gnu.org>
12133 * frame.el (window-system-default-frame-alist): Doc fix.
12135 * dynamic-setting.el (font-setting-change-default-font): Don't
12136 change the default face if SET-FONT argument is non-nil (Bug#9982).
12138 2012-01-29 Samuel Bronson <naesten@gmail.com>
12140 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12142 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
12144 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12145 breakpoints in files outside current directory (Bug#6098).
12147 2012-01-29 Chong Yidong <cyd@gnu.org>
12149 * progmodes/python.el: Require ansi-color at top-level.
12151 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12152 Define and use in Emacs Lisp mode (Bug#9360).
12153 (lisp-mode-abbrev-table): Add doc.
12154 (lisp-mode-variables): Don't set local-abbrev-table.
12155 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12157 2012-01-28 Roland Winkler <winkler@gnu.org>
12159 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12161 2012-01-28 Roland Winkler <winkler@gnu.org>
12163 * textmodes/bibtex.el (bibtex-entry-alist): New function.
12164 (bibtex-set-dialect): Use it. Either set global values of
12165 dialect-dependent variables or bind these variables buffer-locally
12167 (bibtex-mode): Call bibtex-set-dialect via
12168 hack-local-variables-hook.
12169 (bibtex-dialect): Update docstring.
12170 Add safe-local-variable predicate.
12171 (bibtex-entry-alist, bibtex-field-alist): Initialize via
12172 bibtex-set-dialect.
12173 (bibtex-mode-map): Define menu for each dialect.
12174 (bibtex-entry): Fix docstring.
12176 2012-01-28 Chong Yidong <cyd@gnu.org>
12178 * eshell/esh-arg.el (eshell-quote-argument): New function.
12180 * eshell/esh-ext.el (eshell-invoke-batch-file):
12181 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12182 first arg to eshell-parse-command (Bug#10523).
12184 2012-01-28 Drew Adams <drew.adams@oracle.com>
12186 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12187 `default-directory' is non-nil.
12189 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12191 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12192 line that displays system-configuration-options. (Bug#9924)
12194 2012-01-28 Drew Adams <drew.adams@oracle.com>
12196 * descr-text.el (describe-char): Show information about POS, in
12197 addition to information about the character at POS. Improve and
12198 update the doc string. Change "code point" to "code point in
12199 charset", to avoid confusion with the character's Unicode code
12200 point shown above that. (Bug#10129)
12202 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12204 * descr-text.el (describe-char): Show the raw character, not only
12205 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
12206 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12209 2012-01-28 Phil Hagelberg <phil@hagelb.org>
12211 * emacs-lisp/package.el (package-install):
12212 Run package-refresh-contents if there is no archive yet (Bug#9798).
12214 2012-01-28 Chong Yidong <cyd@gnu.org>
12216 * emacs-lisp/package.el (package-maybe-load-descriptor):
12217 New function, split from package-maybe-load-descriptor.
12218 (package-maybe-load-descriptor): Use it.
12219 (package-download-transaction): Fully load required packages
12220 inside the loop, so that `require' calls work (Bug#10593).
12221 (package-install): No need to call package-initialize now.
12223 2012-01-28 Chong Yidong <cyd@gnu.org>
12225 * simple.el (deactivate-mark): Doc fix (Bug#8614).
12227 * tooltip.el (tooltip-mode): Doc fix.
12228 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12230 * frame.el (set-cursor-color): Doc fix (Bug#352).
12232 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12233 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12235 * cus-edit.el (custom-buffer-create-internal): Fix search button
12236 action (Bug#10542).
12237 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
12239 2012-01-27 Eduard Wiebe <usenet@pusto.de>
12241 * dired.el (dired-mark-files-regexp):
12242 Include any subdirectory components. (Bug#10445)
12244 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
12246 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12247 Handle [host]:port syntax. (Bug#10533)
12249 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
12251 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12253 2012-01-26 Glenn Morris <rgm@gnu.org>
12255 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12256 * term.el (term-raw-escape-map): Use Control-X-prefix.
12257 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12259 2012-01-25 Martin Rudalics <rudalics@gmx.at>
12261 * window.el (window-state-get, window--state-get-1): Don't deal
12262 with fixed-sizeness of windows. Simplify code.
12264 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
12266 * window.el (window--state-get-1, window--state-put-2):
12267 Don't save and restore the mark.
12269 2012-01-25 Chong Yidong <cyd@gnu.org>
12271 * custom.el (custom-variable-p): Doc fix.
12273 2012-01-25 Glenn Morris <rgm@gnu.org>
12275 * dired.el (dired-goto-file): Handle some of the more common
12276 characters that `ls -b' escapes. (Bug#10596)
12278 * progmodes/compile.el (compilation-next-error-function):
12279 Respect compilation-first-column in the "*compilation*" buffer.
12280 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
12282 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
12284 2012-01-24 Glenn Morris <rgm@gnu.org>
12286 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
12288 2012-01-24 Julien Danjou <julien@danjou.info>
12290 * color.el (color-rgb-to-hsl): Fix value computing.
12291 (color-hue-to-rgb): New function.
12292 (color-hsl-to-rgb): New function.
12293 (color-clamp, color-saturate-hsl, color-saturate-name)
12294 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12295 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12297 2012-01-24 Glenn Morris <rgm@gnu.org>
12299 * vc/vc-rcs.el (vc-rcs-create-tag):
12300 * vc/vc-sccs.el (vc-sccs-create-tag):
12301 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
12303 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
12305 * eshell/esh-util.el (eshell-read-hosts-file):
12306 Skip comment lines. (Bug#10549)
12308 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
12310 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
12312 * subr.el (display-delayed-warnings): Doc fix.
12313 (collapse-delayed-warnings): New function to collapse identical
12315 (delayed-warnings-hook): Add it.
12317 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
12319 * net/tramp.el (tramp-action-login): Set connection property "login-as".
12321 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12322 (tramp-default-user-alist): Don't add "pscp".
12323 (tramp-do-copy-or-rename-file-out-of-band): Use connection
12324 property "login-as", if set. (Bug#10530)
12326 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
12328 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12329 "plink1" and "psftp". (Bug#10530)
12331 2012-01-21 Kenichi Handa <handa@m17n.org>
12333 * international/mule-cmds.el (prefer-coding-system): Show a
12334 warning message if the default value of file-name-coding-system
12337 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12339 * windmove.el (windmove-reference-loc):
12340 Fix windmove-reference-loc miscalculation.
12342 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
12344 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12347 2012-01-21 Glenn Morris <rgm@gnu.org>
12349 * international/mule.el (auto-coding-alist): Add .tbz.
12351 * files.el (local-enable-local-variables): Doc fix.
12352 (inhibit-local-variables-regexps): Rename from
12353 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
12354 Doc fix. Add some extensions from auto-coding-alist.
12355 (inhibit-local-variables-suffixes):
12356 Rename from inhibit-first-line-modes-suffixes. Doc fix.
12357 (inhibit-local-variables-p):
12358 New function, extracted from set-auto-mode-1.
12359 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
12360 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
12361 (hack-local-variables): Doc fix. Make the mode-only case
12362 respect enable-local-variables and friends.
12363 Respect inhibit-local-variables-regexps for file-locals, but
12364 not for directory-locals.
12365 (set-visited-file-name):
12366 Take account of inhibit-local-variables-regexps.
12367 Whether it applies may change as the file name is changed.
12368 * jka-cmpr-hook.el (jka-compr-install):
12369 * jka-compr.el (jka-compr-uninstall):
12370 Update for inhibit-first-line-modes-suffixes name change.
12372 2012-01-20 Martin Rudalics <rudalics@gmx.at>
12374 * help-macro.el (make-help-screen): Temporarily restore original
12375 binding for minor-mode-map-alist (Bug#10454).
12377 2012-01-19 Julien Danjou <julien@danjou.info>
12379 * color.el (color-name-to-rgb): Use the white color to find the max
12380 color component value and return correctly computed values.
12381 (color-name-to-rgb): Add missing float conversion for max value.
12383 2012-01-19 Martin Rudalics <rudalics@gmx.at>
12385 * window.el (window--state-get-1, window-state-get): Do not use
12386 special state value for window-persistent-parameters.
12387 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
12388 (window--state-put-2): Reset all window parameters to nil before
12389 assigning values of persistent parameters.
12391 2012-01-18 Alan Mackenzie <acm@muc.de>
12393 Eliminate sluggishness and hangs in fontification of "semicolon
12396 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12397 Change value 10000 -> 3000.
12398 (c-state-safe-place): Reformulate so it doesn't stack up an
12399 infinite number of wrong entries in c-state-nonlit-pos-cache.
12400 (c-determine-limit-get-base, c-determine-limit): New functions to
12401 determine backward search limits disregarding literals.
12402 (c-find-decl-spots): Amend commenting.
12403 (c-cheap-inside-bracelist-p): New function which detects "={".
12405 * progmodes/cc-fonts.el
12406 (c-make-font-lock-BO-decl-search-function): Give a limit to a
12408 (c-font-lock-declarations): Fix an occurrence of point being
12409 undefined. Check additionally for point being in a bracelist or
12410 near a macro invocation without a semicolon so as to avoid a
12411 fruitless time consuming search for a declarator. Give a more
12412 precise search limit for declarators using the new
12415 2012-01-18 Glenn Morris <rgm@gnu.org>
12417 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12418 (set-auto-mode): Doc fixes.
12420 2012-01-17 Glenn Morris <rgm@gnu.org>
12422 * isearch.el (search-nonincremental-instead): Fix doc typo.
12424 * dired.el (dired-insert-directory): Handle newlines in directory name.
12425 (dired-build-subdir-alist): Unescape newlines in directory name.
12427 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
12429 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12430 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12431 (tramp-action-terminal): Use it. (Bug#10530)
12433 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12435 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12437 2012-01-16 Martin Rudalics <rudalics@gmx.at>
12439 * window.el (window-state-ignored-parameters): Remove variable.
12440 (window--state-get-1): Rename argument MARKERS to IGNORE.
12441 Handle persistent window parameters. Make copy of clone-of
12442 parameter only if requested. (Bug#10348)
12443 (window--state-put-2): Install a window parameter only if it has
12444 a non-nil value or an existing parameter shall be overwritten.
12446 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
12448 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12450 2012-01-14 Eli Zaretskii <eliz@gnu.org>
12452 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12453 don't pass the (nil) value of `upnode' to string-match.
12455 2012-01-14 Chong Yidong <cyd@gnu.org>
12457 * startup.el (command-line): Fix X resource class for cursorColor.
12458 Fix values recognized by the cursorBlink resource.
12460 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12462 * epg.el (epg--make-temp-file): Avoid permission race condition
12463 when running on old Emacs versions (bug#10403).
12465 2012-01-14 Glenn Morris <rgm@gnu.org>
12467 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12469 2012-01-13 Alan Mackenzie <acm@muc.de>
12471 Fix filling for when filladapt mode is enabled.
12473 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12474 c-mask-paragraph, pass in `fill-paragraph' rather than
12475 `fill-region-as-paragraph'. (This is a reversion of a previous
12477 * progmodes/cc-mode.el (c-basic-common-init):
12478 Make fill-paragraph-handle-comment buffer local and set it to nil.
12480 2012-01-13 Glenn Morris <rgm@gnu.org>
12482 * dired.el (dired-switches-escape-p): New function.
12483 (dired-insert-directory): Use dired-switches-escape-p.
12484 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12486 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12488 2012-01-12 Glenn Morris <rgm@gnu.org>
12490 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12491 changes in adaptive-fill-regexp. (Bug#10276)
12493 2012-01-11 Alan Mackenzie <acm@muc.de>
12495 Fix Emacs bug #10463 - put `widen's around the critical spots.
12497 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
12498 widen around each invocation of c-state-pp-to-literal. Remove an
12499 unused let variable.
12501 2012-01-11 Glenn Morris <rgm@gnu.org>
12503 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
12506 2012-01-10 Chong Yidong <cyd@gnu.org>
12508 * net/network-stream.el (network-stream-open-starttls):
12509 Avoid emitting a confusing error message when the server gives a bad
12510 response to the capability command.
12512 2012-01-10 Glenn Morris <rgm@gnu.org>
12514 * mail/unrmail.el (unrmail): Tweak previous change.
12516 2012-01-09 Chong Yidong <cyd@gnu.org>
12518 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12520 2012-01-08 Alan Mackenzie <acm@muc.de>
12522 Optimise font locking in long enum definitions.
12524 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12525 arm to a cond form to handle enums.
12526 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12527 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12529 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
12531 * files.el (move-file-to-trash): Preserve default file modes on error.
12534 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12536 * faces.el (set-face-attribute): Clarify the meaning of the nil
12539 * subr.el (with-selected-frame): Mention that the selected frame
12540 is restored (bug#9980).
12542 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12545 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
12546 (password-read): Don't autoload unused function.
12548 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
12550 * progmodes/which-func.el (which-func-mode): Turn into a
12551 non-interactive function and mark as obsolete (bug#10428).
12553 2012-01-06 Chong Yidong <cyd@gnu.org>
12555 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12556 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12557 functions, along with 1 and -1.
12559 2012-01-06 Eli Zaretskii <eliz@gnu.org>
12561 * time.el (display-time-load-average)
12562 (display-time-default-load-average): Doc fixes. See the thread
12564 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12567 2012-01-06 Glenn Morris <rgm@gnu.org>
12569 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12570 has no messages. (Bug#10377)
12572 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12573 than Info-edit. (Bug#10385)
12575 * time.el (display-time-load-average, display-time-next-load-average):
12578 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12579 local setting of buffer-read-only to the input buffer. (Bug#10419)
12581 * calendar/calendar.el (calendar-mode):
12582 Locally set scroll-margin to 0. (Bug#10379)
12584 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
12586 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12588 2012-01-05 Glenn Morris <rgm@gnu.org>
12590 * eshell/em-unix.el (diff-no-select): Autoload it.
12591 (eshell/diff): Use diff-no-select. (Bug#10420)
12593 2012-01-05 Chong Yidong <cyd@gnu.org>
12595 * shell.el (shell-dynamic-complete-functions): Revert last change.
12596 (shell-command-completion-function): New function.
12597 (shell-completion-vars): Use it to implement
12598 shell-completion-execonly (Bug#10417).
12600 * custom.el (enable-theme): Don't set custom-safe-themes.
12602 * cus-theme.el (custom-theme-merge-theme):
12603 Ignore custom-enabled-themes and custom-safe-themes.
12605 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12607 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12608 first prompt in `sql-interacive-mode'.
12609 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
12611 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
12612 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12613 context of original buffer. Invoke `sql-login-hook'.
12615 2012-01-04 Eli Zaretskii <eliz@gnu.org>
12617 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12618 letters in cite-prefix.
12620 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12622 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12624 2012-01-03 Chong Yidong <cyd@gnu.org>
12626 * shell.el (shell-dynamic-complete-functions):
12627 Put pcomplete-completions-at-point, so as to try
12628 comint-filename-completion first (Bug#10417).
12630 2012-01-02 Richard Stallman <rms@gnu.org>
12632 * battery.el (battery-status-function):
12633 Detect when to use battery-yeeloong-sysfs.
12634 (battery-echo-area-format): Add string for Yeeloong.
12635 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12636 (battery-yeeloong-sysfs): New function.
12638 2012-01-02 Chong Yidong <cyd@gnu.org>
12640 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12641 (dirtrack): Merge code for handling relative filenames in prompt
12642 from shell-dir-cookie-watcher.
12643 (dirtrack-debug-message): New arg to avoid excess format calls.
12645 * shell.el (shell-dir-cookie-re): Variable deleted.
12646 (shell-dir-cookie-watcher): Function deleted.
12647 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12648 with dirtrack-mode.
12650 2012-01-01 Eli Zaretskii <eliz@gnu.org>
12652 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12653 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
12656 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12658 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12660 2011-12-31 Eli Zaretskii <eliz@gnu.org>
12662 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12663 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12665 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
12667 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12668 also for alternative shells.
12669 (tramp-open-connection-setup-interactive-shell): Check, whether
12670 the shell is a busybox.
12671 (tramp-send-command): Don't suppress multiple prompts for
12672 busyboxes, it hurts.
12674 2011-12-28 Chong Yidong <cyd@gnu.org>
12676 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12677 (gdb-get-source-file): Move mode line update to
12678 gdb-get-source-file (Bug#10087).
12680 2011-12-25 Chong Yidong <cyd@gnu.org>
12682 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12683 gud-gdb-marker-filter without taking it as an argument.
12684 (gud-gdb-run-command-fetch-lines): Caller changed.
12685 (gud-gdb-completion-function): New variable.
12686 (gud-gdb-completion-at-point): Use it.
12687 (gud-gdb-completions-1): Split from gud-gdb-completions.
12689 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12690 function as separate arguments.
12691 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12692 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12693 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12694 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12695 (gdb-stopped, def-gdb-auto-update-trigger)
12696 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
12697 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12699 (gud-gdbmi-completions): New function.
12700 (gdb): Use it for generating the completion table.
12702 2011-12-24 Alan Mackenzie <acm@muc.de>
12704 Introduce a mechanism to widen the region used in context font
12705 locking. Use this to protect declarations from losing their contexts.
12707 * progmodes/cc-langs.el (c-before-font-lock-functions):
12708 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
12709 (c-before-context-fontification-functions): New defvar, a list of
12710 functions to be run just before context (etc.) font locking.
12712 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
12713 New, functionality extracted from
12714 c-neutralize-syntax-in-and-mark-CPP.
12715 (c-in-after-change-fontification): New variable.
12716 (c-after-change): Set c-in-after-change-fontification.
12717 (c-set-fl-decl-start): Rejig its interface, so it can be called
12718 from both after-change and context fontifying.
12719 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12721 (c-standard-font-lock-fontify-region-function): New variable.
12722 (c-font-lock-fontify-region): New function.
12724 2011-12-24 Juri Linkov <juri@jurta.org>
12726 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12729 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
12731 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12732 existence of source file. (Bug#10325)
12734 2011-12-23 Alan Mackenzie <acm@muc.de>
12736 Fix unstable fontification inside templates.
12738 * progmodes/cc-langs.el (c-before-font-lock-functions):
12739 Newly created from the singular version. The (c c++ objc) entry now
12740 additionally has c-set-fl-decl-start. The other languages (apart
12741 from AWK) have that as a single entry.
12743 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12744 The functionality for "local" declarations has been extracted to
12745 c-set-fl-decl-start.
12747 * progmodes/cc-mode.el (c-common-init, c-after-change):
12748 Changes due to pluralisation of c-before-font-lock-functions.
12749 (c-set-fl-decl-start): New function, extracted from
12750 c-font-lock-enclosing-decls and enhanced.
12752 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
12754 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12756 2011-12-22 Juri Linkov <juri@jurta.org>
12758 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12760 2011-12-22 Chong Yidong <cyd@gnu.org>
12762 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12764 2011-12-21 Drew Adams <drew.adams@oracle.com>
12766 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12768 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12770 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12772 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12774 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12775 highlighting and support. Fix up comments for capitalization.
12776 (cfengine-mode-debug): New var.
12777 (cfengine3-mode): Change the modeline indicator to "CFE3".
12778 (cfengine3-font-lock-keywords): Improve defun highlighting.
12779 (cfengine2-actions): Rename from `cfengine-actions'.
12780 (cfengine2-font-lock-keywords): Rename from
12781 `cfengine-font-lock-keywords'.
12782 (cfengine2-imenu-expression): Rename from
12783 `cfengine-imenu-expression'.
12784 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12785 (cfengine2-beginning-of-defun): Rename from
12786 `cfengine-beginning-of-defun'.
12787 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12788 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12789 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12790 modeline indicator to "CFE2".
12791 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12792 (cfengine-mode-abbrevs): Mark obsolete.
12794 2011-12-21 Chong Yidong <cyd@gnu.org>
12796 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12799 2011-12-20 Martin Rudalics <rudalics@gmx.at>
12801 * window.el (window-normalize-buffer-to-display): Remove.
12802 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12804 2011-12-19 Chong Yidong <cyd@gnu.org>
12806 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12807 Don't signal an error in a predicate function; return non-nil.
12808 (vc-dir-mark-file): Move the error here.
12809 (vc-dir-mark-unmark): If acting on the region, keep going if one
12810 of the entries cannot be marked/unmarked.
12811 (vc-dir-mark-all-files): If current entry is a directory, mark
12812 only child files, as documented.
12814 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12816 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12817 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12820 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12822 * term/ns-win.el (ns-get-selection-internal)
12823 (ns-store-selection-internal): Declare.
12824 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12825 Declare as obsolete.
12826 (ns-get-pasteboard, ns-paste-secondary):
12827 Use ns-get-selection-internal.
12828 (ns-set-pasteboard, ns-copy-including-secondary):
12829 Use ns-store-selection-internal.
12831 2011-12-17 Chong Yidong <cyd@gnu.org>
12833 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
12834 (vc-deduce-fileset): Doc fix.
12836 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12838 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12840 2011-12-13 Sam Steingold <sds@gnu.org>
12842 * man.el (Man-getpage-in-background): When running under a
12843 window-system, ignore $MANWIDTH and $COLUMNS.
12845 2011-12-15 Kenichi Handa <handa@m17n.org>
12847 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12848 (setup-ethiopic-environment-internal): Comment out key-binding for
12849 ethio-toggle-punctuation.
12851 2011-12-13 Alan Mackenzie <acm@muc.de>
12853 Add the switch statement to AWK Mode.
12855 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
12856 "default" to the keywords regexp.
12858 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
12859 expression as the rest.
12860 (c-nonlabel-token-key): Allow string literals for AWK.
12861 Refactor for the other modes.
12863 Large brace-block initialisation makes CC Mode slow: Fix.
12864 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
12865 routines. Limit backward searching in c-font-lock-enclosing.decl.
12867 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12868 pp-state and literal type in addition to the limits.
12869 (c-state-safe-place): New defun, extracted from c-state-literal-at.
12870 (c-state-literal-at): Use the above new defun.
12871 (c-slow-in-literal, c-fast-in-literal): Remove.
12872 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
12874 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12875 being in a literal. Add a limit for backward searching.
12877 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12880 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12882 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12884 2011-12-13 Martin Rudalics <rudalics@gmx.at>
12886 * window.el (delete-other-windows): Use correct frame in call to
12887 window-with-parameter.
12889 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12891 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12892 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12893 (makefile-gmake-statements, makefile-makepp-statements):
12894 Use it and add new makepp keywords.
12895 (makefile-makepp-font-lock-keywords): Add new patterns.
12896 (makefile-match-function-end): Match new [...] and [[...]].
12898 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
12900 * ses.el (ses-call-printer-return, ses-cell-property-get)
12901 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12902 (ses-create-cell-variable, ses-reset-header-string)
12903 (ses-cell-set-formula, ses-repair-cell-reference-all)
12904 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12905 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12906 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12907 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12908 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12909 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12910 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12911 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12912 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12913 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12914 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12915 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12917 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12919 * ses.el: The overall change is to add cell renaming, that is
12920 setting fancy names for cell symbols other than name matching
12921 "\\`[A-Z]+[0-9]+\\'" regexp .
12922 (ses-create-cell-variable): New defun.
12923 (ses-relocate-formula): Relocate formulas only for cells the
12924 symbols of which are not renamed, i.e. symbols whose names do not
12925 match regexp "\\`[A-Z]+[0-9]+\\'".
12926 (ses-relocate-all): Relocate values only for cells the symbols of
12927 which are not renamed.
12928 (ses-load): Create cells variables as the (ses-cell ...) are read,
12929 in order to check row col consistency with cell symbol name only
12930 for cells that are not renamed.
12931 (ses-replace-name-in-formula): New defun.
12932 (ses-rename-cell): New defun.
12934 2011-12-11 Chong Yidong <cyd@gnu.org>
12936 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12937 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12939 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12941 * window.el (other-window): Fix docstring.
12943 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12945 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
12946 `from' or `to' address before taking its substring.
12947 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
12948 encoded name is chopped in the middle of the encoded string, and
12949 thus displayed encoded.
12951 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
12953 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12955 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12957 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12958 to use texinfo-update-node and commands that call it if the
12959 Texinfo file uses @node lines without next/prev/up pointers.
12960 Correct outdated description about texinfo-master-menu.
12961 (texinfo-all-menus-update, texinfo-master-menu)
12962 (texinfo-update-node, texinfo-every-node-update)
12963 (texinfo-multiple-files-update): Doc fix. Warn against updating
12964 all the @node lines.
12965 (texinfo-master-menu): Only call texinfo-update-node if the prefix
12966 argument is numeric. Explain better in the doc string what the
12967 function really does.
12968 (texinfo-insert-master-menu-list): Improve the error message
12969 displayed if there's no menu in the Top node.
12970 (Bug#2975) See also this thread:
12971 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12973 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12975 * speedbar.el (speedbar-supported-extension-expressions):
12976 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12978 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
12980 * printing.el (pr-mode-alist):
12981 * simple.el (filter-buffer-substring-functions)
12982 (completion-list-insert-choice-function):
12983 * window.el (window-with-parameter, window-atom-root)
12984 (window-sides-slots, window-size-fixed, window-min-delta)
12985 (window-max-delta, window--resize-mini-window)
12986 (window--resize-child-windows-normal, window-tree)
12987 (delete-other-windows, quit-window, split-window)
12988 (display-buffer-record-window, special-display-buffer-names)
12989 (special-display-regexps, special-display-popup-frame)
12990 (same-window-p, split-window-sensibly)
12991 (display-buffer-overriding-action, display-buffer-alist)
12992 (display-buffer-base-action, display-buffer, switch-to-buffer)
12993 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12994 (fit-window-to-buffer, recenter-positions)
12995 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12996 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12997 and remove unneeded backslashes in docstrings.
12999 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13001 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
13003 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
13004 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
13006 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
13007 when reading the makefile (bug#10116).
13009 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13011 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
13014 2011-12-06 Glenn Morris <rgm@gnu.org>
13016 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
13018 2011-12-06 Chong Yidong <cyd@gnu.org>
13020 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13022 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
13024 * textmodes/table.el (table-shorten-cell): Fix typo.
13026 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
13028 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13030 2011-12-05 Eli Zaretskii <eliz@gnu.org>
13032 * descr-text.el (describe-char): Fix display of strong
13033 right-to-left characters and directional embeddings and overrides.
13035 * simple.el (what-cursor-position): Fix display of codepoints of
13036 strong right-to-left characters.
13038 2011-12-05 Chong Yidong <cyd@gnu.org>
13040 * faces.el (read-color): Doc fix.
13042 2011-12-05 Glenn Morris <rgm@gnu.org>
13044 * align.el (align--set-marker): Add doc-string.
13045 Don't try to move something that is not a marker. (Bug#10216)
13047 2011-12-04 Glenn Morris <rgm@gnu.org>
13049 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13050 overly zealous deletion of trailing whitespace.
13052 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
13054 * server.el (server-delete-client): On Windows, do not try to delete
13056 (server-process-filter): On Windows, treat requests for a tty frame as
13057 if they were for a GUI frame if the running server is in GUI mode.
13059 2011-12-03 Glenn Morris <rgm@gnu.org>
13061 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
13063 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13065 * electric.el: Streamline electric-indent's hook.
13066 (electric-indent-chars): Revert to simple list.
13067 (electric-indent-functions): New var.
13068 (electric-indent-post-self-insert-function): Use it.
13070 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13071 there's no inferior buffer (bug#10196).
13072 (prolog-consult-compile): Don't use toggle-read-only.
13074 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
13076 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13077 interrupt. (Bug#10187)
13079 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13081 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13084 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13087 2011-12-02 Juri Linkov <juri@jurta.org>
13089 * info.el (Info-search): Display "end of manual" when Isearch
13090 reaches the end of single-file Info manual. (Bug#9918)
13092 2011-12-02 Eli Zaretskii <eliz@gnu.org>
13094 * isearch.el (isearch-message-prefix): Run the input method part
13095 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
13097 2011-12-02 Juri Linkov <juri@jurta.org>
13099 * isearch.el (isearch-occur): Use `word-search-regexp' for
13101 (isearch-search-and-update): Add condition for `isearch-word' and
13102 call `word-search-regexp'. (Bug#10145)
13104 2011-12-01 Glenn Morris <rgm@gnu.org>
13106 * eshell/em-hist.el (eshell-hist-initialize):
13107 Handle eshell-history-size nil and HISTSIZE set or unset.
13108 (eshell-history-file-name, eshell-history-size): Fix custom type.
13110 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13112 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13114 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
13116 * progmodes/verilog-mode.el (verilog-pretty-expr):
13117 Rework verilog-pretty-expr to handle new assignment operators in system
13118 verilog, such as += *= and the like.
13119 (verilog-assignment-operator-re): Regular expression to find the
13120 assigment operator in a verilog assignment.
13121 (verilog-assignment-operation-re): Regular expression to find an
13122 assignment statement for pretty-expr.
13123 (verilog-in-attribute-p): Query returns true if point is in an
13124 attribute context; used to skip these for expression line up from
13126 (verilog-in-parameter-p): Query returns true if point is in an
13127 parameter definition context; used to skip these for expression
13128 line up from pretty-expr.
13129 (verilog-in-parenthesis-p): Query returns true if point is in a
13130 parenthetical expression, specifically ( ) but not [ ] or { };
13131 used by pretty-expr.
13132 (verilog-just-one-space): If there is no space, don't add one.
13133 (verilog-get-lineup-indent-2): Specifically skip just attribute
13134 contexts for expression lineup, rather than skipping all
13135 parenthetical expressions.
13136 (verilog-calculate-indent): Fix comment, and fix indent.
13137 (verilog-do-indent): Indent declarations in lists (suggested by
13139 (verilog-mode-abbrev-table): Populate abbrev mode with the various
13141 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13144 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
13146 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13147 parameters with embedded comments. Reported by Ray Stevens.
13148 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13149 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13150 Reported by Tim Holt.
13151 (verilog-auto): Fix AUTOing a upper module then AUTOing module
13152 instantiated by upper module causing wrong expansion until AUTOed a
13153 second time. Reported by K C Buckenmaier.
13154 (verilog-diff-auto): Fix showing .* as a difference when
13155 `verilog-auto-star-save' off. Reported by Dan Dever.
13156 (verilog-auto-reset, verilog-read-always-signals)
13157 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13158 temporary signals in reset list if
13159 verilog-auto-reset-blocking-in-non is nil, and match assignment
13160 style to each signal's assignment type, bug381.
13161 Reported by Thomas Esposito.
13162 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13163 (verilog-uvm-statement-re): Support UVM indentation and
13164 highlighting, with old OVM keywords only.
13165 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
13166 Support AUTOTIEOFF creating non-wire data types.
13167 Suggested by Jonathan Greenlaw.
13168 (verilog-auto-insert-lisp, verilog-delete-to-paren)
13169 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13170 (verilog-inject-sense, verilog-read-inst-pins)
13171 (verilog-read-sub-decls, verilog-read-sub-decls-line):
13172 Fix mismatching parenthesis inside commented out code when deleting
13173 AUTOINST, bug383. Reported by Jonathan Greenlaw.
13174 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13175 non-numeric vector width. Reported by Alex Reed.
13176 (verilog-auto-ascii-enum): Add "onehot" option to work around not
13177 detecting signals with parameter widths. Reported by Alex Reed.
13178 (verilog-auto-delete-trailing-whitespace):
13179 With `verilog-auto-delete-trailing-whitespace' remove trailing
13180 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
13181 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13182 Fix verilog-scan-cache corruption when running user AUTO expansion
13183 hooks that call indentation routines.
13184 (verilog-simplify-range-expression): Fix typo ignoring lower case
13186 (verilog-delete-auto): Fix delete-autos to also remove user created
13187 automatics, as long as they start with AUTO.
13188 (verilog-batch-diff-auto, verilog-diff-auto)
13189 (verilog-diff-function): Add `verilog-diff-auto' and bind to
13190 "C-c?" to report differences in AUTO expansion, ignoring spaces.
13191 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13192 (verilog-in-paren-quick, verilog-re-search-backward-quick)
13193 (verilog-re-search-forward-quick, verilog-syntax-ppss):
13194 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
13195 is disabled and its cache will get corrupt, causing AUTOS not to
13196 expand. Instead use only -quick functions.
13197 (verilog-scan-region): Fix scanning over escaped quotes.
13198 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13199 (verilog-re-search-backward-quick)
13200 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13201 related functions now ignore strings, to fix misparsing of strings
13202 with magic comments embedded in them.
13203 (verilog-read-auto-template):
13204 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13205 Reported by Brad Dobbie.
13206 (verilog-read-auto-template):
13207 Fix 'verilog-auto-inst-template-numbers' with comments.
13208 Reported by Brad Dobbie.
13209 (verilog-auto-inst, verilog-auto-inst-param)
13210 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13211 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
13212 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
13213 debugging templates without merge conflicts, bug357.
13214 Reported by Brad Dobbie.
13215 (verilog-read-auto-template):
13216 Fix verilog-auto-inst-template-numbers with multiple templates.
13217 Reported by Brad Dobbie.
13218 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13219 abbrevs so user won't be asked to save.
13220 (verilog-read-auto-lisp-present): Fix to start at beginning of
13221 buffer in case called outside of verilog-auto.
13222 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13223 to "X-2". Reported by Matthew Myers.
13224 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13225 all inputs from module templates. Reported by Leith Johnson.
13226 (verilog-module-inside-filename-p): Fix locating programs as with
13228 (verilog-auto-inst-port): Fix vl-width expressions when using
13229 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
13230 (verilog-decls-get-regs, verilog-decls-get-signals,
13231 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13232 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13233 verilog-read-decls): Combine reg and wire structures into one var
13234 structure to represent SystemVerilog concepts.
13235 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13236 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
13237 (verilog-auto-wire-type, verilog-insert-definition):
13238 Add verilog-auto-wire-type and AUTOLOGIC to support using
13239 SystemVerilog "logic" keyword instead of "wire"/"reg".
13240 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13241 to declares outputs that also have assignments (presumably in an
13242 ifdef or generate if so there's not a driver conflict).
13243 Reported by Matthew Myers.
13244 (verilog-auto-declare-nettype, verilog-insert-definition):
13245 Add verilog-auto-declare-nettype to fix declarations using
13246 `default_nettype none. Reported by Julian Gorfajn.
13247 (verilog-read-always-signals-recurse, verilog-read-decls)
13248 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13249 malformed end statement, bug325. Reported by Joshua Wise and
13251 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13252 (verilog-inst-comment-re): Fix not deleting Interfaced comment
13253 when expanding .* in interfaces, bug320.
13254 Reported by Pierre-David Pfister.
13255 (verilog-read-module-name): Fix import statements between module
13256 name and open parenthesis, bug317.
13257 Reported by Pierre-David Pfister.
13258 (verilog-simplify-range-expression): Fix simplification of
13259 multiplications inside AUTOWIRE connections, bug303.
13260 (verilog-auto-inst-port): Support parameter expansion in
13261 multidimensional arrays.
13262 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13263 after "assert property". Reported by Julian Gorfajn.
13264 (verilog-simplify-range-expression): Fix "couldn't merge" errors
13265 with multiplication, bug303.
13266 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13267 Reported by Jan Frode Lonnum.
13269 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
13271 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13272 (hfy-shell-file-name, hfy-shell):
13273 * international/fontset.el (x-decompose-font-name): Fix typos.
13275 2011-11-29 Ken Brown <kbrown@cornell.edu>
13277 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13278 (gdb-version): Remove defvar.
13279 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13280 (gdb-gud-context-command, gdb-non-stop-handler)
13281 (gdb-current-context-command, gdb-stopped): Use it.
13282 (gdb-init-1): Enable pretty printing here.
13283 (gdb-non-stop-handler): Don't enable pretty-printing here.
13284 Check to see if the target supports non-stop mode; if not, turn off
13285 non-stop mode. Use the following.
13286 (gdb-check-target-async): New defun.
13287 (gud-watch, gdb-stopped): Fix whitespace.
13288 (gdb-get-source-file): Don't try to display the source file if
13289 `gdb-main-file' is nil.
13291 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13293 * align.el: Try to generate fewer markers (bug#10047).
13294 (align--set-marker): New macro.
13295 (align-region): Use it.
13297 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13299 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13301 2011-11-29 Chong Yidong <cyd@gnu.org>
13303 * indent.el (indent-for-tab-command, indent-according-to-mode):
13305 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
13307 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
13309 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13310 aware of remote file names. (Bug#10124)
13312 2011-11-29 Chong Yidong <cyd@gnu.org>
13314 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13316 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13318 * files.el (find-file): Don't use force-same-window (bug#10144).
13319 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13320 use pop-to-buffer if the selected window can't be used.
13321 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13323 2011-11-28 Eli Zaretskii <eliz@gnu.org>
13325 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13328 2011-11-28 Chong Yidong <cyd@gnu.org>
13330 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13332 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
13334 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13335 gdb-get-source-file-list on gdb-create-source-file-list.
13337 2011-11-26 Eli Zaretskii <eliz@gnu.org>
13339 * whitespace.el (whitespace-newline): Use a different foreground
13340 color for 16-color light-background displays.
13342 2011-11-24 Chong Yidong <cyd@gnu.org>
13344 * window.el (display-buffer--special-action): Doc fix.
13346 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
13348 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13349 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13350 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13351 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13352 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13353 (avl-tree-stack-first):
13354 * emacs-lisp/cconv.el (cconv--analyse-use):
13355 * net/gnutls.el (gnutls-negotiate): Fix typos.
13357 2011-11-24 Glenn Morris <rgm@gnu.org>
13359 * lpr.el (lpr-windows-system, lpr-lp-system):
13360 * mail/binhex.el (binhex-begin-line):
13361 * progmodes/grep.el (grep-history, grep-find-history):
13362 * textmodes/flyspell.el:
13363 * vc/pcvs-defs.el (cvs-global-menu):
13364 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13365 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13366 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13368 * net/tls.el: Fix case of "GnuTLS".
13370 * paths.el (rmail-file-name): Format doc-string for make-docfile.
13372 * version.el (emacs-build-system): Give it a doc-string.
13374 2011-11-24 Juri Linkov <juri@jurta.org>
13376 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13378 2011-11-24 Glenn Morris <rgm@gnu.org>
13380 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13381 if called on a non-mime message just toggle the headers. (Bug#8006)
13383 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
13385 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13386 (allout-lead-with-comment-string, allout-structure-deleted-hook)
13387 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13388 (allout-rebullet-heading, allout-open-sibtopic)
13389 (allout-toggle-current-subtree-encryption)
13390 (allout-toggle-subtree-encryption, allout-encrypt-string)
13391 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13392 (allout-distinctive-bullets-string, allout-auto-activation):
13393 * window.el (window-normalize-buffer-to-display):
13394 * progmodes/verilog-mode.el (verilog-batch-indent):
13395 * textmodes/bibtex.el (bibtex-field-braces-opt)
13396 (bibtex-field-strings-opt):
13397 * vc/cvs-status.el (cvs-tree-merge):
13400 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
13402 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13403 `non-essential' to t, in order to avoid remote connections.
13405 2011-11-23 Eli Zaretskii <eliz@gnu.org>
13407 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13408 On MS-DOS and MS-Windows, compare with loaddefs.el
13409 case-insensitively.
13411 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13413 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
13415 2011-11-23 Glenn Morris <rgm@gnu.org>
13417 * paths.el (rmail-file-name): Reformat the doc-string so that it
13420 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13421 (rmail-auto-file): Ignore case in the "special" field names,
13422 as mail-fetch-field does for all others.
13424 * mail/rmail.el (rmail-forward):
13425 * mail/rmailkwd.el (rmail-set-label):
13426 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13427 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13429 * mail/rmail.el (rmail-current-message): Doc fix.
13431 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13433 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13435 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13437 2011-11-22 Glenn Morris <rgm@gnu.org>
13439 * mail/rmailmm.el (test-rmail-mime-handler)
13440 (test-rmail-mime-bulk-handler)
13441 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13443 2011-11-21 Juri Linkov <juri@jurta.org>
13445 * calc/calc.el (calc-read-key-sequence):
13446 Let-bind `input-method-function' to nil. (Bug#10018)
13448 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13450 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13451 Tell the caller that the next line needs recomputation, even
13452 though it doesn't start a sexp (bug#10094).
13454 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13456 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13458 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13460 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13461 Use force-same-window.
13463 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13465 * descr-text.el (describe-char-unicode-data):
13466 * json.el (json-string-escape):
13467 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13468 (Footnote-unicode, Footnote-style-p):
13469 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13471 2011-11-20 Chong Yidong <cyd@gnu.org>
13473 * window.el (replace-buffer-in-windows): Restore interactive spec.
13475 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13477 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13479 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13480 (byte-compile-global-not-obsolete-vars): New var.
13481 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13483 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13485 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13487 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13488 * progmodes/pascal.el (electric-pascal-equal):
13489 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13490 * xml.el (xml-substitute-special): Fix typos.
13492 2011-11-20 Glenn Morris <rgm@gnu.org>
13494 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13495 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13497 (rmail-decode-mime-charset): Mark as obsolete.
13499 * mail/rmailsum.el (rmail-message-regexp-p-1):
13500 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13501 Before using mime functions, check they are set. (Bug#10077)
13503 2011-11-19 Juri Linkov <juri@jurta.org>
13505 * info.el (Info-finder-find-node): Use `package--builtins' instead
13506 of `package-alist'. Use node names formed by the pattern "Keyword "
13507 and the keyword name.
13509 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13511 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
13513 2011-11-19 Juri Linkov <juri@jurta.org>
13515 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13516 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13517 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13518 `old-history', `old-history-forward'. Add let-binding
13519 `window-selected'. Remove calls to `kill-buffer',
13520 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13521 before calling `Info-find-node', so `Info-find-node-2' will reread
13522 the Info file. Restore window positions only when `window-selected'
13525 2011-11-19 Juri Linkov <juri@jurta.org>
13527 * isearch.el (isearch-lazy-highlight-new-loop):
13528 Remove condition `(not isearch-error)'. (Bug#9918)
13530 * misearch.el (multi-isearch-search-fun): Add condition
13531 `(not bound)' to ignore lazy-highlighting search.
13532 Add the search-failed message "end of multi" when the end of
13533 multi-sequence is reached. Uncapitalize the search-failed
13534 message "Repeat for next buffer".
13536 * info.el (Info-search): Add the search-failed message
13537 "end of the manual" when the end of the manual is reached
13540 2011-11-19 Juri Linkov <juri@jurta.org>
13542 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13543 Use non-destructive `remove' instead of `delete' because
13544 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13545 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13547 2011-11-19 Juri Linkov <juri@jurta.org>
13549 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13550 to nil instead of binding `search-ring' and `regexp-search-ring'.
13553 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13555 * simple.el (line-move): Force movement by logical lines for any
13556 hscrolled window, not only when auto-hscroll-mode is on.
13557 (line-move-visual): Update doc string to that effect. (Bug#10076)
13559 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13561 * language/european.el (macintosh): Define as alias for mac-roman.
13563 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13565 * mail/rmailmm.el (rmail-mime-display-header)
13566 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13567 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13568 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13569 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13570 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13572 (rmail-mime-entity-segment): To get past the tagline, move forward
13573 2 more lines, to account for the 2 empty lines that precede and
13574 follow the line with the buttons.
13575 (rmail-mime-update-tagline): Move one more line, to get past the
13576 empty line that follows the buttons in the tagline. (Bug#9520)
13578 2011-11-19 Martin Rudalics <rudalics@gmx.at>
13580 * window.el (window-max-delta-1, window-min-delta-1)
13581 (window-min-size-1, window-state-get-1, window-state-put-1)
13582 (window-state-put-2): Use "window--" prefix.
13584 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13586 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13587 (smie-warning-count): New var.
13588 (smie-set-prec2tab): Use it.
13589 (smie-bnf->prec2): Improve warnings. Add docstring.
13590 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13591 (smie-bnf--set-class): New function.
13592 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13595 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13596 (compilation-error-properties, compilation-move-to-column):
13597 Handle compilation-first-column while in the target buffer.
13599 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13600 Don't hardcode point-min==1.
13602 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13603 (eshell-rewrite-for-command): Remove workaround.
13604 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13605 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13606 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13608 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13610 2011-11-17 Glenn Morris <rgm@gnu.org>
13612 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13613 Ignore buffer-local generated-autoload-file if it is the same
13614 as the global value. (Bug#10049)
13616 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
13618 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13619 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13620 (reftex-toc-previous-heading, reftex-toc-max-level)
13621 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13622 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13623 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13624 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13625 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13626 (reftex-toc-rename-label, reftex-toc-visit-location)
13627 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13628 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13629 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13630 leaving "*toc*" only for references to the buffer.
13632 2011-11-17 Martin Rudalics <rudalics@gmx.at>
13634 * window.el (window-resize, delete-window, split-window):
13635 Replace window-splits by window-combination-resize.
13636 * cus-start.el (window-splits): Replace by window-combination-resize.
13638 2011-11-17 Glenn Morris <rgm@gnu.org>
13640 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13641 Make bash entry derive from sh entry, not shell entry.
13643 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
13645 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13648 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13650 * menu-bar.el (menu-bar-file-menu):
13651 * printing.el (pr-ps-utility):
13652 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13653 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13654 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13655 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13656 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13657 (icalendar--convert-cyclic-to-ical)
13658 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13659 (icalendar--convert-ical-to-diary)
13660 (icalendar--convert-recurring-to-diary)
13661 (icalendar--convert-non-recurring-all-day-to-diary)
13662 (icalendar-import-format-sample):
13663 * progmodes/idlw-shell.el (idlwave-shell-mode):
13664 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13665 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13666 (vhdl-ps-print-init): Fix typos.
13668 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13670 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13671 FSF and collapse date sequence, obscure author/maintainer email address
13672 better, remove extra version line, track relocation of author's webpage.
13674 * progmodes/python.el (python-pdbtrack-input-prompt)
13675 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13676 regular python pdb prompts. Adjustments shamelessly taken exactly as
13677 suggested in EmacsWiki page (tiny change):
13678 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
13680 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13682 * expand.el (expand-pos, expand-index, expand-point):
13683 Remove redundant info from docstring.
13684 (expand-add-abbrevs): Doc fix.
13685 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13686 (expand-sample-perl-mode-expand-list): Fix typos.
13688 * net/dbus.el (dbus-event-member-name):
13689 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13690 * term/pc-win.el (msdos-create-frame-with-faces):
13691 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13693 2011-11-16 Martin Rudalics <rudalics@gmx.at>
13695 * window.el (split-window, window-state-get-1)
13696 (window-state-put-1, window-state-put-2): Rename occurrences of
13697 window-nest to window-combination-limit.
13698 * cus-start.el (window-nest): Rename to window-combination-limit.
13700 2011-11-16 Chong Yidong <cyd@gnu.org>
13702 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13703 regexp (Bug#10033).
13705 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13707 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13708 `completing-read' will remove *Completions* and will preserve
13709 current-buffer for us.
13710 (tmm-add-prompt): Users of *Completions* will always (re)set its
13712 (tmm-old-comp-map): Remove.
13714 2011-11-16 Glenn Morris <rgm@gnu.org>
13716 * mail/rmailedit.el: Require rmailmm when compiling.
13717 (rmail-old-mime-state): New declaration.
13718 (rmail-edit-current-message): If editing a mime message,
13719 edit the "raw" message from the mbox buffer.
13720 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13722 2011-11-15 Glenn Morris <rgm@gnu.org>
13724 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13725 which wasn't being used. Add optional arg to force given state.
13726 (rmail-mime): Add optional arg to force given state.
13728 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13730 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13731 * frame.el (display-mm-dimensions-alist):
13732 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13733 (outline-move-subtree-down):
13734 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13735 (newsticker--treeview-do-get-node):
13736 * net/quickurl.el (quickurl-list-buffer-name):
13737 * progmodes/dcl-mode.el (dcl-mode):
13738 * progmodes/gdb-mi.el (gdb-mapcar*):
13739 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13741 2011-11-15 Glenn Morris <rgm@gnu.org>
13743 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13744 in a boolean sense, so just make it a boolean, and fix the doc.
13745 (rmail-show-mime-function, rmail-mime-feature)
13746 (rmail-require-mime-maybe): Doc fixes.
13747 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13749 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13751 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13753 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13754 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13755 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13756 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13758 2011-11-15 Glenn Morris <rgm@gnu.org>
13760 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13761 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13762 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13763 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13764 (rmail-mime, rmail-show-mime): Doc fixes.
13766 * term/ns-win.el (mode-line-frame-identification):
13767 Leave it alone. (Bug#10051)
13769 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13771 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13772 Handle empty buffers. (Bug#9978)
13774 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
13776 * international/mule.el (define-charset):
13777 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13778 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13779 * progmodes/verilog-mode.el (verilog-backward-token):
13780 * textmodes/ispell.el (lookup-words):
13781 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13783 2011-11-14 Glenn Morris <rgm@gnu.org>
13785 * progmodes/executable.el
13786 (executable-make-buffer-file-executable-if-script-p):
13787 Handle file-modes returning nil.
13789 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13790 message - not necessary, and causes problems. (Bug#9831)
13792 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13794 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13796 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13797 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13798 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13800 2011-11-12 Martin Rudalics <rudalics@gmx.at>
13802 * window.el (window-resize, delete-window): Use window-splits
13803 variable instead of function.
13804 (window-state-get-1, window-state-put-2, window-state-put):
13805 Don't deal with windows' splits status.
13807 2011-11-12 Glenn Morris <rgm@gnu.org>
13809 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13810 (apropos-documentation): Doc fixes.
13812 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
13814 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13815 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13817 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13819 * electric.el (electric-indent-post-self-insert-function): Make it
13820 possible for a char to only indent in some circumstances.
13821 (electric-indent-mode): Simplify.
13823 2011-11-11 Martin Rudalics <rudalics@gmx.at>
13825 * window.el (windows-with-parameter): Remove unused function.
13826 (windows-at-side): Rename to window-at-side-list.
13827 (window-check, window-atom-check, window-atom-check-1)
13828 (window-side-check, window-size-ignore, window-size-fixed-1)
13829 (window-in-direction-2): Prefix with "window--".
13830 (window-tree-1): Rename to window--subtree, fix doc-string.
13832 2011-11-11 Glenn Morris <rgm@gnu.org>
13834 * subr.el (eval-after-load): If FILE is already loaded,
13835 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13837 2011-11-10 Glenn Morris <rgm@gnu.org>
13839 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13840 Call svn via vc-svn-command rather than vc-do-command.
13841 (vc-svn-command): Add --non-interactive. (Bug#9993)
13842 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13844 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13845 Add toggle-read-only. (Bug#7292)
13846 * files.el (toggle-read-only): Mention that it should only
13847 be used interactively. (Bug#10006)
13849 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13851 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13852 Adjust regexp for OCaml warnings.
13854 * electric.el (electric-pair-post-self-insert-function): Let user
13855 turn it off buffer-locally (bug#9932).
13857 * progmodes/python.el (python-beginning-of-statement):
13858 Rewrite (bug#2703).
13860 * progmodes/compile.el: Better handle TABs (bug#9749).
13861 (compilation-internal-error-properties)
13862 (compilation-next-error-function): Obey the target buffer's
13863 compilation-error-screen-columns.
13865 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
13867 * progmodes/meta-mode.el: Remove obsolete comments.
13868 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13869 Fix typos in docstrings.
13871 2011-11-09 Martin Rudalics <rudalics@gmx.at>
13873 * window.el (window-size-fixed-p): Rewrite doc-string.
13874 (window-resizable-p): Rename to window--resizable-p. Update callers.
13875 (window--resizable): New function. Make all callers of
13876 window-resizable call window--resizable instead.
13877 (window-resizable): Rewrite in terms of window--resizable.
13879 2011-11-08 Glenn Morris <rgm@gnu.org>
13881 * progmodes/delphi.el (delphi-mode-syntax-table):
13882 Let define-derived-mode define a proper syntax table. (Bug#9994)
13884 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13886 * window.el: Stay away from defsubst.
13887 (window-list-no-nils): Remove.
13888 (window-state-get-1, window-state-get): Use backquote instead.
13890 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13892 * emacs-lisp/find-func.el (find-function-read):
13893 Fix incorrect use of default argument in `completing-read'.
13895 2011-11-08 Martin Rudalics <rudalics@gmx.at>
13897 * window.el (display-buffer-function, special-display-function):
13898 Mention display-buffer-record-window but do not mention
13899 help-setup parameter in doc-strings.
13900 (window-min-delta): Fix doc-string typo.
13902 2011-11-08 Chong Yidong <cyd@gnu.org>
13904 * window.el (window-total-height, window-total-width): Doc fix.
13905 (window-body-size): Move from C.
13906 (window-body-height, window-body-width): Move to C.
13908 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13910 * window.el: Make special-display like display-buffer-alist (bug#9532).
13911 (display-buffer--special-action): New function, morphed
13912 from display-buffer--special.
13913 (display-buffer): Use it to handle special-display-buffers at higher
13914 priority (just after display-buffer-alist).
13915 (display-buffer-fallback-action, display-buffer--other-frame-action)
13916 (pop-to-buffer-same-window): Remove display-buffer--special.
13918 2011-11-07 Glenn Morris <rgm@gnu.org>
13920 * calendar/cal-menu.el (cal-menu-set-date-title):
13921 Do nothing if not in a calendar. (Bug#9976)
13923 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13925 * files.el (find-file): Always use selected-window.
13927 2011-11-07 Martin Rudalics <rudalics@gmx.at>
13929 * window.el (window-combinations): Make WINDOW argument
13930 mandatory. Rewrite doc-string.
13931 (walk-window-subtree, window-atom-check, window-min-delta)
13932 (window-max-delta, window--resize-this-window)
13933 (window--resize-root-window-vertically, window-tree)
13934 (balance-windows, window-state-put): Rewrite doc-strings as to
13935 not mention the term "subwindow".
13936 (window--resize-subwindows-skip-p): Rename to
13937 window--resize-child-windows-skip-p.
13938 (window--resize-subwindows-normal): Rename to
13939 window--resize-child-windows-normal.
13940 (window--resize-subwindows): Rename to
13941 window--resize-child-windows.
13942 (window-or-subwindow-p): Rename to window--in-subtree-p.
13944 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13946 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13947 Ensure that mbox format messages end in two newlines (Bug#9974).
13949 2011-11-06 Chong Yidong <cyd@gnu.org>
13951 * window.el (window-combination-p): Function deleted; its
13952 side-effect is not used in any existing code.
13953 (window-combinations, window-combined-p): Call window-*-child
13956 2011-11-05 Chong Yidong <cyd@gnu.org>
13958 * window.el (window-valid-p): Rename from window-any-p.
13959 (window-size-ignore, window-state-get): Callers changed.
13960 (window-normalize-window): Rename from window-normalize-any-window.
13961 New arg LIVE-ONLY, replacing window-normalize-live-window.
13962 (window-normalize-live-window): Delete.
13963 (window-combination-p, window-combined-p, window-combinations)
13964 (walk-window-subtree, window-atom-root, window-min-size)
13965 (window-sizable, window-sizable-p, window-size-fixed-p)
13966 (window-min-delta, window-max-delta, window-resizable)
13967 (window-resizable-p, window-full-height-p, window-full-width-p)
13968 (window-current-scroll-bars, window-point-1, set-window-point-1)
13969 (window-at-side-p, window-in-direction, window-resize)
13970 (adjust-window-trailing-edge, maximize-window, minimize-window)
13971 (window-deletable-p, delete-window, delete-other-windows)
13972 (record-window-buffer, unrecord-window-buffer)
13973 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13974 (quit-window, split-window, window-state-put)
13975 (set-window-text-height, fit-window-to-buffer)
13976 (shrink-window-if-larger-than-buffer): Callers changed.
13978 2011-11-04 Eli Zaretskii <eliz@gnu.org>
13980 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13981 rfc2047-decode-string.
13982 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13985 * window.el (window-body-height, window-body-width): Mention in
13986 the doc string that the return values are in frame's canonical
13989 2011-11-03 Alan Mackenzie <acm@muc.de>
13991 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13992 change in cc-engine.el.
13994 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13996 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13998 2011-11-02 Martin Rudalics <rudalics@gmx.at>
14000 * window.el (quit-window): Call unrecord-window-buffer after
14001 showing another buffer in the window. (Bug#9937)
14002 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
14004 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
14006 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14007 Accept status with more than 9 shelves. (Bug#9935)
14008 Reported by Colin D Bennett <colin@gibibit.com>.
14010 2011-11-01 Martin Rudalics <rudalics@gmx.at>
14012 * help.el (with-help-window): Don't reference
14013 temp-buffer-show-specifiers in doc-string.
14015 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
14017 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
14020 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14022 * whitespace.el: New version 13.2.2.
14023 (whitespace-newline-mode): Disable properly. Reported by Sarah
14026 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
14028 * net/newst-treeview.el: Remove "Time-stamp".
14029 (newsticker--group-manage-orphan-feeds): Do not call
14030 newsticker--treeview-tree-update.
14031 (newsticker-treeview-update, newsticker-treeview):
14032 Call newsticker--treeview-tree-update if necessary.
14034 2011-10-30 Martin Rudalics <rudalics@gmx.at>
14036 * window.el (window-iso-combination-p, window-iso-combined-p)
14037 (window-iso-combinations): Remove "iso-" infix.
14038 Suggested by Chong Yidong.
14039 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14040 (window-max-delta-1, window-resize, window--resize-siblings)
14041 (window--resize-this-window, adjust-window-trailing-edge)
14042 (split-window, balance-windows-1)
14043 (shrink-window-if-larger-than-buffer):
14044 * calendar/calendar.el (calendar-generate-window):
14045 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
14047 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14049 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14050 in place (bug#9907).
14051 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14052 (eshell-rewrite-if-command, eshell-rewrite-for-command)
14053 (eshell-structure-basic-command, eshell-rewrite-while-command)
14054 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14055 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14056 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14057 (eshell-do-pipelines-synchronously, eshell-eval-command):
14058 Use backquotes and prefer setq to set.
14059 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14060 (eshell-macrop): Use functionp.
14061 (eshell-do-eval): Handle multiple expressions in `while' body.
14063 2011-10-30 Chong Yidong <cyd@gnu.org>
14065 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14066 instead of set-mark (Bug#9810).
14068 2011-10-30 Chong Yidong <cyd@gnu.org>
14070 * window.el (split-window-below, split-window-right): Rename from
14071 split-window-above-each-other and split-window-side-by-side
14072 respectively. All callers changed.
14073 (split-window-sensibly, split-window-sensibly): Use them.
14074 (split-window-keep-point): Doc fix.
14076 * isearch.el: Add isearch-scroll property to split-window-below
14077 and split-window-right.
14079 * follow.el (follow-mode):
14080 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14081 * progmodes/ada-xref.el (ada-gdb-application):
14082 * emulation/vip.el (vip-buffer-in-two-windows):
14083 * image-dired.el (image-dired-dired-with-window-configuration):
14084 * dired-x.el (dired-do-find-marked-files):
14085 * dired.el (dired-pop-to-buffer):
14086 * bs.el (bs--show-with-configuration):
14087 * vc/emerge.el (emerge-setup-windows):
14088 * textmodes/two-column.el (2C-two-columns):
14089 * textmodes/reftex-toc.el (reftex-toc):
14090 * progmodes/gdb-mi.el (gdb-setup-windows):
14091 * progmodes/fortran.el (fortran-window-create):
14092 * net/newst-treeview.el (newsticker--treeview-window-init):
14093 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14094 * emulation/tpu-edt.el (tpu-gold-map):
14095 * emulation/crisp.el (crisp-mode-map):
14096 * calendar/calendar.el (calendar-basic-setup): Callers changed.
14098 2011-10-29 Chong Yidong <cyd@gnu.org>
14100 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14102 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14104 * textmodes/flyspell.el (flyspell-word): Fix char offset for
14105 forged Ispell output (Bug#7904).
14107 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14109 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14111 * doc-view.el: Avoid ugly errors about not finding nil.
14112 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14113 (doc-view-dvipdf-program, doc-view-unoconv-program)
14114 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14115 Avoid nil or absolute file name as default value.
14116 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14118 2011-10-28 Alan Mackenzie <acm@muc.de>
14120 * progmodes/cc-defs.el (c-version): -> 5.32.2.
14122 2011-10-28 Alan Mackenzie <acm@muc.de>
14124 Amend the handling of c-beginning/end-of-defun in nested declaration
14127 * progmodes/cc-vars.el (c-defun-tactic): Move here from
14128 cc-langs.el. Change it to a defcustom.
14130 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14133 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14134 Prevent "class foo : bar" being spuriously recognized as a label.
14136 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
14137 Add parameter `inclusive' (to include enclosing braces in the region).
14138 (c-widen-to-enclosing-decl-scope): New function.
14139 (c-while-widening-to-decl-block): New macro.
14140 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14141 outward for defun boundaries, and correspondingly change symbol
14142 `respect-enclosure' to `go-outward'.
14143 (c-declaration-limits): Change algorithm to report only the "innermost"
14144 defun's boundaries.
14146 2011-10-28 Deniz Dogan <deniz@dogan.se>
14148 * net/rcirc.el (rcirc-mode): Use hard newlines.
14150 2011-10-28 Alan Mackenzie <acm@muc.de>
14152 Amend to indent and fontify macros "which include their own semicolon"
14153 correctly, using the "virtual semicolon" mechanism.
14155 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
14157 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
14158 Recode to scan one line at a time rather than having \n and \r
14159 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
14160 (c-forward-label): Amend for virtual semicolons.
14161 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
14163 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14164 of the new C macros.
14166 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
14167 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14168 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
14169 (c-opt-cpp-macro-define): Make into a full language variable.
14170 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14171 AWK Mode (including \n, \r) removed, no longer needed.
14173 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14174 Invoke c-make-macro-with-semi-re.
14176 * progmodes/cc-vars.el (c-macro-with-semi-re):
14177 (c-macro-names-with-semicolon): New variables.
14178 (c-make-macro-with-semi-re): New function.
14180 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14182 * vc/log-edit.el: Fill empty field rather than adding new one.
14183 (log-edit-add-field): New function.
14184 (log-edit-insert-changelog): Use it.
14186 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14188 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14190 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14192 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14193 (gdb--check-interpreter): New function.
14196 2011-10-27 Glenn Morris <rgm@gnu.org>
14198 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14199 (least-positive-float, least-negative-float)
14200 (least-positive-normalized-float, least-negative-normalized-float)
14201 (float-epsilon, float-negative-epsilon):
14202 Remove unnecessary declarations.
14204 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14205 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14206 (least-positive-float, least-negative-float)
14207 (least-positive-normalized-float, least-negative-normalized-float)
14208 (float-epsilon, float-negative-epsilon): Add doc-strings,
14209 based on those in cl.texi.
14211 * files.el (set-visited-file-name): If the major-mode changed,
14212 reload the local variables. (Bug#9796)
14214 2011-10-27 Chong Yidong <cyd@gnu.org>
14216 * subr.el (change-major-mode-after-body-hook): New hook.
14217 (run-mode-hooks): Run it.
14219 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14220 Use change-major-mode-before-body-hook.
14222 * simple.el (fundamental-mode):
14223 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14224 change introducing fundamental-mode-hook.
14226 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
14228 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
14230 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
14232 * ido.el (ido-file-name-all-completions-1): Do not require
14233 tramp.el explicitly. (Bug#7583)
14235 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14237 * progmodes/octave-mod.el:
14238 * progmodes/octave-inf.el: Update maintainer.
14240 2011-10-26 Chong Yidong <cyd@gnu.org>
14242 * subr.el (with-wrapper-hook): Rewrite doc.
14244 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
14246 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
14247 filenames "/method:foo:". (Bug#9793)
14249 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14251 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14254 2011-10-24 Glenn Morris <rgm@gnu.org>
14256 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14258 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
14260 * notifications.el: Add the requirement of a running D-Bus session
14261 bus to the Commentary.
14263 2011-10-24 Juri Linkov <juri@jurta.org>
14265 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14266 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14269 2011-10-24 Juri Linkov <juri@jurta.org>
14271 * info.el (Info-following-node-name-re): Add newline to the list
14272 of allowed characters for leading space. (Bug#9824)
14274 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14276 * progmodes/octave-inf.el (inferior-octave-mode-map):
14277 Fix C-c C-h binding.
14278 * progmodes/octave-mod.el (octave-help): Remove.
14280 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
14282 Sync with Tramp 2.2.3.
14284 * net/tramp-cache.el (top): Pacify byte-compiler using
14285 `init-file-user' and `site-run-file'.
14287 * net/trampver.el: Update release number.
14289 2011-10-23 Chong Yidong <cyd@gnu.org>
14291 * files.el (toggle-read-only): Remove obsolete comment about
14294 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14295 for toggle-read-only. Note that this hasn't called vc-next-action
14296 since 2008-05-02, though it wasn't documented at the time.
14298 * vc/ediff-init.el (ediff-toggle-read-only-function):
14299 Use toggle-read-only.
14301 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
14303 Fix bug #9560, sporadic wrong indentation; improve instrumentation
14306 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14307 correct faulty logical expression.
14308 (c-parse-state-state, c-record-parse-state-state):
14309 (c-replay-parse-state-state): New defvar/defuns.
14310 (c-debug-parse-state): Use new functions.
14312 2011-10-22 Martin Rudalics <rudalics@gmx.at>
14314 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
14315 last fix. Use window-in-direction correctly.
14317 2011-10-21 Chong Yidong <cyd@gnu.org>
14319 * progmodes/idlwave.el (idlwave-mode):
14320 * progmodes/vera-mode.el (vera-mode): No need to set
14321 require-final-newline; that's done in prog-mode.
14322 Suggested by Stefan Monnier.
14324 2011-10-21 Martin Rudalics <rudalics@gmx.at>
14326 * mouse.el (mouse-drag-window-above)
14327 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14328 (mouse-drag-mode-line-1, mouse-drag-header-line)
14329 (mouse-drag-vertical-line-rightward-window): Remove.
14330 (mouse-drag-line): New function.
14331 (mouse-drag-mode-line, mouse-drag-header-line)
14332 (mouse-drag-vertical-line): Call mouse-drag-line.
14333 * window.el (window-at-side-p, windows-at-side): New functions.
14335 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
14337 * tar-mode.el (tar-grind-file-mode):
14338 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
14340 2011-10-21 Chong Yidong <cyd@gnu.org>
14342 * progmodes/idlwave.el (idlwave-mode):
14343 * progmodes/vera-mode.el (vera-mode):
14344 Use mode-require-final-newline.
14346 2011-10-20 Glenn Morris <rgm@gnu.org>
14348 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
14350 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
14352 * emulation/cua-base.el (cua-set-mark): Fix case of string.
14354 2011-10-20 Chong Yidong <cyd@gnu.org>
14356 * emulation/cua-base.el (cua-mode):
14357 * mail/footnote.el (footnote-mode):
14358 * mail/mailabbrev.el (mail-abbrevs-mode):
14359 * net/xesam.el (xesam-minor-mode):
14360 * progmodes/bug-reference.el (bug-reference-mode):
14361 * progmodes/cap-words.el (capitalized-words-mode):
14362 * progmodes/compile.el (compilation-minor-mode)
14363 (compilation-shell-minor-mode):
14364 * progmodes/gud.el (gud-tooltip-mode):
14365 * progmodes/hideif.el (hide-ifdef-mode):
14366 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14367 * progmodes/subword.el (subword-mode):
14368 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14369 * progmodes/which-func.el (which-function-mode):
14370 * term/tvi970.el (tvi970-set-keypad-mode):
14371 * term/vt100.el (vt100-wide-mode):
14372 * textmodes/flyspell.el (flyspell-mode):
14373 * textmodes/ispell.el (ispell-minor-mode):
14374 * textmodes/nroff-mode.el (nroff-electric-mode):
14375 * textmodes/paragraphs.el (use-hard-newlines):
14376 * textmodes/refill.el (refill-mode):
14377 * textmodes/reftex.el (reftex-mode):
14378 * textmodes/rst.el (rst-minor-mode):
14379 * textmodes/sgml-mode.el (html-autoview-mode)
14380 (sgml-electric-tag-pair-mode):
14381 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14382 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14383 * emulation/crisp.el (crisp-mode):
14384 * emacs-lisp/eldoc.el (eldoc-mode):
14385 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14386 minor mode behavior.
14388 2011-10-19 Juri Linkov <juri@jurta.org>
14390 * descr-text.el (describe-char): Add #x2010 and #x2011 to
14391 the list of hard-coded chars with escape-glyph face.
14393 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14395 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14397 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
14399 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14402 2011-10-19 Glenn Morris <rgm@gnu.org>
14404 * vc/vc-bzr.el (vc-bzr-after-dir-status):
14405 Ignore ignored files. (Bug#9726)
14407 2011-10-19 Chong Yidong <cyd@gnu.org>
14409 Doc fix for minor modes, stating that an omitted argument enables
14410 the mode unconditionally when called from Lisp.
14412 * abbrev.el (abbrev-mode):
14413 * allout.el (allout-mode):
14414 * autoinsert.el (auto-insert-mode):
14415 * autoarg.el (autoarg-mode, autoarg-kp-mode):
14416 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14417 (global-auto-revert-mode):
14418 * battery.el (display-battery-mode):
14419 * composite.el (global-auto-composition-mode)
14420 (auto-composition-mode):
14421 * delsel.el (delete-selection-mode):
14422 * desktop.el (desktop-save-mode):
14423 * dired-x.el (dired-omit-mode):
14424 * dirtrack.el (dirtrack-mode):
14425 * doc-view.el (doc-view-minor-mode):
14426 * double.el (double-mode):
14427 * electric.el (electric-indent-mode, electric-pair-mode):
14428 * emacs-lock.el (emacs-lock-mode):
14429 * epa-hook.el (auto-encryption-mode):
14430 * follow.el (follow-mode):
14431 * font-core.el (font-lock-mode):
14432 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14433 * help.el (temp-buffer-resize-mode):
14434 * hilit-chg.el (highlight-changes-mode)
14435 (highlight-changes-visible-mode):
14436 * hi-lock.el (hi-lock-mode):
14437 * hl-line.el (hl-line-mode, global-hl-line-mode):
14438 * icomplete.el (icomplete-mode):
14439 * ido.el (ido-everywhere):
14440 * image-file.el (auto-image-file-mode):
14441 * image-mode.el (image-minor-mode):
14442 * iswitchb.el (iswitchb-mode):
14443 * jka-cmpr-hook.el (auto-compression-mode):
14444 * linum.el (linum-mode):
14445 * longlines.el (longlines-mode):
14446 * master.el (master-mode):
14447 * mb-depth.el (minibuffer-depth-indicate-mode):
14448 * menu-bar.el (menu-bar-mode):
14449 * minibuf-eldef.el (minibuffer-electric-default-mode):
14450 * mouse-sel.el (mouse-sel-mode):
14451 * msb.el (msb-mode):
14452 * mwheel.el (mouse-wheel-mode):
14453 * outline.el (outline-minor-mode):
14454 * paren.el (show-paren-mode):
14455 * recentf.el (recentf-mode):
14456 * reveal.el (reveal-mode, global-reveal-mode):
14457 * rfn-eshadow.el (file-name-shadow-mode):
14458 * ruler-mode.el (ruler-mode):
14459 * savehist.el (savehist-mode):
14460 * scroll-all.el (scroll-all-mode):
14461 * scroll-bar.el (scroll-bar-mode):
14462 * server.el (server-mode):
14463 * shell.el (shell-dirtrack-mode):
14464 * simple.el (auto-fill-mode, transient-mark-mode)
14465 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14466 (line-number-mode, column-number-mode, size-indication-mode)
14467 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14468 * strokes.el (strokes-mode):
14469 * time.el (display-time-mode):
14470 * t-mouse.el (gpm-mouse-mode):
14471 * tool-bar.el (tool-bar-mode):
14472 * tooltip.el (tooltip-mode):
14473 * type-break.el (type-break-mode-line-message-mode)
14474 (type-break-query-mode):
14475 * view.el (view-mode):
14476 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14477 (global-whitespace-mode, global-whitespace-newline-mode):
14478 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14480 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14481 Fix autogenerated docstring.
14483 2011-10-19 Juri Linkov <juri@jurta.org>
14485 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14486 by checking environment variables "DESKTOP_SESSION" and
14487 "XDG_CURRENT_DESKTOP". (Bug#9779)
14489 2011-10-19 Juri Linkov <juri@jurta.org>
14491 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14492 (browse-url-chromium-program, browse-url-chromium-arguments):
14494 (browse-url-default-browser): Check for `browse-url-chromium' and
14495 call `browse-url-chromium-program'.
14496 (browse-url-chromium): New command. (Bug#9779)
14498 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
14500 * facemenu.el (list-colors-duplicates): On Windows, detect more
14501 duplicates by assuming that only colors matching "^System" are
14502 special "system colors". (Bug#9722)
14504 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14506 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14507 to distinguish the author from the committer.
14509 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
14511 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14513 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14515 * international/mule.el (sgml-html-meta-auto-coding-function):
14516 Add support for detecting encoding in HTML5 specified only as
14517 <meta charset="UTF-8">. Implementation just makes http-equiv and
14518 content-type parts from HTML4 encoding string optional. (Bug#9716)
14520 2011-10-18 Glenn Morris <rgm@gnu.org>
14522 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14524 2011-10-18 Chong Yidong <cyd@gnu.org>
14526 * faces.el (cursor): Doc fix.
14528 2011-10-17 Chong Yidong <cyd@gnu.org>
14530 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14532 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
14534 * dirtrack.el (dirtrack): Support shell buffers with path
14535 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14537 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14539 * json.el: Bump version to 1.3 and note change in History.
14540 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14542 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14544 * comint.el (comint-insert-input, comint-send-input)
14545 (comint-get-old-input-default, comint-backward-matching-input)
14546 (comint-next-prompt): Use nil instead of `input' for field property of
14547 past user input (bug#114).
14549 * minibuffer.el (completion--replace): Inherit surrounding properties
14551 (minibuffer-complete-and-exit): Use it.
14553 * comint.el (comint--table-subvert): Quote the all-completions output
14556 2011-10-17 Martin Rudalics <rudalics@gmx.at>
14558 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
14560 * menu-bar.el (menu-bar-file-menu): Add entry for making new
14561 window on right of selected. (Bug#9350) Reword other window
14562 entries and separate them from frame entries.
14564 2011-10-15 Glenn Morris <rgm@gnu.org>
14566 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14569 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
14571 * net/network-stream.el (network-stream-open-starttls):
14572 Improve detection of failure due to lack of TLS support.
14574 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14575 putting the input text in front and in bold.
14577 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14579 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14581 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14584 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14585 unread-command-events rather than pushing yet-another event.
14587 2011-10-14 Eli Zaretskii <eliz@gnu.org>
14589 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14590 the explanation of the possible choices. Make the options passed
14591 to completing-read shorter.
14593 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14595 * textmodes/flyspell.el (flyspell-large-region): Make sure
14596 extended character mode is used if defined (Bug#1339).
14598 2011-10-13 Eli Zaretskii <eliz@gnu.org>
14600 * simple.el (what-cursor-position): Fix the display of the
14601 character info for LRE, LRO, RLE, and RLO characters by appending
14604 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14606 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14607 even in case of error; add debug spec; simplify data flow.
14608 (with-timeout-handler): Remove.
14610 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
14612 Fix Bug#6019, Bug#9315.
14614 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14615 complete `buffer-file-name', the local file name part could look
14616 remotely (for example on VMS).
14618 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14619 `tramp-run-real-handler'.
14620 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14621 already quoted by '"'.
14623 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14624 Let `file-name-handler-alist' be nil, the local file name part
14625 could look remotely (for example on VMS).
14627 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14629 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14631 (flyspell-post-command-hook): ...to here.
14633 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14635 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14637 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14638 using completion. Protect against "slow" callers.
14639 Remove the "message hack".
14641 2011-10-11 Juri Linkov <juri@jurta.org>
14643 * isearch.el (isearch-lazy-highlight-word): New variable.
14644 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14647 2011-10-11 Glenn Morris <rgm@gnu.org>
14649 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14650 like f90-previous-statement does.
14652 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14654 * eshell/eshell.el (eshell-command): History should be saved
14655 only in interactive use, to avoid error.
14657 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14659 * minibuffer.el (completion-file-name-table): Fix last change,
14660 i.e. ignore normal errors but not the other ones.
14662 2011-10-10 Martin Rudalics <rudalics@gmx.at>
14664 * window.el (special-display-buffer-names)
14665 (special-display-regexps): Remove some remnants of earlier
14666 changes from doc-strings.
14667 (quit-windows-on): New function.
14669 * vc/vc.el (vc-revert, vc-rollback):
14670 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14671 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
14672 (Bug#6183) (Bug#7074) (Bug#7447)
14674 2011-10-09 Martin Rudalics <rudalics@gmx.at>
14676 * window.el (frame-auto-hide-function): Add version tag.
14679 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
14681 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14684 2011-10-09 Leo Liu <sdl.web@gmail.com>
14686 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14689 2011-10-08 Glenn Morris <rgm@gnu.org>
14691 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14692 before the first code statement zero indent. (Bug#9690)
14694 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
14696 * simple.el (count-words-region): Always count in the region.
14697 Report the number of lines and characters too.
14698 (count-words): New command, which counts in the buffer if the
14699 region is inactive, as count-words-region used to.
14700 (count-words--message): New function. Handle plurals.
14701 (count-lines-region): Make it an alias for count-words-region.
14703 * bindings.el (esc-map): Replace count-lines-region with
14704 count-words-region.
14706 2011-10-08 Martin Rudalics <rudalics@gmx.at>
14708 * window.el (window--delete): Delete dedicated frame
14709 unconditionally when argument KILL is non-nil. (Bug#9699)
14710 (switch-to-buffer): Fix doc-string typo.
14712 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14714 * eshell/eshell.el (eshell-command): Avoid using hooks.
14716 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
14718 * bindings.el ([M-left],[M-right]): Bind to left-word and
14719 right-word respectively.
14721 2011-10-07 Glenn Morris <rgm@gnu.org>
14723 * cus-start.el (debug-on-quit): Fix custom type.
14725 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14727 * subr.el (define-key-after): Clarify that the function is not
14728 useful for non-menu keymaps.
14730 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14732 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14734 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
14735 in current minibuffer (Fix bug with recursive minibuffers).
14737 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
14739 * progmodes/gdb-mi.el (gdb): Doc fix.
14741 2011-10-05 Martin Rudalics <rudalics@gmx.at>
14743 * window.el (frame-auto-hide-function): New option replacing
14744 frame-auto-delete. Suggested by Stefan Monnier.
14745 (window--delete): Call frame-auto-hide-function instead of
14746 investigating frame-auto-delete.
14747 (window-point-1, set-window-point-1): New functions.
14748 (window-in-direction, record-window-buffer, window-state-get-1)
14749 (display-buffer-record-window): Use window-point-1 instead of
14751 (set-window-buffer-start-and-point): Use set-window-point-1.
14753 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14755 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14757 2011-10-05 Glenn Morris <rgm@gnu.org>
14759 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14760 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14762 2011-10-05 Leo Liu <sdl.web@gmail.com>
14764 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14765 works with buffer object.
14767 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14769 * mpc.el (mpc-tool-bar-map): Add labels.
14771 2011-10-04 Glenn Morris <rgm@gnu.org>
14773 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14775 2011-10-04 Martin Rudalics <rudalics@gmx.at>
14777 * window.el (window--delete): New function.
14778 (frame-auto-delete): Resuscitate option.
14779 (bury-buffer, replace-buffer-in-windows)
14780 (quit-window): Rewrite using window--delete.
14781 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14782 Pass display-buffer-mark-dedicated to window--display-buffer-2
14785 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14787 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14788 returns a list (bug#9554). Add remote file name completion.
14789 * comint.el (comint--table-subvert): Curry and get quote&unquote
14790 functions as arguments.
14791 (comint--complete-file-name-data): Adjust call accordingly.
14792 * pcomplete.el (pcomplete--table-subvert): Remove.
14793 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14795 * minibuffer.el (completion-table-case-fold): Use currying.
14796 (completion--styles-type, completion--cycling-threshold-type):
14798 (completion-styles, completion-category-overrides)
14799 (completion-cycle-threshold): Use them.
14800 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14801 completion-table-case-fold.
14803 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
14805 * minibuffer.el (completion-category-overrides): Fix type of styles
14806 and add more user friendly tags (bug#9660).
14808 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14810 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14811 (mule-input-method-string): New widget.
14812 (default-input-method, language-info-custom-alist): Use it.
14814 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14816 * pcomplete.el: Require comint.
14817 (pcomplete--common-suffix): Remove.
14818 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14819 (pcomplete--table-subvert): Sync with comint--table-subvert.
14820 (pcomplete--entries): Use comint-completion-file-name-table.
14821 * comint.el (comint-unquote-filename): Simplify.
14822 (comint-completion-file-name-table): New function (bug#9616).
14823 (comint--complete-file-name-data): Use it.
14825 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14826 (pcmpl-gnu-tar-buffer): Remove.
14827 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
14828 around. Make sure pcomplete-suffix-list is only changed temporarily.
14829 Don't look inside the tar's file if it's too large.
14831 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
14833 * cus-edit.el (custom-mode-map):
14834 * epa.el (epa-key-list-mode-map):
14835 * man.el (Man-mode-map):
14836 * startup.el (splash-screen-keymap):
14837 * simple.el (special-mode-map): Use scroll-up-command and
14838 scroll-down-command.
14840 * progmodes/idlw-help.el (idlwave-help-mode-map):
14841 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14842 * net/newst-plainview.el (newsticker-mode-map):
14843 * emulation/ws-mode.el (wordstar-mode-map):
14844 * emulation/vi.el (vi-com-map):
14845 * calc/calc-graph.el (calc-graph-show-dumb):
14846 * term/sun.el (terminal-init-sun):
14847 * term/ns-win.el (global-map):
14848 * progmodes/grep.el (grep-mode-map):
14849 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14850 * mail/rmail.el (rmail-mode-map):
14851 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14853 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14854 custom-safe-themes as special.
14856 2011-10-01 Julien Danjou <julien@danjou.info>
14858 * notifications.el (notifications-notify): Fix docstring.
14860 2011-10-01 Per Starbäck <per@starback.se>
14862 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14864 2011-09-30 Martin Rudalics <rudalics@gmx.at>
14866 * startup.el (command-line-1): Fix last fix by inserting
14867 initial-scratch-message into *scratch* before displaying it.
14868 (Bug#9605) and (Bug#9636)
14870 2011-09-29 Eli Zaretskii <eliz@gnu.org>
14872 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14873 window is hscrolled, move by logical lines. (Bug#9607)
14874 (line-move-visual): Update the doc string to the above effect.
14876 2011-09-29 Martin Rudalics <rudalics@gmx.at>
14878 * window.el (display-buffer-record-window): When WINDOW is the
14879 selected window use `point' instead of `window-point'. (Bug#9626)
14881 * startup.el (command-line-1): Use insert-before-markers when
14882 inserting initial-scratch-message. (Bug#9605)
14884 * help.el (help-window): Remove variable.
14886 2011-09-29 Glenn Morris <rgm@gnu.org>
14888 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14890 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
14892 * descr-text.el (describe-char-categories): Accept category
14893 descriptions more than one line long.
14895 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14897 * simple.el (delete-trailing-whitespace): Fix last change.
14899 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14900 Don't confuse "y => 3" as the beginning of a `y' operation.
14902 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14903 object has more than 4 slots (bug#9613).
14905 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
14907 * subr.el (with-output-to-temp-buffer):
14908 * net/quickurl.el (quickurl, quickurl-browse-url):
14909 Fix typos in docstrings.
14911 2011-09-27 Eli Zaretskii <eliz@gnu.org>
14913 * minibuffer.el (completion-styles)
14914 (completion-category-overrides): Cross reference each other in doc
14917 2011-09-27 Glenn Morris <rgm@gnu.org>
14919 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14920 to split-string. (Bug#9606)
14922 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14924 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14927 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
14929 * emacs-lisp/package.el (list-packages): Fix echo area message.
14931 2011-09-27 Leo Liu <sdl.web@gmail.com>
14933 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14935 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
14937 * net/dbus.el (dbus-unregister-object): Don't release services for
14938 registered signals. (Bug#9581)
14940 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14942 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14943 function that picks between cfengine 2 and 3 support
14944 automatically. Update docs accordingly.
14946 2011-09-22 Kenichi Handa <handa@m17n.org>
14948 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14950 (indian-itrans-v5-table-for-tamil): New variable.
14951 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14953 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14955 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14956 that's true if the current command involved collapsing of text.
14957 It's reset to false at the beginning of the next command.
14958 (allout-post-command-business): Move the cursor to the beginning
14959 of entry if the cursor is hidden and collapsing activity just
14962 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
14964 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14965 tracking (Bug#9541).
14967 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
14969 * net/newst-reader.el (newsticker-html-renderer)
14970 (newsticker-show-news): Automatically load html rendering package
14971 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14972 because w3m-fill-column is let-bound" and the error "Symbol's value
14973 as variable is void: w3m-fill-column".
14975 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
14977 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14978 Release services only if they are defined. (Bug#9581)
14980 2011-09-23 Richard Stallman <rms@gnu.org>
14982 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14983 distinguish start of paragraph from start of its text.
14985 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14987 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14988 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14989 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14991 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14993 * international/mule-diag.el (mule-diag): Insert a newline after
14994 each fontset description.
14996 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14998 * simple.el (delete-trailing-whitespace):
14999 Document last change; simplify.
15001 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
15003 * simple.el (delete-trailing-whitespace): Also delete
15004 extra newlines at the end of the buffer.
15006 * textmodes/picture.el: Make motion commands obey shift-select-mode.
15007 (picture-newline): Use forward-line so as to ignore fields.
15009 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15011 * subr.el (with-wrapper-hook): Fix edebug spec.
15013 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
15015 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
15018 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
15020 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
15021 Fix nasty bug using wrong cached values.
15023 2011-09-23 Alan Mackenzie <acm@muc.de>
15025 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15027 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
15029 * window.el (pop-to-buffer): Ensure right window is selected if we
15030 chose another frame.
15032 2011-09-22 Eli Zaretskii <eliz@gnu.org>
15034 * simple.el (what-cursor-position): Use get-char-property-change
15035 and next-single-char-property-change, to be able to show display
15036 properties that come from overlays as well as text properties.
15038 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
15040 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15042 * cmuscheme.el (run-scheme, switch-to-scheme):
15043 * cus-edit.el (customize-group, custom-buffer-create)
15044 (customize-browse):
15046 * shell.el (shell):
15047 * mail/sendmail.el (mail):
15048 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15050 2011-09-22 Richard Stallman <rms@gnu.org>
15052 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15053 move back only to line beg, don't move back over blank lines.
15055 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
15057 * files.el (copy-directory): Set directory attributes only in case
15058 they could be retrieved from the source directory. (Bug#9565)
15060 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
15062 * progmodes/hideshow.el (hs-looking-at-block-start-p)
15063 (hs-find-block-beginning, hs-hide-level-recursive):
15064 Ignore strings as well as comments. (Bug#9502)
15066 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
15068 * progmodes/sql.el (sql-comint-postgres):
15069 Convert port number to a string. (Bug#9566)
15071 2011-09-22 Martin Rudalics <rudalics@gmx.at>
15073 * window.el (quit-window): Undedicate window when switching to
15074 previous buffer. Reported by Thierry Volpiatto
15075 <thierry.volpiatto@gmail.com>.
15076 (special-display-popup-frame): When popping up a new frame reset
15077 its previous buffers to nil. Simplify code.
15079 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
15081 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15082 and process filter, as done also in `shell-command'.
15084 2011-09-21 Martin Rudalics <rudalics@gmx.at>
15086 * window.el (set-window-buffer-start-and-point):
15087 Call set-window-start with NOFORCE argument t.
15088 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15089 (quit-window): Reword doc-string. Handle new format of
15090 quit-restore parameter. Don't delete window if it has a
15091 previous buffer we can show instead of the present one.
15092 (display-buffer-record-window): Rewrite using a new format for
15093 the quit-restore window parameter
15094 (special-display-popup-frame, display-buffer-same-window)
15095 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15096 (display-buffer-pop-up-window, display-buffer-use-some-window):
15097 Adapt symbol passed to display-buffer-record-window.
15098 * help.el (help-window-setup): Handle new format of quit-restore
15101 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15103 * faces.el (face-list): Fix docstring (bug#9564).
15105 * window.el (display-buffer--action-function-custom-type):
15106 Don't include internal functions in the Custom interface.
15108 2011-09-20 Juri Linkov <juri@jurta.org>
15110 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15111 (Info-forward-node, Info-backward-node, Info-next-preorder)
15112 (Info-last-preorder): Use it. (Bug#9528)
15114 2011-09-20 Juri Linkov <juri@jurta.org>
15116 * info.el (Info-last-preorder): Visit last menu item only when
15117 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15119 2011-09-20 Julien Danjou <julien@danjou.info>
15121 * password-cache.el (password-cache-remove): Remove entries even if the
15122 value is nil, so that password with a nil value (negative caching) is
15123 possible to invalidate.
15125 2011-09-20 Lawrence Mitchell <wence@gmx.li>
15127 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15128 all whitespace around breakpoint. (Bug#9553)
15129 (f90-find-breakpoint): Only break at whitespace inside a comment.
15131 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15133 * minibuffer.el (completion-file-name-table): Keep track of errors.
15134 (completion-table-with-predicate): Handle the case where pred1 is nil.
15135 * pcomplete.el (pcomplete-completions-at-point): Simplify.
15137 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15139 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15140 (debugger-return-value): Signal an error if the debugging context does
15141 not await any return value.
15143 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15144 * image-mode.el (image-toggle-display-text)
15145 (image-toggle-display-image): Stay away from evil `intangible'.
15147 2011-09-19 Leo Liu <sdl.web@gmail.com>
15149 * replace.el (occur-revert-arguments): Make it permanent-local.
15150 (occur-mode): Don't call font-lock-defontify.
15152 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
15154 * net/ldap.el (ldap-search-internal): Don't push empty search
15157 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15159 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15161 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
15163 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15164 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15166 2011-09-18 Juri Linkov <juri@jurta.org>
15168 * buff-menu.el (Buffer-menu-mode-map):
15169 * dired.el (dired-mode-map):
15170 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15171 (lisp-interaction-mode-map):
15172 * emacs-lisp/package.el (package-menu-mode-map):
15173 * epa.el (epa-key-list-mode-map):
15174 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15175 (menu-bar-options-menu):
15176 * outline.el (outline-mode-menu-bar-map):
15177 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15178 * vc/vc-dir.el (vc-dir-menu-map):
15179 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15180 Capitalize non-function content words in menu item strings.
15182 * dired.el (dired-mode-map): Add menu item for
15183 `image-dired-dired-toggle-marked-thumbs'.
15185 2011-09-18 Juri Linkov <juri@jurta.org>
15187 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15188 to `isearch-case-fold-search' and restore its original value
15189 after the `isearch-mode' call.
15191 2011-09-18 Juri Linkov <juri@jurta.org>
15193 * progmodes/grep.el (grep-process-setup): Don't check code for 1
15194 because `zgrep' returns 1 for successful matches (bug#9226).
15196 2011-09-18 Juri Linkov <juri@jurta.org>
15198 * info.el (Info-extract-menu-node-name): Check the second match
15199 for empty string (second test-case of bug#9528).
15200 (Info-last-preorder): Let-bind `Info-history' to nil to not add
15201 intermediate nodes to the history (first test-case of bug#9528).
15203 2011-09-18 Juri Linkov <juri@jurta.org>
15205 * info.el (Info-mode-syntax-table): New variable.
15206 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
15208 2011-09-18 Juri Linkov <juri@jurta.org>
15210 * info.el (Info-file-supports-index-cookies):
15211 Increment line-beginning-position's arg from 3 to 4 because makeinfo
15212 outputs one more line for long file names (bug#4142).
15214 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15216 * newcomment.el (comment-normalize-vars): If prompting for
15217 comment-start, set comment-start-skip too (Bug#8424).
15219 2011-09-18 Johan Bockgård <bojohan@gnu.org>
15221 * icomplete.el: Fix previous fix of Bug#5849.
15222 (icomplete-mode): Don't set completion-show-inline-help.
15223 (icomplete-minibuffer-setup): Set completion-show-inline-help
15224 locally during icompletion.
15226 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15228 * woman.el (woman2-process-escapes): Don't delete unrecognized
15229 escapes (Bug#7843).
15231 * files.el (inhibit-first-line-modes-regexps): Add image files.
15232 (hack-local-variables-prop-line): Return nil for malformed
15233 prop-lines (Bug#9044).
15235 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
15237 * net/tramp.el (top): Don't require 'shell.
15238 (tramp-methods): Fix docstring.
15239 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
15240 Return complete remote file name. Handle "smb" case.
15241 Use `tramp-tmpdir', if defined for the respective method.
15242 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15244 * net/tramp-compat.el (top): Require 'shell.
15246 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15247 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15248 `tramp-current-host'.
15249 (tramp-get-remote-tmpdir): Remove.
15251 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15252 `tramp-tmpdir' entries.
15253 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15254 (tramp-smb-handle-file-attributes): Ignore errors.
15255 (tramp-smb-wait-for-output): Check also for process end.
15257 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15259 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15260 when sending QUIT (bug#9312).
15262 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
15264 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15265 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15266 occur-mode-display-occurrence.
15267 (occur-edit-mode): Add usage message.
15268 (occur-cease-edit): New command.
15269 (occur-after-change-function): Use text properties to find the
15270 position of the prefix text.
15271 (occur-engine): Set stickiness of prefix text properties.
15273 2011-09-17 Glenn Morris <rgm@gnu.org>
15275 * progmodes/etags.el (complete-tag):
15276 Fix call to completion-in-region. (Bug#9526)
15278 2011-09-17 Juri Linkov <juri@jurta.org>
15280 * textmodes/ispell.el (ispell-word): Add to the error message
15281 the word, ispell program name and current dictionary (bug#9121).
15282 (ispell-tex-arg-end): Capitalize "error" in the error message.
15284 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
15286 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15289 2011-09-17 Juri Linkov <juri@jurta.org>
15291 * window.el (window-safe-min-height, window-safe-min-width):
15292 Fix typos (followup to bug#9522).
15294 2011-09-17 Sven Joachim <svenjoac@gmx.de>
15296 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15298 2011-09-16 Eli Zaretskii <eliz@gnu.org>
15300 * simple.el (line-move): If goal-column is set, move by logical
15301 lines, not by display lines. (Bug#971)
15302 (next-line, previous-line, goal-column, line-move-visual): Doc fix
15303 to reflect the above change.
15305 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15307 * image.el (imagemagick-register-types): Use regexp-opt.
15309 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15311 * window.el (display-buffer-base-action): Rename from
15312 display-buffer-default-action. Make default value empty.
15313 (display-buffer-overriding-action): Convert to defvar.
15314 (display-buffer-fallback-action): New var.
15316 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15318 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15320 (package--add-to-archive-contents): If there is a duplicate entry
15321 with an older version, remove it.
15322 (package-menu-mark-delete, package-menu-mark-install)
15323 (package-menu-mark-unmark): Make unused args optional.
15324 (package-menu-mark-obsolete-for-deletion):
15325 Use package-menu-get-status instead of a regexp search.
15326 (package-menu-get-status): Use tabulated-list-entry.
15327 (package-menu-mark-upgrades): New command.
15328 (package-menu-mode-map): Bind it to U. Add it to menu bar.
15329 (package-menu-execute): Do installation before deletion.
15330 (package-menu-refresh, package-menu-execute): Use derived-mode-p
15331 instead of checking major-mode.
15332 (package-menu--find-upgrades): New function.
15334 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15336 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15337 passwords in the log buffer.
15338 (smtpmail-process-filter): Update the process marker so that the
15339 "broken by peer" status message is inserted in the right place.
15341 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15343 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15344 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15345 bibtex-completion-at-point-function.
15346 (bibtex-completion-at-point-function): Use them.
15348 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15350 * mpc.el (mpc-constraints-tag-lookup): New function.
15351 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15352 also to browser "album|playlist".
15354 2011-09-14 Juri Linkov <juri@jurta.org>
15356 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
15357 (isearch-edit-string): Use length of `isearch-string' when
15358 `isearch-fail-pos' returns nil.
15359 (isearch-message): Remove duplicate code and call
15360 `isearch-fail-pos' with arg `t'.
15362 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
15364 * replace.el (occur-mode-goto-occurrence): Don't force using other
15367 * dired-aux.el (dired-do-chmod): Don't provide initial input.
15369 2011-09-14 Martin Rudalics <rudalics@gmx.at>
15371 * window.el (display-buffer-window): Remove.
15372 (display-buffer-record-window): Use help-setup window parameter
15373 instead of variable display-buffer-window.
15374 (display-buffer-function, special-display-buffer-names)
15375 (special-display-function): Mention help-setup parameter instead
15376 of display-buffer-window in doc-string.
15377 * help.el (help-window-setup): New argument help-window.
15378 Use help-window-setup parameter instead of display-buffer-window.
15379 Reword some messages.
15380 (with-help-window): Pass window used for displaying the buffer
15381 to help-window-setup. Don't set display-buffer-window.
15383 2011-09-13 Glenn Morris <rgm@gnu.org>
15385 * emacs-lisp/debug.el (debugger-make-xrefs):
15386 Preserve point. (Bug#9462)
15388 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
15390 * window.el (window-deletable-p): Use next-frame.
15392 2011-09-13 Martin Rudalics <rudalics@gmx.at>
15394 * window.el (window-auto-delete): Remove.
15395 (window-deletable-p): Remove argument FORCE. Don't deal with
15396 dedication and previous buffers.
15397 (switch-to-prev-buffer): Don't delete window.
15398 (delete-windows-on): Delete a window's frame if and only if the
15399 window is dedicated.
15400 (replace-buffer-in-windows): Delete buffer's window or frame if
15401 and only if window is dedicated.
15402 (quit-window): Handle quit-restore as before last change.
15403 (bury-buffer): Delete window only if window-deletable-p returns t.
15405 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
15407 * window.el (window-deletable-p): Never delete the last frame on a
15410 2011-09-13 Glenn Morris <rgm@gnu.org>
15412 * help.el (describe-key-briefly): Copy previous standard-output change.
15414 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
15416 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
15418 2011-09-13 Glenn Morris <rgm@gnu.org>
15420 * emacs-lisp/lisp-mode.el (lisp-indent-function):
15421 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15423 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
15425 * dired-aux.el (dired-mark-read-string): Don't return default
15426 value on empty input (Bug#9361).
15427 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15428 Omit initial minibuffer contents.
15429 (dired-do-chmod): Signal an error on empty input.
15430 (dired-mark-read-string): Don't return default on empty input.
15432 * files.el (file-modes-symbolic-to-number): Doc fix.
15434 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15436 * international/mule-cmds.el (ucs-completions): Remove.
15437 (read-char-by-name): Use complete-with-action instead; add metadata.
15439 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15441 * window.el (display-buffer--action-function-custom-type)
15442 (display-buffer--action-custom-type): New vars.
15443 (display-buffer-alist, display-buffer-default-action)
15444 (display-buffer-overriding-action): Add defcustom types.
15446 * frame.el (delete-other-frames): Doc fix (Bug#276).
15448 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15450 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15452 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15454 Change modes that used same-window-* vars to use switch-to-buffer.
15456 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15457 Use switch-to-buffer.
15459 * cus-edit.el (customize-group, custom-buffer-create)
15460 (customize-browse, custom-buffer-create-other-window):
15461 Use switch-to-buffer or switch-to-buffer-other-window.
15463 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15464 (Info-prev, Info-up, Info-speedbar-goto-node)
15465 (info-display-manual): Use switch-to-buffer.
15466 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15468 * mail/sendmail.el (mail): Use switch-to-buffer.
15469 (mail-recover): Use switch-to-buffer-other-window.
15471 * cmuscheme.el (run-scheme, switch-to-scheme):
15473 * shell.el (shell):
15474 * net/rlogin.el (rlogin):
15475 * net/telnet.el (telnet, rsh):
15476 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15478 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15480 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15482 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15484 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15485 so don't mention it (bug#9301).
15486 (dired-sort-toggle-or-edit): Clarify string further.
15488 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15489 match `x', `w32' and `ns', like the manual says (bug#9029).
15491 * subr.el (eval-after-load): Doc string clarification (bug#9125).
15492 (process-kill-buffer-query-function): Mention the buffer name in
15495 * image-mode.el (image-next-line): The line parameter is mandatory
15498 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15499 which can be useful (bug#9301).
15501 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15503 * subr.el (match-string): Mention that the current buffer should
15504 be the same as the search was done in (bug#9282).
15506 * facemenu.el: Disable the remove-* commands if the mark isn't
15509 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15511 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15513 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15515 * replace.el (occur-mode-goto-occurrence)
15516 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15517 and display-buffer.
15519 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15522 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15523 special-display and same-window variables.
15524 (mail-other-window): Use switch-to-buffer-other-window.
15525 (mail-other-frame): USe switch-to-buffer-other-frame.
15527 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15528 Use display-buffer-other-frame.
15529 (gdb-display-gdb-buffer): Use pop-to-buffer.
15531 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15533 * progmodes/python.el: Don't set same-window-buffer-names.
15535 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15537 * window.el (display-buffer-alist): Add *Python*.
15539 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15541 * window.el (display-buffer-alist): Add entry for buffers
15542 previously handled same-window-*.
15543 (display-buffer-alist, display-buffer-default-action)
15544 (display-buffer-overriding-action): Mark as risky.
15545 (display-buffer-alist): Document action function changes.
15546 (display-buffer--same-window-action)
15547 (display-buffer--other-frame-action): New variables.
15548 (switch-to-buffer, display-buffer-other-frame): Use them.
15549 (display-buffer): Rename reuse-frame entry to reusable-frames.
15550 (display-buffer-reuse-selected-window): Function deleted.
15551 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15552 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15553 (display-buffer-special): New function.
15554 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15555 display-buffer-reuse-or-pop-window. Split off special-display
15556 part into display-buffer-special.
15557 (display-buffer-use-some-window): Don't perform any special
15558 pop-up-frames handling.
15559 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
15560 (display-buffer--maybe-same-window): Rename from
15561 display-buffer-maybe-same-window.
15563 * info.el: Don't set same-window-regexps.
15564 (info-setup): New function.
15565 (info-other-window, info): Call it.
15567 * cus-edit.el: Don't set same-window-regexps.
15568 (customize-group): New argument.
15569 (customize-group-other-window): Use it.
15570 (customize-face, customize-face-other-window): Likewise.
15571 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15575 * progmodes/gud.el: Don't set same-window-regexps.
15580 * mail/sendmail.el:
15581 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15583 2011-09-10 Juri Linkov <juri@jurta.org>
15585 * isearch.el (isearch-edit-string): Remove obsolete mention of
15586 `C-w' (`isearch-yank-word-or-char') from docstring.
15587 (isearch-query-replace): Fix typo in docstring (bug#9466).
15589 2011-09-10 Juri Linkov <juri@jurta.org>
15591 * paren.el (show-paren-function): Don't show escaped parens.
15592 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15594 2011-09-10 Eli Zaretskii <eliz@gnu.org>
15596 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15597 (mm-default-file-encoding): Remove autoload forms, they are
15598 replaced with autoload cookies in mml.el and mm-encode.el.
15599 (mail-add-attachment): New command.
15600 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15601 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15603 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15605 2011-09-10 Reuben Thomas <rrt@sc3d.org>
15607 * simple.el (count-words-region): Use buffer if there's no region
15610 2011-09-09 Juri Linkov <juri@jurta.org>
15612 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15613 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15614 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15616 2011-09-09 Alan Mackenzie <acm@muc.de>
15618 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15619 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15621 2011-09-09 Eli Zaretskii <eliz@gnu.org>
15623 Fix for Savannah bug#9392.
15624 * simple.el (mail-encode-mml): New defvar.
15626 * mail/rmail.el (mail-encode-mml): Add a defvar.
15627 (rmail-enable-mime-composing): Default to t.
15628 (rmail-forward): Use MIME method of forwarding only if both
15629 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15630 Set mail-encode-mml non-nil if the MIME method was used.
15632 * mail/sendmail.el (mml-to-mime): Add autoload form.
15633 (mail-encode-mml): Add a defvar.
15634 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15636 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15637 message through mml-to-mime, and reset mail-encode-mml to nil.
15639 2011-09-09 Glenn Morris <rgm@gnu.org>
15641 * woman.el (woman-if-body): When processing an .el block,
15642 do not delete the next .el block as well. (Bug#9447)
15643 (woman-special-characters): Add oq, cq, and hy characters.
15645 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15647 * window.el (window-deletable-p): Make sure window is live before
15648 invoking window-prev-buffers.
15650 2011-09-08 Leo Liu <sdl.web@gmail.com>
15652 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15654 2011-09-08 Juri Linkov <juri@jurta.org>
15656 * progmodes/compile.el (compilation-environment): Make it
15657 a defcustom (bug#8340).
15659 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15661 * window.el (frame-auto-delete): Rename to window-auto-delete.
15662 Make it control auto-deletion of windows and/or frames.
15663 (window-deletable-p): New argument FORCE. Rewrite conditions
15664 for deleting window/frame. (Bug#9419)
15665 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15666 Rewrite handling of case when window/frame can be deleted.
15667 (delete-windows-on): Call window-deletable-p with new FORCE
15668 argument t. (Bug#9456)
15670 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
15672 * help-mode.el (help-mode): Restore autoload.
15674 2011-09-07 Juri Linkov <juri@jurta.org>
15676 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15677 `compilation-environment'. Set buffer-local
15678 `compilation-environment' to `thisenv' later after (funcall mode).
15681 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15682 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15683 instead of replacing its value. (Bug#8340)
15685 2011-09-07 Juri Linkov <juri@jurta.org>
15687 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15688 based on text properties put by `grep-filter' instead of matching
15690 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15691 to the value of `grep-error-screen-columns' (bug#9438).
15693 2011-09-07 Juri Linkov <juri@jurta.org>
15695 * simple.el (next-error-highlight, next-error-highlight-no-select):
15696 Doc fix (bug#9432).
15698 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15700 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15701 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15703 2011-09-07 Leo Liu <sdl.web@gmail.com>
15705 * net/rcirc.el (rcirc-mode): Conditionally initialize
15708 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15710 * emacs-lisp/find-func.el (find-function-C-source): Only set
15711 find-function-C-source-directory after checking that we found a source
15712 file there (bug#9440).
15714 2011-09-06 Alan Mackenzie <acm@muc.de>
15716 * isearch.el (isearch-other-meta-char): Wherever a key list is
15717 unread, "unread" the prefix arg, too. This fixes bug #8901.
15719 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15721 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15723 2011-09-05 Juri Linkov <juri@jurta.org>
15725 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15727 2011-09-05 Juri Linkov <juri@jurta.org>
15729 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15730 keeping point where processing of grep matches begins, and
15731 continue to delete remaining escape sequences from the same point.
15732 (grep-filter): Make leading zero optional in "0?1;31m" because
15733 git-grep emits "\033[1;31m" escape sequences unlike expected
15734 "\033[01;31m" as GNU Grep does (bug#9408).
15735 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15737 2011-09-05 Juri Linkov <juri@jurta.org>
15739 * subr.el (y-or-n-p): Capitalize "yes".
15741 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
15743 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15744 `tramp-cache-unload-hook' where appropriate.
15745 (tramp-methods): Rename `tramp-remote-sh' to
15746 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15747 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15749 * net/tramp-sh.el (top): Don't require 'shell.
15750 (tramp-methods): Add `tramp-remote-shell' and
15751 `tramp-remote-shell-args' entries.
15752 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15753 (tramp-sh-handle-shell-command): Remove.
15754 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15755 Use `tramp-remote-shell'.
15757 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
15759 * mail/sendmail.el (sendmail-query-once-function): Delete.
15760 (sendmail-query-once): Save directly to send-mail-function.
15761 Update message-send-mail-function too.
15763 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15765 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15767 * progmodes/python.el (python-mode-map): Use correct function to
15768 start python interpreter from menu-bar (as reported by Geert
15770 (inferior-python-mode-map): Fix typo.
15771 (python-shell-map): Remove.
15773 2011-09-03 Deniz Dogan <deniz@dogan.se>
15775 * net/rcirc.el (rcirc-print): Simplify code for
15776 rcirc-scroll-show-maximum-output. There is no need to walk
15777 through all windows to find the right one.
15779 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15781 * help.el (help-return-method): Doc fix.
15783 2011-09-03 Martin Rudalics <rudalics@gmx.at>
15785 * window.el (window-deletable-p): Don't return a non-nil value
15786 when there's a buffer that was shown in the window before.
15788 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15789 Set window's previous buffers to nil.
15791 2011-09-03 Eli Zaretskii <eliz@gnu.org>
15793 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15794 newline before and after the tag line, so it doesn't interfere
15795 with determining the paragraph direction of bidirectional text.
15797 2011-09-03 Leo Liu <sdl.web@gmail.com>
15799 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15801 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15803 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
15804 (pop-to-buffer): Change interactive spec. Pass second argument
15805 directly to display-buffer.
15806 (display-buffer): Fix interactive spec. Use functionp to
15807 distinguish between a function and a list of functions.
15809 * abbrev.el (edit-abbrevs):
15810 * arc-mode.el (archive-extract):
15811 * autoinsert.el (auto-insert):
15812 * bookmark.el (bookmark-bmenu-list):
15813 * files.el (find-file):
15814 * view.el (view-buffer):
15815 * progmodes/compile.el (compilation-goto-locus):
15816 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15818 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15820 * window.el (display-buffer-alist): Doc fix.
15821 (display-buffer): Add docstring. Don't treat
15822 display-buffer-default specially.
15823 (display-buffer-reuse-selected-window)
15824 (display-buffer-same-window, display-buffer-maybe-same-window)
15825 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15826 (display-buffer-pop-up-window)
15827 (display-buffer-reuse-or-pop-window)
15828 (display-buffer-use-some-window): New functions.
15829 (display-buffer-default-action): Use them.
15830 (display-buffer-default): Delete.
15831 (pop-to-buffer-1): Fix choice of actions.
15833 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15835 * minibuffer.el (completion--insert-strings): Don't get confused by
15836 completion entries that end with an LF char.
15838 2011-09-01 Eli Zaretskii <eliz@gnu.org>
15840 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15842 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
15844 * window.el (display-buffer): Restore interactive spec.
15845 (display-buffer-same-window, display-buffer-other-window):
15847 (pop-to-buffer-1): New function. Use the above.
15848 (pop-to-buffer, pop-to-buffer-same-window): Use it.
15849 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
15851 * view.el (view-buffer-other-window, view-buffer-other-frame):
15852 Just use pop-to-buffer.
15854 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15856 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15858 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15860 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15862 2011-08-31 Richard Stallman <rms@gnu.org>
15864 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15865 of the separation of rmail-view-buffer from rmail-buffer.
15866 If you say no to "replace original", the decrypt is in the
15867 view buffer. If you say yes, the decrypt goes into the
15870 2011-08-31 Martin Rudalics <rudalics@gmx.at>
15872 * window.el (display-buffer-window): Rewrite doc-string.
15873 (display-buffer-record-window): New function.
15874 (display-buffer-macro-specifiers)
15875 (display-buffer-even-window-sizes, display-buffer-set-height)
15876 (display-buffer-set-width, display-buffer-in-window)
15877 (display-buffer-reuse-window, display-buffer-split-specifiers)
15878 (display-buffer-side-specifiers, display-buffer-split-window-1)
15879 (display-buffer-split-window, display-buffer-split-atom-window)
15880 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15881 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15882 (display-buffer-other-window-means-other-frame)
15883 (display-buffer-normalize-special)
15884 (display-buffer-normalize-default)
15885 (display-buffer-normalize-argument)
15886 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15887 (display-buffer-normalize-specifiers, display-buffer-frame)
15888 (display-buffer-same-window, display-buffer-same-frame)
15889 (display-buffer-other-window)
15890 (display-buffer-same-frame-other-window)
15891 (display-buffer-other-frame, pop-to-buffer-same-window)
15892 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15893 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15894 (switch-to-buffer-same-frame)
15895 (switch-to-buffer-other-window-same-frame)
15896 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15897 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15898 (display-buffer-alist-set): Remove.
15899 (display-buffer-function, special-display-buffer-names)
15900 (special-display-regexps, special-display-function):
15901 In doc-string refer to display-buffer-window and quit-restore
15903 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15904 (special-display-frame-alist, special-display-popup-frame)
15905 (same-window-buffer-names, same-window-regexps, same-window-p)
15906 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15907 (split-window-preferred-function, split-height-threshold)
15908 (split-width-threshold, window-splittable-p)
15909 (split-window-sensibly, window--try-to-split-window)
15910 (window--frame-usable-p, even-window-heights)
15911 (window--even-window-heights, window--display-buffer-1)
15912 (window--display-buffer-2, display-buffer-other-frame):
15913 Restore old Emacs 23 code, order and doc-strings where applicable.
15914 (display-buffer-default, display-buffer-assq-regexp): New functions.
15915 (display-buffer-alist): Rewrite doc-string.
15916 (display-buffer-default-action)
15917 (display-buffer-overriding-action): New variables.
15918 (display-buffer, switch-to-buffer): Rewrite.
15919 (pop-to-buffer): Restore Emacs 23 behavior but use
15920 window-normalize-buffer-to-display.
15921 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15922 Restore Emacs 23 behavior but use
15923 window-normalize-buffer-to-switch-to.
15924 (pop-to-buffer-same-window): Rewrite.
15925 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15926 Rewrite using Emacs 23 options.
15928 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
15930 * net/tramp.el (tramp-root-regexp): Remove.
15931 (tramp-completion-file-name-regexp-unified)
15932 (tramp-completion-file-name-regexp-separate)
15933 (tramp-completion-file-name-regexp-url): Don't use leading volume
15934 letter on w32 systems. (Bug#5303, Bug#9311)
15935 (tramp-drop-volume-letter): Simplify definition.
15936 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
15938 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15940 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15943 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15945 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
15947 2011-08-29 Juri Linkov <juri@jurta.org>
15949 * isearch.el (isearch-done): Don't display message "Mark saved"
15950 when arg `edit' is non-nil to prevent its flicker in the echo area.
15952 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15954 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15955 obsolete packages for deletion.
15957 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15959 * help-mode.el (help-mode-map): Add special-mode-map to parent.
15960 (help-mode): Derive help-mode from special-mode. Don't invoke
15961 view-mode from help-mode.
15962 (help-xref-override-view-map): Remove.
15963 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15964 view-mode is not used anymore.
15966 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15968 * server.el (server-port): Doc fix.
15970 * cus-theme.el (custom-theme-choose-mode): Inherit from
15971 special-mode (Bug#9124).
15972 (custom-theme-choose-mode-map): Add special-mode to parent.
15974 2011-08-28 Alan Mackenzie <acm@muc.de>
15976 * progmodes/cc-fonts.el
15977 (c-make-font-lock-BO-decl-search-function): New function.
15978 (c-basic-matchers-after - "Fontify the clauses after various
15979 keywords"): Extract the three keyword lists for the 3 erroneous
15980 constructs from the list of four, and use the new function above
15981 in place of an old one.
15983 2011-08-28 Deniz Dogan <deniz@dogan.se>
15985 * net/rcirc.el (rcirc-insert-prev-input)
15986 (rcirc-insert-next-input): Remove unused argument.
15988 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15990 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15992 2011-08-27 Alan Mackenzie <acm@muc.de>
15994 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15995 handle function pointer parameters properly.
15997 2011-08-27 Martin Rudalics <rudalics@gmx.at>
15999 * window.el (display-buffer-reuse-window): Fix case where
16000 selected window was reused with non-nil OTHER-WINDOW argument.
16003 2011-08-27 Deniz Dogan <deniz@dogan.se>
16005 * net/rcirc.el (rcirc-check-auth-status): Adding support for
16006 oftc's NickServ messages.
16008 2011-08-27 Glenn Morris <rgm@gnu.org>
16010 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
16012 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
16014 * emacs-lisp/package.el (package-install): Call package-initialize
16015 if called interactively.
16017 2011-08-26 Leo Liu <sdl.web@gmail.com>
16019 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
16021 2011-08-25 Juri Linkov <juri@jurta.org>
16023 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16024 `search-whitespace-regexp' (bug#9364).
16026 2011-08-25 Juri Linkov <juri@jurta.org>
16028 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16029 `regexp-search-ring' to their global values to protect from
16030 updating by `read-from-minibuffer' (bug#9185).
16032 2011-08-25 Juri Linkov <juri@jurta.org>
16034 * textmodes/ispell.el (ispell-command-loop): Add newline
16035 at the end of the "Use option `i'..." line.
16037 2011-08-25 Juri Linkov <juri@jurta.org>
16039 * battery.el (display-battery-mode): If `battery-status-function'
16040 or `battery-mode-line-format' is nil, display the message and set
16041 `display-battery-mode' to nil (bug#9363).
16043 2011-08-25 Eli Zaretskii <eliz@gnu.org>
16045 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16046 bidi-string-mark-left-to-right; they are unnecessary now.
16048 2011-08-25 Deniz Dogan <deniz@dogan.se>
16050 * net/quickurl.el: Documentation typo fixes.
16052 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
16054 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16056 2011-08-25 Glenn Morris <rgm@gnu.org>
16058 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16060 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16061 (smtpmail-via-smtp): Handle nil response from smtp.
16063 2011-08-24 Juri Linkov <juri@jurta.org>
16065 * proced.el (proced-marked): Inherit from `error' instead of
16066 `font-lock-warning-face'.
16068 * ibuffer.el (ibuffer-marked-face): Change default face from
16069 `font-lock-warning-face' to `warning'.
16070 (ibuffer-deletion-face): Change default face from
16071 `font-lock-type-face' to `error'.
16073 * battery.el (battery-update): Use the face `error' instead of
16074 `font-lock-warning-face' (bug#6117).
16076 2011-08-24 Juri Linkov <juri@jurta.org>
16078 * faces.el (success): Change face color from "Green3" to
16079 "ForestGreen" on light background (bug#9353).
16081 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
16083 * window.el (quit-window): Rename from quit-restore-window.
16084 Use same arglist as old quit-window.
16085 (frame-auto-delete): Doc fix.
16087 * view.el (view-mode-exit): Use quit-window.
16089 2011-08-24 Juri Linkov <juri@jurta.org>
16091 * isearch.el (isearch-ring-adjust1): Start visiting previous
16092 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16093 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16094 for empty search string (when the last search string is reused
16095 automatically) to adjust the isearch ring to the last element and
16096 prepare the correct index for further M-p commands (bug#9185).
16098 2011-08-24 Kenichi Handa <handa@m17n.org>
16100 * international/ucs-normalize.el: If decomposition property of
16101 CHAR is the default one (i.e. a list of CHAR itself), treat it as
16103 (nfd, nfkd): Likewise.
16105 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16107 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16108 from process filters aren't reliably transmitted to the surrounding
16109 accept-process-output.
16110 (mpc-proc-check): New function.
16111 (mpc-proc-sync): Use it (bug#8293)
16113 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16115 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16116 Add compatibility functions (bug#9313).
16118 2011-08-23 Eli Zaretskii <eliz@gnu.org>
16120 * cus-start.el (all): Add entry for bidi-paragraph-direction.
16122 * international/uni-bidi.el: Regenerate.
16124 2011-08-23 Kenichi Handa <handa@m17n.org>
16126 * international/charprop.el:
16127 * international/uni-bidi.el:
16128 * international/uni-category.el:
16129 * international/uni-combining.el:
16130 * international/uni-comment.el:
16131 * international/uni-decimal.el:
16132 * international/uni-decomposition.el:
16133 * international/uni-digit.el:
16134 * international/uni-lowercase.el:
16135 * international/uni-mirrored.el:
16136 * international/uni-name.el:
16137 * international/uni-numeric.el:
16138 * international/uni-old-name.el:
16139 * international/uni-titlecase.el:
16140 * international/uni-uppercase.el: Regenerate.
16142 2011-08-23 Martin Rudalics <rudalics@gmx.at>
16144 * help.el (help-window-setup): Fix message displayed when other
16145 window is reused. (Bug#9341)
16147 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16149 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16150 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16152 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16154 * shell.el (shell-parse-pcomplete-arguments): New function.
16155 (shell-completion-vars): Use it instead (bug#9160).
16157 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
16159 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16160 strings and comments (bug#9333).
16162 * emacs-lisp/debug.el (debug-arglist): New function.
16163 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
16164 (debug-on-entry-1): Handle interpreted closures (bug#9120).
16166 2011-08-22 Juri Linkov <juri@jurta.org>
16168 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16169 Revert regexp that highlights output switches to its old
16170 pre-2010-10-28 value and remove one `?' from it (bug#9319).
16172 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16173 to check for empty output (bug#9226).
16175 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
16177 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16178 symbol-constituent as the default, as that stops font-lock from
16179 working properly (Bug#8843).
16181 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16183 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16184 `coding-system-for-*' around the process open call to avoid
16185 auth-source side effects.
16186 (smtpmail-try-auth-methods): Expand the secret password.
16187 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16190 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16192 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16194 * emacs-lisp/find-func.el (find-function-noselect): New arg
16197 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16198 signal an error for built-in functions (Bug#6664).
16200 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16202 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16203 (smtpmail-try-auth-methods): Use it.
16205 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16207 * font-lock.el (font-lock-fontify-region)
16208 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16209 (font-lock-default-unfontify-buffer)
16210 (font-lock-default-fontify-region)
16211 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16213 * progmodes/compile.el (compilation-error-properties):
16214 Fix confusion between file struct and message struct (Bug#9319).
16215 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16218 * net/browse-url.el (browse-url-firefox): Don't call
16219 browse-url-firefox-sentinel unless using -remote (Bug#9328).
16221 2011-08-20 Glenn Morris <rgm@gnu.org>
16223 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16225 * tutorial.el (tutorial--default-keys): Update some default bindings.
16227 * files.el (hack-local-variables): Fully ignore case for "mode:".
16229 2011-08-20 Alan Mackenzie <acm@muc.de>
16231 Resolve invalid use of a regexp in regexp-opt.
16233 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16234 detection for a java annotation.
16236 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
16237 detection for a java annotation.
16239 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16241 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16243 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
16245 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16248 2011-08-20 Alan Mackenzie <acm@muc.de>
16250 Fontify CPP expressions correctly when starting in the middle of
16251 such a construct. Mainly for when jit-lock etc. starts a chunk
16254 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
16256 (c-make-font-lock-search-form): New function, extracted from
16257 c-make-font-lock-search-function.
16258 (c-make-font-lock-search-function): Use the above function.
16259 (c-make-font-lock-context-search-function): New function.
16260 (c-cpp-matchers): Enhance the preprocessor expression case with
16262 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16263 which takes an expression.
16265 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16267 2011-08-20 Martin Rudalics <rudalics@gmx.at>
16269 * window.el (display-buffer-reuse-window)
16270 (display-buffer-pop-up-window): Don't reuse or split a side
16273 2011-08-19 Glenn Morris <rgm@gnu.org>
16275 * files.el (hack-local-variables-prop-line, hack-local-variables):
16276 Downcase "Mode:". (Bug#9331)
16278 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
16280 * international/characters.el: Add L and R categories.
16282 * subr.el (bidi-string-mark-left-to-right): Rename from
16283 string-mark-left-to-right. Use category search.
16285 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16287 2011-08-18 Juri Linkov <juri@jurta.org>
16289 * faces.el (error, warning, success): New faces with definitions
16290 copied from old default values of `font-lock-warning-face',
16291 `compilation-warning', `compilation-info' (bug#6117).
16293 * font-lock.el (font-lock-warning-face): Inherit from `error'.
16295 * progmodes/compile.el (compilation-error): Inherit from `error'.
16296 (compilation-warning): Inherit from `warning'.
16297 (compilation-info): Inherit from `success'.
16299 * dired.el (dired-marked): Inherit from `warning'.
16300 (dired-flagged): Inherit from `error'.
16302 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16304 * mail/smtpmail.el (auth-source): Require to avoid problems with
16305 binding variables (bug#9298). Also clean up some unused
16308 * net/network-stream.el (network-stream-open-starttls):
16309 Support using starttls.el without using gnutls-cli.
16311 2011-08-17 Juri Linkov <juri@jurta.org>
16313 * progmodes/grep.el (rgrep): Handle the case when
16314 `grep-find-command' is a cons cell (bug#9278).
16316 2011-08-17 Martin Rudalics <rudalics@gmx.at>
16318 * window.el (display-buffer-pop-up-frame): Run frame creation
16319 function with BUFFER current (as special-display-popup-frame
16320 does). Reported by Drew Adams.
16322 2011-08-17 Daiki Ueno <ueno@unixuser.org>
16324 * epa-mail.el: Simplify GnuPG group expansion using
16326 (epa-mail-group-alist, epa-mail-group-modtime)
16327 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16328 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16329 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16332 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
16334 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16336 2011-08-16 Alan Mackenzie <acm@muc.de>
16338 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16339 Correct, to avoid the inside of macros.
16341 2011-08-16 Richard Stallman <rms@gnu.org>
16343 * epa-mail.el: Handle GnuPG group definitions.
16344 (epa-mail-group-alist, epa-mail-group-modtime)
16345 (epa-mail-gnupg-conf-file): New variables.
16346 (epa-mail-parse-groups, epa-mail-sync-groups)
16347 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16348 (epa-mail-expand-recipients): New functions.
16349 (epa-mail-encrypt): Call epa-mail-expand-recipients.
16351 * mail/rmail.el (rmail-epa-decrypt): New command.
16353 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16354 Don't bind buffer-read-only, just inhibit-read-only.
16355 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16356 (epa-decrypt-armor-in-region): Make error message clearer.
16358 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16360 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16361 and "a2b" to "ab" for `prefix'.
16363 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
16365 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16367 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
16368 Fourquet (Bug#8804).
16370 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
16372 * startup.el (argi): Declare as global variable (bug#9275).
16374 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
16376 * subr.el (string-mark-left-to-right): Search the entire string
16377 for RTL script, not just the terminating character. Doc fix.
16379 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
16381 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16383 (js--regexp-literal, js-syntax-propertize-function): Remove.
16384 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16385 (js-mode-map): Don't rebind electric keys.
16386 (js-insert-and-indent): Remove.
16387 (js-mode): Setup electric-layout and electric-indent instead.
16389 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16391 2011-08-12 Daiki Ueno <ueno@unixuser.org>
16393 * epa.el (epa-progress-callback-function): Fix the logic of
16394 displaying progress.
16395 * epa-file.el (epa-file-insert-file-contents): Make progress
16396 display more user-friendly.
16397 (epa-file-write-region): Ditto.
16399 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
16401 * subr.el (string-mark-left-to-right): New function.
16403 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16404 Use string-mark-left-to-right.
16405 (list-buffers-noselect): Caller changed.
16407 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16408 Use string-mark-left-to-right.
16409 (tabulated-list-print): Recenter after moving point.
16411 2011-08-10 Juri Linkov <juri@jurta.org>
16413 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16414 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16415 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16417 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
16419 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16422 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
16424 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16425 character. (Bug#6594)
16427 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
16429 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16430 (image-dired--with-db-file): New macro.
16431 (image-dired-write-tags, image-dired-remove-tag)
16432 (image-dired-create-gallery-lists, image-dired-write-comments)
16433 (image-dired-get-comment, image-dired-mark-tagged-files)
16434 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16435 (image-dired-gallery-generate): Use insert-file-contents.
16437 * time.el (display-time-world-list, display-time-world-display):
16438 * time-stamp.el (time-stamp-string):
16439 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16440 set-time-zone-rule (Bug#7337).
16442 2011-08-08 Daiki Ueno <ueno@unixuser.org>
16444 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16445 (epg-error-to-string, epg-errors-to-string): New function.
16446 (epg-wait-for-completion): Reverse errors list.
16447 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16448 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16449 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16450 (epg-sign-keys, epg-generate-key-from-file)
16451 (epg-generate-key-from-string): Format errors by using
16452 epg-errors-to-string (bug#9255).
16453 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16455 2011-08-07 Juri Linkov <juri@jurta.org>
16457 * faces.el (list-faces-display): Remove extra angle bracket
16458 from `help-mode-map'.
16460 * info.el (Info-history-toc-nodes): Doc fix.
16462 * longlines.el (longlines-mode): Doc fix.
16464 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16466 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16467 of statements and in a few more cases (bug#9183).
16469 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16471 (cl-transform-lambda): Use them (bug#9239).
16473 2011-08-05 Martin Rudalics <rudalics@gmx.at>
16475 * window.el (display-buffer-same-window)
16476 (display-buffer-same-frame, display-buffer-other-window)
16477 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16478 (pop-to-buffer-other-window)
16479 (pop-to-buffer-same-frame-other-window)
16480 (pop-to-buffer-other-frame): Make them defuns.
16481 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16483 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16485 * subr.el (make-composed-keymap): Move from C. Change calling
16486 convention, and improve docstring to bring attention to a subtle point.
16487 * minibuffer.el (completing-read-default): Adjust accordingly.
16489 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
16491 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16492 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16494 * net/trampver.el: Update release number.
16496 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16498 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16501 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16503 * mail/sendmail.el (sendmail-query-once): Restore the current
16504 buffer after querying (bug#9074).
16506 * dired.el (dired-flagged): Use different faces for marked and
16507 flagged files (bug#6117).
16509 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16512 * ido.el (ido-mode): Switch off the message if called
16515 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16516 before 587, since it appears that that's more likely to work for
16519 * cus-edit.el (custom-file): When running under emacs -q, always
16520 refuse to save the customizations, even if the .emacs file doesn't
16523 * info.el: Remove the `Info-beginning-of-buffer' function
16526 * net/network-stream.el (network-stream-open-starttls):
16527 Use `starttls-available-p' to see whether starttls.el can be used.
16529 2011-08-01 Martin Rudalics <rudalics@gmx.at>
16531 * window.el (display-buffer-in-window): Don't set dedicated status
16532 of window here (Bug#9215).
16533 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16534 (display-buffer-pop-up-side-window)
16535 (display-buffer-in-side-window): Set dedicated status of window here.
16537 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16539 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16540 before binding generated-autoload-file.
16542 2011-08-01 Deniz Dogan <deniz@dogan.se>
16544 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16546 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
16548 Sync with Tramp 2.2.2.
16550 * net/trampver.el: Update release number.
16552 2011-07-30 Juri Linkov <juri@jurta.org>
16554 * dired-aux.el (dired-touch-initial): Remove function.
16555 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16556 current time, and `default' to the last modification time of the
16557 current marked file (bug#6887).
16559 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16561 * simple.el (goto-line): Use string-to-number to provide a
16562 numeric argument to read-number (bug#9163).
16564 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
16566 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16567 connection process, it could be nil.
16569 2011-07-27 Leo Liu <sdl.web@gmail.com>
16571 Simplify url handling in rcirc-mode.
16573 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16574 (rcirc-browse-url-at-mouse): Remove.
16575 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16577 2011-07-26 Alan Mackenzie <acm@muc.de>
16579 Fontify bitfield declarations properly.
16581 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16582 (c-symbol-chars): Now exported as a lang variable.
16583 (c-not-primitive-type-keywords): New lang variable.
16585 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16586 QT keyword "more" to prevent "more slots: ...." being spuriously
16587 parsed as a bitfield declaration.
16589 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16590 Refactor and enhance to handle bitfield declarations.
16591 (c-punctuation-in): New function.
16592 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16593 declarations properly.
16595 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
16597 * calendar/icalendar.el (icalendar--all-events): Take care of
16598 multiple vcalendars in a single file.
16599 (icalendar--convert-float-to-ical): Checkdoc fixes.
16601 2011-07-25 Deniz Dogan <deniz@dogan.se>
16603 * image.el (insert-image): Clarifying docstring.
16605 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
16607 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16608 `tramp-send-command-and-check' if there is no error.
16609 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16611 2011-07-22 Alan Mackenzie <acm@muc.de>
16613 Prevent cc-langs.elc being loaded at run time.
16615 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16618 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
16619 "(require 'cc-langs)". Quote a form so it will evaluate at
16620 (cc-mode's) compilation time.
16622 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
16624 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16625 loading. (Bug#9114)
16627 2011-07-21 Martin Rudalics <rudalics@gmx.at>
16629 * window.el (display-buffer-pop-up-window)
16630 (display-buffer-pop-up-side-window)
16631 (display-buffer-in-side-window): Call display-buffer-set-height
16632 and display-buffer-set-width after setting the new window's
16633 buffer so `fit-window-to-buffer' and friends work on the right buffer.
16635 2011-07-20 Sam Steingold <sds@gnu.org>
16637 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16638 (etags-tags-included-tables): Call `convert-standard-filename' on
16639 the file names contained in TAGS so that windows Emacs can handle
16640 TAGS files created by cygwin ctags.
16642 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16644 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16645 which apparently didn't work.
16647 2011-07-19 Roland Winkler <winkler@gnu.org>
16649 * proced.el (proced-send-signal): For *Marked Processes* buffer
16650 put point at beginning of buffer.
16652 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
16654 * proced.el (proced-format): Make header lines align with the text
16657 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16659 * view.el (view-buffer): Allow running in `special' modes if we're
16660 visiting a file (bug#8615).
16662 2011-07-19 Martin Rudalics <rudalics@gmx.at>
16664 * window.el (display-buffer-alist-of-strings-p)
16665 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16667 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16670 2011-07-18 Alan Mackenzie <acm@muc.de>
16672 Fontify declarators properly when, e.g., a jit-lock chunk begins
16673 inside a declaration.
16675 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16677 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16679 (c-complex-decl-matchers): Insert reference to
16680 c-font-lock-enclosing-decls.
16682 * progmodes/cc-engine.el (c-backward-single-comment):
16683 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16684 to nil around calls to (forward-comment -1).
16686 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16688 * image.el (put-image): Doc typo fix.
16690 * progmodes/etags.el (tags-search): Doc typo fix.
16692 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16693 password if we get errors 550 to 554.
16695 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16697 * net/gnutls.el (gnutls-log-level): Remove.
16699 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16700 indentation character (bug#6380).
16702 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16704 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16705 to clarify what the problem is (bug#4291).
16707 * simple.el (current-kill): Clarify what
16708 `interprogram-paste-function' does (bug#7500).
16709 (auto-fill-mode): Document `auto-fill-function' in relation to
16710 `auto-fill-mode' (bug#2470).
16712 2011-07-16 Lawrence Mitchell <wence@gmx.li>
16714 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16715 method if slot is read-only (bug#9035).
16717 2011-07-16 Martin Rudalics <rudalics@gmx.at>
16719 * frame.el (select-frame-set-input-focus): New argument NORECORD.
16720 * window.el (pop-to-buffer): Select window used even if it was
16721 selected before, see discussion of (Bug#8615), (Bug#6954).
16722 Pass argument NORECORD on to select-frame-set-input-focus.
16724 2011-07-15 Glenn Morris <rgm@gnu.org>
16726 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
16729 2011-07-09 Lawrence Mitchell <wence@gmx.li>
16731 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16732 (gnutls-negotiate): Use it.
16734 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16736 * net/gnutls.el (gnutls-negotiate):
16737 Upcase `gnutls-algorithm-priority'.
16739 2011-07-15 Glenn Morris <rgm@gnu.org>
16741 * jka-compr.el (jka-compr-verbose): Move from here...
16742 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16743 Add missing :version tag.
16744 * info.el: No need to require jka-compr when compiling.
16746 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16748 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16749 (gnutls-negotiate): Use it.
16751 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16753 * info.el (Info-beginning-of-buffer): New command.
16754 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16755 announcing `b' as the key (bug#8325).
16756 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
16758 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16760 * international/mule-cmds.el
16761 (describe-specified-language-support): Make the error message
16762 clearer (bug#8905).
16764 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16766 * isearch.el (isearch-barrier): Add a doc string, since it's
16767 mentioned in a function doc string (bug#8678).
16769 2011-07-15 Martin Rudalics <rudalics@gmx.at>
16771 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16772 buffer argument (Bug#9083) and self-identifying label argument.
16774 2011-07-15 Glenn Morris <rgm@gnu.org>
16776 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16778 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16780 * man.el (Man-fontify-manpage): Fix message when formatting the
16781 man page (bug#7929).
16783 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16785 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16786 argument LRM; if non-nil, append an invisible LRM character to the
16788 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16789 last argument non-nil, when formatting buffer names.
16790 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16791 paragraph direction.
16793 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16795 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16796 the man page name (bug#7929).
16798 * image.el (put-image): Mention the `put-image' overlay property
16801 * scroll-bar.el (set-scroll-bar-mode): Mention that
16802 `scroll-bar-mode' lists the values (bug#7772).
16804 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16805 command (bug#7729).
16807 * rect.el (apply-on-rectangle): Return the point after the last
16809 (string-rectangle): Go to the point after the last operation
16812 * printing.el (pr-toggle-region): Clarify the documentation
16813 slightly (bug#7493).
16815 * time.el (display-time-update):
16816 Allow `display-time-mail-function' to return nil (bug#7158).
16817 Fix suggested by Detlev Zundel.
16819 * vc/diff.el (diff): Clarify the order the file names are read
16822 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16823 the doc string (bug#7015).
16825 * font-lock.el (font-lock-maximum-decoration): Mention what
16826 numeric levels mean (bug#6935).
16828 * startup.el (initial-buffer-choice): Don't mention the `none'
16829 selection, which is against policy.
16831 2011-07-14 Martin Rudalics <rudalics@gmx.at>
16833 * window.el (display-buffer-normalize-special):
16834 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
16836 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16838 * subr.el (version<, version<=, version=): Mention "-CVS" and
16839 "-12345" alpha version numbers.
16841 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16843 * bindings.el: Add advertised binding for set-mark-command
16846 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16848 * bindings.el (mode-line-other-buffer):
16849 * bookmark.el (bookmark-bmenu-2-window):
16850 * bs.el (bs-cycle-next, bs-cycle-previous):
16851 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16854 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16857 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
16859 * follow.el (follow-debug-message, follow-redisplay):
16860 * jka-cmpr-hook.el (with-auto-compression-mode):
16861 Fix typos in docstrings.
16863 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16865 * subr.el (with-silent-modifications): Clarify somewhat what the
16866 macro inhibits (bug#6525).
16868 * simple.el (eval-expression): Note what it does if called
16869 interactively (bug#6495).
16871 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16873 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16874 Use pop-to-buffer buffer-or-name if it is nil.
16876 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16877 Remove switch-to-buffer.
16879 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16881 * files.el (make-directory): Clarify that an error will be raised
16882 if there's an error (bug#6397).
16884 * startup.el (initial-buffer-choice): Add `none' as a choice
16887 * subr.el (add-hook): Clarify section about buffer-local hooks
16890 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16892 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16894 * tabify.el (untabify): Preserve the current column so that point
16895 doesn't move (bug#6032).
16897 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16899 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16900 Rewrite to avoid awkward possessive "s" (bug#5986).
16902 2011-07-13 Glenn Morris <rgm@gnu.org>
16904 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16905 (dired-insert-directory): Give a message the first time
16906 if ls is found not to support --dired.
16908 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16910 * simple.el (toggle-truncate-lines): Clarify what is toggled
16911 (bug#5580). Text by Drew Adams.
16913 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16915 * simple.el (blink-matching-open): Make the error message from the
16916 last change less verbose.
16918 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16920 * font-lock.el (font-lock-comment-face): Use the high contrast
16921 "yellow" color for font-lock-comment-face on low color terminals
16922 using a dark background color (bug#4221).
16924 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16926 * dired.el (dired-insert-set-properties): Make the doc string
16927 reflect what it does now (bug#5325).
16929 * simple.el (blink-matching-open): Say that we were unable to find
16930 the match within the limit, if we're limited (bug#5122).
16932 * international/mule-cmds.el (prefer-coding-system): Add an
16933 example (bug#4869).
16935 * progmodes/etags.el (tags-search): Document `file-list-form'
16938 2011-07-13 Lawrence Mitchell <wence@gmx.li>
16940 * net/browse-url.el (browse-url-default-browser)
16941 (browse-url-browser-function): Make the default browser choice a
16942 bit more logical (bug#4300). Also clean up the doc string.
16944 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16946 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16947 binary endings (bug#4440).
16949 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16951 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16952 which can be pretty annoying (bug#8971).
16954 * jka-compr.el (jka-compr-verbose): New variable, and use
16955 throughout (bug#8971).
16957 * info.el (Info-find-file): Fall back on the installation
16958 directory if we can't find the info node anywhere else.
16960 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16962 * vc/vc.el (vc-revert-file):
16963 Don't set file time-stamp in the past. (Bug#5181)
16965 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16967 * files.el (after-find-file): Give a better error message when
16968 trying to find a symlink that points to a file that doesn't exist
16971 * progmodes/cc-vars.el: Remove (probably) misleading comment
16974 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16976 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16978 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16980 * mouse-sel.el: Hack restoring functionality, while keeping
16981 compatibility with 2010-07-03 changes to mouse selection.
16982 (mouse-sel-primary-overlay): New var.
16983 (mouse-sel-selection-alist): Use it.
16984 (mouse-sel-mode): Doc fix; remove points that are default features
16987 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16989 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16990 Fix previous fix (bug#2490).
16992 2011-07-12 Roland Winkler <winkler@gnu.org>
16994 * textmodes/bibtex.el (bibtex-initialize):
16995 Use pop-to-buffer-same-window.
16996 (bibtex-search-entries): Fix interactive call.
16998 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17000 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17001 Fontise bytecomp Error lines more correctly (bug#2490).
17002 Fix suggested by Johan Bockgård.
17004 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
17006 * dired-x.el (dired-guess-default): Use `delete-dups'.
17008 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
17010 * dired.el (dired-mark-prompt):
17011 * dired-aux.el (dired-read-shell-command): Doc fix.
17013 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17015 * mail/sendmail.el (sendmail-query-once):
17016 Use `customize-save-variable' unconditionally, now that it works under
17019 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17021 * cus-edit.el (custom-file): Take an optional no-error variable.
17022 (customize-save-variable): Set the variable, and give a warning if
17023 running under "emacs -q".
17025 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
17027 * loadhist.el (unload-feature-special-hooks):
17028 Add `auto-coding-functions', `fill-nobreak-predicate' and
17029 `find-directory-functions' (bug#5327).
17031 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17033 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17035 * cus-edit.el (custom-guess-name-alist): -alist variables should
17036 use the `alist' type (bug#3120). Suggested by Drew Adams.
17038 * printing.el: Add documentation to all the `pr-toggle-' commands.
17040 2011-07-11 Leo Liu <sdl.web@gmail.com>
17042 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17043 backends where it makes sense (bug#2623).
17045 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17047 * dired-x.el (dired-guess-default): Remove duplicate shell command
17048 entries (bug#2028).
17049 (dired-guess-default): Fix grammar in doc string (bug#2028).
17050 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
17052 * subr.el (remove-duplicates): New conveniency function.
17054 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
17056 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17059 2011-07-10 Martin Rudalics <rudalics@gmx.at>
17061 * window.el (display-buffer-normalize-default): Don't invert
17062 meaning of even-window-heights. Reported by Eli Zaretskii
17065 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
17067 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17069 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
17071 * window.el (display-buffer): Fix arguments to
17072 display-buffer-reuse-window in last change.
17074 * faces.el (link): Use a less saturated blue on light backgrounds.
17076 * startup.el (fancy-startup-text, fancy-about-text)
17077 (fancy-startup-tail): Use font-lock faces, for background safety.
17079 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
17081 * emulation/viper-cmd.el (viper-change-state-to-vi):
17082 Limit triggering of abbrev expansion (Bug#9038).
17084 2011-07-09 Martin Rudalics <rudalics@gmx.at>
17086 * window.el (display-buffer-default-specifiers): Remove.
17087 (display-buffer-macro-specifiers): Remove default specifiers.
17088 (display-buffer-alist): Default to nil.
17089 (display-buffer-reuse-window): New optional argument other-window.
17090 (display-buffer-pop-up-window): Allow splitting internal
17091 windows. Check whether a live window was created.
17092 (display-buffer-other-window-means-other-frame)
17093 (display-buffer-normalize-arguments): Rename to
17094 display-buffer-normalize-argument and rewrite. Set the
17095 other-window specifier.
17096 (display-buffer-normalize-special): New function.
17097 (display-buffer-normalize-options): Rename to
17098 display-buffer-normalize-default and rewrite.
17099 (display-buffer-normalize-options-inhibit): Remove.
17100 (display-buffer-normalize-specifiers): Rewrite.
17101 (display-buffer): Process other-window specifier and call
17102 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
17104 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
17105 (display-buffer-alist-set): Don't handle 'unset default values.
17106 (display-buffer-in-window, display-buffer-alist-set):
17107 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
17108 <tassilo@member.fsf.org>.
17110 2011-07-09 Leo Liu <sdl.web@gmail.com>
17112 * register.el (insert-register): Restore accidental change on
17113 2011-06-26. (Bug#9028)
17115 2011-07-09 Glenn Morris <rgm@gnu.org>
17117 * subr.el (remq): Handle the empty list. (Bug#9024)
17119 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
17121 * mail/sendmail.el (send-mail-function): No longer delay custom
17123 * custom.el (custom-initialize-delay): Doc fix.
17125 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17127 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17129 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
17131 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17132 human-friendly prompt.
17134 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17136 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17137 provided by a particular plugin.
17139 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17141 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17142 save customizations (with "emacs -Q"), just set the variable
17143 instead of erroring out.
17145 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17147 2011-07-08 Juri Linkov <juri@jurta.org>
17149 * arc-mode.el (archive-zip-expunge, archive-zip-update)
17150 (archive-zip-update-case): Use 7z if found by `executable-find'.
17151 The order of searching the available programs is the same as in
17152 `archive-zip-extract' (bug#8968).
17154 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17156 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17157 (menu-bar-options-menu): Tweak descriptions.
17159 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17161 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17162 menu items into verb phrases (bug#1421). Also refill to fit under
17165 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17167 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17168 (Info-read-node-name): Doc fix (Bug#1084).
17170 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17171 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17172 (end-of-sexp, beginning-of-sexp)
17173 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17174 (forward-symbol, forward-same-syntax, word-at-point)
17175 (sentence-at-point): Doc fix (Bug#1144).
17177 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17179 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17180 should cover it (bug#1281).
17182 * cus-edit.el (custom-show): Mark as obsolete.
17184 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
17185 negotiation fails, then possibly try again with a non-encrypted
17186 connection (bug#9017).
17188 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17191 2011-07-07 Richard Stallman <rms@gnu.org>
17193 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17194 property, and handle its changed format.
17195 Look for the correct line number.
17196 Use file's line contents (but not past first =) to find
17197 correct line in message.
17199 2011-07-07 Kenichi Handa <handa@m17n.org>
17201 * international/characters.el (build-unicode-category-table):
17203 (unicode-category-table): Set it by unicode-property-table-internal.
17205 * international/mule-cmds.el (char-code-property-alist): Move to
17207 (get-char-code-property): Call unicode-property-table-internal to
17208 load a file. Call get-unicode-property-internal where necessary.
17209 (put-char-code-property): Call unicode-property-table-internal to
17210 load a file. Call put-unicode-property-internal where necessary.
17211 put-unicode-property-internal where necessary.
17212 (char-code-property-description):
17213 Call unicode-property-table-internal to load a file.
17215 * international/charprop.el:
17216 * international/uni-bidi.el:
17217 * international/uni-category.el:
17218 * international/uni-combining.el:
17219 * international/uni-comment.el:
17220 * international/uni-decimal.el:
17221 * international/uni-decomposition.el:
17222 * international/uni-digit.el:
17223 * international/uni-lowercase.el:
17224 * international/uni-mirrored.el:
17225 * international/uni-name.el:
17226 * international/uni-numeric.el:
17227 * international/uni-old-name.el:
17228 * international/uni-titlecase.el:
17229 * international/uni-uppercase.el: Regenerate.
17231 * loadup.el: Load international/charprop.el before
17232 international/characters.
17234 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17236 * window.el (next-buffer, previous-buffer): Signal an error if
17237 called from a minibuffer window.
17239 * bindings.el: Revert 2011-07-04 change.
17241 2011-07-06 Richard Stallman <rms@gnu.org>
17243 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17244 (rmail-mime-insert-bulk, rmail-mime-insert-text):
17245 Treat markers like ints.
17246 (rmail-mime-entity): Doc fix.
17248 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17250 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17251 defcustom again for backwards compatibility.
17253 * simple.el (shell-command-on-region): Fill.
17255 * dired-aux.el (dired-kill-line): Add a doc string.
17257 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17258 to "\\sw\\|\\s_" (bug#358).
17260 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17261 (dired-unmark-backward): Ditto.
17262 (dired-flag-backup-files): Ditto.
17264 * dired-x.el (dired-mark-sexp): Ditto.
17266 2011-07-06 Richard Stallman <rms@gnu.org>
17268 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17269 (rmail-mime-entity): New arg TRUNCATED.
17270 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17272 (rmail-mime-save): Warn if entity is truncated.
17273 (rmail-mime-toggle-hidden): Likewise, for showing.
17274 (rmail-mime-process-multipart): Record when an entity is truncated.
17276 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17277 if ENTITY is a string.
17279 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17281 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
17282 of faces when `M-C-x'-ing their definitions (bug#8378).
17283 Also clean up the code slightly.
17285 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
17286 because that makes the colors go away.
17288 * mail/sendmail.el (send-mail-function): Change the default to
17289 `sendmail-query-once'.
17290 (sendmail-query-once): Add an autoload cookie.
17292 * net/network-stream.el (network-stream-open-starttls): Try using
17293 a plain connection even if the server offered STARTTLS, and we
17294 kinda wanted to use it, if Emacs doesn't have any STARTTLS
17295 capability. This should make smtpmail.el work in slightly more
17298 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
17300 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17302 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17304 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
17306 * progmodes/sql.el: Version 3.0
17307 (sql-product-alist): Add product :completion-object,
17308 :completion-column, and :statement attributes.
17309 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
17310 (sql-mode-syntax-table): Mark all punctuation.
17311 (sql-font-lock-keywords-builder): Temporarily remove fallback on
17313 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
17314 (sql-mode-oracle-font-lock-keywords): Improve.
17315 (sql-oracle-show-reserved-words): New function for development.
17316 (sql-product-font-lock): Simplify for source code buffers.
17317 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17319 (sql-highlight-product): Set product specific syntax table.
17320 (sql-mode-map): Add statement movement functions.
17321 (sql-ansi-statement-starters, sql-oracle-statement-starters):
17323 (sql-statement-regexp, sql-beginning-of-statement)
17324 (sql-end-of-statement, sql-signum): New functions.
17325 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
17326 (sql-show-sqli-buffer): Bug fix.
17327 (sql-interactive-mode): Store connection data as buffer local.
17328 (sql-connect): Add NEW-NAME parameter. Redesign interaction
17329 with sql-interactive-mode.
17330 (sql-save-connection): Save buffer local settings.
17331 (sql-connection-menu-filter): Change menu entry name.
17332 (sql-product-interactive): Bug fix.
17333 (sql-preoutput-hold): New variable.
17334 (sql-interactive-remove-continuation-prompt): Bug fixes.
17335 (sql-debug-redirect): New variable.
17336 (sql-str-literal): New function.
17337 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
17339 (sql-oracle-save-settings, sql-oracle-restore-settings)
17340 (sql-oracle-list-all, sql-oracle-list-table): New functions.
17341 (sql-completion-object, sql-completion-column)
17342 (sql-completion-sqlbuf): New variables.
17343 (sql-build-completions-1, sql-build-completions)
17344 (sql-try-completion): New functions.
17345 (sql-read-table-name): Use them.
17346 (sql-contains-names): New buffer local variable.
17347 (sql-list-all, sql-list-table): Use it.
17348 (sql-oracle-completion-types): New variable.
17349 (sql-oracle-completion-object, sql-sqlite-completion-object)
17350 (sql-postgres-completion-object): New functions.
17352 2011-07-06 Glenn Morris <rgm@gnu.org>
17354 * window.el (pop-to-buffer): Doc fix.
17356 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
17358 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17360 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
17362 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
17364 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
17366 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
17368 * button.el (button): Inherit from link face. Suggested by Dan
17371 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17373 * progmodes/gdb-mi.el: Fit in 80 columns.
17374 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17377 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17378 if imenu is simply not configured (bug#8941).
17380 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
17382 * allout.el (allout-post-undo-hook): New allout outline-change
17383 event hook to signal undo activity.
17384 (allout-post-command-business): Run allout-post-undo-hook if an
17385 undo just occurred.
17386 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17387 * allout-widgets.el (allout-widgets-after-undo-function):
17388 Ensure the integrity of the current item's decoration after it has been
17389 in the vicinity of an undo.
17390 (allout-widgets-mode): Include allout-widgets-after-undo-function
17391 on the new allout-post-undo-hook.
17393 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17395 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17396 Let define-derived-mode define it.
17397 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17398 cycles of abbrev-table inheritance (bug#8998).
17400 2011-07-05 Roland Winkler <winkler@gnu.org>
17402 * textmodes/bibtex.el: Add support for biblatex.
17403 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17404 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17405 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17406 (bibtex-entry-alist, bibtex-field-alist): New variables.
17407 (bibtex-entry-field-alist): Obsolete alias for
17408 bibtex-BibTeX-entry-alist.
17409 (bibtex-entry-alist, bibtex-field-alist): New widgets.
17410 (bibtex-set-dialect): New command.
17411 (bibtex-entry-type, bibtex-entry-head)
17412 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17413 Bind via bibtex-set-dialect.
17414 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17415 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17416 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17417 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17418 Define via bibtex-set-dialect.
17419 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17420 Obey bibtex-no-opt-remove-re.
17421 (bibtex-vec-push, bibtex-vec-incr): New functions.
17422 (bibtex-format-entry, bibtex-field-list)
17423 (bibtex-print-help-message, bibtex-validate)
17424 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17426 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17428 * progmodes/compile.el (compilation-goto-locus):
17429 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17430 * bs.el (bs-cycle-next, bs-cycle-previous):
17431 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17432 * bindings.el (mode-line-other-buffer):
17433 * autoinsert.el (auto-insert):
17434 * arc-mode.el (archive-extract):
17435 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17437 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17439 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17440 Fix check of `emacs-lock-unlockable-modes'.
17441 Coerce true values of `emacs-lock--try-unlocking' to t.
17443 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17445 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17446 * emacs-lock.el: New file.
17448 2011-07-05 Julien Danjou <julien@danjou.info>
17450 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17451 than `boundp' to check if face is set.
17453 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17455 * register.el (registerv-make):
17456 * window.el (window-min-height): Fix typos in docstrings.
17458 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17460 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
17463 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17465 * server.el (server-execute): Catch quit and call
17466 `server-return-error' to pass the error back to emacsclient and
17467 close the connection (bug#8942).
17469 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17471 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17472 insecure exception for current topic. Also note that auto-saves
17473 are handled differently.
17475 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
17476 State variables for tracking auto-save inhibition situation.
17478 (allout-write-contents-hook-handler): Rename from
17479 'allout-write-file-hook-handler', and describe how it depends on
17480 write-contents-functions sensitivity to non-nil value to prevent
17483 (allout-auto-save-hook-handler): Remove. auto-save does not check
17484 this in individual buffers, only in the starting buffer, so this
17485 is not the right way for us to inhibit auto-save in a buffer
17486 according to its condition.
17488 (allout-mode): Use new allout-write-contents-hook-handler, and
17489 only with write-contents-functions. Remove auto-save provisions -
17490 they're implemented elsewhere.
17492 (allout-before-change-handler): If undo is in progress, note that
17493 for attention of allout-post-command-business.
17495 (allout-post-command-business): If the command we're following was
17496 an undo, check for change in the status of encrypted items and
17497 adjust auto-save inhibitions accordingly.
17499 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17500 according to whether there are or aren't any plain-text topics
17501 pending encryption.
17503 (allout-inhibit-auto-save-info-for-decryption):
17504 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17505 if there are plain-text topics pending encryption.
17507 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17508 buffer-saved-size and some allout state to not inhibit auto-saves
17509 if there are no longer any plain-text topics pending encryption.
17511 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17512 No longer provide for exemption of the current topic.
17514 2011-07-04 Juri Linkov <juri@jurta.org>
17516 Add 7z operations to delete and save changed members (bug#8968).
17517 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17519 (archive-7z-write-file-member): New function.
17520 (archive-7z-summarize): Fix the number of dashes in the
17523 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17525 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17528 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
17530 * bindings.el: Ignore next-buffer and previous-buffer in
17531 minibuffer-local-map.
17533 * font-lock.el (font-lock-builtin-face): Change light background
17534 color to dark slate blue (Bug#6693).
17536 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17538 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17540 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17542 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17543 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17544 Add switch-to-buffer.
17546 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17548 * isearch.el (isearch-search-fun-function): Clarify further the
17549 meaning of the function returned.
17551 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
17553 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17555 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17556 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17558 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17559 `tramp-default-remote-path' does not exist.
17560 (tramp-send-command-and-read): New optional argument NOERROR.
17561 (tramp-open-connection-setup-interactive-shell)
17562 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17563 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17564 (tramp-process-sentinel): Flush also process' connection property.
17565 (tramp-sh-handle-start-file-process): Do not set process
17566 sentinel. It is done now ...
17567 (tramp-maybe-open-connection): ... here. (Bug#8929)
17569 2011-07-04 MON KEY <monkey@sandpframing.com>
17571 * play/animate.el (animate-string): Doc fixes and allow changing
17572 the buffer name (bug#5417).
17574 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17576 * play/animate.el (animation-buffer-name): Rename from *animate*.
17578 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17580 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17581 This is simpler and helps future-proof the code.
17582 (timer-until): Use time-subtract and float-time.
17583 (timer--time-less-p): Use time-less-p.
17585 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17587 * type-break.el (timep): Use the value of `float-time' to avoid a
17588 byte-compiler warning.
17590 * server.el (server-eval-and-print): Return any result, even nil.
17592 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17594 * type-break.el: Accept time formats that the builtins accept.
17595 (timep, type-break-time-difference): Accept any format that
17596 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17597 This is simpler and helps future-proof the code.
17598 (type-break-time-difference): Round rather than ignoring
17599 subseconds components.
17601 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17603 * info.el (Info-apropos-matches): Make non-interactive, since it
17604 doesn't seem to do anything useful as a command (bug#8829).
17606 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
17608 * frame.el (frame-background-mode, frame-set-background-mode):
17609 Move from faces.el.
17610 (frame-default-terminal-background): New function.
17612 * custom.el (custom-push-theme): Don't record faces in `changed'
17613 theme; this doesn't work correctly for per-frame face settings.
17614 (disable-theme): Use face-set-after-frame-default to reset faces.
17615 (custom--frame-color-default): New function.
17617 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17619 * dired.el (dired-flagging-regexp): Remove unused variable
17622 2011-03-29 Kevin Ryde <user42@zip.com.au>
17624 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17625 `perl-Test2' extend to match possible "fail #N" rep count
17628 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17630 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17631 `smtpmail-via-smtp' now returns the error instead of nil.
17633 * isearch.el (isearch-search-fun-function): Clarify the doc string
17636 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
17638 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17639 unnecessary spaces (bug#8987).
17641 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17643 * net/network-stream.el (open-network-stream): Use the
17644 :end-of-capability command thoughout.
17646 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17648 * net/network-stream.el (open-network-stream): Add the
17649 :end-of-capability command parameter, used by pop3.el.
17651 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17653 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17655 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17656 for list)" (bug#6475).
17658 * files.el (file-expand-wildcards): Ignore non-readable
17659 sub-directories while trying to find matches instead of signaling
17660 an error (bug#6297).
17662 * man.el (Man-reference-regexp): Allow matching possible
17663 word-wrapped references (bug#6289).
17665 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17666 for consistency with the other vc buffers (bug#6197).
17667 (vc-checkin): Ditto.
17669 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17671 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17673 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17675 * custom.el (defcustom): Clarify that :set is only used in the
17676 Customize user interface (bug#6089).
17678 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17679 associated with a file, refuse to run instead of erroring out
17682 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17683 the doc string, since it appears that using `fill-column' always
17684 controls the width (bug#7845).
17686 * simple.el (shell-command-on-region): Say where the error output
17687 went if `shell-command-default-error-buffer' is set (bug#6857).
17689 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17691 * allout.el (allout-yank-processing): Adjust cursor position for
17692 backwards-deleted space.
17694 (allout-rebullet-heading): Register changes with
17695 allout-exposure-changed-hook, so the modified topic is properly
17698 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17700 * minibuffer.el (completion-in-region): Document PREDICATE
17703 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17704 of keyword/argument pairs (bug#6904).
17706 * replace.el (multi-occur):
17707 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
17709 2011-07-02 Drew Adams <drew.adams@oracle.com>
17711 * dired.el (dired-mark-if): Make the message about whether it's
17712 marking or unmarking clearer (bug#8523).
17714 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17716 * disp-table.el (display-table-print-array): New function.
17717 (describe-display-table): Use it to print the vectors more pretty
17720 2011-07-02 Martin Rudalics <rudalics@gmx.at>
17722 * window.el (window-state-get-1): Don't assign clone numbers.
17723 Add clone-of item to list of window parameters.
17724 (window-state-put-2): Don't process clone numbers.
17725 (display-buffer-alist): Fix doc-string.
17727 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17729 * subr.el (remq): Don't allocate if it's not needed.
17730 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17731 (keymap--merge-bindings): New functions.
17732 (keymap-canonicalize): Use them to refine the canonicalization.
17733 * minibuffer.el (minibuffer-local-completion-map)
17734 (minibuffer-local-must-match-map): Move initialization from C.
17735 (minibuffer-local-filename-completion-map): Move initialization from C;
17736 don't inherit from anything here.
17737 (minibuffer-local-filename-must-match-map): Make obsolete.
17738 (completing-read-default): Use make-composed-keymap to combine
17739 minibuffer-local-filename-completion-map with either
17740 minibuffer-local-must-match-map or
17741 minibuffer-local-filename-completion-map.
17743 2011-07-01 Glenn Morris <rgm@gnu.org>
17745 * type-break.el (type-break-time-sum): Use dolist.
17747 * textmodes/flyspell.el (flyspell-word-search-backward):
17748 Replace CL function.
17750 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17752 * mouse.el (mouse--strip-first-event): New function.
17753 (function-key-map): Use it to map fringe clicks to normal clicks
17756 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17757 (vc-bzr-revision-completion-table): Add support for annotate and date.
17759 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17760 inherit from parent.
17762 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17764 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
17765 (dired-show-file-type): Doc fixup (bug#8818).
17767 * dired.el (dired-mode): Fix up the doc string as suggested by
17768 Drew Adams (bug#8817).
17770 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17771 cookie, since the manual says that it should be possible to add
17772 this function to `find-file-hook' (bug#8709).
17774 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17776 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17777 here. Noted Ted Zlatanov as the maintainer.
17778 (cfengine-common-settings, cfengine-common-syntax): New functions
17779 to set up common things between `cfengine-mode' and
17781 (cfengine3-mode): New mode.
17782 (cfengine3-defuns cfengine3-defuns-regex
17783 (cfengine3-class-selector-regex cfengine3-category-regex)
17784 (cfengine3-vartypes cfengine3-font-lock-keywords)
17785 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
17786 (cfengine3-indent-line): Add from cfengine3.el.
17788 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
17790 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17792 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17794 2011-07-01 Martin Rudalics <rudalics@gmx.at>
17796 * window.el (same-window-buffer-names, same-window-regexps)
17797 (same-window-p, special-display-frame-alist)
17798 (special-display-popup-frame, special-display-function)
17799 (special-display-buffer-names, special-display-regexps)
17800 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17801 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17802 (split-window-preferred-function, split-height-threshold)
17803 (split-width-threshold, even-window-heights)
17804 (display-buffer-mark-dedicated, window-splittable-p)
17805 (split-window-sensibly, window-safely-shrinkable-p):
17807 (display-buffer): Don't spread args with function specifier
17808 because special-display-popup-frame won't like it.
17810 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17812 Time-stamp simplifications and fixes.
17813 These improve accuracy slightly, and future-proof the code
17814 against some potential changes to current-time format.
17816 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17817 by using time-since and float-time.
17819 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17820 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17821 + NNN microseconds".
17823 * type-break.el (type-break-time-sum): Rewrite using time-add.
17825 * play/hanoi.el (hanoi-current-time-float): Remove.
17826 All uses replaced by float-time.
17828 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17829 This yields a more-accurate answer.
17830 (rng-time-to-float): Remove; no longer needed.
17832 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17834 * calendar/timeclock.el (timeclock-seconds-to-time):
17835 Defalias to seconds-to-time, since they're the same thing.
17837 * emacs-lisp/elp.el (elp-elapsed-time):
17838 * emacs-lisp/benchmark.el (benchmark-elapse):
17839 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17841 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17843 * window.el (bury-buffer): Don't iconify the only frame.
17844 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17845 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17847 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
17849 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17850 Add mouse-yank-primary.
17852 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17854 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17856 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17858 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17859 (find-library-name): Use it to find relative load names when provided
17860 absolute file name (bug#8803).
17862 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17864 * textmodes/flyspell.el (flyspell-word): Consider words that
17865 differ only in case as potential doublons (bug#5687).
17867 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17868 Remove two rather uninteresting debugging-like messages to make
17869 debbugs.el more silent.
17871 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17872 a password-like phrase.
17874 2011-06-30 Masatake YAMATO <yamato@redhat.com>
17876 * progmodes/cc-guess.el: New file.
17878 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
17880 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17881 derived from `c-basic-common-init'.
17883 * progmodes/cc-mode.el (top-level): Require cc-guess.
17884 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17886 2011-06-30 Lawrence Mitchell <wence@gmx.li>
17888 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17890 2011-06-30 Alan Mackenzie <acm@muc.de>
17892 * progmodes/cc-engine.el (c-guess-continued-construct):
17893 Correct the handling of template-args-cont, particularly for when font
17894 lock is disabled. Name this case as "CASE G".
17896 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17898 * allout.el (allout-yank-processing): Fix injection of extra space
17899 between bullet and non-whitespace character in first topic when
17900 pasting, ensuring that the actual spacing in the pasted topic
17901 following the bullet char is preserved. This extra space was
17902 causing pasted encrypted topics to get a decrypted status even
17903 when the content was actually still encrypted. Now the decryption
17904 status from before the paste is preserved.
17906 (allout-flag-region): Set all allout overlays so they evaporate
17907 when reduced to zero length (evanescent), to prevent overlay
17910 2011-06-30 Glenn Morris <rgm@gnu.org>
17912 * w32-fns.el (w32-charset-info-alist): Declare.
17914 * find-dired.el (find-grep-options): Simplify.
17916 * term/ns-win.el (ns-set-resource): Declare.
17918 * ses.el (row, col): Declare dynamic variables honestly.
17920 * textmodes/reftex-parse.el (index-tags): Declare.
17922 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
17924 * cus-edit.el (customize-push-and-save): New function.
17926 * files.el (hack-local-variables-confirm): Use it.
17928 * custom.el (load-theme): New arg NO-CONFIRM.
17929 Use customize-push-and-save (Bug#8720).
17930 (custom-enabled-themes): Doc fix.
17932 * cus-theme.el (customize-create-theme)
17933 (custom-theme-merge-theme): Callers to load-theme changed.
17935 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17937 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17938 short URLs have at least one dot in them (bug #7614).
17940 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17941 nil, because using a pty is apparently too slow (bug #895).
17943 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17945 * mail/sendmail.el (sendmail-query-once): New function.
17946 (sendmail-query-once-function): New variable.
17948 2011-06-29 Glenn Morris <rgm@gnu.org>
17950 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17952 * ses.el (top-level): Require cl when compiling.
17953 (ses-set-localvars): Fix error statement.
17954 Call it at compile time to silence a storm of warnings.
17956 2011-06-29 Martin Rudalics <rudalics@gmx.at>
17958 * window.el (normalize-live-buffer): Rename to
17959 window-normalize-buffer.
17960 (normalize-live-frame): Rename to window-normalize-frame.
17961 (normalize-any-window): Rename to window-normalize-any-window.
17962 (normalize-live-window): Rename to window-normalize-live-window.
17963 (make-window-atom): Rename to window-make-atom.
17964 (window-resize-reset): Rename to window--resize-reset.
17965 (window-resize-reset-1): Rename to window--resize-reset-1.
17966 (resize-mini-window): Rename to window--resize-mini-window.
17967 (resize-subwindows-skip-p): Rename to
17968 window--resize-subwindows-skip-p.
17969 (resize-subwindows-normal): Rename to
17970 window--resize-subwindows-normal.
17971 (resize-subwindows): Rename to window--resize-subwindows.
17972 (resize-other-windows): Rename to window--resize-siblings.
17973 (resize-this-window): Rename to window--resize-this-window.
17974 (resize-root-window): Rename to window--resize-root-window.
17975 (resize-root-window-vertically): Rename to
17976 window--resize-root-window-vertically.
17977 (normalize-buffer-to-display): Rename to
17978 window-normalize-buffer-to-display.
17979 (normalize-buffer-to-switch-to): Rename to
17980 window-normalize-buffer-to-switch-to.
17981 Correspondingly update all callers of the functions listed
17983 (display-buffer-alist, display-buffer-normalize-arguments)
17984 (display-buffer-normalize-options, display-buffer)
17985 (display-buffer-alist-set): Use "function" instead of
17988 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
17990 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17991 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17992 debbugs.gnu.org. Mention acknowledgment email.
17994 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17996 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17997 buffer multibyteness, since it shouldn't matter.
17999 2011-06-28 Martin Rudalics <rudalics@gmx.at>
18001 * window.el (display-buffer-in-side-window): Handle dedicated
18002 windows as in display-buffer-reuse-window.
18003 (display-buffer-normalize-alist): Use value of override
18005 (display-buffer-normalize-specifiers): Use value of
18006 other-window-means-other-frame specifier.
18007 (display-buffer-alist): Rewrite some texts in widgets.
18008 (display-buffer): Spread arguments when calling function
18009 specified by fun-with-args.
18011 2011-06-28 Deniz Dogan <deniz@dogan.se>
18013 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18016 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
18017 selectors (Bug#5732).
18018 (css-proprietary-nmstart-re): Use `regexp-opt'.
18020 2011-06-27 Jari Aalto <jari.aalto@cante.net>
18022 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18023 (eshell-ls-date-format): New defcustom.
18024 (eshell-ls-file): Use it.
18026 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18028 * help-fns.el (describe-variable): Fix message for terminal-local vars.
18030 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
18032 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18033 (ange-ftp-make-tmp-name): New arg.
18034 (ange-ftp-file-local-copy): Use it.
18036 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
18038 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18039 no-conversion (Bug#8870).
18041 2011-06-27 Martin Rudalics <rudalics@gmx.at>
18043 * window.el (window-right, window-left, window-child)
18044 (window-child-count, window-last-child)
18045 (window-iso-combination-p, walk-window-tree-1)
18046 (window-atom-check-1, window-tree-1, delete-window)
18047 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18048 new naming conventions - window-vchild, window-hchild,
18049 window-next and window-prev are now called window-top-child,
18050 window-left-child, window-next-sibling and window-prev-sibling
18052 (resize-window-reset): Rename to window-resize-reset.
18053 (resize-window-reset-1): Rename to window-resize-reset-1.
18054 (resize-window): Rename to window-resize.
18055 (window-min-height, window-min-width)
18056 (resize-mini-window, resize-this-window, resize-root-window)
18057 (resize-root-window-vertically, adjust-window-trailing-edge)
18058 (enlarge-window, shrink-window, maximize-window)
18059 (minimize-window, delete-window, quit-restore-window)
18060 (split-window, balance-windows, balance-windows-area-adjust)
18061 (balance-windows-area, window-state-put-2)
18062 (display-buffer-even-window-sizes, display-buffer-set-height)
18063 (display-buffer-set-width, set-window-text-height)
18064 (fit-window-to-buffer): Rename all "resize-window" prefixed
18065 calls to use the "window-resize" prefix convention.
18066 (display-buffer-alist): Fix symbol for label specifier.
18067 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18068 corresponding specifier.
18069 Reported by Juanma Barranquero <lekktu@gmail.com>.
18071 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18073 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18075 (ses-call-printer): Does not pass an empty string to formatter when the
18076 cell is empty to keep from barking printer Calc math-format-value.
18078 2011-06-27 Richard Stallman <rms@gnu.org>
18080 * battery.el (battery-mode-line-limit): New variable.
18081 (battery-update): Handle it.
18083 * mail/rmailmm.el (rmail-mime-process-multipart):
18084 Handle truncated messages.
18086 2011-06-27 Glenn Morris <rgm@gnu.org>
18088 * progmodes/flymake.el (flymake-err-line-patterns):
18089 Allow for column numbers in the ant/javac pattern. (Bug#8866)
18091 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18093 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
18094 (ses--clean-!, ses--clean-_): New functions.
18095 (ses-range): Add configurability of readout order, and conversion
18098 * ses.el (ses-repair-cell-reference-all): New function.
18099 (ses-cell-symbol): Set macro as safe, so that it can be used in
18102 * ses.el: Update cycle detection algorithm.
18103 (ses-localvars): Add ses--Dijkstra-attempt-nb and
18104 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
18105 (ses-set-localvars): New function.
18106 (ses-make-cell): Add property-list as a cell element.
18107 (ses-cell-property-get-fun, ses-cell-property-get)
18108 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
18109 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18111 (ses-cell-property-set, ses-cell-property-pop)
18112 (ses-cell-property-get-handle): New macro.
18113 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18114 New aliases, used for code readability.
18115 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18117 (ses-self-reference-early-detection): New defcustom.
18118 (ses-formula-references): Robustify against self-referring cells.
18119 (ses-mode): Use ses-set-localvars.
18120 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18121 before lauching the update processing.
18122 (ses-initialize-Dijkstra-attempt): New function.
18123 (ses-recalculate-cell): Update for cycle detection based on
18124 Dijkstra algorithm.
18126 * ses.el: Fix commenting and indenting convention.
18128 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18130 * bs.el (bs-cycle-next): Complete last change.
18132 2011-06-27 Drew Adams <drew.adams@oracle.com>
18134 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18136 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18138 * net/network-stream.el (network-stream-open-starttls):
18139 Don't re-get capabilities unless we've reestablished connection.
18140 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18142 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18143 to binary to possibly avoid line encoding issues on Windows (among
18146 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18148 * net/network-stream.el (open-network-stream): Return an :error
18149 saying what the problem was, if possible.
18151 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18154 * net/network-stream.el (network-stream-open-starttls): If we
18155 wanted to use STARTTLS, and the server offered it, but we weren't
18156 able to because we had no STARTTLS support, then close the connection.
18157 (open-network-stream): Return an :error element, if present.
18159 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
18161 * hl-line.el (hl-line-sticky-flag): Doc fix.
18162 (global-hl-line-sticky-flag): New option (Bug#8323).
18163 (global-hl-line-highlight): Obey it.
18165 * vc/vc.el (vc-revert-show-diff): Default to t.
18167 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
18169 * allout-widgets.el (allout-widgets-post-command-business):
18170 Stop decorating intermediate isearch matches. They're not being
18171 undecorated when an isearch is continued past, and isearch
18172 automatically collapses them. This leads to "widget leaks", where
18173 decorated items accumulate in collapsed areas. Lines with lots of
18174 hidden widgets can slow down cursor travel, substantially.
18175 Too much complicated machinery would be needed to ensure undecoration,
18176 so we're doing without this nicety.
18178 (allout-widgets-tally-string): Don't try to do a hash-table-count
18179 of allout-widgets-tally when it's nil. This eliminates spurious "Error
18180 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18181 *Messages* when allout-widgets-maintain-tally is t.
18183 2011-06-26 Martin Rudalics <rudalics@gmx.at>
18185 * window.el (display-buffer-normalize-argument): Rename to
18186 display-buffer-normalize-arguments. Handle special meaning of
18187 LABEL argument. Respect special-display-function when popping up
18188 a new frame. Fix code searching for a window showing the buffer
18190 (display-buffer-normalize-specifiers):
18191 Call display-buffer-normalize-arguments.
18192 (display-buffer-in-window): Don't undedicate the window if its
18193 buffer remains the same.
18194 Reported by Drew Adams <drew.adams@oracle.com>.
18195 (display-buffer-alist): Add choice for same-window macro
18197 (display-buffer): Mention special meaning of LABEL argument in
18198 doc-string. Fix quoting. Don't pop up a new frame even as
18201 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
18203 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18204 avoid deleting the current window in some cases (bug#8911).
18206 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
18208 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18211 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18213 * net/network-stream.el (network-stream-open-starttls):
18214 Use built-in TLS support if `gnutls-available-p' is true.
18215 (network-stream-open-tls): Ditto.
18217 2011-06-26 Leo Liu <sdl.web@gmail.com>
18219 * register.el (registerv): New struct.
18220 (registerv-make): New function.
18221 (jump-to-register, describe-register-1, insert-register):
18222 Support the jump-func, print-func and insert-func slot of a registerv
18225 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
18227 * vc/vc.el (vc-revert-show-diff): New defcustom.
18228 (vc-diff-internal): New arg specifying diff buffer.
18229 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
18230 reuse an existing *vc-diff* buffer (Bug#8927).
18232 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18234 2011-06-26 Glenn Morris <rgm@gnu.org>
18236 * progmodes/f90.el (f90-critical-indent): New option.
18237 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18238 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18239 (f90-mode): Doc fix.
18240 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18241 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18242 (f90-beginning-of-block, f90-next-block, f90-indent-region)
18243 (f90-match-end): Handle block, critical.
18245 2011-06-25 Glenn Morris <rgm@gnu.org>
18247 * calendar/diary-lib.el (diary-included-files): Doc fix.
18248 (diary-include-files): New function, extracted from
18249 diary-include-other-diary-files and diary-mark-included-diary-files.
18250 (diary-include-other-diary-files, diary-mark-included-diary-files):
18251 Just call diary-include-files.
18252 (diary-mark-entries): Reset diary-included-files on first call.
18254 * calendar/diary-lib.el (diary-mark-entries)
18255 (diary-mark-included-diary-files):
18256 Visit included diary-files in temp buffers.
18258 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18259 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18260 (f90-start-block-re, f90-imenu-generic-expression)
18261 (f90-looking-at-program-block-start, f90-no-block-limit):
18262 Add support for submodules.
18264 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18265 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
18267 2011-06-25 Eli Zaretskii <eliz@gnu.org>
18269 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18270 buffer-file-type before setting its value, to avoid disastrous
18271 global effects on decoding files for DOS/Windows systems. (Bug#8780)
18273 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18275 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18277 * ses.el (ses-unload-function):
18278 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18280 * proced.el (proced-unload-function):
18281 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18283 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
18285 * server.el (server-create-window-system-frame): Add parameters arg.
18286 (server-process-filter): Doc fix. Handle frame-parameters.
18288 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18290 Fix bug#8730, bug#8781.
18292 * loadhist.el (unload--set-major-mode): New function.
18293 (unload-feature): Use it.
18295 * progmodes/python.el (python-after-info-look): Add autoload cookie.
18296 (python-unload-function): New function.
18298 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18300 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18302 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
18304 * net/browse-url.el (browse-url-firefox-program): Add icecat to
18305 the candidates list.
18307 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
18309 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18311 2011-06-23 Richard Stallman <rms@gnu.org>
18313 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18314 (rmail-variables): Set next-error-move-function.
18315 (rmail-what-message): Take argument POS.
18316 (rmail-next-error-move): New function.
18318 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
18320 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18321 messages for adjacent non-terminals.
18323 2011-06-23 Richard Stallman <rms@gnu.org>
18325 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
18326 (rmail-show-message-1): Preserve buffer modified flag.
18327 (rmail-start-mail): Don't specify use of rmail-mail-return;
18328 that's done by mail-bury now.
18329 (rmail-mail-return): Handle arg NEWBUF.
18331 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
18333 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18336 2011-06-23 Martin Rudalics <rudalics@gmx.at>
18338 * window.el (get-lru-window, get-mru-window)
18339 (get-largest-window): Never return a minibuffer window.
18340 (display-buffer-pop-up-window): Fix a bug that could lead to
18341 reusing the minibuffer window.
18342 (display-buffer): Pass original specifier argument to
18343 display-buffer-function instead of the normalized one.
18344 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18346 2011-06-22 Leo Liu <sdl.web@gmail.com>
18348 * minibuffer.el (completing-read-function)
18349 (completing-read-default): Move from minibuf.c.
18351 2011-06-22 Richard Stallman <rms@gnu.org>
18353 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18354 to Rmail even if not started by a special Rmail command.
18356 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18357 Copy the buffer currently showing just one message.
18359 2011-06-22 Roland Winkler <winkler@gnu.org>
18361 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18362 (bibtex-clean-entry): First delete the old key so that a
18363 customized algorithm for generating the new key does not get
18364 confused by the old key.
18365 (bibtex-url): Obey regexp of first step.
18366 (bibtex-search-entries): Do not use add-to-list with local
18369 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18371 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18372 stored a user name, then query for the password first, instead of
18373 waiting for SMTP to give an error message and the trying again.
18375 2011-06-22 Lawrence Mitchell <wence@gmx.li>
18377 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18378 BUFFER in call-process.
18380 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18382 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18384 (smtpmail-try-auth-methods): Require user name and password from
18387 2011-06-22 Martin Rudalics <rudalics@gmx.at>
18389 * window.el (display-buffer-default-specifiers)
18390 (display-buffer-alist): Remove entries for pop-up-frame-alist.
18391 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
18392 (split-window): Normalize SIDE argument (Bug#8916).
18394 * frame.el (pop-up-frame-alist, pop-up-frame-function)
18395 (special-display-frame-alist, special-display-popup-frame):
18396 Remove duplicate declarations. These are now in window.el.
18398 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18400 * mail/smtpmail.el (smtpmail-via-smtp):
18401 Set :use-starttls-if-possible so that we always use STARTTLS if the
18402 server supports it. SMTP servers that support STARTTLS commonly
18405 * net/network-stream.el (network-stream-open-starttls): Support
18406 upgrading to STARTTLS always, even if we don't have built-in support.
18407 (open-network-stream): Add the :always-query-capabilities keyword.
18409 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18410 upgrades with `open-network-stream', and rely solely on
18411 auth-source for all credentials. Big changes throughout the file,
18413 (smtpmail-auth-credentials): Remove.
18414 (smtpmail-starttls-credentials): Remove.
18415 (smtpmail-via-smtp): Check for servers saying they want AUTH after
18418 * net/network-stream.el (network-stream-open-starttls):
18419 Provide support for client certificates both for external and built-in
18421 (auth-source): Require.
18422 (open-network-stream): Document the :client-certificate keyword.
18423 (network-stream-certificate): Change cert-cert to cert and
18426 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
18428 * net/tramp-cache.el (top): Don't load the persistency file when
18429 "emacs -Q" has been called.
18431 2011-06-21 Tim Harper <timcharper@gmail.com>
18433 * term/ns-win.el (ns-initialize-window-system):
18434 Set application-specific `ApplePressAndHoldEnabled' system
18435 resource to NO as it is not yet supported by the NS port.
18437 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
18439 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18440 (list-dynamic-libraries): ...not here.
18442 2011-06-21 Leo Liu <sdl.web@gmail.com>
18444 * subr.el (sha1): Implement sha1 using secure-hash.
18446 2011-06-21 Martin Rudalics <rudalics@gmx.at>
18448 * window.el (display-buffer-alist): In default value do not
18449 enforce searching a window on any but the selected frame.
18450 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18451 (display-buffer-select-window): Remove function.
18452 (display-buffer-in-window): When a window on another frame gets
18453 reused, do not select it any more but just raise its frame if
18454 necessary (Bug#8851) and (Bug#8856).
18455 (display-buffer-normalize-options): Handle pop-up-frames related
18456 options more faithfully.
18457 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18458 window if it is on another frame.
18459 (display-buffer-alist, display-buffer-default-specifiers):
18460 Don't make new frame unsplittable by default.
18461 (display-buffer-normalize-argument): Fix doc-string typo and use
18462 'same-frame-other-window instead of 'other-window when associating
18463 with display-buffer-macro-specifiers.
18465 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
18467 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18469 (5x5-mode-map, 5x5-mode-menu): Bind them.
18470 (5x5-draw-grid): Tweak the solver's rendering.
18472 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18474 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18475 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18477 2011-06-21 Drew Adams <drew.adams@oracle.com>
18479 * menu-bar.el: Use function variable instead of switch-to-buffer.
18480 (menu-bar-select-buffer-function): New variable.
18481 (menu-bar-update-buffers): Use it (bug#8876).
18483 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18485 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18488 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18490 * x-dnd.el (x-dnd-version-from-flags)
18491 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18492 and long as number (Bug#8899).
18493 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18495 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18497 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
18498 (completion-try-completion, completion-all-completions): Compute the
18499 metadata argument if it's missing; make it optional (bug#8795).
18501 * wid-edit.el: Use lex-bind and move towards completion-at-point.
18502 (widget-complete): Use new :completion-function property.
18503 (widget-completions-at-point): New function.
18504 (default): Use :completion-function instead of :complete.
18505 (widget-default-completions): Rename from widget-default-complete;
18507 (widget-string-complete, widget-file-complete, widget-color-complete):
18509 (file, symbol, function, variable, coding-system, color):
18510 * international/mule-cmds.el (default-input-method, charset)
18511 (language-info-custom-alist):
18512 * cus-edit.el (face): Use new property :completions.
18514 * progmodes/pascal.el (pascal-completions-at-point): New function.
18515 (pascal-mode): Use it.
18516 (pascal-mode-map): Use completion-at-point.
18517 (pascal-toggle-completions): Make obsolete.
18518 (pascal-complete-word, pascal-show-completions):
18519 * progmodes/octave-mod.el (octave-complete-symbol):
18520 Redefine as obsolete alias.
18521 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18522 Signal absence of completion info for old Octave,
18523 (inferior-octave-complete): Redefine as obsolete alias.
18524 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18525 (meta-completions-at-point): Rename from meta-complete-symbol and
18526 adapt it for use on completion-at-point-functions.
18527 (meta-common-mode): Use it.
18528 (meta-looking-at-backward, meta-match-buffer): Remove.
18529 (meta-complete-symbol): Redefine as obsolete alias.
18530 (meta-common-mode-map): Use completion-at-point.
18531 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18532 (makefile-mode-map): Use completion-at-point.
18533 (makefile-completions-at-point): Rename from makefile-complete and
18534 adapt it for use on completion-at-point-functions.
18535 (makefile-mode): Use it.
18536 (makefile-complete): Redefine as obsolete alias.
18538 2011-06-20 Deniz Dogan <deniz@dogan.se>
18540 * net/rcirc.el: Delete trailing whitespaces once and for all.
18542 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18544 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18546 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
18548 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18550 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18552 2011-06-19 Martin Rudalics <rudalics@gmx.at>
18554 * window.el (display-buffer-other-window-means-other-frame):
18555 Call display-buffer-normalize-alist.
18556 (display-buffer-normalize-specifiers-1): Rename to
18557 display-buffer-normalize-argument. New argument other-frame.
18559 (display-buffer-normalize-specifiers-2): Rename to
18560 display-buffer-normalize-options.
18561 (display-buffer-normalize-alist-1): New function.
18562 (display-buffer-normalize-specifiers-3): Rename to
18563 display-buffer-normalize-alist.
18564 Call display-buffer-normalize-alist-1.
18565 (display-buffer-normalize-options-inhibit): New variable.
18566 (display-buffer-normalize-specifiers): Rewrite calling
18567 display-buffer-normalize-alist,
18568 display-buffer-normalize-argument, and
18569 display-buffer-normalize-options. Don't call the latter if
18570 display-buffer-normalize-options-inhibit is non-nil.
18571 (frame-auto-delete): New option.
18572 (window-deletable-p): Use frame-auto-delete.
18573 (window-list-no-nils, window-state-ignored-parameters)
18574 (window-state-get-1, window-state-get, window-state-put-list)
18575 (window-state-put-1, window-state-put-2, window-state-put):
18577 (display-buffer-normalize-options): Move special-display-p group
18578 after pop-up-frame group (Bug#8851) and (Bug#8856).
18580 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
18582 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18584 (rx-submatch-n): New function.
18587 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18590 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18592 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18594 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18595 anytime existing face settings are present (Bug#8889).
18597 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18598 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18599 Remove unused argument.
18601 2011-06-18 Martin Rudalics <rudalics@gmx.at>
18603 * window.el (display-buffer-default-specifiers):
18604 Remove pop-up-frame. Add pop-up-window-min-height,
18605 pop-up-window-min-width, and another reuse-window specifier
18606 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
18607 (display-buffer-normalize-specifiers-2):
18608 Handle split-height-threshold and split-width-threshold also when
18609 pop-up-windows is unset. Add a reuse-window specifier for the
18610 case popping up a new window fails.
18611 (special-display-popup-frame): Remove double quoting.
18612 (display-buffer-normalize-specifiers-1): Fix thinko.
18614 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18616 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18617 according to comint-completion-addsuffix.
18619 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18620 (pcomplete-suffix-list): Mark as obsolete.
18621 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18622 pcomplete-seen in the closure.
18623 (pcomplete-comint-setup): Setup completion-at-point as well.
18624 (pcomplete--entries): New function.
18625 (pcomplete--env-regexp): New var.
18626 (pcomplete-entries): Rewrite to work with partial-completion and
18627 without relying on pcomplete-suffix-list.
18628 (pcomplete-pare-list): Remove, unused.
18630 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18632 * window.el (display-buffer-alist): Set pop-up-window-min-height
18633 and pop-up-window-min-width in default value. Reported by
18634 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18635 other-window-means-other-frame.
18636 (display-buffer-macro-specifiers): Comment out entry for
18637 other-window specifier.
18638 (display-buffer-other-window-means-other-frame): New function.
18639 (display-buffer-normalize-specifiers-1): New arguments
18640 buffer-name and label. Treat other-window case specially.
18641 (display-buffer-normalize-specifiers-2): Treat other-window case
18643 (display-buffer-normalize-specifiers-3): New function.
18644 (display-buffer-normalize-specifiers):
18645 Call display-buffer-normalize-specifiers-3.
18647 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18649 * window.el (same-window-p): Fix two typos introduced when
18650 adding with-no-warnings.
18651 (display-buffer-normalize-specifiers-1): Don't check
18652 pop-up-frames for 'unset initialization.
18653 (display-buffer-normalize-specifiers-2): Major rewrite using
18654 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18655 (pop-up-frames, display-buffer-reuse-frames)
18656 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18657 Suggested by David Engster <deng@randomsample.de>.
18658 (even-window-heights): Initialize to 'unset.
18659 (display-buffer-alist-set): Handle new 'unset initializations.
18660 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18663 2011-06-16 Martin Rudalics <rudalics@gmx.at>
18665 * window.el (display-buffer-normalize-specifiers-1):
18666 Respect current value of pop-up-frames for most reasonable values of
18667 second argument of display-buffer (Bug#8865).
18668 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18669 (switch-to-buffer-other-window-same-frame)
18670 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18672 (display-buffer): Don't check noninteractive when calling
18673 display-buffer-pop-up-frame.
18674 (display-buffer-pop-up-frame): Never pop up a frame in
18675 noninteractive mode (Bug#8857).
18676 (enlarge-window, shrink-window): Don't report an error when the
18677 window can't be resized as requested (Bug#8862).
18679 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18681 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18683 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18685 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18687 2011-06-15 Alan Mackenzie <acm@muc.de>
18689 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18690 for declarators, disable knr checking to speed up for normal files.
18691 2: Refactor, replacing a sequence of nested if forms by a cond form.
18693 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18695 * net/network-stream.el (open-network-stream): Add the keyword
18696 :always-query-capabilities for the case where you want to force a
18697 `plain' network connection, but the protocol still requires the
18698 capabilitiy command (i.e., SMTP and EHLO).
18700 * subr.el (process-live-p): Rename from `process-alive-p' for
18701 consistency with other `-live-p' functions.
18703 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18705 * window.el (same-window-buffer-names, same-window-regexps)
18706 (special-display-frame-alist, special-display-popup-frame)
18707 (special-display-function, special-display-buffer-names)
18708 (special-display-regexps, pop-up-frame-alist)
18709 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18710 (pop-up-windows, split-window-preferred-function)
18711 (split-height-threshold, split-width-threshold, even-window-heights)
18712 (display-buffer-mark-dedicated): Don't encourage the use of
18713 display-buffer-alist from Elisp code.
18715 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18717 * progmodes/python.el (python-mode): Derive from prog-mode.
18718 * progmodes/ps-mode.el (ps-mode):
18719 * progmodes/mixal-mode.el (mixal-mode):
18720 * progmodes/cfengine.el (cfengine-mode):
18721 * progmodes/ld-script.el (ld-script-mode): Likewise.
18723 2011-06-15 Martin Rudalics <rudalics@gmx.at>
18725 * window.el (display-buffer-alist): Trim default value to avoid
18726 popping up a new frame (Bug#8857) or reusing an arbitrary window
18728 (display-buffer): Do not fall back on popping up a new frame in
18729 batch mode (Bug#8857).
18731 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
18733 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18734 (custom-theme-summary): New function.
18735 (customize-themes): Use it.
18737 2011-06-13 Glenn Morris <rgm@gnu.org>
18739 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18741 2011-06-13 Martin Rudalics <rudalics@gmx.at>
18743 * help.el (help-window): Remove variable.
18744 (help-window-point-marker, temp-buffer-max-height)
18745 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18746 (help-print-return-message): Don't set help-window.
18747 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18748 (help-window-setup-finish): Remove.
18749 (help-window-display-message, help-window-setup)
18750 (with-help-window): Major rewrite based on new
18751 display-buffer-window variable.
18753 * help-mode.el (help-mode-finish): Remove help-window related
18756 * view.el (view-exits-all-viewing-windows): Remove reference to
18757 view-return-to-alist in doc-string.
18758 (view-return-to-alist): Make obsolete.
18759 (view-buffer): Call pop-to-buffer-same-window and remove
18761 (view-buffer-other-window): Call pop-to-buffer-other-window and
18762 simplify code. Ignore second argument.
18763 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18764 simplify code. Ignore second argument.
18765 (view-return-to-alist-update): Make obsolete.
18766 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18767 Rewrite using quit-restore window parameters.
18768 (view-mode-exit): Rename second argument to EXIT-ONLY.
18769 Rewrite using quit-restore-window.
18770 (View-exit, View-exit-and-edit, View-leave, View-quit)
18771 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18772 appropriate arguments.
18773 (view-end-message): Use quit-restore window parameter.
18775 * window.el (display-buffer-function): Rewrite doc-string.
18776 (display-buffer-window, display-buffer-alist): New variables.
18777 (display-buffer-split-specifiers)
18778 (display-buffer-side-specifiers)
18779 (display-buffer-macro-specifiers): New constants.
18780 (display-buffer-even-window-sizes, display-buffer-set-height)
18781 (display-buffer-set-width, display-buffer-select-window)
18782 (display-buffer-in-window, display-buffer-reuse-window)
18783 (display-buffer-split-window-1, display-buffer-split-window)
18784 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18785 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18786 (display-buffer-in-side-window, normalize-buffer-to-display)
18787 (display-buffer-normalize-specifiers-1)
18788 (display-buffer-normalize-specifiers-2)
18789 (display-buffer-normalize-specifiers, display-buffer-frame):
18791 (display-buffer): Major rewrite.
18792 (display-buffer-other-window, display-buffer-other-frame)
18793 (pop-to-buffer, switch-to-buffer-other-window)
18794 (switch-to-buffer-other-frame): Rewrite.
18795 (display-buffer-same-window, display-buffer-same-frame)
18796 (display-buffer-same-frame-other-window)
18797 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18798 (pop-to-buffer-other-window)
18799 (pop-to-buffer-same-frame-other-window)
18800 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18801 (switch-to-buffer-other-window-same-frame): New functions.
18802 (same-window-p, special-display-p): Rewrite disabling warnings.
18804 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18805 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18807 (same-window-buffer-names, same-window-regexps)
18808 (special-display-frame-alist, special-display-popup-frame)
18809 (special-display-function, special-display-buffer-names)
18810 (special-display-regexps, pop-up-frame-alist)
18811 (pop-up-frame-function, split-window-preferred-function)
18812 (split-height-threshold, split-width-threshold)
18813 (even-window-heights): Make obsolete.
18815 2011-06-12 Glenn Morris <rgm@gnu.org>
18817 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
18818 Misc simplifications.
18820 2011-06-12 Martin Rudalics <rudalics@gmx.at>
18822 * window.el (window-safely-shrinkable-p): Restore function which
18823 was inadvertently removed in change from 2011-06-11. Declare as
18826 * calendar/calendar.el (calendar-generate-window):
18827 Use window-iso-combined-p instead of combination of one-window-p and
18828 window-safely-shrinkable-p.
18830 2011-06-12 Glenn Morris <rgm@gnu.org>
18832 * progmodes/fortran.el (fortran-mode-syntax-table):
18833 * progmodes/f90.el (f90-mode-syntax-table):
18834 Set % to punctuation. (Bug#8820)
18835 (f90-find-tag-default): Remove, no longer needed.
18837 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18839 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18841 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
18843 * image.el (image-animated-p): Return animation delay in seconds.
18844 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18845 (image-animate-timeout): Remove DELAY argument. Don't assume
18846 every subimage has the same delay; get it from image-animated-p.
18847 (image-animate): Caller changed.
18849 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
18851 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18852 to ignored backtrace functions.
18854 2011-06-11 Glenn Morris <rgm@gnu.org>
18856 * calendar/appt.el (appt-disp-window-function): Doc fix.
18857 (appt-check): Handle overlapping appointments. (Bug#8337)
18859 2011-06-11 Martin Rudalics <rudalics@gmx.at>
18861 * window.el (window-tree-1, window-tree): New functions, moving
18862 the latter to window.el.
18863 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18864 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18865 (bw-refresh-edges): Remove.
18866 (balance-windows-1, balance-windows-2): New functions.
18867 (balance-windows): Rewrite in terms of window tree functions,
18868 balance-windows-1 and balance-windows-2.
18869 (bw-adjust-window): Remove.
18870 (balance-windows-area-adjust): New function with functionality of
18871 bw-adjust-window but using resize-window.
18872 (set-window-text-height): Rewrite doc-string.
18873 Use normalize-live-window and resize-window.
18874 (enlarge-window-horizontally, shrink-window-horizontally):
18875 Rename argument to DELTA.
18876 (window-buffer-height): New function.
18877 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18878 Rewrite using new window resize routines.
18879 (kill-buffer-and-window, mouse-autoselect-window-select):
18880 Use ignore-errors instead of condition-case.
18881 (quit-window): Call delete-frame instead of delete-windows-on
18882 for the only buffer on frame.
18884 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18886 * loadup.el (top-level): Load window before files for the sake
18887 of replace-buffer-in-windows.
18889 * files.el (read-buffer-to-switch)
18890 (switch-to-buffer-other-window)
18891 (switch-to-buffer-other-frame, display-buffer-other-frame):
18894 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18895 (previous-buffer): Move to window.el.
18897 * bindings.el (unbury-buffer): Move to window.el.
18899 * window.el (delete-other-windows-vertically): Move after
18900 definition of delete-other-windows.
18901 (other-window, delete-windows-on, replace-buffer-in-windows):
18902 Move here from window.c.
18903 (record-window-buffer, unrecord-window-buffer)
18904 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18905 (switch-to-next-buffer): New functions.
18906 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18907 from simple.el. Call switch-to-next-buffer.
18908 (previous-buffer): Move here from simple.el.
18909 Call switch-to-prev-buffer.
18910 (bury-buffer): Move here from buffer.c. Switch to previous
18911 buffer when window cannot be deleted.
18912 (unbury-buffer): Move here from bindings.el.
18913 (ctl-x-map): Move binding for other-window from window.c to
18915 (read-buffer-to-switch, switch-to-buffer-other-window)
18916 (switch-to-buffer-other-frame): Move here from files.el.
18917 (normalize-buffer-to-switch-to): New functions.
18918 (switch-to-buffer): Move here from buffer.c.
18919 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
18921 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18923 * window.el (window-min-height, window-min-width): Move here
18924 from window.c. Add defcustoms and rewrite doc-strings.
18925 (resize-mini-window, resize-window): New functions.
18926 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18927 Move here from window.c.
18928 (maximize-window, minimize-window): New functions.
18929 (delete-window, delete-other-windows, split-window): Move here
18931 (window-split-min-size): New function.
18932 (split-window-keep-point): Mention split-window-above-each-other
18933 instead of split-window-vertically.
18934 (split-window-above-each-other, split-window-vertically):
18935 Rename split-window-vertically to split-window-above-each-other
18936 and provide defalias for old definition.
18937 (split-window-side-by-side, split-window-horizontally):
18938 Rename split-window-horizontally to split-window-side-by-side
18939 and provide defalias for the old definition.
18940 (ctl-x-map): Move bindings for delete-window,
18941 delete-other-windows and enlarge-window here from window.c.
18942 Replace bindings for split-window-vertically and
18943 split-window-horizontally by bindings for
18944 split-window-above-each-other and split-window-side-by-side.
18946 * cus-start.el (all): Remove entries for window-min-height and
18947 window-min-width. Add entries for window-splits and
18950 2011-06-09 Glenn Morris <rgm@gnu.org>
18952 * calendar/appt.el (appt-mode-line): New function.
18953 (appt-check, appt-disp-window): Use it.
18955 * files.el (hack-one-local-variable-eval-safep):
18956 Allow minor-modes with explicit +/-1 arguments.
18958 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18960 * term/xterm.el (xterm): Add defgroup.
18961 (xterm-extra-capabilities): Add defcustom to supply known xterm
18962 capabilities, skip querying them, or query them (default).
18963 (terminal-init-xterm): Use it.
18964 (terminal-init-xterm-modify-other-keys): New function to set up
18965 modifyOtherKeys support to simplify `terminal-init-xterm'.
18967 2011-06-09 Martin Rudalics <rudalics@gmx.at>
18969 * window.el (resize-window-reset, resize-window-reset-1)
18970 (resize-subwindows-skip-p, resize-subwindows-normal)
18971 (resize-subwindows, resize-other-windows, resize-this-window)
18972 (resize-root-window, resize-root-window-vertically)
18973 (window-deletable-p, window-or-subwindow-p)
18974 (frame-root-window-p): New functions.
18976 2011-06-09 Glenn Morris <rgm@gnu.org>
18978 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18979 (ange-ftp-get-files): Use it.
18981 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18983 * mail/sendmail.el (mail-recover-1, mail-recover):
18984 * files.el (recover-file, recover-session):
18985 Handle dired-listing-switches not being just a single short option.
18987 2011-06-09 Glenn Morris <rgm@gnu.org>
18989 * calendar/appt.el (appt-display-message, appt-disp-window):
18990 Handle lists of appointments.
18992 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18994 * window.el (one-window-p): Move down in code.
18995 Rewrite doc-string.
18996 (window-current-scroll-bars): Rewrite doc-string.
18997 Normalize live window argument.
18998 (walk-windows, get-window-with-predicate, count-windows):
18999 Rewrite doc-string. Use window-list-1.
19000 (window-in-direction-2, window-in-direction, get-mru-window):
19003 2011-06-08 Reuben Thomas <rrt@sc3d.org>
19005 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
19006 Doc fix (Bug#8713).
19008 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
19010 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
19012 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
19014 * loadhist.el (unload-feature-special-hooks):
19015 Add `comint-output-filter-functions'.
19017 2011-06-08 Ivan Kanis <gnu@kanis.fr>
19019 * calendar/appt.el (appt-check): Move some initializations into the let.
19021 2011-06-08 Martin Rudalics <rudalics@gmx.at>
19023 * window.el (window-height): Defalias to window-total-height.
19024 (window-width): Defalias to window-body-width.
19026 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
19028 * image-mode.el (image-toggle-animation): New command.
19029 (image-mode-map): Bind it to RET.
19030 (image-mode): Update message.
19031 (image-toggle-display-image): Avoid a spurious cache flush.
19032 (image-transform-rotation): Doc fix.
19033 (image-transform-properties): Return quickly in the normal case.
19034 (image-animate-loop): Rename from image-animate-max-time.
19036 * image.el (image-animate-max-time): Move to image-mode.el.
19037 (create-animated-image): Remove unnecessary function.
19038 (image-animate): Rename from image-animate-start. New arg.
19039 (image-animate-stop): Remove; just use image-animate-timer.
19040 (image-animate-timer): Use car-safe.
19041 (image-animate-timeout): Rename argument.
19043 2011-06-07 Martin Rudalics <rudalics@gmx.at>
19045 * window.el (get-lru-window, get-largest-window): Move here from
19046 window.c. Rename first argument to ALL-FRAMES.
19047 Rephrase doc-strings.
19048 (get-buffer-window-list): Rewrite using window-list-1.
19049 Rephrase doc-string.
19050 (window-safe-min-height, window-safe-min-width): New constants.
19051 (window-size-ignore, window-min-size, window-min-size-1)
19052 (window-sizable, window-sizable-p, window-size-fixed-1)
19053 (window-size-fixed-p, window-min-delta-1, window-min-delta)
19054 (window-max-delta-1, window-max-delta, window-resizable)
19055 (window-resizable-p, window-total-height, window-total-width)
19056 (window-body-width): New functions.
19057 (window-full-height-p, window-full-width-p): Rewrite using
19059 (window-body-height): Rewrite using window-body-size.
19061 2011-06-06 Martin Rudalics <rudalics@gmx.at>
19063 * window.el (window-right, window-left, window-child)
19064 (window-child-count, window-last-child, window-any-p)
19065 (normalize-live-buffer, normalize-live-frame)
19066 (normalize-any-window, normalize-live-window)
19067 (window-iso-combination-p, window-iso-combined-p)
19068 (window-iso-combinations)
19069 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19070 (windows-with-parameter, window-with-parameter)
19071 (window-atom-root, make-window-atom, window-atom-check-1)
19072 (window-atom-check, window-side-check, window-check):
19074 (ignore-window-parameters, window-sides, window-sides-vertical)
19075 (window-sides-slots): New variables.
19076 (window-size-fixed): Move down in code. Minor doc-string fix.
19078 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
19080 * comint.el (comint-dynamic-complete-as-filename)
19081 (comint-dynamic-complete-filename): Correctly call
19082 completion-in-region.
19084 2011-06-05 Deniz Dogan <deniz@dogan.se>
19086 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19089 2011-06-05 Deniz Dogan <deniz@dogan.se>
19091 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19092 (rcirc): Use it to prompt for encryption.
19094 2011-06-05 Roland Winkler <winkler@gnu.org>
19096 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19097 (bibtex-search-entries): New command bound to C-c C-a.
19098 (bibtex-display-entries): New function.
19100 2011-06-05 Roland Winkler <winkler@gnu.org>
19102 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19103 (bibtex-insert-kill): After yanking insert newline if necessary.
19104 (bibtex-initialize): Call bibtex-string-files-init only once.
19105 (bibtex-mode): Do not call easy-menu-add.
19106 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19107 (bibtex-yank): Set arg properly if nil.
19109 2011-06-05 Roland Winkler <winkler@gnu.org>
19111 * textmodes/bibtex.el (bibtex-search-entry-globally):
19113 (bibtex-search-entry): Use it.
19115 2011-06-05 Roland Winkler <winkler@gnu.org>
19117 * textmodes/bibtex.el (bibtex-entry-format): New option
19119 (bibtex-format-entry, bibtex-reformat): Honor this option.
19120 (bibtex-parse-entry): Return fields in proper order.
19122 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
19124 * doc-view.el (doc-view-remove-if): Move computation of result out
19125 of `dolist' to silence misleading lexical-binding warning.
19127 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
19129 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19130 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19132 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
19134 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19137 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
19139 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19140 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19141 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19142 (tramp-parse-putty):
19143 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19144 (tramp-completion-function-alist-ssh)
19145 (tramp-completion-function-alist-telnet)
19146 (tramp-completion-function-alist-su)
19147 (tramp-completion-function-alist-putty): Set `tramp-autoload'
19150 * net/tramp-ftp.el:
19152 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19153 load "tramp.el" `tramp-set-completion-function'.
19155 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
19157 * shell.el: Require and use pcomplete.
19158 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19159 (shell-completion-vars): Set pcomplete-default-completion-function.
19161 2011-06-04 Deniz Dogan <deniz@dogan.se>
19163 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19166 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19168 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19170 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
19172 * bs.el (bs--mark-unmark, bs--nth-wrapper):
19173 * mpc.el (mpc-select-extend, mpc-songpointer-context):
19174 * vc/log-view.el (log-view-beginning-of-defun):
19175 * vc/smerge-mode.el (smerge-apply-resolution-patch)
19176 (smerge-refine-forward, smerge-refine-chopup-region):
19177 Silence warning for unused `dotimes' counter variables.
19179 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19181 * net/tramp.el (tramp-with-progress-reporter): Rename from
19182 with-progress-reporter. Use `declare'.
19183 * net/tramp-smb.el:
19185 * net/tramp-gvfs.el: Update all uses.
19187 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
19189 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19190 buffer isn't killed before making it current.
19192 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19194 Silence various byte-compiler warnings.
19195 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19196 `access-type' and new obsolescence format.
19197 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19199 (byte-compile-check-variable): New `access-type' argument.
19200 Only warn if the access-type is obsolete.
19201 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19202 (byte-compile-variable-set): Adjust callers.
19203 * help-fns.el (describe-variable): Adjust to new obsolescence format.
19204 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19205 setting it as obsolete.
19206 * simple.el (minibuffer-completing-symbol):
19207 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19208 access as obsolete.
19209 * minibuffer.el (minibuffer-completing-file-name): Don't make it
19211 * international/quail.el (quail-mouse-choose-completion): Remove unused
19212 code referring to obsolete var.
19213 (quail-choose-completion-string): Remove.
19214 * server.el (server-clients-with, server-kill-buffer-query-function)
19215 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19216 * proced.el (proced-send-signal):
19217 * emacs-lisp/lisp.el (lisp-complete-symbol):
19218 Replace completion-annotate-function with completion-extra-properties.
19220 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19222 * simple.el (goto-line): Use read-number.
19223 (overriding-map-is-bound): Remove.
19224 (saved-overriding-map): Change default.
19225 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19226 Take the map as argument.
19227 (universal-argument, negative-argument, digit-argument): Use it.
19228 (restore-overriding-map): Adjust.
19229 (do-auto-fill): Use fill-forward-paragraph.
19230 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19232 * minibuffer.el (minibuffer-inactive-mode-map): New var.
19233 (minibuffer-inactive-mode): New major mode.
19234 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19235 the *Messages* buffer" hack.
19236 (mouse-popup-menubar): Don't burp if the event is a normal key.
19238 Miscellaneous tweaks.
19239 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19240 lexical scoping as in subr.el's dolist and dotimes.
19241 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19242 Silence compiler warning.
19243 * thingatpt.el (forward-whitespace): Trivial coding style fix.
19244 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19245 * international/ccl.el (ccl-compile): Trivial simplification.
19246 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19247 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19248 `printflag' argument.
19249 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19250 Purecopy the whole obsolescence data.
19252 2011-06-01 Leo Liu <sdl.web@gmail.com>
19254 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19255 improve doc-string as suggested by Marco Pessotto
19256 <melmothx@gmail.com>.
19257 (rcirc-print): Fix last change.
19259 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19261 * minibuffer.el (complete-with-action): Return nil for the metadata and
19262 boundaries of non-functional tables.
19263 (completion-table-dynamic): Return nil for the metadata.
19264 (completion-table-with-terminator): Add default case, using
19265 complete-with-action.
19266 (completion--metadata): New function.
19267 (completion-all-sorted-completions, minibuffer-completion-help): Use it
19268 to try and avoid pathological performance problems.
19269 (completion--embedded-envvar-table): Return `category' metadata.
19271 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
19273 * subr.el (process-alive-p): New tiny convenience function.
19275 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19277 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19278 content but also its previous major mode.
19280 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
19282 * emacs-lisp/debug.el (debug): Restore the previous content of the
19283 *Backtrace* buffer when we exit with C-M-c.
19285 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19287 * minibuffer.el: Add metadata method to completion tables.
19288 (completion-category-overrides): New defcustom.
19289 (completion-metadata, completion--field-metadata)
19290 (completion-metadata-get, completion--styles)
19291 (completion--cycle-threshold): New functions.
19292 (completion-try-completion, completion-all-completions):
19293 Add `metadata' argument to choose completion-styles.
19294 (completion--do-completion): Use metadata to choose cycling.
19295 (completion-all-sorted-completions): Use metadata for sorting.
19296 Remove :completion-cycle-penalty which is not needed any more.
19297 (completion--try-word-completion): Add `metadata' argument.
19298 (minibuffer-completion-help): Check metadata for annotation function
19300 (completion-file-name-table): Return `category' metadata.
19301 (minibuffer-completing-file-name): Make obsolete.
19302 * simple.el (minibuffer-completing-symbol): Make obsolete.
19303 * icomplete.el (icomplete-completions): Pass new `metadata' param to
19304 completion-try-completion.
19306 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19308 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19310 2011-05-30 Leo Liu <sdl.web@gmail.com>
19312 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
19313 (rcirc-print): Decode all incoming messages (bug#8744).
19314 (rcirc-decode-coding-system): Allow value nil for automatic coding
19317 2011-06-01 Glenn Morris <rgm@gnu.org>
19319 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19321 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19323 * image.el (image-animate-max-time): Allow nil and t values.
19325 (create-animated-image): Doc fix.
19326 (image-animate-start): Remove second arg; just use
19327 image-animate-max-time.
19328 (image-animate-timeout): Doc fix. Args changed.
19330 * image-mode.el (image-toggle-display-image): Ensure that the
19331 image spec passed to the animate timer is the same object as in
19332 the buffer's display property (Bug#6981).
19333 (image-transform-properties): Doc fix.
19335 * image.el (image-animate-max-time): Default to nil.
19337 2011-05-29 Martin Rudalics <rudalics@gmx.at>
19339 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19340 entire buffer list (Bug#8184).
19342 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19344 * image.el (imagemagick-types-inhibit)
19345 (imagemagick-register-types): Doc fix.
19347 2011-05-29 Deniz Dogan <deniz@dogan.se>
19349 * net/rcirc.el (rcirc): Use the user's stored encryption method by
19352 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19354 * select.el: Don't perform clipboard-manager saving in hooks;
19355 leave the hooks empty.
19357 2011-05-28 Leo Liu <sdl.web@gmail.com>
19359 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19360 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
19361 (occur-edit-mode): New major mode (Bug#8463).
19362 (occur-after-change-function): New function.
19363 (occur-engine): Give Occur tags a read-only property.
19365 2011-05-28 Kevin Ryde <user42@zip.com.au>
19367 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19369 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19371 * bindings.el (help-echo): Make the initial non-indicator dash
19372 empty on graphical terminals (Bug#7295).
19374 * files.el (auto-mode-alist): Move config rule after the
19375 in-stripping one (Bug#8547).
19377 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19379 * startup.el (normal-splash-screen): Remove gratuitous mode-line
19380 setting (Bug#8740).
19382 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
19384 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19385 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19388 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19390 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19392 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
19394 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19395 (hs-hide-block-at-point, hs-find-block-beginning)
19396 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19399 2011-05-28 Glenn Morris <rgm@gnu.org>
19401 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
19403 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19405 * help-fns.el (describe-function-1): If the function is a derived
19406 major mode, print the parent mode.
19408 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19409 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19411 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
19413 * minibuffer.el (completion--capf-wrapper): Check applicability before
19414 returning non-nil for non-exclusive completion data.
19415 * progmodes/etags.el (tags-completion-at-point-function):
19416 * info-look.el (info-lookup-completions-at-point): Mark as
19418 (info-complete): Adjust accordingly.
19420 * info-look.el: Convert to lexical-binding and completion-at-point.
19421 (info-lookup-completions-at-point): New function.
19422 (info-complete): Use it and completion-in-region.
19424 2011-05-28 Drew Adams <drew.adams@oracle.com>
19426 * isearch.el: Let M-e start with point at the first mismatched char.
19427 (isearch-fail-pos): New function.
19428 (isearch-edit-string): Use it.
19430 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19432 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19434 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
19436 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19437 traversal functions for avl-trees.
19438 (avl-tree--stack): New struct.
19439 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19440 (avl-tree-enter): Add optional `updatefun' arg.
19441 (avl-tree--do-enter): Add optional `updatefun' arg.
19442 Change return value.
19443 (avl-tree-delete): Add optional `test' and `nilflag' args.
19444 (avl-tree--do-delete): Add `test' and `nilflag' args.
19445 Change return value.
19446 (avl-tree-member): Add optional `nilflag'
19447 (avl-tree-member-p): New function.
19448 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19449 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19450 (avl-tree-stack-empty-p): New functions.
19452 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19453 avl-tree--del-balance1 and make it work both ways.
19454 (avl-tree--del-balance2): Remove.
19455 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19456 make it work both ways.
19457 (avl-tree--enter-balance2): Remove.
19458 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19460 (avl-tree--mapc, avl-tree-map): Add direction argument.
19462 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
19464 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19466 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
19468 * select.el: Support clipboard managers with built-in function
19469 x-clipboard-manager-save, via delete-frame-functions and
19471 (xselect-convert-to-targets): Add MULTIPLE target to list.
19472 (xselect-convert-to-save-targets): New function.
19474 2011-05-27 Kenichi Handa <handa@m17n.org>
19476 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19477 let-binding rfc2047-encode-encoded-words to nil.
19479 2011-05-27 Glenn Morris <rgm@gnu.org>
19481 * mail/emacsbug.el: Don't require url-util.
19483 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19485 * files.el (set-auto-mode):
19486 Also respect mode: entries at the end of the file. (Bug#8586)
19488 2011-05-26 Glenn Morris <rgm@gnu.org>
19490 * files.el (hack-local-variables-prop-line, hack-local-variables):
19491 Downcase mode names, as seems to be traditional.
19492 (hack-local-variables, hack-local-variables-apply): Doc fixes.
19494 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19495 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19497 2011-05-25 Julien Danjou <julien@danjou.info>
19499 * textmodes/rst.el (rst-define-level-faces): Do not define face
19500 symbol if it is already defined.
19502 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
19504 * play/5x5.el (5x5-new-game, 5x5-randomize):
19505 Reset 5x5-solver-output to nil when a new grid is cast.
19506 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19507 these debugging traces, as defmacro breaks the compiled code.
19509 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19511 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19513 2011-05-24 Leo Liu <sdl.web@gmail.com>
19515 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19516 (vc-bzr-sha1): Adapt.
19518 * sha1.el: Remove. Function `sha1' is now builtin.
19520 * bindings.el: Provide sha1 feature.
19522 2011-05-24 Kenichi Handa <handa@m17n.org>
19524 * mail/sendmail.el: Require `rfc2047'.
19525 (mail-insert-from-field): Do not perform RFC2047 encoding.
19526 (mail-encode-header): New function.
19527 (sendmail-send-it): Set buffer-file-coding-system of the work
19528 buffer to the return value of select-message-coding-system.
19529 Call mail-encode-header.
19531 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19533 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
19535 * mail/supercite.el (sc-default-cite-frame):
19536 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
19538 2011-05-24 Glenn Morris <rgm@gnu.org>
19540 * progmodes/python.el (brm-menu): Declare.
19542 * emulation/viper.el (viper-set-hooks): Declare.
19544 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19545 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19546 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19547 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19548 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19549 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19551 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19553 Add an :exit-function for completion-at-point.
19555 * minibuffer.el (completion--done): New fun.
19556 (completion--do-completion): Use it. New arg `expect-exact'.
19557 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19558 since completion--do-completion does it for us now.
19559 (minibuffer-force-complete): Use completion--done and
19560 completion--replace. Handle sole-completion case with more care.
19561 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19562 (completion-extra-properties): New var.
19563 (completion-annotate-function): Make obsolete.
19564 (minibuffer-completion-help): Adjust accordingly.
19565 Use completion-list-insert-choice-function.
19566 (completion-at-point, completion-help-at-point):
19567 Bind completion-extra-properties.
19568 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19569 * simple.el (completion-list-insert-choice-function): New var.
19570 (completion-setup-function): Preserve it.
19571 (choose-completion): Pay attention to it, shuffle the code a bit.
19572 (choose-completion-string): New arg `insert-function'.
19574 * textmodes/bibtex.el: Convert to lexical binding.
19575 (bibtex-mode-map): Use completion-at-point.
19576 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19577 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19578 (bibtex-complete): Define as obsolete alias.
19579 (bibtex-complete-internal): Remove.
19580 (bibtex-format-entry): Remove unused sub-group in regexp.
19581 * shell.el (shell--command-completion-data)
19582 (shell-environment-variable-completion):
19583 * pcomplete.el (pcomplete-completions-at-point):
19584 * comint.el (comint--complete-file-name-data): Use :exit-function
19585 instead of completion-table-with-terminator so it also works for
19588 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19590 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19592 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19595 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19597 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19599 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19600 customization variable and implement: If non-nil, auto-fill will
19601 be inhibited while on topic's header line.
19603 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19605 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
19606 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
19607 always have a solution in grid size = 5 cases.
19608 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19609 (5x5-solver-output, 5x5-log-buffer): New vars.
19610 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19611 Make these variables buffer local to achieve 5x5 multi-session-ness.
19612 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19613 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19614 (5x5-solve-suggest): New funs.
19615 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19616 randomize a grid so that we ensure that there is always a solution.
19617 (5x5-make-random-grid): Allow other movement than flipping.
19619 2011-05-23 Kevin Ryde <user42@zip.com.au>
19621 * emacs-lisp/advice.el (ad-read-advised-function):
19622 Use `function-called-at-point' as the default, if it has
19623 advice and passes PREDICATE.
19625 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19627 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19628 byte-compile-lambda if it's actually a lambda.
19630 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19631 Fix function quoting. Use backquote better.
19633 2011-05-22 Yuanle Song <sylecn@gmail.com>
19635 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19636 matching (Bug#8516).
19638 2011-01-22 Jari Aalto <jari.aalto@cante.net>
19640 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19641 different face (Bug#8178).
19643 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
19645 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19646 defface (Bug#8144).
19648 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19650 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19651 funcall as well (bug#8712). Warn when performing those conversions.
19652 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19654 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19656 2011-05-22 Glenn Morris <rgm@gnu.org>
19658 * files.el (hack-local-variables-prop-line): Small simplifications.
19659 (hack-local-variables, hack-local-variables-prop-line):
19660 If MODE-ONLY, return the mode, rather than just `t'.
19662 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19664 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19666 2011-05-21 Glenn Morris <rgm@gnu.org>
19668 * files.el (hack-local-variables-prop-line, hack-local-variables):
19669 If only interested in the mode, don't bother doing the other stuff.
19671 * image-mode.el (image-after-revert-hook):
19672 Redraw all frames on which the image is visible. (Bug#8567)
19674 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19676 * wid-edit.el (widget-checklist-match-inline):
19677 Fix 2011-04-19 change. (Bug#8649)
19679 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19681 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19682 Also allow singlespace after single-letter capitals followed by a dot.
19684 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19685 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19687 2011-05-20 Nix <nix@esperi.org.uk>
19689 * files.el (basic-save-buffer-2):
19690 Fix handling of break-hardlink-on-save with non-existent files.
19692 2011-05-19 Deniz Dogan <deniz@dogan.se>
19694 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
19695 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
19697 2011-05-19 Glenn Morris <rgm@gnu.org>
19699 * progmodes/f90.el (f90-type-def-re):
19700 Handle "type, bind(c)". (Bug#8691)
19702 * emacs-lisp/autoload.el (batch-update-autoloads):
19703 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19705 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
19707 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19708 property for the correct connection in case of multihops.
19710 2011-05-18 Glenn Morris <rgm@gnu.org>
19712 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
19713 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19715 Rationalize calendar handling of day and month abbrev-arrays.
19716 * calendar/calendar.el (calendar-customized-p): New function.
19717 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19718 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19720 (calendar-abbrev-length, calendar-day-abbrev-array)
19721 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19722 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19723 Elements may no longer be nil.
19724 (calendar-day-name, calendar-month-name):
19725 Update for changed nature of abbrev arrays.
19726 * calendar/diary-lib.el (diary-name-pattern):
19727 Update for changed nature of abbrev arrays.
19728 (diary-mark-entries-1): Update calendar-make-alist calls.
19729 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19730 * calendar/cal-html.el (cal-html-day-abbrev-array):
19731 Simply inherit from calendar-day-abbrev-array.
19733 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19735 * progmodes/grep.el (grep-mode): Disable default
19736 compilation-directory-matcher setting (bug#8684).
19738 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
19740 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19741 instead of "head" and "tail". There were problems with SunOS 5.9,
19742 and it performs better.
19744 2011-05-17 Glenn Morris <rgm@gnu.org>
19746 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19748 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19749 Replace obsolete function.
19751 * shell.el (pcomplete-parse-arguments-function): Declare.
19753 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19754 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19755 (appt-check): Doc fixes.
19756 (appt-disp-window-function, appt-delete-window-function):
19757 Remove needless special case in custom :type.
19758 (appt-display-count): Default to 0, not nil.
19759 (appt-check): Reset appt-display-count to 0, not nil.
19761 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
19763 * progmodes/python.el (python-font-lock-keywords):
19764 Add the Python 3.X keyword "nonlocal" (bug#8639).
19766 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19768 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19770 2011-05-16 Kevin Ryde <user42@zip.com.au>
19772 * info-look.el (makefile-automake-mode): New setups, looking in
19773 automake manual, then makefile-mode.
19774 (makefile-mode): Remove automake manual, have it just in
19775 makefile-automake-mode since there's various things different or
19776 not relevant to plain make.
19777 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19778 believe a hypothetical automake-mode would go to makefile-mode,
19779 not the other way around.
19781 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
19783 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19784 hunk-end tags (Bug#8672).
19786 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19787 vc-annotate-show-diff-revision-at-line (Bug#8671).
19789 2011-05-14 Glenn Morris <rgm@gnu.org>
19791 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19792 in the middle of an existing one with multiple authors. (Bug#8645)
19793 (change-log-font-lock-keywords): Also handle multiple author lines
19794 with leading tabs. (Bug#8644)
19796 * calendar/appt.el (appt-check): Rename some local variables.
19797 Some simplification/reordering.
19799 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19800 (feedmail-sendmail-f-doesnt-sell-me-out)
19801 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19802 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19803 (feedmail-queue-runner-message-sender): Set :version.
19804 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19805 (bbdb-dwim-net-address, vm-mail): Declare.
19806 (feedmail-binmail-gnulinuxish-template):
19807 Rename from feedmail-binmail-linuxish-template.
19808 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19809 Use insert-buffer-substring.
19811 2011-05-14 Bill Carpenter <bill@carpenter.org>
19813 * mail/feedmail.el (feedmail-patch-level): Increase.
19814 (feedmail-debug): New custom group.
19815 (feedmail-confirm-outgoing-timeout)
19816 (feedmail-sendmail-f-doesnt-sell-me-out)
19817 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19818 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19819 (feedmail-sender-line, feedmail-from-line)
19820 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
19821 (feedmail-spray-this-address)
19822 (feedmail-spray-address-fiddle-plex-list)
19823 (feedmail-queue-use-send-time-for-date)
19824 (feedmail-queue-use-send-time-for-message-id)
19825 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19826 (feedmail-buffer-eating-function):
19828 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19829 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19830 (feedmail-message-action-scroll-down): New functions.
19831 (feedmail-queue-directory, feedmail-queue-draft-directory):
19832 Use expand-file-name.
19833 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19834 Remove C-v help entry.
19835 (feedmail-queue-buffer-file-name): New variable.
19836 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19837 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19838 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19839 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19840 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19841 (feedmail-message-action-toggle-spray)
19842 (feedmail-run-the-queue-no-prompts)
19843 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19844 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19845 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19846 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19847 (feedmail-envelope-deducer, feedmail-fiddle-from)
19848 (feedmail-fiddle-sender, feedmail-default-date-generator)
19849 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19850 (feedmail-fiddle-spray-address)
19851 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19852 (feedmail-fiddle-list-of-fiddle-plexes)
19853 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19854 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19855 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19856 Change default. Doc fix.
19857 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19858 (feedmail-binmail-linuxish-template): New constant.
19859 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19860 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19861 (feedmail-send-it): Add debug call.
19862 Use feedmail-queue-buffer-file-name, and
19863 feedmail-send-it-immediately-wrapper.
19864 (feedmail-message-action-send): Add debug call.
19865 Use feedmail-send-it-immediately-wrapper.
19866 (feedmail-queue-express-to-queue): Add debug call.
19867 Run feedmail-queue-express-hook.
19868 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19869 (feedmail-message-action-help-blat):
19870 Rename from feedmail-queue-send-edit-prompt-help-first.
19871 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19872 Check line-endings. Handle errors better.
19873 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19874 Doc fix. Add debug call.
19875 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19876 Use feedmail-queue-send-edit-prompt-inner.
19877 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19878 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19879 from feedmail-queue-send-edit-prompt.
19880 (feedmail-queue-send-edit-prompt-help)
19881 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19882 (feedmail-tidy-up-slug): Add debug call.
19883 Respect feedmail-queue-slug-suspect-regexp.
19884 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19885 (feedmail-dump-message-to-queue): Add debug call.
19886 Expand queue-directory.
19887 (feedmail-dump-message-to-queue): Change message slightly.
19888 Use feedmail-say-chatter.
19889 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19890 (feedmail-send-it-immediately-wrapper): New function.
19891 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19892 Insert empty string rather than newline. Handle full-frame case.
19893 Use catch/throw. Use feedmail-say-chatter.
19894 (feedmail-fiddle-from): Try mail-host-address.
19895 (feedmail-default-message-id-generator): Doc fix.
19896 Bind system-time-locale. Handle missing end.
19897 (feedmail-fiddle-x-mailer): Add debug call.
19898 Handle feedmail-x-mailer-line being nil.
19899 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19900 Add debug call. Use buffer-substring-no-properties.
19901 (feedmail-say-debug, feedmail-say-chatter): New functions.
19902 (feedmail-find-eoh): Give an explicit error.
19904 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
19906 * net/newst-treeview.el (newsticker-treeview-face): Change default
19907 family from helvetica to sans.
19908 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
19909 etc/images/newsticker.
19911 * net/newst-reader.el (newsticker-feed-face): Change default
19912 family from helvetica to sans.
19914 * net/newst-plainview.el (newsticker-new-item-face)
19915 (newsticker-old-item-face, newsticker-immortal-item-face)
19916 (newsticker-obsolete-item-face, newsticker-date-face)
19917 (newsticker-statistics-face): Change default family from
19919 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
19920 etc/images/newsticker.
19922 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19923 (newsticker--process-auto-mark-filter-match): Tell user about
19926 2011-05-13 Didier Verna <didier@xemacs.org>
19928 Common Lisp indentation improvements on defmethod and lambda-lists.
19929 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19931 (lisp-lambda-list-keyword-parameter-indentation)
19932 (lisp-lambda-list-keyword-parameter-alignment)
19933 (lisp-lambda-list-keyword-alignment): New customizable user options.
19934 (lisp-indent-defun-method): Improve docstring.
19935 (extended-loop-p): Fix comment.
19936 (lisp-indent-lambda-list-keywords-regexp): New variable.
19937 (lisp-indent-lambda-list): New function.
19938 (lisp-indent-259): Use it.
19939 (lisp-indent-defmethod): Support for more than one
19940 method qualifier and properly indent methods lambda-lists.
19941 (defgeneric): Provide a missing common-lisp-indent-function property.
19943 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19945 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19946 bounds for the empty string (bug#8667).
19948 2011-05-13 Glenn Morris <rgm@gnu.org>
19950 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19952 * mail/sendmail.el (sendmail-program): Try executable-find first.
19953 (sendmail-send-it): `sendmail-program' cannot be unbound.
19955 * calendar/appt.el (appt-make-list): Simplify.
19956 (appt-time-msg-list): Doc fix.
19957 (appt-check): Change mode-line message at the time of the appointment.
19959 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19961 * progmodes/ld-script.el (ld-script-keywords)
19962 (ld-script-builtins): Update keywords list.
19964 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19966 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19968 * shell.el (shell-completion-vars): New function.
19970 * simple.el (read-shell-command): Use it.
19971 (blink-matching-open): No need for " [...]" in minibuffer-message.
19973 2011-05-12 Glenn Morris <rgm@gnu.org>
19975 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19976 (appt-check): Simplify.
19978 2011-05-12 Eli Zaretskii <eliz@gnu.org>
19980 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
19981 literal "/dev/null".
19983 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19985 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19988 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
19990 * progmodes/which-func.el (which-function):
19991 Use add-log-current-defun instead of add-log-current-defun-function,
19992 which might not be defined (Bug#8260).
19994 2011-05-12 Glenn Morris <rgm@gnu.org>
19996 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19997 Let byte-compile-initial-macro-environment always take precedence.
19999 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20001 * net/rcirc.el: Add support for SSL/TLS connections.
20002 (rcirc-server-alist): New field `encryption'.
20003 (rcirc): Check `encryption' settings.
20004 (rcirc-connect): New arg `encryption'. Use open-network-stream.
20005 Merge make-local-variable into `set'.
20006 (rcirc--connection-open-p): New function.
20007 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
20008 the process is not a network process (e.g. running gnutls-cli).
20009 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
20010 Make rcirc-(en|de)code-coding-system local here.
20011 (rcirc-mode): Merge make-local-variable into `set'.
20012 (rcirc-parent-buffer): Make permanent buffer-local.
20013 (rcirc-multiline-minor-mode): Don't do it here.
20014 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
20015 there's no server buffer.
20017 2011-05-11 Glenn Morris <rgm@gnu.org>
20019 * newcomment.el (comment-kill): Prefix "unused" local.
20021 * term/w32console.el (get-screen-color): Declare.
20023 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20024 Handle symbol elements of byte-compile-initial-macro-environment.
20026 2011-05-10 Leo Liu <sdl.web@gmail.com>
20028 * bookmark.el (bookmark-bmenu-mode-map):
20029 Bind bookmark-bmenu-search to `/'.
20031 * mail/footnote.el: Convert to utf-8 encoding.
20032 (footnote-unicode-string, footnote-unicode-regexp): New variable.
20033 (Footnote-unicode): New function.
20034 (footnote-style-alist): Add unicode style to the list.
20035 (footnote-style): Doc fix.
20037 2011-05-10 Jim Meyering <meyering@redhat.com>
20039 Fix doubled-word typos.
20040 * international/quail.el (quail-insert-kbd-layout): and and -> and
20041 * kermit.el: and and -> and
20042 * net/ldap.el (ldap-search-internal): to to -> to
20043 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20044 * progmodes/js.el (js-mode): and and -> and
20045 * textmodes/artist.el (artist-move-to-xy): at at -> at
20046 (artist-draw-region-trim-line-endings): if if -> if
20047 And Safetyc -> Safety.
20048 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20050 2011-05-10 Glenn Morris <rgm@gnu.org>
20051 Stefan Monnier <monnier@iro.umontreal.ca>
20053 * files.el (hack-one-local-variable-eval-safep):
20054 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
20056 2011-05-10 Glenn Morris <rgm@gnu.org>
20058 * calendar/diary-lib.el (diary-list-entries-hook)
20059 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20060 (diary-nongregorian-marking-hook, diary-list-entries)
20061 (diary-include-other-diary-files, diary-mark-entries)
20062 (diary-mark-included-diary-files): Doc fixes.
20064 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
20066 * misc.el: Require tabulated-list.el during compilation.
20068 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
20070 * progmodes/compile.el (compilation-start):
20071 Run compilation-filter-hook for the async case too.
20072 (compilation-filter-hook): Doc fix.
20074 2011-05-09 Deniz Dogan <deniz@dogan.se>
20076 * wdired.el: Remove outdated installation comment. Fix usage
20079 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
20081 * misc.el: Implement new command `list-dynamic-libraries'.
20082 (list-dynamic-libraries--loaded-only-p): New variable.
20083 (list-dynamic-libraries--refresh): New function.
20084 (list-dynamic-libraries): New command.
20086 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
20088 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20089 Fix the ant regexp to handle end-line and end-column info from jikes.
20090 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
20091 higher priority to avoid clobbering by gnu.
20093 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
20095 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20096 if the face has existing theme settings (Bug#8454).
20098 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
20100 * progmodes/perl-mode.el (perl-imenu-generic-expression):
20101 Only match variables declared via `my' or `our' (Bug#8261).
20103 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20104 special file names `.' and `..' (Bug#8259).
20106 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
20108 * progmodes/grep.el (grep-mode-font-lock-keywords):
20109 Remove buffer-changing entries.
20110 (grep-filter): New function.
20111 (grep-mode): Add it to compilation-filter-hook.
20113 * progmodes/compile.el (compilation-filter-hook)
20114 (compilation-filter-start): New defvars.
20115 (compilation-filter): Call compilation-filter-hook prior to
20116 updating the process mark.
20118 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20120 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20122 2011-05-07 Eli Zaretskii <eliz@gnu.org>
20124 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20125 mailclient-send-it even if window-system is nil. (Bug#8595)
20127 * term/w32console.el (terminal-init-w32console):
20128 Call get-screen-color and use its output to set the frame
20129 background-mode. (Bug#8597)
20131 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
20133 Make bytecomp.el understand that defmethod defines funs (bug#8631).
20134 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20136 (defgeneric, eieio--defmethod): Use them.
20137 (eieio-defgeneric): Remove.
20138 (defmethod): Call defgeneric in a way visible to the byte-compiler.
20140 2011-05-07 Glenn Morris <rgm@gnu.org>
20142 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20143 Use let rather than let*.
20144 (timeclock-find-discrep): Remove unused local.
20146 * calendar/diary-lib.el (diary-comment-start): Doc fix.
20148 * calendar/appt.el (appt-time-msg-list): Doc fix.
20150 2011-05-06 Noah Friedman <friedman@splode.com>
20152 * apropos.el (apropos-print-doc): Only use
20153 emacs-lisp-docstring-fill-column when it is bound to an integer,
20154 per that variable's documentation.
20156 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20158 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
20159 and warnings are not silently discarded (e.g. use -d instead of -P).
20161 2011-05-06 Glenn Morris <rgm@gnu.org>
20163 * calendar/appt.el (appt-message-warning-time): Doc fix.
20164 (appt-warning-time-regexp): New option.
20165 (appt-make-list): Respect appt-message-warning-time.
20167 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20169 (diary-add-to-list): Strip comments from the displayed string.
20170 (diary-mode): Set comment-start and comment-end.
20172 * vc/diff-mode.el (smerge-refine-subst): Declare.
20173 (diff-refine-hunk): Don't require smerge-mode when compiling.
20175 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
20177 * simple.el (list-processes): Return nil as the docstring says.
20179 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20181 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20183 (ange-ftp-write-region, ange-ftp-insert-file-contents)
20184 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20185 determining of binary transfer. (Bug#7383)
20187 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20189 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20190 Fix port computation bug. (Bug#8618)
20192 2011-05-05 Glenn Morris <rgm@gnu.org>
20194 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20196 * simple.el (shell-dynamic-complete-functions)
20197 (comint-dynamic-complete-functions): Declare.
20199 * net/network-stream.el (gnutls-negotiate):
20200 * simple.el (tabulated-list-print): Fix declarations.
20202 * progmodes/gud.el (syntax-symbol, syntax-point):
20203 Remove unnecessary and incorrect declarations.
20205 * emacs-lisp/check-declare.el (check-declare-scan):
20206 Handle byte-compile-initial-macro-environment in bytecomp.el.
20208 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
20210 Fix earlier half-done eieio-defmethod change (bug#8338).
20211 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20212 Streamline and change calling convention.
20213 (defmethod): Adjust accordingly and simplify.
20214 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20215 new eieio--defmethod.
20216 (slot-boundp): Minor CSE simplification.
20218 2011-05-05 Milan Zamazal <pdm@zamazal.org>
20220 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20221 (glasses-make-readable): Use glasses-separate-capital-groups.
20223 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
20225 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20226 (warning-series): Doc fix.
20227 (display-warning): Don't try to create the buffer if we just found it.
20229 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
20231 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20232 (autoload-find-generated-file): New function.
20233 (generate-file-autoloads): Bind generated-autoload-file to
20235 (update-file-autoloads, update-directory-autoloads):
20236 Use autoload-find-generated-file. If called interactively, prompt for
20237 output file (Bug#7989).
20238 (batch-update-autoloads): Doc fix.
20240 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
20242 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20244 2011-05-04 Glenn Morris <rgm@gnu.org>
20246 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20247 function, so it follows changes in calendar-date-style.
20248 (diary-fancy-date-matcher): New function.
20249 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20250 (diary-fancy-font-lock-fontify-region-function):
20251 Use diary-fancy-date-pattern as a function.
20253 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20254 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20256 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20258 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20259 instead of positional arguments. Allow :keylist and :crlfiles
20261 (open-gnutls-stream): Call it.
20263 * net/network-stream.el (network-stream-open-starttls): Adjust to
20264 call `gnutls-negotiate' with :process and :hostname arguments.
20266 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20268 * minibuffer.el (completion--message): New function.
20269 (completion--do-completion, minibuffer-complete)
20270 (minibuffer-force-complete, minibuffer-complete-word): Use it.
20271 (completion--do-completion): Don't ignore completion-auto-help when in
20274 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20275 internal encoding (e.g. tibetan zero is not whitespace).
20276 (global-whitespace-mode): Prefer save-current-buffer.
20277 (whitespace-trailing-regexp): Remove useless save-match-data.
20278 (whitespace-empty-at-bob-regexp): Minor simplification.
20280 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
20282 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20284 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20286 * textmodes/ispell.el (ispell-add-per-file-word-list):
20287 Use `concat' to create string for insertion.
20289 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20291 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20292 Avoid open-line which runs post-self-insert-hook.
20293 (bibtex-fill-entry): Remove unused `end' var.
20295 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
20297 * textmodes/ispell.el (ispell-add-per-file-word-list):
20298 Protect against `nil' value of `comment-start' (Bug#8579).
20300 2011-05-03 Leo Liu <sdl.web@gmail.com>
20302 * isearch.el (isearch-yank-pop): New command.
20303 (isearch-mode-map): Bind it to `M-y'.
20304 (isearch-forward): Mention it.
20306 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20308 * simple.el (minibuffer-complete-shell-command): Remove.
20309 (minibuffer-local-shell-command-map): Use completion-at-point.
20310 (read-shell-command): Setup completion vars here instead.
20311 (read-expression-map): Bind TAB to symbol completion.
20313 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20314 error directly rather via storing it into `results'.
20316 2011-05-02 Leo Liu <sdl.web@gmail.com>
20318 * vc/diff.el: Fix description.
20320 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20322 * server.el (server-eval-at): New function.
20324 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20326 * net/network-stream.el (open-network-stream): Take a :nowait
20327 parameter and pass it on to `make-network-process'.
20328 (network-stream-open-plain): Ditto.
20330 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
20332 * faces.el (face-spec-set-match-display): Don't match toolkit
20333 options on terminal frames.
20335 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
20337 * progmodes/pascal.el: Use lexical binding.
20338 (pascal-mode-map): Remove author preferences.
20340 * pcomplete.el (pcomplete-std-complete): Don't abuse
20341 completion-at-point.
20343 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
20345 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20346 removing code that has been dead since 1991 or so.
20348 * startup.el (command-line): When warning about "_emacs", use a
20349 delayed warning to allow the user to filter it out.
20351 2011-04-28 Deniz Dogan <deniz@dogan.se>
20353 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20354 user has not joined.
20356 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20358 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20359 aren't any completions at point.
20361 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
20363 * subr.el (display-delayed-warnings): New function.
20364 (delayed-warnings-hook): New variable.
20366 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20368 * minibuffer.el (completion-at-point, completion-help-at-point):
20369 Don't presume that a given completion-at-point-function will always
20370 use the same calling convention.
20372 * pcomplete.el (pcomplete-completions-at-point):
20373 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
20374 pcomplete-seen is non-nil.
20375 (pcomplete-comint-setup): Also recognize the new comint/shell
20376 completion functions.
20377 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20378 pcomplete-seen is non-nil.
20380 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
20382 * calendar/icalendar.el (diary-lib): Add require statement.
20383 (icalendar--create-uid): Read out a uid from a text-property on
20384 the first character in the entry. This allows for code to add its
20385 own uid to the entry.
20386 (icalendar--convert-float-to-ical): Add export of
20387 `diary-float'-entries save for those with the optional DAY
20390 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
20392 * subr.el (shell-quote-argument): Use alternate escaping strategy
20393 when we spot a variable reference in a string.
20395 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20397 * cus-start.el (all): Define customization for debug-on-event.
20399 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20401 * subr.el (shell-quote-argument): Escape correctly under Windows.
20403 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20405 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20407 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
20409 * net/tramp.el (tramp-process-actions): Add POS argument.
20410 Delete region between POS and (pos).
20412 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20413 Use `nil' position in `tramp-process-actions' call.
20414 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20416 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20417 position in `tramp-process-actions' call.
20419 * net/trampver.el: Update release number.
20421 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20423 * custom.el (defcustom): Obey lexical-binding.
20425 Fix octave-inf completion problems reported by Alexander Klimov.
20426 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20427 Inherit from octave-mode-syntax-table.
20428 (inferior-octave-mode): Set info-lookup-mode.
20429 (inferior-octave-completion-at-point): New function.
20430 (inferior-octave-complete): Use it and completion-in-region.
20431 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20432 comint-filename-completion.
20433 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20434 symbol elements which shouldn't be word elements.
20435 (octave-font-lock-keywords, octave-beginning-of-defun)
20436 (octave-function-header-regexp): Adjust regexps accordingly.
20437 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20439 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
20441 * net/gnutls.el (gnutls-errorp): Declare before first use.
20443 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20445 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20446 verify-error, and verify-hostname-error parameters. Check whether
20447 default trustfile exists before going to use it. Add missing
20448 argument to gnutls-message-maybe call. Return value.
20449 Reported by Claudio Bley <claudio.bley@gmail.com>.
20450 (open-gnutls-stream): Add usage example.
20452 * net/network-stream.el (network-stream-open-starttls): Give host
20453 parameter to `gnutls-negotiate'.
20454 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
20455 * subr.el (shell-quote-argument): Escape correctly under Windows.
20457 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
20459 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20460 Use correct match group (bug#8438).
20462 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20464 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20465 (package-menu--generate): New arg specifying packages to show.
20466 (package-menu-refresh, package-menu-execute, list-packages):
20468 (package-show-package-list): New function, replacing deleted
20469 package--list-packages (renamed because it is non-internal).
20471 * finder.el (finder-list-matches): Use package-show-package-list
20472 instead of deleted package--list-packages.
20474 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20475 Based on a previous implementation by Juanma Barranquero (Bug#8366).
20476 (vc-annotate-mode-map): Bind it to RET.
20478 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20480 * progmodes/etags.el (next-file): Don't use set-buffer to change
20481 buffers (Bug#8478).
20483 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20485 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20487 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20488 (apropos-accumulator): Doc fix.
20489 (apropos-function, apropos-macro, apropos-command)
20490 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20491 (apropos-plist): Add face property.
20492 (apropos-symbols-internal): Fix indentation.
20493 (apropos-print): Simplify help, and recognize apropos-multi-type.
20494 (apropos-print-doc): Use button-type-get to extract the button's
20495 face property. Fill docstring (Bug#8352).
20497 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
20499 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20501 * play/mpuz.el (mpuz-silent): Doc fix.
20502 (mpuz-mode-map): Use mapc.
20503 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20504 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20505 Fix typos in docstrings.
20507 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20508 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20510 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20512 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
20514 * minibuffer.el (completion--do-completion): Avoid the "Next char
20515 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20517 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20518 mouse-2 into unread-command-events, it is interpreted correctly.
20520 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
20521 (image-toggle-display): Doc fix.
20523 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
20525 * textmodes/page.el (what-page): Use line-number-at-pos to
20526 calculate line number (Bug#6825).
20528 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20530 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20531 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20532 Pass argument NO-DEFAULT to `find-tag-interactive'.
20534 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20536 Lexical-binding cleanup.
20538 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20539 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20540 * progmodes/ada-prj.el (ada-prj-initialize-values)
20541 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20542 (ada-prj-show-value):
20543 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20544 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20545 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20546 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20547 * progmodes/bug-reference.el (bug-reference-push-button):
20548 * progmodes/fortran.el (fortran-line-length):
20549 * progmodes/glasses.el (glasses-change):
20550 * progmodes/octave-mod.el (octave-fill-paragraph):
20551 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20552 (python-pdbtrack-grub-for-buffer, python-sentinel):
20553 * progmodes/sql.el (sql-save-connection):
20554 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20555 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20556 Mark unused parameters.
20558 * progmodes/compile.el (compilation--flush-directory-cache)
20559 (compilation--flush-parse, compile-internal): Mark unused parameters.
20560 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20561 (compilation-next-error-function): Remove unused variable `timestamp'.
20563 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20564 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20566 * progmodes/dcl-mode.el (dcl-end-of-command):
20567 Remove unused variable `start'.
20568 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20569 (dcl-option-value-basic, dcl-option-value-offset)
20570 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20571 Mark unused parameters.
20572 (dcl-save-local-variable): Remove unused variable `val'.
20575 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20576 Mark unused parameters.
20577 (delphi-ignore-changes): Move before first use.
20578 (delphi-charset-token-at): Remove unused variable `start'.
20579 (delphi-else-start): Remove unused variable `if-count'.
20580 (delphi-comment-block-start, delphi-comment-block-end):
20581 Remove unused variable `kind'.
20582 (delphi-indent-line): Remove unused variable `new-point'.
20584 * progmodes/ebrowse.el (ebrowse-files-list)
20585 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20586 Mark unused parameters. Don't quote `lambda'.
20587 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20588 Don't quote `lambda'.
20589 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20590 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20591 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20592 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20593 Use `ignore-errors'.
20594 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20595 (ebrowse-view/find-file-and-search-pattern)
20596 (ebrowse-view/find-member-declaration/definition):
20597 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20598 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20599 Rename parameter PREFIX-ARG to PREFIX.
20600 (ebrowse-tags-read-name): Remove unused variables `start' and
20602 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20605 * progmodes/etags.el (local-find-tag-hook): Declare.
20606 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20607 Mark unused parameters.
20609 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20610 (executable-interpret): Mark unused parameter.
20612 * progmodes/flymake.el (flymake-process-sentinel)
20613 (flymake-after-change-function)
20614 (flymake-create-temp-with-folder-structure)
20615 (flymake-get-include-dirs-dot): Mark unused parameters.
20616 (flymake-safe-delete-directory): Remove unused variable `err'.
20618 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20619 (speedbar-timer-fn, speedbar-line-text)
20620 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20621 (speedbar-center-buffer-smartly): Declare functions.
20622 (gdb-find-watch-expression): Remove unused variable `array'.
20623 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20624 (gdb-starting): Mark unused parameters.
20625 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20626 (gdb-table-string): Remove unused variable `res'.
20627 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20628 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20629 (gdb-display-buffer): Remove unused variable `cur-size'.
20631 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20632 allow lexical-binding compilation.
20633 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20634 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20635 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20636 Mark unused parameters.
20637 (gud-gdb-marker-filter): Remove unused variable `match'.
20638 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20639 lambda expressions and funcall them, instead of using `fset'.
20641 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20642 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20644 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20645 variable `header-beg'; use `let'.
20647 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20648 `restart', `last-sexp' and `at-do'.
20650 * progmodes/js.el (js--debug): Mark unused parameter.
20651 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20652 (js--splice-into-items): Remove unused variable `item'.
20653 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20655 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20656 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20657 (makefile-complete): Remove unused variable `try'.
20658 (makefile-fill-paragraph, makefile-match-function-end):
20659 Mark unused parameters.
20661 * progmodes/octave-inf.el (inferior-octave-complete):
20662 Remove unused variable `proc'.
20663 (inferior-octave-output-digest): Mark unused parameter.
20665 * progmodes/perl-mode.el (perl-calculate-indent):
20666 Remove unused variable `err'.
20668 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20669 (prolog-indent-line): Mark unused parameters.
20670 (prolog-indent-line): Remove unused variable `beg'.
20672 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20673 (reporter-dont-compact-list): Declare.
20675 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20676 Remove unused variable `char'.
20677 (sh-debug): Mark unused parameter.
20678 (sh-get-indent-info): Remove unused variable `start'.
20679 (sh-calculate-indent): Remove unused variable `var'.
20681 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20682 (simula-electric-keyword): Remove unused variable `null'.
20683 (simula-search-backward, simula-search-forward): Remove unused
20684 variables `begin' and `end'.
20686 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20687 Remove unused variable `pos'.
20688 (vera-electric-tab, vera-comment-uncomment-region):
20689 Mark unused parameters.
20690 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20692 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
20694 * emacs-lisp/package.el (package--builtins, package-alist)
20695 (package-load-descriptor, package-built-in-p, package-activate)
20696 (define-package, package-installed-p)
20697 (package-compute-transaction, package-buffer-info)
20698 (package--push): Doc fix. Distinguish more clearly between
20699 version strings and version lists.
20701 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
20703 Lexical-binding cleanup.
20705 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20706 (5x5-make-mutate-best):
20707 * play/fortune.el (fortune-in-buffer):
20708 * play/gomoku.el (gomoku-init-display):
20709 * play/solitaire.el (solitaire, solitaire-do-check):
20710 * play/tetris.el (tetris-default-update-speed-function):
20711 Mark unused parameters.
20713 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20714 (bubbles--shift): Remove unused variable `char-org'.
20715 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20716 (bubbles--show-images): Remove unused variable `char'.
20718 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20719 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20720 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20721 (decipher-analyze-buffer): Use ?\s.
20722 (decipher-make-checkpoint): Remove unused variable `mapping'.
20724 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20726 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20727 Remove unused variable `result'; use `let'.
20729 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20730 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20731 (gametree-children-shown-p, gametree-compute-reduced-score):
20732 Use `ignore-errors'.
20734 * play/handwrite.el (ps-lpr-switches): Declare.
20735 (handwrite): Remove unused variables `pmin' and `lastp'.
20737 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20739 * play/landmark.el (landmark-init-display)
20740 (landmark-update-naught-weights): Mark unused parameters.
20741 (landmark-y): Remove unused variable `noise'. Simplify.
20742 (landmark-human-plays): Remove unused variable `score'.
20744 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20745 (mpuz-try-proposal): Remove unused variable `game'.
20747 * play/zone.el (life-patterns): Declare.
20749 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
20751 * vc/vc.el (ediff-vc-internal): Declare function.
20753 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20755 * shell.el: Use lexical-binding and std completion UI.
20756 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20757 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20758 comint-preoutput-filter-functions rather than on
20759 comint-output-filter-functions.
20760 (shell-command-completion, shell--command-completion-data)
20761 (shell-filename-completion, shell-environment-variable-completion)
20762 (shell-c-a-p-replace-by-expanded-directory): New functions.
20763 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20764 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20765 (shell-dynamic-complete-environment-variable): Use them.
20766 (shell-dynamic-complete-as-environment-variable)
20767 (shell-dynamic-complete-as-command): Remove.
20768 (shell-match-partial-variable): Match past point.
20769 * comint.el: Clean up use of completion-at-point-functions.
20770 (comint-completion-at-point): New function.
20771 (comint-mode): Use it completion-at-point-functions.
20772 (comint-dynamic-complete): Make it obsolete.
20773 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20774 (comint-c-a-p-replace-by-expanded-history): New function.
20775 (comint-dynamic-complete-functions)
20776 (comint-replace-by-expanded-history): Use it.
20777 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20778 termination strings. Try harder to avoid second try-completion.
20779 (completion-in-region-mode-map): Disable bindings that don't work yet.
20781 * comint.el: Use lexical-binding. Require CL.
20782 (comint-dynamic-complete-functions): Use comint-filename-completion.
20783 (comint-completion-addsuffix): Tweak custom type.
20784 (comint-filename-completion, comint--common-suffix)
20785 (comint--common-quoted-suffix, comint--table-subvert)
20786 (comint--complete-file-name-data): New functions.
20787 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20788 (comint-dynamic-list-filename-completions): Use them.
20789 (comint-dynamic-simple-complete): Make obsolete.
20791 * minibuffer.el (completion-in-region-mode):
20792 Keep completion-in-region-mode--predicate global.
20793 (completion-in-region--postch):
20794 Assume completion-in-region-mode--predicate is not null.
20796 * progmodes/flymake.el (flymake-start-syntax-check-process):
20797 Obey `dir'. Simplify.
20799 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20800 we're in VC after all.
20802 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20804 * vc/vc.el (vc-diff-build-argument-list-internal)
20805 (vc-version-ediff, vc-ediff): New commands.
20806 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20808 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20810 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20813 * obsolete/erc-hecomplete.el: Make obsolete.
20814 * obsolete/: Standardize obsolescence info in the header.
20816 2011-04-20 Glenn Morris <rgm@gnu.org>
20818 * calendar/solar.el (solar-horizontal-coordinates):
20819 Use the longitude argument rather than `calendar-longitude'.
20820 (solar-date-next-longitude): Remove unused locals.
20822 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20824 * whitespace.el: New version 13.2.1.
20826 2011-04-20 felix <EmacsWiki> (tiny change)
20828 * whitespace.el (global-whitespace-mode): Keep highlight when
20829 switching between major modes on a file.
20831 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20833 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20834 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20835 multi-line comments as well.
20837 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
20839 Lexical-binding cleanup.
20841 * arc-mode.el (archive-mode-revert):
20842 * cmuscheme.el (scheme-interactively-start-process):
20843 * custom.el (custom-initialize-delay):
20844 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20845 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20846 * emacs-lock.el (emacs-lock-clear-sentinel):
20847 * ezimage.el (defezimage):
20848 * follow.el (follow-avoid-tail-recenter):
20849 * fringe.el (set-fringe-mode-1):
20850 * generic-x.el (bat-generic-mode-compile):
20851 * help-mode.el (help-info-variable, help-do-xref)
20852 (help-mode-revert-buffer):
20853 * help.el (view-emacs-todo):
20854 * iswitchb.el (iswitchb-completion-help):
20855 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20856 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20857 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20858 * locate.el (locate-update):
20859 * longlines.el (longlines-encode-region)
20860 (longlines-after-change-function):
20861 * outline.el (outline-isearch-open-invisible):
20862 * ps-def.el (declare-function, charset-dimension, char-width)
20864 * ps-mule.el (ps-mule-plot-string):
20865 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20866 (recentf-edit-list-select, recentf-edit-list-validate)
20867 (recentf-open-files-action):
20868 * rect.el (delete-whitespace-rectangle-line)
20869 (rectangle-number-line-callback):
20870 * register.el (window-configuration-to-register)
20871 (frame-configuration-to-register):
20872 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20873 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20874 (xselect-convert-to-targets, xselect-convert-to-delete)
20875 (xselect-convert-to-filename, xselect-convert-to-charpos)
20876 (xselect-convert-to-lineno, xselect-convert-to-colno)
20877 (xselect-convert-to-os, xselect-convert-to-host)
20878 (xselect-convert-to-user, xselect-convert-to-class)
20879 (xselect-convert-to-name, xselect-convert-to-integer)
20880 (xselect-convert-to-atom, xselect-convert-to-identity):
20881 * subr.el (declare, ignore, process-kill-without-query)
20882 (text-clone-maintain):
20883 * terminal.el (te-get-char, te-tic-sentinel):
20884 * tool-bar.el (tool-bar-make-keymap):
20885 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20886 * type-break.el (type-break-mode, type-break-noninteractive-query):
20887 * view.el (View-back-to-mark):
20888 * wid-browse.el (widget-browse-action, widget-browse-widget)
20889 (widget-browse-widgets, widget-browse-sexp):
20890 * widget.el (define-widget-keywords):
20891 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20892 Mark unused parameters.
20894 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20895 (align-areas): Remove unused variable `look'.
20896 (align-region): Remove unused variables `real-end' and `pos-list'.
20898 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20900 * bindings.el (mode-line-modified, mode-line-remote):
20901 Mark unused parameters.
20902 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20904 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20905 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20907 * comint.el (comint-history-isearch-pop-state)
20908 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20909 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20910 (comint-substitute-in-file-name): Doc fix.
20912 * completion.el (cmpl-statistics-block): Mark unused parameter.
20913 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20914 (save-completions-to-file, load-completions-from-file):
20915 Remove unused local variable `e'.
20917 * composite.el (compose-chars): Remove unused variable `len'.
20918 (lgstring-insert-glyph): Remove unused variable `g'.
20919 (compose-glyph-string): Remove unused variables `ascent',
20920 `descent', `lbearing' and `rbearing'.
20921 (compose-glyph-string-relative): Remove unused variables
20922 `lbearing', `rbearing' and `wadjust'.
20923 (compose-gstring-for-graphic): Remove unused variables `header',
20924 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20925 (compose-gstring-for-terminal): Remove unused variables `header'
20926 and `nchars'. Use `let', not `let*'.
20928 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20929 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20930 (Custom-buffer-done, custom-buffer-create-internal)
20931 (custom-browse-visibility-action, custom-browse-group-tag-action)
20932 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20933 (widget-magic-mouse-down-action, custom-toggle-parent)
20934 (custom-add-parent-links, custom-toggle-hide-variable)
20935 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20936 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20937 (custom-face-menu-create, custom-variable-menu-create, get)
20938 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20939 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20940 (customize-apropos): Remove unused variable `tests'.
20941 (custom-group-value-create): Remove unused variable `hidden-p'.
20942 (sort-fold-case): Declare.
20944 * cus-theme.el (custom-reset-standard-faces-list)
20945 (custom-reset-standard-variables-list): Declare.
20946 (customize-create-theme, custom-theme-revert, custom-theme-write)
20947 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20948 Mark unused parameters.
20950 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20952 * delim-col.el (delimit-columns-max): Move defvar before first use.
20954 * descr-text.el (describe-char-categories): Don't quote `lambda'.
20955 (describe-char): Don't quote `lambda'. Mark unused parameter.
20957 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20958 (auto-insert): Declare.
20959 (desktop-restore-file-buffer): Rename desktop-* parameters;
20961 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20962 (desktop-buffer): Rename desktop-* parameters.
20964 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20965 (dframe-reposition-frame-xemacs, dframe-help-echo)
20966 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20967 Mark unused parameters.
20969 * dired-aux.el (backup-extract-version-start, overwrite-query)
20970 (overwrite-backup-query, rename-regexp-query)
20971 (rename-non-directory-query): Declare.
20972 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20973 (dired-add-entry): Remove unused variable `orig-file-name'.
20974 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20975 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20976 `dired-copy-preserve-time' directly.
20977 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20978 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20980 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20981 (dired-virtual-revert, dired-make-relative-symlink):
20982 Mark unused parameters.
20983 (manual-program): Declare.
20984 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20985 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20986 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20988 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20990 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20992 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20995 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20997 * electric.el (Electric-command-loop): Rename parameter
20998 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
21000 * expand.el (expand-in-literal): Remove unused variable `here'.
21002 * facemenu.el (facemenu-add-new-color):
21003 Remove unused variable `docstring'.
21005 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
21006 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
21007 (face-attr-construct): Mark unused parameter. Doc fix.
21008 (read-color): Remove unused variable `hex-string'.
21010 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
21011 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
21012 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
21013 (display-buffer-other-frame): Remove unused variable `old-window'.
21014 (kill-buffer-hook): Declare.
21015 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
21016 Mark unused parameters.
21017 (after-find-file): Pass 1 to `auto-save-mode', not t.
21019 * files-x.el (auto-insert): Declare.
21020 (modify-file-local-variable-prop-line): Remove unused variable `val'.
21022 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
21023 variable `buf'. Mark unused parameter.
21024 (find-lisp-insert-directory): Mark unused parameter.
21026 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21027 (format-encode-region): Remove unused variables `cur-buf' and `result'.
21028 (format-common-tail): Remove, unused.
21029 (format-deannotate-region): Remove unused variable `loc'.
21030 (format-annotate-region): Remove unused variable `p'.
21031 (format-annotate-single-property-change): Remove unused variables
21032 `default' and `tail'.
21034 * forms.el (read-file-filter): Declare.
21035 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21037 * frame.el (frame-creation-function-alist): Mark unused parameter.
21038 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21040 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21041 Remove unused parameters.
21042 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21043 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21045 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21046 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21047 (hfy-prepare-tag-map): Mark unused parameters.
21048 (htmlfontify-buffer): Use `called-interactively-p'.
21050 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21051 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21052 (ibuffer-do-occur): Mark unused parameters.
21053 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21054 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21056 * ibuffer.el: Don't quote `lambda'.
21057 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21058 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21059 Mark unused parameters.
21061 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21062 (ido-completing-read): Mark unused parameters.
21063 (ido-copy-current-word): Mark unused parameters;
21064 remove unused variable `name'.
21065 (ido-sort-merged-list): Remove unused parameter `dirs'.
21067 * ielm.el (ielm-input-sender): Mark unused parameter.
21068 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21069 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21070 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21071 `ielm-string' as a dynamic variable accessible from the IELM prompt.
21072 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
21074 * image-dired.el (image-dired-display-thumbs): Remove unused
21075 variables `curr-file' and `count'.
21076 (image-dired-remove-tag): Remove unused variable `start'.
21077 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21078 variable `curr-file'
21079 (image-dired-rotate-original): Remove unused variable `temp-file'.
21080 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21081 Remove unused variable `file'.
21082 (image-dired-gallery-generate): Remove unused variable `curr'.
21083 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21085 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21087 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21089 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21091 * isearch.el (minibuffer-history-symbol): Declare.
21092 (isearch-edit-string): Remove unused variable `err'.
21093 (isearch-message-prefix, isearch-message-suffix):
21094 Mark unused parameters.
21096 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21098 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21100 * makesum.el (double-column): Remove unused variable `cnt'.
21102 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21103 (ido-ignore-item-temp-list): Declare.
21105 * mouse-drag.el (mouse-drag-throw): Remove unused variables
21106 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21107 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21108 (mouse-drag-drag): Remove unused variables `mouse-delta' and
21111 * mouse-sel.el (mouse-extend-internal):
21112 Remove unused variable `orig-window-frame'.
21114 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21115 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21116 Move declarations before first use.
21117 (pcomplete-opt): Mark unused parameters; doc fix.
21119 * proced.el (proced-revert): Mark unused parameter.
21120 (proced-send-signal): Remove unused variable `err'.
21122 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21123 Rename parameter PREFIX-ARG to ARG.
21124 (ps-basic-plot-string, ps-basic-plot-whitespace):
21125 Mark unused parameters.
21127 * replace.el (replace-count): Define.
21128 (occur-revert-function): Mark unused parameters.
21129 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21130 (isearch-case-fold-search, isearch-string): Declare.
21131 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21132 bind `case-fold-search'. Remove unused variables `beg' and `end',
21134 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21135 COUNT and bind `replace-count'.
21136 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21139 * savehist.el (print-readably, print-string-length): Declare.
21141 * shadowfile.el (shadow-expand-cluster-in-file-name):
21142 Remove unused variable `cluster'.
21143 (shadow-copy-file): Remove unused variable `i'.
21144 (shadow-noquery, shadow-clusters, shadow-site-cluster)
21145 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21146 (shadow-define-literal-group, shadow-define-regexp-group)
21147 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21149 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21150 (shell): Use `called-interactively-p'.
21151 (shell-directory-tracker): Remove unused variable `chdir-failure'.
21153 * simple.el (compilation-context-lines, comint-file-name-quote-list)
21154 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21155 (delete-backward-char): Remove unused variable `ocol'.
21156 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21157 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21158 (event-apply-hyper-modifier, event-apply-shift-modifier)
21159 (event-apply-control-modifier, event-apply-meta-modifier):
21160 Mark unused parameters.
21161 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21162 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21164 * speedbar.el (speedbar-ignored-directory-expressions)
21165 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21166 (speedbar-find-file, speedbar-dir-follow)
21167 (speedbar-directory-buttons-follow, speedbar-tag-find)
21168 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21169 (speedbar-buffers-line-directory, speedbar-buffer-click):
21170 Mark unused parameters.
21171 (speedbar-tag-file): Remove unused variable `mode'.
21172 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21174 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21176 * talk.el (talk): Remove unused variable `display'.
21178 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21179 (tar-write-region-annotate): Mark unused parameter.
21181 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21182 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21183 Declare them, wrapped in `with-no-warnings' to avoid replacing one
21184 warning by another.
21186 * time-stamp.el (time-stamp-string-preprocess):
21187 Remove unused variable `require-padding'.
21189 * tree-widget.el (widget-glyph-enable): Declare.
21190 (tree-widget-action): Mark unused parameter.
21192 * w32-fns.el (x-get-selection): Mark unused parameter.
21193 (autoload-make-program, generated-autoload-file): Declare.
21195 * wdired.el (wdired-revert): Mark unused parameters.
21196 (wdired-xcase-word): Remove unused variable `err'.
21198 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21199 (whitespace-help-scroll): Remove unused variable `data-help'.
21201 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21202 (widget-image-insert, widget-after-change, default)
21203 (widget-default-format-handler, widget-default-notify)
21204 (widget-default-prompt-value, widget-info-link-action)
21205 (widget-url-link-action, widget-function-link-action)
21206 (widget-variable-link-action, widget-file-link-action)
21207 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21208 (widget-field-prompt-internal, widget-field-action, widget-field-match)
21209 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21210 (widget-insert-button-action, widget-delete-button-action, visibility)
21211 (widget-documentation-link-action, widget-documentation-string-action)
21212 (widget-const-prompt-value, widget-regexp-match, symbol)
21213 (widget-coding-system-prompt-value)
21214 (widget-key-sequence-value-to-external, sexp)
21215 (widget-sexp-value-to-internal, character, vector, cons)
21216 (widget-choice-prompt-value, widget-boolean-prompt-value)
21217 (widget-color--choose-action): Mark unused parameters.
21218 (widget-item-match-inline, widget-choice-match-inline)
21219 (widget-checklist-match, widget-checklist-match-inline)
21220 (widget-group-match): Rename parameter VALUES to VALS.
21221 (widget-field-value-set): Remove unused variable `size'.
21222 (widget-color-action): Remove unused variables `value' and `start'.
21224 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
21225 variable `dir'. Doc fix.
21226 (windmove-find-other-window): Don't pass it.
21228 * window.el (count-windows): Mark unused parameter.
21229 (bw-adjust-window): Remove unused variable `err'.
21231 * woman.el (woman-file-name): Remove unused variable `default'.
21232 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21233 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21234 (global-font-lock-mode): Declare.
21235 (woman-decode-region): Mark unused parameter.
21236 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21238 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21239 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21240 (x-dnd-handle-moz-url): Remove unused variable `title'.
21241 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21243 * xml.el (xml-parse-tag, xml-parse-attlist):
21244 Remove unused variable `pos'.
21246 2011-04-19 Glenn Morris <rgm@gnu.org>
21248 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21249 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21250 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21251 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21252 * calendar/cal-html.el (cal-html-insert-minical):
21253 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21254 (calendar-mark-date-pattern):
21255 Prefix "unused" locals.
21257 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21258 optional argument `style'.
21260 * calendar/appt.el (appt-make-list):
21261 * calendar/cal-china.el (calendar-chinese-date-string):
21262 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21263 (diary-hebrew-yahrzeit):
21264 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21265 * calendar/calendar.el (calendar-generate-window):
21266 * calendar/time-date.el (time-to-days):
21267 Remove unused local variables.
21269 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
21271 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21272 glyphless-char-display table.
21273 (tabulated-list-glyphless-char-display): New var.
21275 2011-04-18 Sam Steingold <sds@gnu.org>
21277 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21278 to acknowledgments.
21280 2011-04-17 Glenn Morris <rgm@gnu.org>
21282 * calendar/diary-lib.el (diary-sexp-entry):
21283 * calendar/holidays.el (holiday-sexp):
21284 Set debug-on-error rather than the removed stack-trace-on-error.
21286 2011-04-16 Glenn Morris <rgm@gnu.org>
21288 * progmodes/f90.el: Use lexical-binding.
21289 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21291 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21293 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21294 (mail-mode): Setup mailalias completion here instead.
21295 * mail/mailalias.el: Use lexical-binding.
21296 (pattern, mailalias-done): Declare dynamic.
21297 (mail-completion-at-point-function): New function, from mail-complete.
21298 (mail-complete): Use it.
21299 (mail-completion-expand): New function.
21300 (mail-get-names): Use it.
21301 (mail-directory, mail-directory-process, mail-directory-stream):
21302 Don't use `pattern' for lexically bound arg.
21304 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21306 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21307 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21308 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21310 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21311 (byte-save-window-excursion, byte-temp-output-buffer-setup)
21312 (byte-interactive-p): Define them again, for use when inlining
21315 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
21317 * loadup.el: Use `string-to-number', not `string-to-int'.
21319 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21321 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21322 gud-gdb-complete-command.
21323 (gud-gdb-completions): New function, from gud-gdb-complete-command.
21324 (gud-gdb-completion-at-point): New function.
21325 (gud-gdb-completions): Remove.
21327 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
21329 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21330 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
21331 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21332 whether `executable-find' is bound.
21334 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21336 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
21338 * minibuffer.el (completion-in-region-mode-predicate)
21339 (completion-in-region-mode--predicate): New vars.
21340 (completion-in-region, completion-in-region--postch)
21341 (completion-in-region-mode): Use them.
21342 (completion--capf-wrapper): Also return the hook function.
21343 (completion-at-point, completion-help-at-point):
21344 Adjust and provide a predicate.
21346 Preserve arg names for advice of subr and lexical functions (bug#8457).
21347 * help-fns.el (help-function-arglist): Consolidate the subr and
21348 new-byte-code cases. Add argument `preserve-names' to extract names
21349 from the docstring when needed.
21350 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21351 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21352 (ad-arglist): Use help-function-arglist's new arg.
21353 (ad-definition-type): Use cond.
21355 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
21357 * autorevert.el (auto-revert-handler):
21358 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21359 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21360 Don't quote lambda.
21362 * image-mode.el (image-transform-set-scale):
21363 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21365 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21367 * net/network-stream.el (network-stream-open-starttls): Only do
21368 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
21369 Upgrades via gnutls-cli are too slow to be done opportunistically.
21371 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
21373 * dframe.el (dframe-current-frame): Remove spurious quote.
21375 2011-04-12 Glenn Morris <rgm@gnu.org>
21377 * calendar/cal-tex.el (cal-tex-end-document):
21378 Try to automatically use latin1 input if needed.
21380 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21381 Don't try to cons a mark onto an empty element.
21383 2011-04-11 Leo Liu <sdl.web@gmail.com>
21385 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21387 (ido-kill-buffer-at-head): Support killing virtual buffers.
21389 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
21391 * minibuffer.el (completion-show-inline-help): New var.
21392 (completion--do-completion, minibuffer-complete)
21393 (minibuffer-force-complete, minibuffer-complete-word):
21394 Inhibit minibuffer messages if completion-show-inline-help is nil.
21396 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21397 to avoid interference from inline help (Bug#5849).
21399 2011-04-10 Leo Liu <sdl.web@gmail.com>
21401 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21404 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
21406 * image-mode.el (image-toggle-display-image): Signal an error if
21408 (image-transform-mode, image-transform-resize)
21409 (image-transform-set-rotation): Doc fix.
21410 (image-transform-set-resize): Delete.
21411 (image-transform-set-scale, image-transform-fit-to-height)
21412 (image-transform-fit-to-width): Handle image-toggle-display-image
21413 and image-transform-resize directly.
21415 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
21417 * doc-view.el (doc-view-fit-width-to-window)
21418 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21419 New functions for fitting the shown image to the Emacs window size.
21420 (doc-view-mode-map): Add bindings for the new functions.
21422 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
21424 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
21425 Fix typo in docstring.
21427 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21429 * files.el (file-size-human-readable): Produce one digit after
21430 decimal, like "ls -lh" does.
21432 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21433 the file size representation.
21435 * simple.el (list-processes): If async subprocesses are not
21436 available, error out with a clear error message.
21438 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
21440 * help.el (help-form-show): New function, to be called from C.
21441 Put help-form output in a buffer named differently than *Help*.
21443 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21445 * files.el (file-size-human-readable): New function.
21447 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21448 computing the representation inline. Don't require `cl'.
21450 2011-04-08 Glenn Morris <rgm@gnu.org>
21452 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21454 * net/browse-url.el (browse-url-firefox):
21455 Test system-type, not system-configuration.
21457 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21458 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21459 Use log-edit-empty-buffer-p. (Bug#7598)
21461 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21462 (rlogin-mode-map): Initialize in the defvar.
21463 (rlogin): Use ignore-errors.
21465 * replace.el (occur-mode-map): Some fixes for menu items.
21467 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21469 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21471 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21473 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21474 issuing unused warnings.
21476 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21479 * simple.el: Lisp reimplement of list-processes. Based on an
21480 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21481 (process-menu-mode): New major mode.
21482 (list-processes--refresh, list-processes):
21483 (process-menu-visit-buffer): New functions.
21485 * files.el (save-buffers-kill-emacs): Don't assume any return
21486 value of list-processes, which is undocumented anyway.
21488 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21490 * emacs-lisp/tabulated-list.el: New file.
21492 * emacs-lisp/package.el: Use Tabulated List mode.
21493 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21494 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21495 table format using Tabulated List mode variables.
21496 (package--push): New macro, replacing package-list-maybe-add.
21497 (package-menu--generate): Use package--push. Renamed from
21498 package--generate-package-list.
21499 (package-menu-refresh, list-packages): Use it.
21500 (package-menu--print-info): Rename from package-print-package.
21501 Return insertion data instead of inserting it directly.
21502 (package-menu-describe-package, package-menu-execute):
21503 Use tabulated-list-get-id.
21504 (package-menu-mark-delete, package-menu-mark-install)
21505 (package-menu-mark-unmark, package-menu-backup-unmark)
21506 (package-menu-mark-obsolete-for-deletion):
21507 Use tabulated-list-put-tag.
21508 (package--list-packages, package-menu-revert)
21509 (package-menu-get-package, package-menu-get-version)
21510 (package-menu-sort-by-column): Functions deleted.
21511 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21512 (package-menu--status-predicate, package-menu--version-predicate)
21513 (package-menu--name-predicate)
21514 (package-menu--description-predicate): Handle arguments in the
21515 Tabulated List format.
21516 (package-list-packages-no-fetch): Call list-packages.
21518 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
21520 * files.el (after-find-file-from-revert-buffer): Remove variable.
21521 (after-find-file): Don't bind it.
21522 (revert-buffer-in-progress-p): New variable.
21523 (revert-buffer): Bind it.
21524 Pass nil for `after-find-file-from-revert-buffer'.
21526 * saveplace.el (save-place-find-file-hook): Use new variable
21527 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21529 2011-04-06 Glenn Morris <rgm@gnu.org>
21531 * Makefile.in (AUTOGEN_VCS): New variable.
21532 (autoloads): Use $AUTOGEN_VCS.
21534 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21535 * calendar/calendar.el (calendar-mode-map):
21536 Check for toolkit scroll bars. (Bug#8305)
21538 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21540 * minibuffer.el (completion-in-region--postch)
21541 (completion-in-region-mode): Remove unnecessary messages.
21543 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
21545 * font-lock.el (font-lock-refresh-defaults):
21546 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21547 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21549 * info.el (Info-directory-list, Info-read-node-name-2)
21550 (Info-split-parameter-string): Doc fixes.
21551 (Info-virtual-nodes): Reflow docstring.
21552 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21553 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21554 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21555 Fix typos in docstrings.
21556 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21557 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21558 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21559 (Info-restore-desktop-buffer): Mark unused parameters.
21560 (Info-directory-find-file, Info-directory-find-node)
21561 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21562 (Info-virtual-index-find-node, Info-apropos-find-file)
21563 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
21564 Mark unused parameters; fix typos in docstrings.
21565 (Info-virtual-index): Remove unused local variable `nodename'.
21567 2011-04-05 Deniz Dogan <deniz@dogan.se>
21569 * net/rcirc.el: Update my e-mail address.
21570 (rcirc-mode-map): Remove M-o binding.
21572 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21574 * startup.el (command-line): Save the cursor's theme-face
21575 directly, instead of using face-override-spec.
21577 * custom.el (load-theme): Minor optimization in assigning faces.
21579 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21581 * help-fns.el (describe-variable): Complete all variables having
21582 documentation, including keywords.
21583 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21585 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21587 Convert to lexical-binding.
21589 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21590 (bs--get-marked-string, bs--get-modified-string)
21591 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21592 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21593 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21595 * ehelp.el (electric-help-execute-extended)
21596 (electric-help-ctrl-x-prefix):
21597 * hexl.el (hexl-revert-buffer-function):
21598 * linum.el (linum-after-change, linum-after-scroll):
21599 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21601 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21603 2011-04-04 Daiki Ueno <ueno@unixuser.org>
21610 * epg.el: Use lexical binding.
21612 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
21614 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21616 * textmodes/flyspell.el (flyspell-word): Recognize default
21617 dictionary case for flyspell-mark-duplications-exceptions.
21618 Use regexp matching for languages.
21619 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21620 default dictionary (Bug#7926).
21622 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
21624 * emacs-lisp/package.el (package--with-work-buffer):
21625 Recognize https URLs.
21627 * net/network-stream.el: Move from gnus/proto-stream.el.
21628 Change prefix to network-stream throughout.
21629 (open-protocol-stream): Merge into open-network-stream, leaving
21630 open-protocol-stream as an alias. Handle nil BUFFER args.
21632 * subr.el (open-network-stream): Move to net/network-stream.el.
21634 2011-04-02 Glenn Morris <rgm@gnu.org>
21636 * find-dired.el (find-exec-terminator): New option.
21637 (find-ls-option): Test for -ls support.
21638 (find-ls-subdir-switches): Test for -b in find-ls-option.
21639 (find-dired, find-grep-dired): Doc fixes.
21640 (find-dired): Use find-exec-terminator.
21642 * find-dired.el (find-ls-option, find-ls-subdir-switches)
21643 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21644 (find-name-arg): Remove purecopy.
21646 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21647 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21648 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21649 accordingly. Don't add the null-device if not needed.
21651 * files.el (save-some-buffers): Doc fix.
21653 2011-04-02 Eli Zaretskii <eliz@gnu.org>
21655 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21657 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
21659 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21660 Use `dolist' rather than `mapcar'.
21662 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21664 Add lexical binding.
21666 * subr.el (apply-partially): Use new closures rather than CL.
21667 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21668 (dolist, dotimes): Use slightly different expansion for lexical code.
21669 (functionp): Move to C.
21670 (letrec): New macro.
21671 (with-wrapper-hook): Use it and apply-partially instead of CL.
21672 (eval-after-load): Preserve lexical-binding.
21673 (save-window-excursion, with-output-to-temp-buffer): Turn them
21676 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21678 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21680 (help-add-fundoc-usage): Don't add `Not documented'.
21681 (help-function-arglist): Handle closures, subroutines, and new
21682 byte-code-functions.
21683 (help-make-usage): Remove leading underscores.
21684 (describe-function-1): Handle closures.
21685 (describe-variable): Use special-variable-p for completion.
21687 * files.el (lexical-binding): Declare safe.
21689 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21690 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21691 (pcase): Add `let' pattern.
21692 Change memoization so it actually works.
21693 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21694 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21697 * emacs-lisp/macroexp.el: Use lexical binding.
21698 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21699 Don't convert ' to #' without checking that it's indeed quoting
21702 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
21703 Use eval-sexp-add-defvars.
21704 (eval-sexp-add-defvars): New fun.
21706 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21708 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21710 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21711 than the internal `byte-compile-lambda'.
21712 (defmethod): Don't hide code under quotes.
21713 (eieio-defmethod): New `code' argument.
21715 * emacs-lisp/eieio-comp.el: Remove.
21717 * emacs-lisp/edebug.el (edebug-eval-defun)
21718 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21719 (edebug-toggle): Avoid `eval'.
21721 * emacs-lisp/disass.el (disassemble-internal): Handle new
21723 (disassemble-1): Handle new byte codes.
21725 * emacs-lisp/cl.el (pushnew): Silence warning.
21727 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21728 (cl-byte-compile-throw): Remove.
21729 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21731 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21734 * emacs-lisp/cconv.el: New file.
21736 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21737 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21738 (byte-compile-initial-macro-environment):
21739 Handle declare-function here.
21740 (byte-compile--lexical-environment): New var.
21741 (byte-stack-ref, byte-stack-set, byte-discardN)
21742 (byte-discardN-preserve-tos): New lap codes.
21743 (byte-interactive-p): Don't use any more.
21744 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21746 (byte-compile-lapcode): Use them and handle new lap codes.
21747 (byte-compile-obsolete): Remove.
21748 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21749 (byte-compile-arglist-warn): Check late def of inlinable funs.
21750 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21751 since they should have been expanded by now.
21752 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21753 (byte-compile-from-buffer): Remove unused second arg.
21754 (byte-compile-preprocess): New function.
21755 (byte-compile-toplevel-file-form): New function to distinguish
21756 file-form calls from outside from file-form calls from hunk-handlers.
21757 (byte-compile-file-form): Simplify.
21758 (byte-compile-file-form-defsubst): Remove.
21759 (byte-compile-file-form-defmumble): Simplify now that
21760 byte-compile-lambda always returns a byte-code-function.
21761 (byte-compile): Preprocess.
21762 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21763 Remove, not used any more.
21764 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21765 (byte-compile-make-args-desc): New funs.
21766 (byte-compile-lambda): Handle lexical functions. Always return
21767 a byte-code-function.
21768 (byte-compile-reserved-constants): New var, to make up room for
21769 closed-over variables.
21770 (byte-compile-constants-vector): Obey it.
21771 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21772 (byte-compile-macroexpand-declare-function): New function.
21773 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21774 byte-code-functions.
21775 (byte-compile-form): Check obsolescence here.
21776 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21777 (byte-compile-variable-ref): Remove.
21778 (byte-compile-dynamic-variable-op): New fun.
21779 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21780 (byte-compile-variable-set): New funs.
21781 (byte-compile-discard): Add 2 args.
21782 (byte-compile-stack-ref, byte-compile-stack-set)
21783 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21784 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21785 macroexpand-all instead.
21786 (byte-compile-quote-form): Remove.
21787 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21788 (byte-compile-bind, byte-compile-unbind): New funs.
21789 (byte-compile-let): Handle let* and lexical binding.
21790 (byte-compile-let*): Remove.
21791 (byte-compile-catch, byte-compile-unwind-protect)
21792 (byte-compile-track-mouse, byte-compile-condition-case):
21793 Handle a new :fun-body form, used for lexical scoping.
21794 (byte-compile-save-window-excursion)
21795 (byte-compile-with-output-to-temp-buffer): Remove.
21796 (byte-compile-defun): Simplify.
21797 (byte-compile-stack-adjustment): New fun.
21798 (byte-compile-out): Use it.
21799 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21801 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21804 * emacs-lisp/byte-opt.el: Use lexical binding.
21805 (byte-inline-lapcode): Remove (to bytecomp).
21806 (byte-compile-inline-expand): Pay attention to inlining to/from
21807 lexically bound code.
21808 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21810 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21811 any more and don't call compiler-macros.
21812 (byte-compile-splice-in-already-compiled-code): Remove.
21813 (byte-code): Don't inline any more.
21814 (disassemble-offset): Receive `bytes' as argument rather than via
21816 (byte-compile-tag-number): Declare before first use.
21817 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21818 `return' even if make-spliceable.
21819 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21820 obsolete interactive-p.
21821 (byte-optimize-lapcode): Optimize new lap-codes.
21822 Don't trip up on new form of `byte-constant' lap code.
21824 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21826 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21828 * custom.el (custom-initialize-default, custom-declare-variable):
21831 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21833 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21834 (COMPILE_FIRST): Add macroexp and cconv.
21835 * makefile.w32-in: Mirror changes in Makefile.in.
21837 * vc/cvs-status.el:
21841 * vc/smerge-mode.el:
21842 * textmodes/bibtex-style.el:
21843 * textmodes/css-mode.el:
21851 * emacs-lisp/smie.el:
21854 * abbrev.el: Use lexical binding.
21856 2011-04-01 Eli Zaretskii <eliz@gnu.org>
21858 * info.el (info-display-manual): New function.
21860 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21862 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21864 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21866 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
21867 an entry for that server in rcirc-authinfo. (Bug#8385)
21869 2011-03-31 Glenn Morris <rgm@gnu.org>
21871 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21873 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21875 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21877 * progmodes/python.el (python-default-interpreter)
21878 (python-python-command-args, python-jython-command-args)
21879 (python-which-shell, python-which-args, python-which-bufname)
21880 (python-file-queue, python-comint-output-filter-function)
21881 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21882 variables and functions.
21884 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21886 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21887 (completion-in-region-mode): New minor mode.
21888 (completion-in-region): Use it.
21889 (completion-in-region--data, completion-in-region-mode-map): New vars.
21890 (completion-in-region--postch): New function.
21891 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21893 (completion--capf-wrapper): New function.
21894 (completion-at-point): Use it to track well-behavedness of
21896 (completion-help-at-point): New command.
21898 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21900 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21901 syntax class to search for whitespace on a single line
21902 (Message-ID: <4D938140.4030905@redhat.com>).
21904 2011-03-30 Leo Liu <sdl.web@gmail.com>
21906 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21908 (edit-abbrevs-map): Bind them here.
21909 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21911 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21913 * allout.el (allout-hide-by-annotation, allout-flag-region):
21914 Reduce possibility of overlay leakage by making them volatile.
21916 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21917 hash is not shared between buffers. Mode initialization is
21918 responsible for giving it a useful starting value.
21919 (allout-item-span): Reduce possibility of overlay leakage by
21920 making them volatile.
21921 (allout-widgets-count-buttons-in-region): Add diagnostic function
21922 for tracking down button overlay leaks.
21924 2011-03-29 Leo Liu <sdl.web@gmail.com>
21926 * ido.el (ido-read-internal): Use the default history var
21927 minibuffer-history if no HISTORY is specified.
21929 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21931 * net/imap.el (imap-shell-open, imap-process-connection-type):
21932 Use imap-process-connection-type for 'shell' streams as well as
21933 Kerberos, SSL, other subprocesses.
21935 2011-03-28 Leo Liu <sdl.web@gmail.com>
21937 * abbrev.el (abbrev-table-empty-p): New function.
21938 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21939 nonempty ones. (Bug#5937)
21941 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21943 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21945 2011-03-27 Leo Liu <sdl.web@gmail.com>
21947 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21948 for foreground and background colors.
21949 (ansi-color-make-color-map): Adapt.
21951 2011-03-25 Leo Liu <sdl.web@gmail.com>
21953 * midnight.el (midnight-time-float): Remove. Note it calculates
21954 the microsecond component incorrectly and seconds-to-time does the
21956 Remove redundant (require 'timer).
21958 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21959 (ido-completions): Remove unused arguments. (Bug#8329)
21961 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21963 * minibuffer.el (completion--flush-all-sorted-completions):
21964 Remove itself from hook.
21965 (completion-at-point): Let the functions perform the completion
21966 immediately and return nil or t.
21967 * comint.el (comint-dynamic-complete-functions): Now identical to
21968 completion-at-point-functions.
21969 (comint-dynamic-list-input-ring): Remove unused var `index'.
21970 (comint--match-partial-filename, comint--unquote&expand-filename):
21971 New funs, split from comint-match-partial-filename.
21972 (comint-dynamic-complete): Use completion-at-point.
21973 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21975 2011-03-24 Drew Adams <drew.adams@oracle.com>
21977 * thingatpt.el: Support `defun'.
21979 2011-03-23 Leo Liu <sdl.web@gmail.com>
21981 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21983 * help-mode.el (help-mode-finish): Tweak regexp.
21985 2011-03-23 Glenn Morris <rgm@gnu.org>
21987 * eshell/esh-opt.el (eshell-eval-using-options):
21988 Do not bind unused local variable `eshell-option-stub'.
21990 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21992 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21994 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21995 keymap variable in `with-no-warnings' to avoid a warning when the
21996 keymap has been already `defconst'ed.
21998 2011-03-22 Leo Liu <sdl.web@gmail.com>
22000 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
22001 encode all chars in abbrevs; otherwise use emacs-mule or
22002 utf-8-emacs. (Bug#8308)
22004 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
22006 * simple.el (backward-delete-char-untabify):
22007 Avoid warning about using `delete-backward-char'.
22009 * image.el (image-type-file-name-regexps): Make it variable.
22010 `imagemagick-register-types' modifies it, and the user may want
22011 to add new extensions for known image types.
22012 (imagemagick-register-types): Throw error if not using ImageMagick.
22014 2011-03-22 Leo Liu <sdl.web@gmail.com>
22016 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
22017 located before rcirc-prompt-end-marker.
22018 (rcirc-complete): Error if point is not after rcirc prompt.
22019 Handle the case when table is nil.
22020 (rcirc-user-authenticated): Define to fix compiler warning.
22022 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
22024 * custom.el (custom--inhibit-theme-enable): Make it affect only
22025 custom-theme-set-variables and custom-theme-set-faces.
22026 (provide-theme): Ignore custom--inhibit-theme-enable.
22027 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22028 (custom-enabling-themes): Delete variable.
22029 (enable-theme): Accept only loaded themes as arguments.
22030 Ignore the special custom-enabled-themes variable.
22031 (custom-enabled-themes): Forbid themes from setting this.
22032 Eliminate use of custom-enabling-themes.
22033 (custom-push-theme): Quote "changed" custom var entry.
22035 2011-03-21 Leo Liu <sdl.web@gmail.com>
22037 * ido.el (ido-read-internal): Add ido-selected to history instead
22040 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
22042 * subr.el (deferred-action-list, deferred-action-function):
22045 2011-03-21 Leo Liu <sdl.web@gmail.com>
22047 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22048 change on 2011-02-13 (bug#8309).
22050 * minibuffer.el (read-file-name-function): Change default value.
22051 (read-file-name--defaults): Rename from read-file-name-defaults.
22052 (read-file-name-default): Rename from read-file-name.
22053 (read-file-name): Call read-file-name-function.
22055 2011-03-21 Glenn Morris <rgm@gnu.org>
22057 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22060 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
22062 * cus-theme.el: Add missing provide statement.
22063 (customize-create-theme): Extract theme value correctly.
22064 (custom-theme-visit-theme): Autoload.
22065 (customize-create-theme): Prompt before inserting default faces.
22067 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
22069 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22070 units and musical notes.
22072 2011-03-20 Leo Liu <sdl.web@gmail.com>
22074 * ido.el (ido-read-internal): Use completing-read-default.
22075 (ido-completing-read): Fix compatibility with completing-read.
22077 2011-03-20 Christian Ohler <ohler@gnu.org>
22079 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22080 (ert-delete-all-tests): Use `called-interactively-p' rather than
22082 (ert--make-xrefs-region): Respect END.
22084 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
22086 * dired-aux.el (dired-create-directory): Signal an error if the
22087 directory already exists (Bug#8246).
22089 * facemenu.el (list-colors-display): Call list-faces-display
22090 inside with-help-window.
22091 (list-colors-print): Use display property to align the final
22092 column, instead of checking window-width.
22094 2011-03-19 Eli Zaretskii <eliz@gnu.org>
22096 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
22097 windows-nt systems.
22098 (emerge-protect-metachars): Quote correctly for ms-dos and
22099 windows-nt systems.
22101 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
22103 * info.el (info-initialize): Replace all uses of `:' with
22104 path-separator for compatibility with non-Unix systems.
22105 Cache quoting of path-separator. (Bug#8258)
22107 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
22109 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22110 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22111 (mouse-avoidance-mode): Fix typos in docstrings.
22113 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
22115 * startup.el (package-subdirectory-regexp): Move from package.el.
22116 Omit \\` and \\', and let callers add them.
22118 * emacs-lisp/package.el (package-strip-version)
22119 (package-load-all-descriptors): Add \\` and \\' to
22120 package-subdirectory-regexp before using it.
22121 (package-untar-buffer): New arg DIR; ensure that file untars only
22122 into this expected directory. Remove superfluous delete-region.
22123 (package-unpack): Caller changed.
22124 (package-tar-file-info): Use package-subdirectory-regexp.
22126 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
22128 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22129 diff-mode-shared-map (bug#8284).
22130 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
22132 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22134 * calendar/time-date.el (format-seconds): Use assoc instead of
22135 assoc-string, since assoc-string doesn't exist in XEmacs.
22137 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
22139 * custom.el (custom-known-themes): Reflow docstring.
22140 (custom-theme-load-path): Fix typo in docstring.
22141 (load-theme): Fix typo in error message.
22142 (custom-available-themes, custom-variable-theme-value):
22143 Use `let', not `let*'.
22145 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22147 * calc/README: Mention inclusion of musical notes.
22149 * calc/calc-units.el (calc-lu-quant): Rename from
22150 `calc-logunits-quantity'.
22151 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22152 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22153 (calc-db): Rename from `calc-dblevel'.
22154 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22155 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22156 (calc-np): Rename from `calc-nplevel'.
22157 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22158 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22159 (calc-lu-plus): Rename from `calc-logunits-add'.
22160 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22161 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22162 (calc-lu-minus): Rename from `calc-logunits-sub'.
22163 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22164 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22165 (calc-lu-times): Rename from `calc-logunits-mul'.
22166 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22167 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22168 (calc-lu-divide): Rename from `calc-logunits-div'.
22169 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22170 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22172 * calc/calc-ext.el (calc-init-extensions): Update the names of the
22173 functions being autoloaded.
22175 * calc/calc.el (calc-lu-power-reference): Rename from
22176 `calc-logunits-power-reference'.
22177 (calc-lu-field-reference): Rename from
22178 `calc-logunits-field-reference'.
22180 * calc/calc-help.el (calc-l-prefix-help):
22181 Mention musical note functions.
22183 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
22185 * minibuffer.el (completion-all-sorted-completions):
22186 Use :completion-cycle-penalty text property if present.
22188 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
22190 * allout.el (allout-yank-processing): Adjust for new rebulleting
22191 regime so bullet being yanked is used without prompting the user
22194 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
22196 * startup.el (command-line): Warn the user that _emacs is deprecated.
22198 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
22200 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22201 (delphi-verbose, delphi-comment-face, delphi-string-face)
22202 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22203 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22204 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22205 (delphi-new-comment-line, delphi-font-lock-defaults)
22206 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22207 Fix typos in docstrings.
22209 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
22211 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
22212 Invert the roles of character and string values for INSTEAD, so a
22213 string is used for the more common case of a defaulting prompt.
22215 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22217 * progmodes/ruby-mode.el (ruby-backward-sexp):
22218 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22219 * play/gamegrid.el (gamegrid-make-face):
22220 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22221 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22222 * notifications.el (notifications-notify):
22223 * net/xesam.el (xesam-search-engines):
22224 * net/quickurl.el (quickurl-list-insert):
22225 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22227 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
22229 * startup.el (command-line): Update package subdirectory regexp.
22231 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22233 * allout.el (allout-abbreviate-flattened-numbering)
22234 (allout-mode-deactivate-hook): Fix up obsolescence "date".
22236 * subr.el (read-char-choice): Only show the cursor after the prompt,
22237 not after the answer.
22239 2011-03-15 Kevin Ryde <user42@zip.com.au>
22241 * help-fns.el (variable-at-point): Skip leading quotes, if any
22244 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22246 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22249 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
22251 * shell.el (shell): When called interactively, offer to change the
22252 shell file name on remote hosts.
22254 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22256 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22257 integration for LDAP parameters. The host, base, user or binddn,
22258 and secret tokens can be specified in a netrc file, for instance.
22259 This is optional because an `auth-source' parameter must be
22260 specified in the search attributes.
22262 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
22264 * help.el (describe-mode): Link to the mode's definition (bug#8185).
22266 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22268 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22269 into declaration. Remove redundant and harmful binding.
22271 2011-03-12 Eli Zaretskii <eliz@gnu.org>
22273 * files.el (file-ownership-preserved-p): Pass `integer' as an
22274 explicit 2nd argument to `file-attributes'. If the file's owner
22275 is the Administrators group on Windows, and the current user is
22276 Administrator, consider that a match.
22278 * server.el (server-ensure-safe-dir): Consider server directory
22279 safe on MS-Windows if its owner is the Administrators group while
22280 the current Emacs user is Administrator. Use `=' to compare
22281 numerical UIDs, since they could be integers or floats.
22283 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
22285 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22287 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
22289 Sync with Tramp 2.2.1.
22291 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22293 * net/trampver.el: Update release number.
22295 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22297 * progmodes/compile.el (compilation--previous-directory): Fix up
22298 various nil/dead-marker mismatches (bug#8014).
22299 (compilation-directory-properties, compilation-error-properties):
22300 Don't call it at a position past the one we're about to change.
22302 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22303 Disable obsolescence warnings in the file that declares it.
22305 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
22307 * allout-widgets.el (allout-widgets-tally):
22308 Initialize allout-widgets-tally as a hash table rather than nil to
22309 prevent mode-line redisplay warnings. Also, clarify the module
22310 description and fix a comment typo.
22312 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
22314 * help-fns.el (describe-variable): Don't complete keywords.
22315 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22317 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
22319 * emacs-lisp/package.el (package-version-join): Impose a standard
22320 string representation for pre/alpha/beta version lists.
22321 (package-unpack-single): Standardize the directory name by passing
22322 it through package-version-join.
22323 (package-strip-rcs-id): Accept any version string that does not
22324 signal an error in version-to-list.
22326 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
22328 * simple.el (delete-trailing-whitespace): Return nil for the
22329 benefit of `write-file-functions'.
22331 2011-03-10 Glenn Morris <rgm@gnu.org>
22333 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22335 * vc/vc-git.el (vc-git-program): New option.
22336 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22337 (vc-git--call): Use it.
22339 * eshell/esh-util.el (eshell-condition-case): Doc fix.
22341 * cus-edit.el (Custom-newline): If no button at point, look
22342 for a subgroup button at start-of-line. (Bug#2298)
22344 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22346 2011-03-10 Julien Danjou <julien@danjou.info>
22348 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22349 `cursor-type' is nil.
22351 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
22353 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22355 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
22357 * allout.el: Change so yank of distinctive-bullet items
22358 preserves the existing header prefix, rebulleting it if necessary,
22359 rather than replacing it. This is necessary for proper operation
22360 of cooperative addons like allout-widgets.
22361 (allout-make-topic-prefix, allout-rebullet-heading):
22362 Change SOLICIT arg to INSTEAD, and interpret additionally a string
22363 value as alternate bullet to be used, instead of prompting the user
22364 for a bullet character.
22366 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
22368 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22369 Do not use `tramp-file-name-port', because this returns also
22370 `tramp-default-port'.
22372 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
22374 * net/rcirc.el (rcirc-handler-001): Remove useless
22375 with-rcirc-process-buffer.
22376 (rcirc-check-auth-status): Swap arguments to string-match.
22378 2011-03-09 Glenn Morris <rgm@gnu.org>
22380 * shell.el (shell-mode):
22381 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
22383 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22384 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
22386 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22388 * emacs-lisp/package.el (package-refresh-contents)
22389 (package-menu-execute): Use condition-case-no-debug.
22391 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
22393 * simple.el (shell-command-to-string): Use `process-file'.
22395 * emacs-lisp/package.el (package-tar-file-info): Handle also
22398 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22399 Use `equal' for upload base check.
22401 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
22403 * textmodes/texinfo.el (texinfo-environments):
22404 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
22406 2011-03-08 Glenn Morris <rgm@gnu.org>
22408 * cus-start.el (cursor-in-non-selected-windows):
22409 Fix :set quoting oddness. (Bug#8192)
22411 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22412 in some setf expressions. (Bug#2159)
22414 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22416 * custom.el (custom-available-themes): Return themes in
22417 alphabetical order.
22419 See ChangeLog.15 for earlier changes.
22421 ;; Local Variables:
22425 Copyright (C) 2011-2012 Free Software Foundation, Inc.
22427 This file is part of GNU Emacs.
22429 GNU Emacs is free software: you can redistribute it and/or modify
22430 it under the terms of the GNU General Public License as published by
22431 the Free Software Foundation, either version 3 of the License, or
22432 (at your option) any later version.
22434 GNU Emacs is distributed in the hope that it will be useful,
22435 but WITHOUT ANY WARRANTY; without even the implied warranty of
22436 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22437 GNU General Public License for more details.
22439 You should have received a copy of the GNU General Public License
22440 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.