1 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
6 (describe-function-1): Use them. Move compiler macro after sig.
7 (help-fns--compiler-macro): Use function-get. Assume we're already in
8 standard-output. Adjust layout to new call order.
10 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
11 re-binding a symbol that has a symbol-macro (bug#12119).
13 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
15 * language/persian.el: New file. (Bug#11812)
16 * loadup.el: Add language/persian.el.
18 2012-08-06 Chong Yidong <cyd@gnu.org>
20 * window.el (window--maybe-raise-frame): New function.
21 (window--display-buffer): Split off from here.
22 (display-buffer-reuse-window, display-buffer-pop-up-frame)
23 (display-buffer-pop-up-window, display-buffer-use-some-window):
24 Obey an inhibit-switch-frame action alist entry.
25 (display-buffer): Update doc.
27 * replace.el (occur-after-change-function): Avoid losing focus by
28 using the inhibit-switch-frame display parameter (Bug#12139).
30 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
32 Make internal shell process buffer names start with space.
33 * progmodes/python.el (python-shell-make-comint): Add optional
35 (run-python-internal): Use it.
36 (python-shell-internal-get-or-create-process): Check for new
37 internal buffer names.
39 2012-08-06 Glenn Morris <rgm@gnu.org>
41 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
42 Do less getting and setting of environment variables.
44 2012-08-05 Chong Yidong <cyd@gnu.org>
46 * proced.el (proced): Add substitution string to docstring to
47 trigger autoloading of the proced library on C-h f (Bug#1768).
49 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
50 show defvars which have no second argument (Bug#8638).
52 * imenu.el (imenu-generic-expression): Move documentation here
53 from imenu--generic-function.
54 (imenu--generic-function): Refer to imenu-generic-expression.
56 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
58 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
59 indentation declaration.
60 (viper-loop): Add indentation declaration (Bug#7025).
62 2012-08-05 Chong Yidong <cyd@gnu.org>
64 * help-fns.el (describe-variable): Add hyperlink for
65 directory-local variables files. Improve buffer-local and
66 permanent-local reporting; suggested by MON KEY (Bug#6644).
68 * help-mode.el (help-dir-local-var-def): New button type.
70 * files.el (kill-buffer-hook): Provide a defvar.
72 2012-08-05 Glenn Morris <rgm@gnu.org>
74 * eshell/esh-ext.el (eshell/addpath):
75 Also update eshell-path-env. (Bug#12013)
77 2012-08-05 Chong Yidong <cyd@gnu.org>
79 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
81 * fringe.el (fringe-styles): Add docstring.
82 (fringe--check-mode): New function.
83 (set-fringe-mode, set-fringe-style): Use it.
84 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
86 * files.el (set-auto-mode): Fix invalid setq call.
88 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
90 * isearch.el: Misc simplification; use defstruct.
91 (isearch-mode-map): Dense maps now work like sparse ones.
92 (isearch--state): New defstruct.
93 (isearch-string-state, isearch-message-state, isearch-point-state)
94 (isearch-success-state, isearch-forward-state)
95 (isearch-other-end-state, isearch-word-state, isearch-error-state)
96 (isearch-wrapped-state, isearch-barrier-state)
97 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
98 replaced by defstruct's accessors.
99 (isearch--set-state): Rename from isearch-top-state and change
101 (isearch-push-state): Use new isearch--get-state.
102 (isearch-toggle-word): Disable regexp when enabling word.
103 (isearch-message-prefix): Remove unused arg _c-q-hack.
104 (isearch-message-suffix): Remove unused arg _ellipsis.
106 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
108 * simple.el (list-processes--refresh): For a server use :host or
109 :local as the address.
110 (list-processes): Doc fix.
112 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
114 * lisp/mpc.el: Support password in host argument.
115 (mpc--proc-connect): Parse and use new password element.
116 Set mpc-proc variable instead of returning process.
117 (mpc-proc): Adjust accordingly.
119 2012-08-03 Eli Zaretskii <eliz@gnu.org>
121 * whitespace.el (whitespace-display-mappings): Use Unicode
122 codepoints, instead of emacs-mule codepoints. See
123 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
126 * files.el (file-truename): Don't skip symlink-chasing part on
127 windows-nt. Incorporate the resolution of 8+3 short aliases on
128 Windows into the loop that recursively chases symlinks. Compare
129 directory and its parent case-insensitively on MS-Windows and
132 2012-08-03 Chong Yidong <cyd@gnu.org>
134 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
136 * sort.el (sort-regexp-fields): Doc fix.
138 2012-08-03 Tassilo Horn <tsdh@gnu.org>
140 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
141 labels regex position point at the expected place.
143 2012-08-03 MON KEY <monkey@sandpframing.com>
145 * net/imap.el (imap-interactive-login, imap-authenticate)
146 (imap-mailbox-lsub, imap-mailbox-list)
147 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
148 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
149 (imap-parse-response): Doc fix.
151 2012-08-03 João Távora <joaotavora@gmail.com>
153 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
154 if sexp scanning does not move point (Bug#5734).
156 2012-08-02 Tassilo Horn <tsdh@gnu.org>
158 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
159 Add listings, minted, and ctable packages.
160 (reftex-label-alist-builtin): Move listings, minted, and ctable
161 entries before LaTeX.
162 (reftex-label-alist): Docfix.
164 2012-08-02 Bastien Guerry <bzg@gnu.org>
166 * replace.el (occur): Fix docstring (bug#12122).
168 2012-08-02 Glenn Morris <rgm@gnu.org>
170 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
172 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
174 Obsolete alias inactivate-current-input-method-function (Bug#10150).
175 * international/mule-cmds.el: Create
176 inactivate-current-input-method-function as an obsolete alias for
177 deactivate-current-input-method-function. See Katsumi Yamaoka in
178 <http://bugs.gnu.org/10150#46>.
180 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
182 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
185 2012-08-01 Glenn Morris <rgm@gnu.org>
187 * progmodes/autoconf.el (autoconf-definition-regexp):
188 Add AH_TEMPLATE, adjust submatch numbering.
189 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
190 (autoconf-current-defun-function): Update for above change.
191 (autoconf-current-defun-function): First skip to end of current word.
193 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
195 * calendar/cal-html.el (cal-html-insert-agenda-days):
196 Fix typo. (Bug#12018)
198 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
200 Shell processes: enhancements to startup and CEDET compatibility.
201 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
202 (python-shell-make-comint): accept-process-output at startup.
203 (run-python-internal): Set inferior-python-mode-hook to nil.
204 (python-shell-internal-get-or-create-process): call sit-for.
205 (python-preoutput-result): Add obsolete alias.
206 (python-shell-internal-send-string): Use it.
207 (python-shell-send-setup-code): Remove call to
208 accept-process-output.
210 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
212 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
215 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
217 * calc-mode.el (calc-basic-simplification-mode): Rename from
218 `calc-limited-simplification-mode'.
219 (calc-alg-simplification-mode): New function.
220 (calc-set-simplify-mode): Adjust message.
222 * calc.el (calc-set-mode-line): Adjust mode line display for
223 basic simplification mode.
225 * calc-help.el (calc-m-prefix-help): Update help message.
227 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
228 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
230 2012-07-31 Bastien Guerry <bzg@gnu.org>
232 * man.el (man): Fix comment. (bug#12101)
234 2012-07-31 Martin Rudalics <rudalics@gmx.at>
236 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
237 Don't return a non-nil value when no suitable buffer was found.
239 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
241 * progmodes/python.el (run-python-internal): Disable font lock for
244 2012-07-30 Stefan Merten <smerten@oekonux.de>
246 * rst.el: Silence `checkdoc-ispell'.
247 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
248 (rst-official-version, rst-official-cvs-rev)
249 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
250 (rst-mode-map): New key binding.
252 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
254 Update .PHONY listings in makefiles.
255 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
256 autoloads, update-subdirs, updates, bzr-update, update-authors,
257 compile-onefile, compile-calc, backup-compiled-files,
258 compile-after-backup, compile-one-process, mh-autoloads,
259 bootstrap-clean, distclean, maintainer-clean.
261 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
263 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
264 (calc-set-mode-line): Don't display "AlgSimp ".
266 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
267 (calc-lim-simplify-mode): New function.
268 (calc-set-simplify-mode): Default to 'alg.
269 (calc-default-simplify-mode): Make algebraic simplifications
272 * calc/calc-ext.el (calc-init-extensions): Remove binding for
273 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
275 * calc/calc-help.el (calc-m-prefix-help): Change messages to
276 indicate new simplification modes.
278 * calc/README: Mention new default simplification mode.
280 * calc/calc.el (math-normalize-error): New variable.
281 (math-normalize): Set `math-normalize-error' to t
282 when there's an error.
284 * calc/calc-alg.el (math-simplify): Don't simplify when
285 `math-normalize' returns an error.
287 2012-07-29 Eli Zaretskii <eliz@gnu.org>
289 * international/mule-cmds.el (set-locale-environment): Revert last
290 change, since display-graphic-p returns nil when this function is
291 called during startup. Instead...
293 * term/w32console.el (terminal-init-w32console): ...setup the
294 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
296 2012-07-29 Juri Linkov <juri@jurta.org>
298 * simple.el (goto-line): Don't display default line number in the
299 prompt because it should be displayed by `read-number' (bug#9952).
300 Add the current line number to the defaults of `goto-line' to
301 allow its easier modification by users with `M-n' (bug#9201).
303 * subr.el (read-number): Support multiple default values like in
304 other minibuffer reading functions. Replace `read' with
305 `string-to-number' for consistency with `number-to-string'.
307 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
309 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
310 * emulation/viper-init.el (viper-deactivate-input-method-action):
311 Rename from viper-inactivate-input-method-action.
312 (viper-deactivate-input-method):
313 Rename from viper-inactivate-input-method.
314 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
315 * international/mule-cmds.el (deactivate-input-method):
316 Rename from inactivate-input-method.
317 Also run input-method-deactivate-hook.
318 (deactivate-current-input-method-function):
319 Rename from inactivate-current-input-method-function.
320 (input-method-deactivate-hook): New hook.
321 (input-method-inactivate-hook): Mark obsolete.
322 (inactivate-input-method): Mark obsolete.
324 * international/quail.el (quail-activate):
325 Also run quail-deactivate-hook.
326 (quail-deactivate): Rename from quail-inactivate.
327 * international/robin.el (robin-activate):
328 Also run robin-deactivate-hook.
329 (robin-deactivate): Rename from robin-inactivate.
331 2012-07-29 Chong Yidong <cyd@gnu.org>
333 * simple.el (indicate-copied-region): New function.
334 (kill-ring-save): Split off from here.
336 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
337 (kill-rectangle): Set deactivate-mark to t on read-only error.
339 * register.el (copy-to-register, copy-rectangle-to-register):
340 Deactivate the mark, and use indicate-copied-region (Bug#10056).
341 (append-to-register, prepend-to-register): Call
343 2012-07-29 Juri Linkov <juri@jurta.org>
345 * simple.el (async-shell-command-buffer): New defcustom.
346 (shell-command): Use it. (Bug#4719)
348 2012-07-28 Eli Zaretskii <eliz@gnu.org>
350 * international/mule-cmds.el (set-locale-environment): In a
351 console session on MS-Windows, set up keyboard and terminal
352 encoding from the OEM codepage, not the ANSI codepage.
355 2012-07-28 Chong Yidong <cyd@gnu.org>
357 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
360 2012-07-25 Leo Liu <sdl.web@gmail.com>
362 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
363 the alist (bug#12029).
365 2012-07-28 Eli Zaretskii <eliz@gnu.org>
367 * makefile.w32-in (custom-deps, finder-data, updates, compile)
368 (compile-always, compile-first)
369 ($(lisp)/calendar/cal-loaddefs.el)
370 ($(lisp)/calendar/diary-loaddefs.el)
371 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
372 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
373 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
374 instead of on update-subdirs.
375 (bootstrap-clean): Delete $(lisp)/subdirs.el.
377 2012-07-28 Chong Yidong <cyd@gnu.org>
379 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
380 directory if vc-deduce-backend returns nil (Bug#7350).
382 * simple.el (delete-trailing-lines): New option.
383 (delete-trailing-whitespace): Obey it (Bug#11879).
385 2012-07-28 David Engster <deng@randomsample.de>
387 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
388 Explanation of new 'symbol-qnames feature in doc-strings.
389 (xml-maybe-do-ns): Return expanded names as plain symbols if
390 'symbol-qnames was provided in XML-NS argument (Bug#11916).
391 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
393 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
395 Consistent completion in inferior python with emacs -nw.
396 * progmodes/python.el (inferior-python-mode): replace "<tab>"
397 binding in inferior-python-mode-map with "\t".
398 (python-shell-completion-complete-at-point)
399 (python-completion-complete-at-point): Remove interactive spec.
401 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
403 * calc/calccomp.el (math-compose-expr): Undo previous change.
405 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
407 * progmodes/python.el (python-mode-map): Added keybinding for
409 (python-shell-make-comint): Fix pop-to-buffer call.
410 (run-python): Autoload. New arg SHOW.
411 (python-shell-get-or-create-process): Do not pop python process
414 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
416 * notifications.el (notifications-on-action-signal)
417 (notifications-on-closed-signal): Use also the bus address for the map.
418 (notifications-notify, notifications-close-notification)
419 (notifications-get-capabilities): Add optional argument BUS.
421 2012-07-27 Tassilo Horn <tsdh@gnu.org>
423 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
424 support for the lstlisting and minted environments, and for the
426 * textmodes/reftex.el (reftex-compile-variables): Also recognize
427 labels written in keyvals syntax.
429 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
431 * calc/calccomp.el (math-compose-expr): Use parentheses when
432 there is a product in the denominator of a fraction.
434 2012-07-26 Eli Zaretskii <eliz@gnu.org>
436 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
437 ($(lisp)/calendar/diary-loaddefs.el)
438 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
439 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
440 failures in parallel bootstrap because subdirs.el is being
441 rewritten while the autoload files are built at the same time,
442 which needs to load subdirs.el.
444 2012-07-26 Martin Rudalics <rudalics@gmx.at>
446 * mouse.el (popup-menu): Fix doc-string and re-indent code.
447 (mouse-drag-line): Don't exit tracking when a switch-frame or
448 switch-window event occurs (Bug#12006).
450 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
452 * mouse.el (popup-menu): Fix last change.
454 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
456 Autoload from Lisp with more care. Follow aliases when looking for
458 * subr.el (autoloadp): New function.
459 (symbol-file): Use it.
460 (function-get): New function.
461 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
463 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
464 (lisp-indent-function):
465 * emacs-lisp/gv.el (gv-get):
466 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
467 * emacs-lisp/byte-opt.el (byte-optimize-form):
468 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
469 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
471 * emacs-lisp/cl.el: Don't propagate function properties any more.
473 * speedbar.el (speedbar-add-localized-speedbar-support):
474 * emacs-lisp/disass.el (disassemble-internal):
475 * desktop.el (desktop-load-file):
476 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
477 (describe-function-1):
478 * emacs-lisp/find-func.el (find-function-noselect):
479 * emacs-lisp/elp.el (elp-instrument-function):
480 * emacs-lisp/advice.el (ad-has-proper-definition):
481 * apropos.el (apropos-safe-documentation, apropos-macrop):
482 * emacs-lisp/debug.el (debug-on-entry):
483 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
484 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
485 * calc/calc.el (name): Use autoloadp & autoload-do-load.
487 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
489 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
490 function, not an obsolete variable (Bug#12046).
492 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
494 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
496 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
498 * emacs-lisp/pp.el (pp-display-expression): Select old selected
499 window only if it is still live (Bug#12034).
501 2012-07-25 Martin Rudalics <rudalics@gmx.at>
503 * subr.el (redirect-frame-focus): Add advertised calling
504 convention (Bug#12030).
506 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
508 Prefer typical American spelling for "acknowledgment".
509 * vc/add-log.el (change-log-acknowledgment): Rename from
510 change-log-acknowledgement, with an alias for the old name.
512 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
514 * calc-alg.el (math-simplify-divide): Don't cross multiply
515 in an equation when the lhs is a variable.
517 2012-07-24 Julien Danjou <julien@danjou.info>
519 * net/netrc.el (netrc-find-service-number, netrc-store-data):
522 2012-07-23 Eli Zaretskii <eliz@gnu.org>
524 * startup.el (command-line): Don't display an empty user name in
525 the error message about non-existent home directory, when
526 init-file-user was set to an empty string. See
527 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
528 for the details and context.
530 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
532 * ses.el (ses-cell-formula-aset): New macro.
533 (ses-cell-references-aset): New macro.
534 (ses-cell-p): New function.
535 (ses-rename-cell): Do no longer rely on complex operations like
536 ses-cell-set-formula or ses-set-cell to change the cell and handle
537 the undo at the same time, but rather use lower level new macros
538 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
539 the undo directly. Refresh the mode line.
541 2012-07-21 Leo Liu <sdl.web@gmail.com>
543 * progmodes/cc-cmds.el (c-defun-name):
544 Use match-string-no-properties instead for consistency.
546 2012-07-20 Leo Liu <sdl.web@gmail.com>
548 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
551 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
553 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
555 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
556 * progmodes/bug-reference.el, misearch.el: Provide themselves
559 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
560 of narrowed buffer (bug#11966).
562 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
564 * ses.el (ses-rename-cell): Set new name also in reference list of
565 cells of which the renamed cell depends.
567 2012-07-20 Masatake YAMATO <yamato@redhat.com>
569 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
570 to check whether menu-bar is shown or not. If not shown,
571 show the menu-bar as a popup menu instead of using tmm.
572 * mouse.el (popup-menu): Accept `point' as `position' argument.
574 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
576 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
577 up inside string symbol literal (bug#11923).
579 2012-07-20 Eli Zaretskii <eliz@gnu.org>
581 * startup.el (fancy-startup-text): Read the whole tutorial, not
582 just its first 256 bytes. Prevents gibberish in display of the
585 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
587 Drop idle buffer compaction due to an absence of the
589 * compact.el: Remove.
591 2012-07-19 Sam Steingold <sds@gnu.org>
593 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
594 vc-bzr-pull & vc-bzr-merge-branch.
595 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
596 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
597 for consistency with compilation-error-regexp-alist.
598 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
599 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
600 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
601 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
603 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
605 * emacs-lisp/chart.el: Use lexical-binding.
606 (chart-emacs-storage): Don't hardcode the list of entries.
608 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
610 Next round of tweaks caused by Fgarbage_collect changes.
611 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
613 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
615 Compact buffers when idle.
616 * compact.el: New file.
618 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
620 * subr.el (eventp): Presume that if it looks vaguely like an event,
621 it's an event (bug#10190).
623 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
625 Enhancements to ppss related code (thanks Stefan).
626 * progmodes/python.el (python-indent-context)
627 (python-indent-calculate-indentation, python-indent-dedent-line)
628 (python-indent-electric-colon, python-nav-forward-block)
629 (python-mode-abbrev-table)
630 (python-info-assignment-continuation-line-p): Simplify checks
632 (python-info-continuation-line-p): Cleanup.
633 (python-info-ppss-context): Do not catch 'quote.
634 (python-info-ppss-context-type)
635 (python-info-ppss-comment-or-string-p): Simplify.
637 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
639 * progmodes/python.el: Enhancements to eldoc support.
640 (python-info-current-symbol): New function.
641 (python-eldoc-at-point): Use python-info-current-symbol.
642 (python-info-current-defun): Fix cornercase on first defun scan.
643 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
644 and signal error when no inferior python process is available.
646 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
648 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
649 assume it's always t.
650 (vc-git-registered): Remove caching, the function is only called
652 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
654 2012-07-18 Chong Yidong <cyd@gnu.org>
656 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
658 * simple.el (count-words): Report on narrowing (Bug#9959).
660 * bindings.el: Bind M-= to count-words.
662 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
664 2012-07-18 Masatake YAMATO <yamato@redhat.com>
666 * progmodes/sh-script.el (sh-imenu-generic-expression):
667 Capture a function with `function' keyword and without parentheses
668 like "function FOO" (bug#11856).
670 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
672 * window.el (split-window-sensibly): Make WINDOW argument
675 2012-07-18 Chong Yidong <cyd@gnu.org>
677 * subr.el (keyboard-translate): Doc fix (Bug#7261).
679 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
680 and make C-x 8 RET exit isearch (Bug#11439).
682 * international/iso-transl.el: Move isearch-mode-map key
683 definitions to isearch.el.
685 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
687 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
688 (eieio-defclass): Use gv-define-setter when possible.
690 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
692 Reflect recent changes in Fgarbage_collect.
693 * emacs-lisp/chart.el (chart-emacs-storage): Change to
694 reflect new format of data returned by Fgarbage_collect.
696 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
698 New utility functions + python-info-ppss-context fix (Bug#11910).
699 * progmodes/python.el (python-info-beginning-of-block-statement-p)
700 (python-info-ppss-comment-or-string-p): New functions.
701 (python-info-ppss-context): Small fix for string check.
703 2012-07-17 Juri Linkov <juri@jurta.org>
705 * dired-aux.el (dired-do-async-shell-command): Doc fix.
706 (dired-do-async-shell-command): Don't add `*' at the end of the
708 (dired-do-shell-command): Doc fix.
709 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
710 Join the individual commands using either "&" or ";" as the
711 separator depending on the values of these trailing characters.
712 At the end re-add the trailing "&". (Bug#10598)
714 * simple.el (async-shell-command): Sync the interactive spec with
715 `shell-command'. Doc fix.
716 (shell-command): Doc fix.
718 2012-07-17 Juri Linkov <juri@jurta.org>
720 * descr-text.el (describe-char): Fix format args. (Bug#10129)
722 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
724 Final renames and doc fixes for movement commands (bug#11899).
725 * progmodes/python.el (python-nav-beginning-of-statement):
726 Rename from python-nav-statement-start.
727 (python-nav-end-of-statement): Rename from
728 python-nav-statement-end.
729 (python-nav-beginning-of-block): Rename from
730 python-nav-block-start.
731 (python-nav-end-of-block): Rename from python-nav-block-end.
733 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
735 * progmodes/python.el (python-shell-send-string-no-output):
736 Allow accept-process-output to quit, keeping shell process ready for
737 future interactions (Bug#11868).
739 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
741 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
743 * emacs-lisp/elint.el (elint-find-args-in-code):
744 Use help-function-arglist, so as to handle lexical byte-code.
746 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
749 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
751 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
752 Avoid spuriously marking the buffer as modified because of c-is-sws.
754 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
755 as not-a-comment (bug#11946).
757 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
760 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
761 Use read-event since we don't really want to read chars but bytes.
763 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
764 $$..$$ but also $..$ using regexps (bug#11953).
765 Use tex-verbatim for \url and \path.
766 (tex-font-lock-keywords): Define as defconst like the others.
767 (tex-common-initialization): Don't use font-lock-syntax-table any more.
769 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
771 * international/mule-cmds.el (ucs-insert): Make it an obsolete
772 alias for insert-char.
774 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
776 * progmodes/python.el: Simplified imenu implementation.
777 (python-nav-jump-to-defun): Remove command.
778 (python-mode-map): Use `imenu' instead.
779 (python-nav-list-defun-positions-cache)
780 (python-imenu-include-defun-type, python-imenu-make-tree)
781 (python-imenu-subtree-root-label, python-imenu-index-alist):
783 (python-nav-list-defun-positions, python-nav-read-defun)
784 (python-imenu-tree-assoc, python-imenu-make-element-tree)
785 (python-imenu-make-tree, python-imenu-create-index):
787 (python-mode): Update to interact with imenu by setting
788 `imenu-extract-index-name-function' only.
790 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
792 * progmodes/python.el: Enhancements to navigation commands.
793 (python-nav-backward-sentence)
794 (python-nav-forward-sentence): Remove.
795 (python-nav-backward-statement, python-nav-forward-statement)
796 (python-nav-statement-start, python-nav-statement-end)
797 (python-nav-backward-block, python-nav-forward-block)
798 (python-nav-block-start, python-nav-block-end)
799 (python-nav-forward-sexp-function)
800 (python-info-current-line-comment-p)
801 (python-info-current-line-empty-p): New functions.
802 (python-indent-context): Use `python-nav-statement-start'.
804 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
806 * eshell/em-ls.el (eshell/ls): Use `apply'.
808 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
809 multi-hops, instead of Tramp internals.
811 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
813 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
814 when F1 and F2 are located on different hosts.
816 2012-07-14 Chong Yidong <cyd@gnu.org>
818 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
819 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
820 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
821 (xterm-mouse--read-event-sequence-1000)
822 (xterm-mouse--read-event-sequence-1006): New functions. For old
823 mouse protocol, handle M-mouse-X events correctly.
824 (xterm-mouse-event): New arg specifying mouse protocol.
825 (turn-on-xterm-mouse-tracking-on-terminal)
826 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
827 sequence to toggle extended coordinates on newer XTerms.
828 This appears to be harmless on terminals which do not support this.
830 2012-07-14 Leo Liu <sdl.web@gmail.com>
832 Add fringe bitmap indicators for flymake. (Bug#11253)
833 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
834 (flymake-make-overlay): New arg BITMAP.
835 (flymake-error-bitmap, flymake-warning-bitmap)
836 (flymake-fringe-indicator-position): New user variables.
838 * fringe.el: New bitmap exclamation-mark.
840 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
842 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
845 2012-07-14 Chong Yidong <cyd@gnu.org>
847 * electric.el (electric-pair-post-self-insert-function): Fix pair
848 insertion in empty-region case (Bug#11520).
850 2012-07-14 Chong Yidong <cyd@gnu.org>
852 * bindings.el: Consolidate ctl-x-r-map bindings.
853 Bind copy-rectangle-as-kill to C-x r w.
855 * rect.el, register.el: Move bindings to bindings.el.
857 2012-07-14 Reuben Thomas <rrt@sc3d.org>
859 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
861 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
863 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
865 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
867 * bindings.el (top): Use `mapc' instead of `mapcar'.
869 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
871 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
873 * progmodes/sql.el (sql-comint): Suppress the check for program on
874 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
877 2012-07-13 Chong Yidong <cyd@gnu.org>
879 * bindings.el: Assign a non-nil permanent-local property to
880 per-buffer variables which lack a default value (Bug#11930).
882 * help-fns.el (describe-variable): In the "automatically becomes
883 local" notice, take note of permanent-local variables.
885 2012-07-13 Chong Yidong <cyd@gnu.org>
887 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
888 to allow printing the message when called from Lisp.
890 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
891 Remove toggle-read-only.
893 * bs.el (bs-toggle-readonly):
894 * buff-menu.el (Buffer-menu-toggle-read-only):
895 Remove with-no-warnings around toggle-read-only.
897 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
898 Remove with-no-warnings around toggle-read-only.
899 (ffap-read-only, ffap-read-only-other-window)
900 (ffap-read-only-other-frame): Callers changed.
902 * help-mode.el: Don't require view package.
903 (help-mode-finish): Set buffer-read-only instead of calling
906 * bindings.el (mode-line-toggle-read-only):
907 * dired.el (dired-toggle-read-only):
908 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
909 with non-nil second arg.
911 * emacs-lisp/eieio-custom.el (eieio-customize-object):
912 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
915 2012-07-12 Eli Zaretskii <eliz@gnu.org>
917 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
920 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
922 More CL cleanups and reduction of use of cl.el.
923 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
924 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
925 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
926 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
927 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
928 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
929 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
930 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
931 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
932 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
933 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
934 * eshell/em-cmpl.el, eshell/em-banner.el:
935 * calendar/parse-time.el: Use cl-lib.
936 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
937 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
938 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
939 * term/ns-win.el, term.el, shell.el, ps-samp.el:
940 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
941 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
942 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
943 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
944 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
945 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
946 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
947 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
948 `lambda' rather than with `quote'.
949 (eshell-do-opt): Adjust accordingly.
950 (eshell-process-option): Simplify.
952 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
953 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
954 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
955 to `pcase--dontcare'.
956 * emacs-lisp/cl.el (labels): Mark obsolete.
957 (cl--letf, letf): Move to cl-lib.
958 (cl--letf*, letf*): Remove.
959 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
960 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
962 (cl--letf, cl-letf): Move from cl.el.
963 (cl-letf*): New macro.
964 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
966 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
968 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
970 2012-07-11 Chong Yidong <cyd@gnu.org>
972 * vc/log-edit.el (log-edit-vc-backend): New variable.
975 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
976 argument of log-edit to set up all local variables.
977 (vc-start-logentry): New optional arg specifying VC backend.
979 * vc/vc.el (vc-checkin): Use it.
980 (vc-deduce-fileset): Handle Log Edit buffers.
981 (vc-diff): Make first argument optional too.
983 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
985 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
987 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
988 command, just in case. The function is not needed anymore.
989 (eshell-external-command): Do not call `eshell-remote-command'.
991 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
993 Reduce use of (require 'cl).
994 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
995 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
996 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
997 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
998 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
999 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1000 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1001 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1002 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1003 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1004 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1005 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1006 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1007 (byte-compile-unfold-bcf, byte-compile-check-variable):
1008 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1009 (byte-compile-nilconstp):
1010 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1011 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1013 * emacs-lisp/gv.el (cond): Make it a valid place.
1014 (if): Simplify slightly.
1016 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1017 (pcase--self-quoting-p): New function.
1018 (pcase--u1): Use it.
1020 2012-07-10 Glenn Morris <rgm@gnu.org>
1022 * emacs-lisp/authors.el (authors-fixed-entries):
1023 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1025 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1027 Rename configure.in to configure.ac (Bug#11603).
1028 * emacs-lisp/authors.el (authors-canonical-file-name):
1029 * progmodes/autoconf.el (autoconf-mode):
1030 Prefer configure.ac to configure.in.
1032 2012-07-08 Chong Yidong <cyd@gnu.org>
1034 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1035 Implement the mouse-1-click-follows-link handling properly.
1037 * info.el (Info-link-keymap): Use follow-link mechanism for
1038 header-line links (Bug#374).
1040 * simple.el (deactivate-mark): Do not set the primary selection
1041 if another program has acquired it (Bug#11772).
1043 2012-07-07 Kevin Ryde <user42@zip.com.au>
1045 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1046 (woman-decode-region): Replace escaped-escapes without destroying
1047 bold or underline (Bug#11552).
1048 (woman2-process-escapes): Handle nofill regions (Bug#11591).
1050 2012-07-07 Chong Yidong <cyd@gnu.org>
1052 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
1053 (interprogram-cut-function, interprogram-paste-function):
1054 Mention that we typically mean the clipboard.
1056 2012-07-06 Glenn Morris <rgm@gnu.org>
1058 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1060 * files.el (toggle-read-only): Restrict message to interactive use.
1062 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
1064 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1066 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1068 2012-07-06 Glenn Morris <rgm@gnu.org>
1070 * Makefile.in (compile-one-process): Rename from "recompile".
1072 * Makefile.in (bzr-update): "compile" is the same as "recompile
1073 autoloads", but parallelizable, so use that instead.
1075 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1077 * window.el (quit-window): Always restore window height when
1078 it's saved in quit-restore parameter (Bug#11810).
1080 2012-07-06 Glenn Morris <rgm@gnu.org>
1082 * simple.el (kill-whole-line): Doc tweak.
1084 2012-07-06 Eli Zaretskii <eliz@gnu.org>
1086 * files.el (file-relative-name): Compare file names
1087 case-insensitively if on MS-Windows or MS-DOS, or if
1088 read-file-name-completion-ignore-case is non-nil. Don't use
1089 case-fold-search for this purpose. (Bug#11827)
1091 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1093 * calendar/cal-dst.el (calendar-current-time-zone):
1094 Return calendar-current-time-zone-cache if non-nil.
1096 2012-07-17 Masatake YAMATO <yamato@redhat.com>
1097 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1099 * calendar/cal-dst.el (calendar-current-time-zone):
1100 Return calendar-current-time-zone-cache if non-nil.
1102 2012-07-06 Glenn Morris <rgm@gnu.org>
1104 * Makefile.in (cvs-update): Remove old alias.
1106 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
1108 Sync with Tramp 2.2.6-pre.
1110 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1111 compatible declaration.
1113 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1114 Protect `list-load-path-shadows' call.
1116 * net/tramp-compat.el (top): Require packages, which aren't
1117 autoloaded anymore for XEmacs. Protect call of
1118 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1119 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1120 it hurts at least for SXEmacs.
1121 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1122 standard-value for `temporary-file-directory'.
1124 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1125 Redirect stderr to /dev/null.
1126 (tramp-sh-handle-write-region): uid and gid can be floats.
1127 Reported by Russell Sim <russell.sim@gmail.com>.
1128 (tramp-sh-handle-vc-registered): Hide errors.
1129 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1130 and `start-file-process'.
1131 (tramp-maybe-open-connection): Check also whether `non-essential'
1134 2012-07-04 Chong Yidong <cyd@gnu.org>
1136 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1137 (xml-parse-tag): Likewise, and avoid changing entity tables.
1138 (xml-syntax-table): Define from scratch, making sure not to give
1139 x2000 and other Unicode spaces whitespace syntax, since those are
1141 (xml-parse-fragment): Delete unused function.
1142 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1143 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1144 (xml-entity-ref, xml-pe-reference-re)
1145 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1146 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1147 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1148 (xml-entity-value-re): Use syntax references in regexps where
1149 possible; no need to define inside a let-binding.
1150 (xml-parse-dtd): Use xml-pe-reference-re.
1151 (xml-entity-or-char-ref-re): New defconst.
1152 (xml-parse-string, xml-substitute-special): Use it.
1154 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1156 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1157 (find-file--read-only): New function.
1158 (find-file-read-only, find-file-read-only-other-window)
1159 (find-file-read-only-other-frame): Use it.
1160 (insert-file-contents-literally): Don't `fset'.
1161 (get-free-disk-space): Use locate-dominating-file.
1163 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1164 function is already compiled.
1166 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1168 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
1170 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1171 files on the same host.
1173 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1175 * help-fns.el (describe-function-1): Only call
1176 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1178 2012-07-03 Chong Yidong <cyd@gnu.org>
1180 * xml.el: Protect parser against XML bombs.
1181 (xml-entity-expansion-limit): New variable.
1182 (xml-parse-string, xml-substitute-special): Use it.
1183 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1185 2012-07-03 Glenn Morris <rgm@gnu.org>
1187 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1188 Allow linking to specific messages in debbugs reports (eg 123#5).
1190 2012-07-02 Chong Yidong <cyd@gnu.org>
1192 * xml.el: Fix entity and character reference expansion, allowing
1193 them to expand into markup as per XML spec.
1194 (xml-default-ns): New variable.
1195 (xml-entity-alist): Use XML spec definitions for lt and amp.
1196 (xml-parse-region): Make first two arguments optional.
1197 Discard text properties.
1198 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1199 All callers changed.
1200 (xml-parse-tag): Call xml-parse-tag-1. For backward
1201 compatibility, this function should not modify buffer contents.
1202 (xml-parse-tag-1): Fix opening-tag regexp.
1203 (xml-parse-string): Rewrite, handling entity and character
1204 references properly.
1205 (xml--entity-replacement-text): Signal an error if a parameter
1206 entity is undefined.
1208 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1210 * comint.el (comint-output-filter): Filter out repeated prompts.
1212 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1213 and file-name-absolute-p.
1214 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1217 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1220 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1221 Rename from byte-compile--refiy-function. All uses changed.
1223 2012-07-01 Chong Yidong <cyd@gnu.org>
1225 * xml.el (xml--parse-buffer): New function. Move most of
1226 xml-parse-region here.
1227 (xml-parse-region): Copy region into a temporary buffer, since
1228 parameter entity substitution requires changing buffer contents.
1229 Use xml--parse-buffer.
1230 (xml-parse-file): Use xml--parse-buffer.
1231 (xml-parse-dtd): Make parameter entity substitution work right.
1232 Use proper regexps for ELEMENT declarations (Bug#7172).
1234 2012-06-30 Glenn Morris <rgm@gnu.org>
1236 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1238 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1239 Remove outdated and unnecessary dbus declarations.
1241 2012-06-30 Eli Zaretskii <eliz@gnu.org>
1243 * emacs-lisp/timer.el (timer-until): Subtract results of
1244 float-time, instead of taking float-time of the result of
1245 time-subtract, since float-time signals an error for negative time
1248 2012-06-30 Chong Yidong <cyd@gnu.org>
1250 * xml.el (xml-*-re): Convert defvars into defconsts, and
1251 eval-and-compile them so eval-and-compile works on derivatives.
1252 (xml--entity-replacement-text): Use eval-and-comple.
1254 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
1256 * vc/vc-git.el (vc-git-registered): Use cache property
1258 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1259 `vc-git-working-revision' in order to benefit from the cache.
1260 (vc-git-root): Use cache property `git-root'. (Bug#11757)
1262 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1264 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
1265 removed (likely outside Emacs). (Bug#11757)
1267 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1269 * emacs-lisp/cl-lib.el: Require macroexp.
1271 2012-06-30 Chong Yidong <cyd@gnu.org>
1273 * xml.el: Implement XML parameter entities.
1274 (xml-parameter-entity-alist): New variable.
1275 (xml-parse-region, xml-parse-fragment): Preserve previous values
1276 of xml-entity-alist and xml-parameter-entity-alist, so that
1277 repeated calls on different documents do not change them.
1278 (xml-parse-tag): Fix doctype regexp.
1279 (xml--entity-replacement-text): New function.
1280 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1281 properly requires url retrieval which is unimplemented.
1282 (xml-escape-string): Doc fix.
1284 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1286 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1288 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1290 * fringe.el (fringe-mode): Doc fix.
1292 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
1294 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1296 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1297 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1299 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
1301 * calendar/cal-dst.el (calendar-current-time-zone):
1302 Return calendar-current-time-zone-cache if non-nil.
1304 2012-06-29 Masatake YAMATO <yamato@redhat.com>
1306 * progmodes/which-func.el (which-func-format):
1307 Add mouse-face. (Bug#11698)
1309 2012-06-29 Leo Liu <sdl.web@gmail.com>
1311 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1313 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1315 * minibuffer.el (minibuffer-confirm-exit-commands):
1316 Add completion-at-point (bug#11725).
1318 2012-06-29 Glenn Morris <rgm@gnu.org>
1320 * progmodes/f90.el (f90-font-lock-keywords-2):
1321 Add some preprocessor elements. (Bug#10499)
1323 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1325 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1326 Use syntax-propertize (bug#11739).
1328 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
1330 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1332 2012-06-28 Julien Danjou <julien@danjou.info>
1334 * term.el (term-handle-colors-array): Use a set of new faces to
1335 color the terminal. Also uses :inverse-video property.
1336 (term-default-fg-color): Set to nil by default, deprecate in favor
1338 (term-default-bg-color): Set to nil by default, deprecate in favor
1340 (term-current-face): Use `term-face' by default.
1341 (term-bold-attribute): Variable deleted.
1343 2012-06-28 Glenn Morris <rgm@gnu.org>
1345 * simple.el (completion-list-mode-finish):
1346 Don't use toggle-read-only. (Since completion-list-mode has
1347 a special mode-class, it wasn't doing anything extra anyway.)
1349 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1351 Make inlining of other-mode interpreted functions work (bug#11799).
1352 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1353 (byte-compile): Use it to fix compilation of lexical-binding closures.
1354 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1355 function, if needed.
1357 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1359 * help-mode.el (help-make-xrefs): Don't just withstand
1360 cyclic-variable-indirection but any error in documentation-property.
1362 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1364 * bindings.el (bindings--define-key): New function.
1365 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1366 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1367 * bindings.el: Use it to purecopy define-key bindings.
1369 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1371 * emacs-lisp/cl.el (flet): Mark obsolete.
1372 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1373 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1374 * progmodes/js.el (js-c-fill-paragraph):
1375 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1376 (ebrowse-switch-member-buffer-to-derived-class):
1377 * play/5x5.el (5x5-solver): Use cl-flet.
1379 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1380 (cl--symbol-function): New macro.
1381 (cl--letf, cl--letf*): Use it.
1383 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1384 Strip "toggle-" if any.
1386 2012-06-27 Glenn Morris <rgm@gnu.org>
1388 * info.el (Info-default-directory-list): Move here from paths.el.
1389 * paths.el: Remove file, which is now empty.
1390 * loadup.el: No longer load "paths".
1392 * custom.el (custom-initialize-delay): Doc fix.
1394 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1395 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1396 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1397 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1398 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1399 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1400 * eshell/eshell.el (eshell-defgroup): Remove alias.
1402 2012-06-27 Chong Yidong <cyd@gnu.org>
1404 * help.el (help-enable-auto-load): New variable.
1406 * help-fns.el (help-fns--autoloaded-p): New function.
1407 (describe-function-1): Refer to a function as "autoloaded" if it
1408 was autoloaded at any time in the past. Perform autoloading if
1409 help-enable-auto-load is non-nil.
1411 2012-06-26 Eli Zaretskii <eliz@gnu.org>
1413 * makefile.w32-in (compile, compile-always): Depend on
1414 update-subdirs, not on subdirs.el. Otherwise, several different
1415 sub-targets of 'bootstrap' running in parallel could
1416 simultaneously write to subdirs.el, producing a garbled file.
1418 2012-06-26 Sam Steingold <sds@gnu.org>
1420 * files.el (file-name-base): New convenience function.
1421 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1422 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1423 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1424 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1425 * textmodes/ispell.el, textmodes/reftex-ref.el:
1426 * textmodes/tex-mode.el: Use it.
1427 Did not touch cedet and org because they are maintained elsewhere.
1429 2012-06-26 Martin Rudalics <rudalics@gmx.at>
1431 * calendar/calendar.el (calendar-exit): Don't try to delete or
1432 iconify last frame. See:
1433 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1435 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1437 * server.el (server-process-filter): Remember dir in the
1438 process's `server-client-directory' properties.
1440 2012-06-24 Chong Yidong <cyd@gnu.org>
1442 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1445 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
1447 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1449 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1451 * help-fns.el (describe-variable): Don't croak when doc is not found.
1452 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1453 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1454 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1455 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1456 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1458 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1460 2012-06-23 Chong Yidong <cyd@gnu.org>
1462 * info.el (Info-mouse-follow-link): Accept symbol values of
1463 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
1464 (Info-fontify-node): Use Info-link-keymap for all navigation
1465 buttons, with link-args property to perform the desired action.
1466 (Info-link-keymap): Doc fix.
1467 (Info-next-link-keymap, Info-prev-link-keymap)
1468 (Info-up-link-keymap): Delete now-unused keymaps.
1470 2012-06-23 Chong Yidong <cyd@gnu.org>
1472 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1474 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1477 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1479 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1481 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1484 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1485 the requote function doesn't work properly (bug#11714).
1487 2012-06-23 Glenn Morris <rgm@gnu.org>
1489 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1491 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1493 Further GV/CL cleanups.
1494 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1496 (gv--defun-declaration): New function.
1497 (defun-declarations-alist): Use it.
1498 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1499 (gv-place): Autoload.
1500 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1501 original definition of dotimes and dolist.
1502 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1503 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1504 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1505 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1506 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1507 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1508 to the function's definition.
1509 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1513 * env.el: Don't use CL.
1515 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1517 Support higher-resolution time stamps (Bug#9000).
1519 * calendar/time-date.el (with-decoded-time-value): New arg
1520 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1521 (encode-time-value): New optional arg PICO. New type 3.
1522 (time-to-seconds) [!float-time]: Support the new picoseconds
1523 component if it's used.
1524 (seconds-to-time, time-subtract, time-add):
1525 Support ps-resolution time stamps as well.
1527 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1528 (timerp): Timer vectors now have length 9, not 8.
1529 (timer--time): Support new-style (4-part) time stamps.
1530 (timer-next-integral-multiple-of-time): Time stamps now have
1531 picosecond resolution, so take a bit more care about rounding.
1532 (timer-relative-time, timer-inc-time): New optional arg psecs.
1533 (timer-set-time-with-usecs): Set psecs to 0.
1534 (timer--activate): Check psecs component, too.
1536 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1538 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1540 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1541 Move the non-essential binding to the post/pre-command-hook where it is
1542 more obviously correct.
1544 * subr.el (read-passwd): Don't use a history at all.
1545 * savehist.el (savehist-save): Remove password saved accidentally
1546 because of the above bug.
1548 2012-06-22 Bastien Guerry <bzg@gnu.org>
1550 * files.el (toggle-read-only): Display a message telling whether
1551 the buffer is read-only or not (bug#11726).
1553 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1555 * emacs-lisp/gv.el: New file.
1556 * subr.el (push, pop): Extend to generalized variables.
1557 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1558 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1559 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1560 gv-define-simple-setter, and gv-define-expander.
1561 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1562 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1563 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1564 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1565 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1567 (cl-defstruct): Don't define setf-method any more.
1568 * emacs-lisp/cl.el (flet): Don't autoload.
1569 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1570 (define-setf-expander, defsetf, define-modify-macro)
1571 (cl-struct-setf-expander): Move from cl-lib.el.
1572 * emacs-lisp/syntax.el:
1573 * emacs-lisp/ewoc.el:
1574 * emacs-lisp/smie.el:
1575 * emacs-lisp/cconv.el:
1576 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1577 (timer--time): Use gv-define-simple-setter.
1578 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1579 to avoid coding-system problems in subr.el. Adjust all users.
1580 (macroexp--maxsize, macroexp-small-p): New functions.
1581 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1582 * scroll-bar.el (scroll-bar-mode):
1583 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1584 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1585 * winner.el (winner-configuration, winner-make-point-alist)
1586 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1587 * files.el (locate-file-completion-table): Avoid list*.
1589 2012-06-22 Chong Yidong <cyd@gnu.org>
1591 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1592 (dired-create-files): Doc fix (Bug#11329).
1593 (dired-do-copy): Doc fix (Bug#11334).
1594 (dired-mark-read-string): Doc fix (Bug#11553).
1596 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1597 Doc fix (Bug#11326).
1598 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1599 (dired-dwim-target): Doc fix.
1601 * wdired.el (wdired-mode): Doc fix.
1603 2012-06-22 Glenn Morris <rgm@gnu.org>
1605 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1606 (pcmpl-rpm-cache-stamp-file): New constant.
1607 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1608 (pcmpl-rpm-packages): Optionally cache list of packages.
1610 * pcmpl-rpm.el (pcmpl-rpm): New group.
1611 (pcmpl-rpm-query-options): New option.
1612 (pcmpl-rpm-packages): No need to inline it.
1613 Use pcmpl-rpm-query-options.
1615 * calendar/calendar.el (calendar-in-read-only-buffer):
1616 Avoid some needless mode changes.
1618 2012-06-21 Chong Yidong <cyd@gnu.org>
1620 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1621 (desktop-path): Remove . from the default value (Bug#10977).
1622 (desktop-read): Use user-emacs-directory if desktop-path is nil.
1624 2012-06-20 Chong Yidong <cyd@gnu.org>
1626 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1628 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1630 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1633 2012-06-20 Chong Yidong <cyd@gnu.org>
1635 * term.el (term-window-width): Handle the case of a missing right
1637 (term-check-size): Use window-text-height (Bug#5445).
1638 (term-mode): Use define-derived-mode. Minor cleanups.
1639 Set font-lock-defaults (Bug#7692).
1640 (term-move-columns, term-insert-char, term-emulate-terminal)
1641 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
1643 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
1645 * net/ange-ftp.el (ange-ftp-get-passwd):
1646 Bind `enable-recursive-minibuffers'.
1647 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1649 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1651 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1653 2012-06-19 Glenn Morris <rgm@gnu.org>
1655 * progmodes/python.el (python-mode): Derive from prog-mode.
1657 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1659 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1660 (edt-user-menu-bar-update-buffers): New functions.
1661 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1663 2012-06-19 Chong Yidong <cyd@gnu.org>
1665 * subr.el (with-selected-window): Preserve the selected window's
1666 terminal's top-frame (Bug#4702).
1668 * window.el (save-selected-window): Likewise.
1670 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1672 * progmodes/python.el (python-rx-constituents): Move backquote.
1673 (python-skeleton-define, python-define-auxiliary-skeleton):
1676 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
1678 * minibuffer.el (read-file-name-default): Revert the patch from
1681 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1683 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1684 (pcase--u1, pcase--q1): Don't use apply-partially.
1686 2012-06-18 Glenn Morris <rgm@gnu.org>
1688 * progmodes/python.el (python-proc, python-buffer)
1689 (python-send-receive, python-send-string): Fix obsolete versions.
1691 2012-06-18 Martin Rudalics <rudalics@gmx.at>
1693 * window.el (special-display-p): Completely remove stringp
1694 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1696 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
1698 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1700 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1702 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1703 * net/tramp-sh.el (tramp-maybe-open-connection):
1704 Throw if `non-essential' is non-nil.
1706 2012-06-17 Martin Rudalics <rudalics@gmx.at>
1708 * window.el (special-display-p): Signal an error if BUFFER-NAME
1709 is not a string (Bug#11713).
1711 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1713 * progmodes/python.el (python-info-beginning-of-backslash):
1714 Rename from python-info-beginning-of-backlash, as a spelling fix.
1716 2012-06-17 Chong Yidong <cyd@gnu.org>
1718 * term.el (term-emulate-terminal): If term-check-size is called,
1719 move point to the process mark without resetting point (Bug#4635).
1721 2012-06-17 Glenn Morris <rgm@gnu.org>
1723 * international/mule-cmds.el (mule-menu-keymap)
1724 (set-language-environment, set-locale-environment): Doc tweaks.
1726 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1728 * cus-face.el (custom-face-attributes): Add wave-style underline
1730 * faces.el (set-face-attribute): Update docstring to describe
1731 wave-style underline attribute.
1733 2012-06-16 Chong Yidong <cyd@gnu.org>
1735 * term/xterm.el (terminal-init-xterm): Discard input before
1736 querying background mode (Bug#10959).
1738 2012-06-16 Stefan Merten <smerten@oekonux.de>
1740 * textmodes/rst.el: Added and corrected some comments.
1741 (rst-re-alist-def): Improve symbol syntax.
1742 (rst-mode-syntax-table): Correct syntax entries.
1743 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1744 (rst-official-version, rst-official-cvs-rev): Update version
1747 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
1749 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1750 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1752 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1754 * progmodes/python.el: New python.el merge.
1755 (python-guess-indent): Obsolete var.
1756 (python-indent-guess-indent-offset): New defcustom.
1757 (python-indent): Obsolete var.
1758 (python-indent-offset): New defcustom.
1759 (python-python-command, python-jython-command): Delete var.
1760 (python-shell-interpreter): New defcustom.
1761 (python-pdbtrack-do-tracking-p): Delete var.
1762 (python-pdbtrack-activate): New defcustom.
1763 (python-use-skeletons): Obsolete var.
1764 (python-skeleton-autoinsert): New defcustom.
1765 (inferior-python-filter-regexp, python-continuation-offset)
1766 (python-honour-comment-indentation, python-indent-string-contents)
1767 (python-jython-packages, python-mode-hook)
1768 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1769 (python-shell-prompt-alist)
1770 (python-source-modes): Delete defcustoms.
1771 (python-check-buffer-name, python-eldoc-setup-code)
1772 (python-eldoc-string-code, python-ffap-setup-code)
1773 (python-ffap-string-code, python-fill-comment-function)
1774 (python-fill-decorator-function, python-fill-paren-function)
1775 (python-fill-string-function, python-imenu-include-defun-type)
1776 (python-imenu-make-tree, python-imenu-subtree-root-label)
1777 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1778 (python-shell-compilation-regexp-alist)
1779 (python-shell-completion-module-string-code)
1780 (python-shell-completion-pdb-string-code)
1781 (python-shell-completion-setup-code)
1782 (python-shell-completion-string-code)
1783 (python-shell-enable-font-lock, python-shell-exec-path)
1784 (python-shell-extra-pythonpaths)
1785 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1786 (python-shell-process-environment)
1787 (python-shell-prompt-block-regexp)
1788 (python-shell-prompt-output-regexp)
1789 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1790 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1791 (python-shell-virtualenv-path): New defcustoms.
1792 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1793 (inferior-python-mode-syntax-table, python--prompt-regexp)
1794 (python-buffer, python-command python-python-command)
1795 (python-default-template, python-imports, python-indent-index)
1796 (python-indent-list, python-indent-list-length)
1797 (python-mode-running, python-pdbtrack-is-tracking-p)
1798 (python-preoutput-continuation, python-preoutput-leftover)
1799 (python-preoutput-result, python-preoutput-skip-next-prompt)
1800 (python-prev-dir/file, python-recursing)
1801 (python-saved-check-command, python-version-checked)
1802 (python-which-func-length-limit)
1803 (view-return-to-alist): Delete vars.
1804 (python-check-custom-command, python-dotty-syntax-table)
1805 (python-imenu-index-alist, python-indent-current-level)
1806 (python-indent-dedenters, python-indent-levels)
1807 (python-nav-beginning-of-defun-regexp)
1808 (python-nav-list-defun-positions-cache)
1809 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1810 (python-shell-internal-buffer)
1811 (python-skeleton-available): New vars.
1812 (def-python-skeleton): Delete macro.
1813 (python-skeleton-define): New macro.
1814 (python-define-auxiliary-skeleton, python-rx): New macros.
1815 (python-insert-class): Delete command.
1816 (python-skeleton-class): New command.
1817 (python-insert-def): Delete command.
1818 (python-skeleton-def): New command.
1819 (python-insert-for): Delete command.
1820 (python-skeleton-for): New command.
1821 (python-insert-if): Delete command.
1822 (python-skeleton-if): New command.
1823 (python-insert-try/except, python-insert-try/finally): Delete commands.
1824 (python-skeleton-try): New command.
1825 (python-insert-while): Delete command.
1826 (python-skeleton-while): New command.
1827 (python-backspace): Delete command.
1828 (python-indent-dedent-line-backspace): New command.
1829 (python-electric-colon): Delete command.
1830 (python-indent-electric-colon): New command.
1831 (python-guess-indent): Delete command.
1832 (python-indent-guess-indent-offset): New command.
1833 (python-shift-left): Delete command.
1834 (python-indent-shift-left): New command.
1835 (python-shift-right): Delete command.
1836 (python-indent-shift-right): New command.
1837 (python-find-function): Delete command.
1838 (python-nav-jump-to-defun): New command.
1839 (python-next-statement): Delete command.
1840 (python-nav-forward-sentence): New command.
1841 (python-previous-statement): Delete command.
1842 (python-nav-backward-sentence): New command.
1843 (python-fill-paragraph): Delete command.
1844 (python-fill-paragraph-function): New command.
1845 (python-send-buffer): Delete command.
1846 (python-shell-send-buffer): New command.
1847 (python-send-defun): Delete command.
1848 (python-shell-send-defun): New command.
1849 (python-send-region, python-send-region-and-go): Delete commands.
1850 (python-shell-send-region)
1851 (python-shell-switch-to-shell): New commands.
1852 (python-send-string): Delete command.
1853 (python-shell-send-string): New command.
1854 (python-switch-to-python): Delete command.
1855 (python-shell-switch-to-shell): New command.
1856 (python-describe-symbol): Delete command.
1857 (python-eldoc-at-point): New command.
1858 (python--set-prompt-regexp, python-args-to-list)
1859 (python-after-info-look, python-check-version)
1860 (python-check-comint-prompt, python-find-imports)
1861 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1862 (python-unload-function, python-expand-template)
1863 (python-maybe-jython, python-preoutput-filter)
1864 (python-pdbtrack-get-source-buffer)
1865 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1866 (python-pdbtrack-toggle-stack-tracking)
1867 (python-pdbtrack-track-stack-file, python-initial-text)
1868 (python-first-word, python-comment-line-p, python-send-command)
1869 (python-setup-brm, python-sentinel, python-set-proc)
1870 (python-skip-out, python-input-filter, python-outdent-p)
1871 (python-outline-level, python-backslash-continuation-line-p)
1872 (python-end-of-block, python-end-of-statement, python-mark-block)
1873 (python-beginning-of-block, python-beginning-of-statement)
1874 (python-blank-line-p, python-beginning-of-string)
1875 (python-open-block-statement-p): Delete functions.
1876 (python-indent-line, python-indent-line-1): Delete functions.
1877 (python-indent-line): New function.
1878 (python-indentation-levels): Delete function.
1879 (python-indent-calculate-levels): New function.
1880 (python-proc): Delete function.
1881 (python-shell-get-process): New function.
1882 (python-send-receive): Delete function.
1883 (python-shell-send-string-no-output): New function.
1884 (python-module-path): Delete function.
1885 (python-ffap-module-path): New function.
1886 (python-completion-at-point)
1887 (python-symbol-completions): Delete functions.
1888 (python-completion-complete-at-point): New function.
1889 (python-load-file): Delete function.
1890 (python-shell-send-file): New function.
1891 (python-calculate-indentation): Delete function.
1892 (python-indent-calculate-indentation): New function.
1893 (python-skip-comments/blanks): Delete function.
1894 (python-util-forward-comment): New function.
1895 (python-continuation-line-p): Delete function.
1896 (python-info-continuation-line-p): New function.
1897 (python-which-func, python-current-defun): Delete function.
1898 (python-info-current-defun): New function.
1899 (python-beginning-of-defun): Delete function.
1900 (python-nav-beginning-of-defun): New function.
1901 (python-close-block-statement-p)
1902 (python-block-end-p): Delete function.
1903 (python-info-closing-block): New function.
1904 (python-comint-output-filter-function)
1905 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1906 (python-fill-comment, python-fill-decorator, python-fill-paren)
1907 (python-fill-string, python-imenu-make-element-tree)
1908 (python-imenu-make-tree, python-imenu-tree-assoc)
1909 (python-indent-context, python-indent-dedent-line)
1910 (python-indent-line-function)
1911 (python-indent-post-self-insert-function)
1912 (python-indent-toggle-levels)
1913 (python-info-assignment-continuation-line-p)
1914 (python-info-beginning-of-backlash)
1915 (python-info-block-continuation-line-p)
1916 (python-info-closing-block-message)
1917 (python-info-line-ends-backslash-p)
1918 (python-info-looking-at-beginning-of-defun)
1919 (python-info-ppss-context, python-info-ppss-context-type)
1920 (python-nav-list-defun-positions, python-nav-read-defun)
1921 (python-nav-sentence-end, python-nav-sentence-start)
1922 (python-pdbtrack-comint-output-filter-function)
1923 (python-pdbtrack-set-tracked-buffer)
1924 (python-shell-calculate-exec-path)
1925 (python-shell-calculate-process-environment)
1926 (python-shell-completion--do-completion-at-point)
1927 (python-shell-completion--get-completions)
1928 (python-shell-completion-complete-at-point)
1929 (python-shell-completion-complete-or-indent)
1930 (python-shell-get-or-create-process)
1931 (python-shell-get-process-name)
1932 (python-shell-internal-get-or-create-process)
1933 (python-shell-internal-get-process-name)
1934 (python-shell-internal-send-string, python-shell-make-comint)
1935 (python-shell-parse-command, python-shell-send-setup-code)
1936 (python-skeleton-add-menu-items)
1937 (python-util-clone-local-variables, python-util-position)
1938 (run-python-internal, python-indentation-levels)
1939 (python-nav-beginning-of-defun)
1940 (python-completion-complete-at-point): New functions.
1941 (run-python): Change arguments. New API requirements.
1943 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1945 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1948 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1949 (macroexp--expand-all): Use it.
1951 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1952 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1953 Use `cl-function' instead.
1955 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
1957 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1958 Suggested by Stefan Monnier while discussing bug#11657.
1960 2012-06-14 Sam Steingold <sds@gnu.org>
1962 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1964 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1966 * play/doctor.el (doctor-doc): Remove parameter and use
1967 doctor-sent instead of sent.
1968 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1970 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1972 * files.el: Require cl-lib.
1973 (file-name-non-special): Replace case -> cl-case.
1975 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1977 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1978 mapping from #' to function*.
1980 2012-06-13 Chong Yidong <cyd@gnu.org>
1982 * mouse.el (mouse-drag-track): Do not set the mark if the user
1983 releases the mouse without selecting anything (Bug#11588).
1985 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1987 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1988 as well (bug#11646).
1990 * loadup.el: Count byte-code functions as well.
1992 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1993 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1995 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1996 (bug#11649). Add cl-defun and cl-defmacro.
1998 2012-06-13 Drew Adams <drew.adams@oracle.com>
2000 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2003 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
2005 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2006 Otherwise, it blocks in batch mode.
2008 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
2010 * help-mode.el (bookmark-make-record-default): Declare.
2012 2012-06-13 Chong Yidong <cyd@gnu.org>
2014 * emacs-lisp/package.el (list-packages): Compute a list of
2015 packages that are newly-available since the last list-packages
2017 (package-menu--new-package-list): New var.
2018 (package-menu--generate, package-menu--print-info)
2019 (package-menu--status-predicate, package-menu-mark-install):
2020 Handle new status label "new".
2022 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2024 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2025 conversion to backquotes.
2027 2012-06-12 Chong Yidong <cyd@gnu.org>
2029 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2030 Rename from gud-inhibit-global-bindings.
2032 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2034 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2035 hook from nxml-glyph-set-hook.
2037 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2040 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2042 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2043 Convert to defcustom.
2045 2012-06-12 Drew Adams <drew.adams@oracle.com>
2047 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2049 (help-mode): Use them.
2051 2012-06-11 Glenn Morris <rgm@gnu.org>
2053 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2054 Use preprocessor face for directives.
2055 (fortran-directive-re): Doc fix.
2057 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2059 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2060 conversion to backquotes (bug#11652).
2062 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2063 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2064 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2065 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2066 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2067 (cl-ninth, cl-tenth): Mark them as inlinable.
2068 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2069 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2070 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2071 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2072 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2073 (cl-list*, cl-adjoin): Don't put an autoload manually.
2074 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2075 (cl--compiler-macro-list*): Add autoload cookie.
2076 (cl--compiler-macro-cXXr): New function.
2078 * help-fns.el (help-fns--compiler-macro): New function extracted from
2079 describe-function-1; follow aliases and use `compiler-macro' property.
2080 (describe-function-1): Use it.
2082 2012-06-11 Chong Yidong <cyd@gnu.org>
2084 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2085 is uninstalled, if imagemagick is installed.
2087 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2089 * emacs-lisp/cl-lib.el: Use lexical-binding.
2090 (cl-map-extents, cl-maclisp-member): Remove.
2091 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2092 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2093 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2094 * emacs-lisp/cl-extra.el: Use lexical-binding.
2095 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2096 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2097 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2098 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2099 * emacs-lisp/cl-seq.el: Use lexical-binding.
2100 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2101 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2102 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2103 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2104 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2107 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
2109 Sync with Tramp 2.2.6-pre.
2111 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2112 `print-length' and `print-level' to nil, in order to avoid
2113 truncation. Reported by Christopher Schmidt
2114 <christopher@ristopher.com>.
2116 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2118 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2120 (tramp-compat-copy-directory): Add optional argument
2121 COPY-CONTENTS. It is not handled yet.
2123 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2124 (tramp-ftp-file-name-p): Simplify.
2126 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2127 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2130 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2131 (tramp-methods): Do not use `tramp-password-end-of-line'.
2132 (tramp-completion-function-alist-putty): Handle UNIX case.
2133 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2134 (tramp-do-file-attributes-with-stat)
2135 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2136 gid as real numbers. They could run out of integer range on cygwin.
2137 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2138 (tramp-sh-handle-expand-file-name): Handle hops.
2139 (tramp-open-connection-setup-interactive-shell):
2140 Use `tramp-cleanup'. Move check for busyboxes ...
2141 (tramp-find-shell): ... here. Simplify implementation.
2142 Set "remote-shell" property also for alternative shells.
2143 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2144 If failing, a regular file would be written otherwise.
2145 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2146 (tramp-find-inline-encoding): Cache the coding commands in the
2147 process cache. Apply test command on the remote side, if defined.
2148 (tramp-find-inline-compress): Cache the compress commands in the
2150 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2151 when requested. Handle hops.
2152 (tramp-current-connection): New defvar.
2153 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2154 Throw `suppress', if there was a failed connection shortly before.
2155 Handle user interrupt. (Bug#10187)
2156 (tramp-get-inline-compress, tramp-get-inline-coding):
2157 Read connection properties from the process cache.
2159 * net/tramp-smb.el (tramp-smb-server-version)
2160 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2162 (tramp-smb-prompt): Extend for powershell prompt.
2163 (tramp-smb-file-name-handler-alist): Add handlers for
2164 `process-file', `shell-command' and `start-file-process'.
2165 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2166 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2167 (tramp-smb-file-name-p): Simplify.
2168 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2169 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2170 (tramp-smb-shell-quote-argument): New defuns.
2171 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2172 Implement using "tar". By this, time-stamps are preserved.
2173 (tramp-smb-handle-copy-file): Handle also the case of directories.
2174 (tramp-smb-do-file-attributes-with-stat)
2175 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2176 Use `tramp-get-connection-buffer').
2177 (tramp-smb-handle-rename-file): Use "rename", when source and
2178 target are on the same share.
2179 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2180 Use `tramp-smb-server-version'.
2181 (tramp-smb-wait-for-output): Remove prompt.
2183 * net/tramp.el (top): Require 'cl.
2184 (tramp-methods, tramp-rsh-end-of-line):
2185 Remove `tramp-password-end-of-line' from docstring.
2186 (tramp-save-ad-hoc-proxies): New defcustom.
2187 (tramp-completion-function-alist): Adapt docstring.
2188 (tramp-default-password-end-of-line): Remove defcustom.
2189 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2190 (tramp-user-regexp, tramp-file-name-regexp-unified)
2191 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2192 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2193 (tramp-remote-file-name-spec-regexp): New defconst.
2194 (tramp-file-name-structure): Extend structure for hops.
2195 (tramp-get-method-parameter): Move up.
2196 (tramp-file-name-p, tramp-dissect-file-name)
2197 (with-parsed-tramp-file-name): Handle hops.
2198 (tramp-file-name-hop): New defun.
2199 (tramp-make-tramp-file-name): New optional arg HOP.
2200 (tramp-message-show-progress-reporter-message): New defvar.
2201 (tramp-with-progress-reporter): Use it. We cannot use
2202 `tramp-message-show-message' here, because this suppresses also
2204 (tramp-error-with-buffer): Suppress buffer view, if
2205 `tramp-message-show-message' is nil.
2206 Use `tramp-get-connection-buffer'.
2207 (tramp-cleanup): New defun.
2208 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2209 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2211 (tramp-completion-handle-file-name-all-completions): Handle hops.
2212 Fix an error when called from ido.
2213 (tramp-completion-dissect-file-name): Use better local variable
2214 name. Add hop to the vector.
2215 (tramp-handle-insert-file-contents): Use progress-reporter for the
2217 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2219 (tramp-check-for-regexp): Simplify search.
2220 (tramp-enter-password): Remove it. Move implementation ...
2221 (tramp-action-password): ... here.
2222 (tramp-mode-string-to-int, tramp-local-host-p)
2223 (tramp-make-tramp-temp-file, tramp-read-passwd)
2224 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2225 Set tramp-autoload cookie.
2227 * net/trampver.el: Update release number.
2229 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2230 Michael Albinus <michael.albinus@gmx.de>
2232 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2233 (tramp-parse-group, tramp-parse-file)
2234 (tramp-parse-shostkeys-sknownhosts): New defuns.
2235 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2236 (tramp-parse-shosts-group, tramp-parse-sconfig)
2237 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2238 (tramp-parse-sknownhosts, tramp-parse-hosts)
2239 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2241 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2242 (tramp-parse-putty-group): Don't narrow.
2243 (tramp-parse-putty): Make a loop.
2244 (tramp-file-name-handler): Catch the `suppress' signal.
2246 2012-06-11 Chong Yidong <cyd@gnu.org>
2248 * image.el (imagemagick-register-types): Put the ImageMagick entry
2249 at the end of image-type-file-name-regexps.
2251 2012-06-11 Johan Bockgård <bojohan@gnu.org>
2253 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2254 (pcase, pcase-let*, pcase-dolist): Use them.
2256 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2258 * emacs-lisp/pcase.el (pcase--let*): New function.
2259 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2260 (pcase--expand): Use macroexp-let².
2262 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2264 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2265 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2266 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2267 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2268 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2269 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2271 2012-06-10 Glenn Morris <rgm@gnu.org>
2273 * mail/rmail.el (rmail-yank-current-message): Leave point at
2274 correct position. (Bug#11660)
2276 2012-06-10 Chong Yidong <cyd@gnu.org>
2278 * allout-widgets.el: Fix code header.
2280 2012-06-10 Chong Yidong <cyd@gnu.org>
2282 * cus-edit.el (customize-changed-options-previous-release):
2285 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2287 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2289 2012-06-09 Chong Yidong <cyd@gnu.org>
2291 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2293 2012-06-09 Martin Rudalics <rudalics@gmx.at>
2295 * window.el (special-display-popup-frame): Don't use
2296 window--display-buffer (Bug#11651).
2298 2012-06-09 Eli Zaretskii <eliz@gnu.org>
2300 Fix parallel builds: make sure loaddefs.el is not being written
2301 while Lisp files are compiled.
2302 (compile): Don't depend on 'mh-autoloads'.
2303 (compile-CMD, compile-SH): Depend on 'autoloads'.
2304 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2306 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2308 2012-06-09 Chong Yidong <cyd@gnu.org>
2310 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2311 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2312 Doc fixes (Bug#11225).
2314 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2316 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2317 a function if there's a clear indication that it has a compiler-macro.
2318 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2319 (macro-declarations-alist): Add arglist to declaration functions.
2320 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2321 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2322 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2323 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2324 Also add autoload to find the compiler macro.
2325 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2326 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2327 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2328 (cl--compiler-macro-get): New functions, replacing calls to
2329 cl-define-compiler-macro.
2330 (cl-typep) [compiler-macro]: Use macroexp-let².
2332 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
2334 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2335 string properly, fixes Bug#11473.
2337 2012-06-08 Chong Yidong <cyd@gnu.org>
2339 * faces.el (set-face-attribute): Doc fix.
2340 (modify-face): Don't use :bold and :italic.
2341 (error, warning, success): Tweak definitions.
2343 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2344 (custom-modified, custom-set, custom-changed, custom-themed)
2345 (custom-saved, custom-button, custom-button-mouse)
2346 (custom-button-pressed, custom-state, custom-comment-tag)
2347 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2348 (custom-group-subtitle): Use new-style face specs.
2349 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2350 (custom-set-face, custom-changed-face, custom-saved-face)
2351 (custom-button-face, custom-button-pressed-face)
2352 (custom-documentation-face, custom-state-face)
2353 (custom-comment-face, custom-comment-tag-face)
2354 (custom-variable-tag-face, custom-variable-button-face)
2355 (custom-face-tag-face, custom-group-tag-face-1)
2356 (custom-group-tag-face): Remove obsolete face alias.
2358 * epa.el (epa-validity-high, epa-validity-medium)
2359 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2360 (epa-field-name, epa-field-body):
2361 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2362 (font-lock-keyword-face, font-lock-builtin-face)
2363 (font-lock-function-name-face, font-lock-variable-name-face)
2364 (font-lock-type-face, font-lock-constant-face):
2365 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2366 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2367 * speedbar.el (speedbar-button-face, speedbar-file-face)
2368 (speedbar-directory-face, speedbar-tag-face)
2369 (speedbar-selected-face, speedbar-highlight-face)
2370 (speedbar-separator-face):
2371 * whitespace.el (whitespace-newline, whitespace-space)
2372 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2373 (whitespace-line, whitespace-space-before-tab)
2374 (whitespace-space-after-tab, whitespace-indentation)
2376 * emulation/cua-base.el (cua-global-mark):
2377 * eshell/em-prompt.el (eshell-prompt):
2378 * net/newst-plainview.el (newsticker-new-item-face)
2379 (newsticker-old-item-face, newsticker-immortal-item-face)
2380 (newsticker-obsolete-item-face, newsticker-date-face)
2381 (newsticker-statistics-face, newsticker-default-face):
2382 * net/newst-reader.el (newsticker-feed-face)
2383 (newsticker-extra-face, newsticker-enclosure-face):
2384 * net/newst-treeview.el (newsticker-treeview-face)
2385 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2386 (newsticker-treeview-immortal-face)
2387 (newsticker-treeview-obsolete-face)
2388 (newsticker-treeview-selection-face):
2389 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2390 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2391 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2392 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2393 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2394 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2395 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2397 * progmodes/vera-mode.el (vera-font-lock-number)
2398 (vera-font-lock-function, vera-font-lock-interface):
2399 * textmodes/table.el (table-cell): Use new-style face specs, and
2400 don't use the old :bold and :italic attributes.
2402 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2403 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2404 (ebrowse-member-class, ebrowse-progress): Likewise.
2405 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2406 (ebrowse-file-name-face, ebrowse-default-face)
2407 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2408 (ebrowse-progress-face): Remove obsolete faces.
2410 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2411 Inherit from error and warning faces respectively.
2413 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2415 (flyspell-incorrect-face, flyspell-duplicate-face):
2416 Remove obsolete aliases.
2418 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
2420 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2423 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2425 * startup.el (argv, argi): Make lexically scoped.
2426 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2427 * emacs-lisp/cl-macs.el: Use lexical-binding.
2428 Rename cl-bind-* to cl--bind-*.
2429 * files.el: Don't require `cl' since it doesn't use it.
2430 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2432 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
2434 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2435 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2436 instead of calling external sort utility.
2437 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2439 2012-06-08 Eli Zaretskii <eliz@gnu.org>
2441 * descr-text.el (describe-char): Mention how to insert the
2442 character, if the current input method doesn't support it.
2443 See the discussion in this thread for the details:
2444 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2446 2012-06-08 Sam Steingold <sds@gnu.org>
2448 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2449 XF86Back to previous-buffer.
2450 (minibuffer-local-map): Bind them to next-history-element and
2451 previous-history-element respectively.
2452 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2453 help-go-back respectively.
2454 * info.el (Info-mode-map): Bind them to Info-history-forward and
2455 Info-history-back respectively.
2456 These are the keys next to Up on the ThinkPad keyboard.
2458 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2460 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2461 * emacs-lisp/cl-macs.el: Provide itself.
2462 (cl--labels-convert-cache): New var.
2463 (cl--labels-convert): New function.
2464 (cl-flet, cl-labels): New implementation with new semantics, relying on
2466 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2467 (cl-closure-vars, cl--function-convert-cache)
2468 (cl--function-convert): Move from cl-macs.el.
2469 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2470 rename by removing the "cl-" prefix.
2471 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2473 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2475 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2476 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2477 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2478 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2479 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2480 (cl-hash-table-count): Add old compatibility aliases.
2482 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2483 Use macroexpand-all-environment instead.
2484 (cl--old-macroexpand): New var.
2485 (cl--sm-macroexpand): New function.
2486 (cl-symbol-macrolet): Use it during macro expansion.
2487 (cl--function-convert-cache): New var.
2488 (cl--function-convert): New function, extracted from
2490 (cl-lexical-let): Use it.
2492 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2493 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2494 (cl-member): Remove old alias.
2496 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2497 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2498 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2499 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2500 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2501 (cl-macroexpand-cmacs): Remove var.
2502 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2503 Use macroexpand-all instead.
2505 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2507 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2508 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2509 (macroexp-copyable-p): New functions and macros.
2510 * emacs-lisp/edebug.el (edebug-unwrap):
2511 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2512 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2513 (pcase--let*): Remove.
2514 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2515 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2516 macroexp-const-p instead.
2517 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2519 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2520 instead of "cl-" for internal definitions. Use macroexp-const-p.
2521 (cl-old-bc-file-form): Remove var.
2522 (cl-const-exprs-p): Remove fun.
2523 (cl-labels, cl-macrolet): Use backquote.
2524 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2525 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2526 (cl-define-setf-expander): Rename from cl-define-setf-method.
2527 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2529 * international/mule-cmds.el: Don't require CL.
2530 (view-hello-file): Don't use `letf'.
2532 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2534 * tmm.el (tmm-prompt): Use string-prefix-p.
2535 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2536 (tmm-add-prompt): Use minibuffer-completion-help.
2537 (tmm-delete-map): Remove.
2539 * subr.el (kbd): Make it its own function.
2541 2012-06-07 Stefan Merten <smerten@oekonux.de>
2543 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2544 Silence compiler warnings. Fix versions.
2545 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
2546 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
2547 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
2548 (rst-package-emacs-version-alist): Correct Emacs version to
2549 represent major merge with upstream.
2550 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
2552 2012-06-06 Glenn Morris <rgm@gnu.org>
2554 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2555 Only print environment variables if set.
2557 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2559 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2560 (macroexp--cons): Rename from maybe-cons.
2561 (macroexp--accumulate): Rename from macroexp-accumulate.
2562 (macroexp--all-forms): Rename from macroexpand-all-forms.
2563 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2564 (macroexp--expand-all): Rename from macroexpand-all-1.
2566 2012-06-06 Sam Steingold <sds@gnu.org>
2568 * calendar/calendar.el (calendar-in-read-only-buffer):
2569 Call `special-mode' to enable the standard read-only keybindings.
2571 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2573 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2574 with "loading" messages (bug#11635).
2576 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
2578 * files.el (enable-remote-dir-locals): New option.
2579 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2581 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2582 Ensure, that the temp directory is local.
2584 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2585 `temporary-file-directory'.
2587 * progmodes/python.el (python-send-region): Ensure, that the
2588 temporary file is created also in the remote case.
2590 2012-06-06 Glenn Morris <rgm@gnu.org>
2592 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2593 (vc-rcs-update-changelog): Use it.
2595 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
2597 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2598 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2599 (vc-sccs-diff): Replace use of the external vcdiff script.
2601 2012-06-05 Glenn Morris <rgm@gnu.org>
2603 * ledit.el: Move to obsolete/.
2605 2012-06-05 Sam Steingold <sds@gnu.org>
2607 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
2610 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2612 * emacs-lisp/cust-print.el: Move to obsolete.
2614 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2615 compiler-macro expansion.
2617 Add native compiler-macro support.
2618 * emacs-lisp/macroexp.el (macroexpand-all-1):
2619 Support compiler-macros directly. Properly follow aliases and apply
2620 the compiler macros more thoroughly.
2621 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2622 macroexpand now properly follows aliases.
2623 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2624 (cl-compiler-macroexpand): Use new prop.
2625 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2627 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2629 2012-06-05 Martin Rudalics <rudalics@gmx.at>
2631 * window.el (get-lru-window, get-mru-window, get-largest-window):
2632 New argument NOT-SELECTED to avoid picking the selected window.
2633 (window--display-buffer-1, window--display-buffer-2): Replace by
2634 new function window--display-buffer
2635 (display-buffer-same-window, display-buffer-reuse-window)
2636 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2637 Use window--display-buffer.
2638 (display-buffer-use-some-window): Remove temporary dedication
2639 hack by calling get-lru-window and get-largest-window with
2640 NOT-SELECTED argument non-nil. Call window--display-buffer.
2642 2012-06-05 Glenn Morris <rgm@gnu.org>
2644 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2645 Replace external vcdiff script.
2647 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2649 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2651 2012-06-04 Chong Yidong <cyd@gnu.org>
2653 * image.el (imagemagick-types-inhibit): Revert last change.
2655 (imagemagick-enabled-types): Remove CIN and EPS*.
2657 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2659 * emacs-lisp/cl-lib.el: Rename from cl.el.
2660 * emacs-lisp/cl.el: New compatibility file.
2661 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2662 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2663 to obey the "cl-" prefix.
2664 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2666 2012-06-03 Glenn Morris <rgm@gnu.org>
2668 * emacs-lisp/authors.el (authors-aliases): Addition.
2670 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2673 2012-06-03 Stefan Merten <smerten@oekonux.de>
2675 * textmodes/rst.el: Add comments.
2676 (rst-transition, rst-adornment): New faces.
2677 (rst-adornment-faces-alist): Make default safe to reevaluate.
2679 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2680 Improve customization tags.
2681 (rst-define-level-faces): Clarify meaning.
2683 2012-06-03 Chong Yidong <cyd@gnu.org>
2685 * progmodes/compile.el (compilation-mode-line-fail)
2686 (compilation-mode-line-run, compilation-mode-line-exit):
2688 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2690 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2692 * progmodes/which-func.el (which-func-update-ediff-windows):
2693 New function. Use it in ediff-select-hook (Bug#11478).
2695 2012-06-03 Chong Yidong <cyd@gnu.org>
2697 * bindings.el: Remove explicit help text from format-mode-line.
2698 It is now supplied by mode-line-default-help-echo.
2699 (mode-line-front-space, mode-line-end-spaces)
2700 (mode-line-misc-info): New variables.
2701 (mode-line-modes, mode-line-position): Move the default value to
2702 the variable definition.
2703 (mode-line-default-help-echo): New defcustom.
2704 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2705 (mode-line-modified-help-echo): New functions.
2706 (mode-line-mule-info, mode-line-modified): Use them.
2707 (mode-line-eol-desc, propertized-buffer-identification):
2708 Consistency fixes for help text.
2709 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2710 set-buffer-file-coding-system (Bug#289).
2711 (mode-line-mule-info-help-echo): Update help text.
2713 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2715 * simple.el (execute-extended-command): Set real-this-command
2718 2012-06-02 Chong Yidong <cyd@gnu.org>
2720 Remove incorrect uses of "modeline" in comments, docstrings, and
2721 function/variable names (Bug#10329).
2723 * cus-edit.el (mode-line):
2724 * dframe.el (dframe-mouse-hscroll):
2725 * emacs-lisp/re-builder.el:
2726 * emacs-lisp/easy-mmode.el (define-minor-mode):
2727 * frame.el (set-frame-name):
2728 * help.el (lookup-minor-mode-from-indicator):
2729 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2730 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2731 (c-toggle-hungry-state):
2732 * progmodes/antlr-mode.el (antlr-language-alist):
2733 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2734 * progmodes/vhdl-mode.el (vhdl-mode):
2735 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2736 * term/ns-win.el (ns-face-at-pos):
2737 * term/sup-mouse.el (sup-mouse-report):
2738 * textmodes/flyspell.el (flyspell-mode-line-string):
2739 * textmodes/ispell.el (ispell-highlight-face):
2740 * textmodes/reftex-global.el:
2741 * vc/vc-arch.el (vc-arch-mode-line-string):
2742 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2743 * vc/vc-git.el (vc-git-mode-line-string):
2744 * vc/vc-hooks.el (vc-display-status)
2745 (vc-default-mode-line-string):
2746 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2748 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2750 * dired.el (dired-sort-set-mode-line): Rename from
2751 dired-sort-set-modeline. All callers changed.
2753 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2754 eshell-status-in-modeline.
2756 * foldout.el (foldout-mode-line-string): Rename from
2757 foldout-modeline-string. All callers changed.
2758 (foldout-update-mode-line): Rename from foldout-update-modeline.
2760 * subr.el (redraw-modeline): Make into obsolete alias.
2762 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2763 timeclock-modeline-display. Make old name an alias.
2764 (timeclock-update-mode-line): Likewise. All callers changed.
2765 (timeclock-mode-line-display): No need to check before using
2767 (timeclock-relative, timeclock-day-over-hook)
2768 (timeclock-use-elapsed, timeclock-mode-string)
2769 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2771 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2772 crisp-mode-modeline-string.
2774 * play/solitaire.el (solitaire-build-mode-line): Rename from
2775 solitaire-build-modeline. All callers changed.
2777 * play/zone.el (zone-hiding-mode-line): Rename from
2778 zone-hiding-modeline. All callers changed.
2779 (zone): Remove unusued `modeline-hidden-level' property.
2781 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2782 xscheme-modeline-initialize. All callers changed.
2784 * strokes.el (strokes-lighter): Rename from
2785 strokes-modeline-string.
2787 * textmodes/sgml-mode.el (html-face-tag-alist)
2788 (html-tag-face-alist): Use mode-line face instead of obsolete
2791 2012-06-02 Stefan Merten <smerten@oekonux.de>
2793 * textmodes/rst.el: Always require `cl'.
2794 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
2796 2012-06-02 Chong Yidong <cyd@gnu.org>
2798 * image.el (imagemagick-enabled-types): Rename from
2799 imagemagick-types-enable. Add many more types.
2800 (imagemagick-types-inhibit): Change default to nil.
2801 (imagemagick-filter-types): Caller changed.
2803 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2805 * emacs-lisp/cl-macs.el: Use backquotes.
2806 (cl-transform-function-property): Use eval-and-compile rather than
2808 (defstruct): Use declare-function instead of with-no-warnings.
2810 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2811 (byte-compile-output-docform): Re-add the print-circle bindings.
2812 (byte-compile-fix-header): Use #$ just because it's shorter.
2813 (byte-compile-output-file-form): Remove defun/defmacro.
2815 2012-06-01 Martin Rudalics <rudalics@gmx.at>
2817 * simple.el (choose-completion): Remove now obsolete binding for
2820 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
2822 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2823 in order to avoid "Stack overflow in regexp matcher".
2825 2012-05-31 Glenn Morris <rgm@gnu.org>
2827 * image.el: For clarity, call imagemagick-register-types at
2828 top-level, rather than relying on a custom :initialize.
2829 (imagemagick-types-enable): New option. (Bug#11557)
2830 (imagemagick-filter-types): New function. (Bug#7406)
2831 (imagemagick-register-types): Use imagemagick-filter-types.
2832 If disabling support, remove elements altogether rather
2833 than using an impossible regexp.
2834 (imagemagick-types-inhibit): Give it the default init function.
2836 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2838 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2839 Handle arbitrary file name lengths (Bug#11585).
2841 2012-05-31 Martin Rudalics <rudalics@gmx.at>
2843 * desktop.el (desktop-read): Clear previous and next buffers for
2844 all windows and bury *Messages* buffer (bug#11556).
2846 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2848 Add `declare' for `defun'. Align `defmacro's with it.
2849 * emacs-lisp/easy-mmode.el (define-minor-mode)
2850 (define-globalized-minor-mode): Don't autoload the var definitions.
2851 * emacs-lisp/byte-run.el: Use lexical-binding.
2852 (defun-declarations-alist, macro-declarations-alist): New vars.
2853 (defmacro, defun): Use them.
2854 (make-obsolete, define-obsolete-function-alias)
2855 (make-obsolete-variable, define-obsolete-variable-alias):
2857 (macro-declaration-function): Mark obsolete.
2858 * emacs-lisp/autoload.el: Use lexical-binding.
2859 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2861 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2863 * textmodes/ispell.el (ispell-with-no-warnings):
2865 (ispell-kill-ispell, ispell-change-dictionary):
2866 Use `called-interactively-p' for Emacs instead of obsolete
2869 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2871 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2872 (macro-declaration-function): Move var from C code.
2873 (macro-declaration-function): Define function with defalias.
2874 * emacs-lisp/macroexp.el (macroexpand-all-1):
2875 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2876 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2877 defun/defmacro any more.
2878 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2879 Provide fallback for unknown arglist.
2880 (byte-compile-arglist-warn): Change calling convention.
2881 (byte-compile-output-file-form): Move print-vars binding.
2882 (byte-compile-output-docform): Simplify accordingly.
2883 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2884 (byte-compile-defmacro-declaration): Remove.
2885 (byte-compile-file-form-defmumble): Generalize to defalias.
2886 (byte-compile-output-as-comment): Return byte-positions.
2887 Simplify callers accordingly.
2888 (byte-compile-lambda): Use `assert'.
2889 (byte-compile-defun, byte-compile-defmacro): Remove.
2890 (byte-compile-file-form-defalias):
2891 Use byte-compile-file-form-defmumble.
2892 (byte-compile-defalias-warn): Remove.
2894 2012-05-29 Stefan Merten <smerten@oekonux.de>
2896 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
2897 possible. Fix authors. Improve comments. Improve loading of `cl'.
2899 (rst-mode-abbrev-table): Merge definition.
2900 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2901 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2903 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
2905 * calendar/icalendar.el
2906 (icalendar-export-region): Export UID properly.
2908 2012-05-29 Leo Liu <sdl.web@gmail.com>
2909 * calendar/icalendar.el (icalendar-import-format):
2910 Add `icalendar-import-format-uid' (Bug#11525).
2911 (icalendar-import-format-uid): New.
2912 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2915 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2917 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2918 different alternative patterns.
2919 (pcase-codegen): Be more careful to preserve identity.
2920 (pcase--u1): Don't forget to mark vars as used.
2922 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2923 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2924 (byte-compile-from-buffer): ...rather than here.
2926 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2927 functions from byte-compile-function-environment.
2929 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
2931 * window.el (window-deletable-p): Avoid deleting the root window
2932 of a frame with an active minibuffer.
2934 2012-05-29 Martin Rudalics <rudalics@gmx.at>
2936 * simple.el (choose-completion): Use quit-window (Bug#11567).
2938 2012-05-29 Chong Yidong <cyd@gnu.org>
2940 * whitespace.el (whitespace-cleanup): Fix usage of
2941 whitespace-empty-at-bob-regexp (Bug#11492).
2943 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2945 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2948 2012-05-29 Juri Linkov <juri@jurta.org>
2950 * isearch.el (isearch-mode-map): Bind `M-s _' to
2951 `isearch-toggle-symbol'. Bind `M-s c' to
2952 `isearch-toggle-case-fold'.
2953 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2954 (isearch-forward): Add `M-s _' to the docstring.
2955 (isearch-forward-symbol, isearch-toggle-case-fold)
2956 (isearch-symbol-regexp): New functions. (Bug#11381)
2958 2012-05-29 Juri Linkov <juri@jurta.org>
2960 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2961 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2962 a function, call it to get the regexp.
2963 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2964 property `isearch-message-prefix' instead of the string "word ".
2965 (isearch-search-fun-default): For the case of `isearch-word',
2966 return a lambda that calls re-search-forward/re-search-backward
2967 with a regexp returned by `word-search-regexp' or by the function
2970 2012-05-29 Juri Linkov <juri@jurta.org>
2972 * isearch.el (isearch-search-fun-default): New function.
2973 (isearch-search-fun): Move default part to the new function
2974 `isearch-search-fun-default'.
2975 (isearch-search-fun-function): Set the default value to
2976 `isearch-search-fun-default'. (Bug#11381)
2978 * comint.el (comint-history-isearch-end):
2979 Use `isearch-search-fun-default'.
2980 (comint-history-isearch-search): Use `isearch-search-fun-default'
2981 and remove spacial case for `isearch-word'.
2982 (comint-history-isearch-wrap): Remove spacial case for
2985 * hexl.el (hexl-isearch-search-function):
2986 Use `isearch-search-fun-default'.
2988 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2989 Use `word-search-regexp' for `isearch-word'.
2991 * misearch.el (multi-isearch-search-fun):
2992 Use `isearch-search-fun-default'.
2994 * simple.el (minibuffer-history-isearch-search):
2995 Use `isearch-search-fun-default' and remove spacial case for
2997 (minibuffer-history-isearch-wrap): Remove spacial case for
3000 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3001 Remove spacial case for `isearch-word'.
3002 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3004 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3006 Decrease XEmacs incompatibilities.
3007 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3009 (flyspell-delete-region-overlays): Use alternative definition for
3011 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3012 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3013 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3014 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3015 `define-obsolete-face-alias' under XEmacs, but old method.
3017 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3018 `with-no-warnings' definition or Emacs alias.
3019 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3020 (ispell-word): Do not use `region-p' if XEmacs.
3022 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3024 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3025 Check for `ispell-dictionary-base-alist' instead of full
3026 `ispell-dictionary-alist'.
3027 (ispell-init-process): Show spellchecker when starting new Ispell
3030 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3032 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3033 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3035 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
3037 * version.el (motif-version-string, gtk-version-string)
3038 (ns-version-string): Declare.
3040 2012-05-27 Juri Linkov <juri@jurta.org>
3042 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3043 after the `eval-defun-1' specialcaseing
3044 like in `edebug-eval-defun' (bug#10181).
3046 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3047 like in `eval-defun-1'.
3049 2012-05-27 Eli Zaretskii <eliz@gnu.org>
3051 * mail/sendmail.el (mail-yank-region):
3052 Recognize rmail-yank-current-message in addition to insert-buffer.
3053 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
3054 a *mail* buffer created through rmail-start-mail with sendmail as
3057 2012-05-27 Chong Yidong <cyd@gnu.org>
3059 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3060 Default to 256 (Bug#11267).
3062 * help.el (describe-mode): Doc fix.
3064 2012-05-26 Glenn Morris <rgm@gnu.org>
3066 * w32-fns.el (w32-init-info): Remove.
3067 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3069 * info.el (info-initialize): For self-contained NS builds, put the
3070 included info/ directory at the front. (Bug#2791)
3072 * paths.el (Info-default-directory-list): Make it a defcustom,
3073 mainly so that we can use custom-initialize-delay.
3075 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3077 * subr.el (buffer-has-markers-at): Mark obsolete.
3079 * subr.el (lambda): Use declare.
3081 * emacs-lisp/lisp-mode.el (lambda):
3082 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3084 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3086 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3088 2012-05-26 Glenn Morris <rgm@gnu.org>
3090 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3092 2012-05-25 Glenn Morris <rgm@gnu.org>
3094 * paths.el: Remove no-byte-compile.
3095 * loadup.el: No need to load paths.el uncompiled.
3097 * image.el (imagemagick-types-inhibit): Doc fix.
3099 * version.el: Remove no-byte-compile and associated formatting.
3100 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3101 is ancient code from when there was an "inc-vers.el".
3103 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3105 * progmodes/gdb-mi.el: Minor style changes.
3106 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3107 Turn into minor modes.
3108 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3109 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3110 (gdb-shell): Remove unneeded let-binding.
3111 (gdb-get-many-fields): Eliminate O(n²) behavior.
3113 2012-05-25 Eli Zaretskii <eliz@gnu.org>
3115 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3116 platforms that don't link in fontset.c.
3118 2012-05-25 Juri Linkov <juri@jurta.org>
3120 Use the same diff color scheme as in modern VCSes (bug#10181).
3122 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3123 to avoid confusion with `diff-added' that now uses green colors.
3124 (diff-removed): Use shades of red.
3125 (diff-added): Use shades of green.
3126 (diff-changed): Leave just the yellow color.
3127 (diff-use-changed-face): New variable.
3128 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3129 how to highlight context diff changes.
3130 (diff-refine-change): Use shades of yellow.
3131 (diff-refine-removed): New face that uses shades of red.
3132 (diff-refine-added): New face that uses shades of green.
3133 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3134 `diff-refine-removed' in the call to `smerge-refine-subst'
3135 depending on the value of `diff-use-changed-face'.
3137 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3138 (smerge-other): Use shades of green.
3139 (smerge-base): Use shades of yellow.
3140 (smerge-refined-change): Empty face.
3141 (smerge-refined-removed): New face that uses shades of red.
3142 (smerge-refined-added): New face that uses shades of green.
3143 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3144 args `props-r' and `props-a', and use them. Doc fix.
3145 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3146 on its value use different faces `smerge-refined-change',
3147 `smerge-refined-removed', `smerge-refined-added' in the call to
3148 `smerge-refine-subst'.
3150 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3151 Add face condition `min-colors 88' with shades of red.
3152 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3153 `min-colors 88' with shades of green.
3154 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3155 `min-colors 88' with shades of yellow.
3157 2012-05-24 Glenn Morris <rgm@gnu.org>
3159 * paths.el (prune-directory-list, remote-shell-program): Move to...
3160 * files.el (prune-directory-list, remote-shell-program): ...here.
3161 For the latter, delay initialization, prefer ssh, just search PATH.
3163 * paths.el (term-file-prefix): Move to faces.el (the only user).
3164 * faces.el (term-file-prefix): Move here, make it a defcustom.
3166 * paths.el (news-directory, news-path, news-inews-program):
3167 Move to gnus/nnspool.el.
3169 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3171 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3172 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3173 Make the latter a defcustom, with a delayed initialization.
3175 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3176 These were deleted from Gnus itself late 2010.
3178 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
3180 * progmodes/which-func.el (which-func-ff-hook):
3181 Check against user-error, not error.
3183 * emacs-lisp/edebug.el (top): Do not load or set up loading of
3184 cl-specs.el, which no longer exists.
3186 2012-05-22 Glenn Morris <rgm@gnu.org>
3188 * info.el (info-emacs-bug): New command.
3189 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3190 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3192 2012-05-21 Glenn Morris <rgm@gnu.org>
3194 * makefile.w32-in (update-subdirs-SH):
3195 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3197 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3199 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3201 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3202 Simplify Maven regexp, and make sure the file can't start with a space
3205 2012-05-21 Glenn Morris <rgm@gnu.org>
3207 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3208 Scrap superfluous subshells.
3210 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3212 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3213 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3215 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3217 * calc/calc.el (calc-ensure-consistent-units): New variable.
3219 * calc/calc-units.el (math-consistent-units-p)
3220 (math-check-unit-consistency): New functions.
3221 (calc-quick-units, calc-convert-units):
3222 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3224 (calc-extract-units): Fix typo.
3226 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3228 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3230 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3231 (flyspell-default-deplacement-commands): Don't spell check after
3232 repeated window/frame switches (e.g. triggered by mouse-movement).
3233 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3234 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3235 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3236 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3238 (flyspell-get-casechars, flyspell-get-not-casechars):
3239 Simplify; Don't bother removing a ] just to add it back.
3240 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3242 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3244 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3246 (math-function-table): Add support for more C functions.
3248 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3250 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3251 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3252 Protect delay handling for otherchars against empty otherchars.
3254 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3256 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3257 their respective macro declarations.
3258 * skeleton.el (define-skeleton):
3259 * progmodes/compile.el (define-compilation-mode):
3260 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3261 (define-ibuffer-filter):
3262 * emacs-lisp/generic.el (define-generic-mode):
3263 * emacs-lisp/easy-mmode.el (define-minor-mode)
3264 (define-globalized-minor-mode):
3265 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3266 * emacs-lisp/byte-run.el (defsubst):
3267 * custom.el (deftheme): Add doc-string metadata.
3269 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3271 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3273 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3275 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3277 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3278 * emacs-lisp/cl-macs.el: Idem.
3279 * emacs-lisp/cl-specs.el: Remove.
3281 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3283 Minor renaming of internal CL functions and variables.
3284 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3285 (cl--position): Rename from cl-position.
3286 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3287 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3288 (cl--random-state): Rename from *random-state*.
3290 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3292 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3293 parens around the arg list (bug#11499).
3295 2012-05-17 Juri Linkov <juri@jurta.org>
3297 * isearch.el (word-search-regexp, word-search-backward)
3298 (word-search-forward, word-search-backward-lax)
3299 (word-search-forward-lax): Move functions from search.c
3300 (bug#10145, bug#11381).
3302 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3304 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3305 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3306 Delay for otherchars as for normal word components.
3308 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3310 * minibuffer.el (completion--sifn-requote): Fix last change.
3311 (minibuffer-local-must-match-filename-map):
3312 Move define-obsolete-variable-alias before its var.
3314 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3316 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3318 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3320 (completion--string-equal-p): New function.
3321 (completion--twq-all): Use it to get better assertion failure data.
3323 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3324 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3325 (shell--requote-argument): New functions.
3326 (shell-completion-vars): Use them.
3327 (shell--parse-pcomplete-arguments): Rename from
3328 shell-parse-pcomplete-arguments.
3329 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3330 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3331 Obey comint-file-name-quote-list.
3333 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3334 (smie-indent-keyword): Use it.
3336 2012-05-14 Stefan Merten <smerten@oekonux.de>
3338 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3340 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3342 * net/rlogin.el (rlogin-mode-map): Fix last change.
3344 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
3346 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3347 the following \r\n using a single `process-send-string', since the
3348 Lotus SMTP server refuses to accept any commands if they are sent
3349 with two `process-send-string's (Bug#11444).
3351 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3353 * shell.el (shell-parse-pcomplete-arguments):
3354 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
3356 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3358 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
3359 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3360 (image-transform-width, image-transform-fit-width): New functions.
3361 (image-transform-properties): Use them.
3362 (image-transform-check-size): New function.
3363 (image-toggle-display-image): Use it (for testing).
3364 (image-transform-set-rotation): Reduce angle mod 360.
3365 Delete obsolete comment.
3367 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3369 * image-mode.el: Fix scaling (bug#11399).
3370 (image-transform-resize): Doc fix.
3371 (image-transform-properties): Default scale is 1 and height should
3374 2012-05-13 Johan Bockgård <bojohan@gnu.org>
3376 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3377 than hard-coding `car', to fix misbehavior when moving forward.
3379 2012-05-13 Chong Yidong <cyd@gnu.org>
3381 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3382 (tabulated-list-entries, tabulated-list-padding)
3383 (tabulated-list-sort-key): Make permanent-local.
3385 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3386 (electric-buffer-list): Put electric buffer menu
3387 command descriptions in this docstring, instead of the docstring
3388 of electric-buffer-menu-mode. Code cleanups.
3389 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3390 Electric-buffer-menu-mode.
3391 (electric-buffer-update-highlight): Minor code cleanup.
3393 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
3395 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3398 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3400 Move define-obsolete-variable-alias before the var's definition.
3401 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3402 * tooltip.el (tooltip-hook):
3403 * textmodes/reftex-toc.el (reftex-toc-map):
3404 * textmodes/reftex-sel.el (reftex-select-label-map)
3405 (reftex-select-bib-map):
3406 * textmodes/reftex-index.el (reftex-index-map)
3407 (reftex-index-phrases-map):
3408 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3409 * progmodes/meta-mode.el (meta-mode-map):
3410 * novice.el (disabled-command-hook):
3411 * loadhist.el (unload-hook-features-list):
3412 * frame.el (blink-cursor):
3413 * files.el (find-file-not-found-hooks, write-file-hooks)
3414 (write-contents-hooks):
3415 * emulation/tpu-edt.el (GOLD-map):
3416 * emacs-lock.el (emacs-lock-from-exiting):
3417 * emacs-lisp/generic.el (generic-font-lock-defaults):
3418 * emacs-lisp/chart.el (chart-map):
3419 * dos-fns.el (register-name-alist):
3420 * dired-x.el (dired-omit-files-p):
3421 * desktop.el (desktop-enable):
3422 * cus-edit.el (custom-mode-hook):
3423 * buff-menu.el (buffer-menu-mode-hook):
3424 * bookmark.el (bookmark-read-annotation-text-func)
3425 (bookmark-exit-hooks):
3426 * allout.el (allout-mode-deactivate-hook)
3427 (allout-exposure-change-hook, allout-structure-added-hook)
3428 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3429 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3430 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3431 comes before the corresponding variable's definition.
3433 2012-05-12 Chong Yidong <cyd@gnu.org>
3435 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
3436 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3437 (Buffer-menu-mode-map): Bind it.
3438 (Buffer-menu--pretty-name): Add a mouse-face property.
3440 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3442 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3443 (prolog-upper-case-string, prolog-lower-case-string)
3444 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3445 (prolog-use-smie, prolog-smie-grammar): New vars.
3446 (prolog-smie-forward-token, prolog-smie-backward-token)
3447 (prolog-smie-rules): New funs.
3448 (prolog-comment-indent): Remove.
3449 (prolog-mode-variables): Use default comment indentation instead.
3451 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3452 (prolog-mode): Don't call them any more.
3453 (prolog-electric-colon, prolog-electric-dash)
3454 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3456 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3458 * minibuffer.el (completion--twq-all): Again, allow case differences.
3460 * term.el: Move keymap initialization code to be more idiomatic.
3461 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3462 (term-terminal-menu): Move initialization into declaration.
3463 (term-escape-char): Let the user set it in her .emacs.
3465 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3466 Provide SMIE-based indentation (not enabled by default yet).
3467 (sh-mode-map): Don't bind electric keys.
3468 Use electric-pair-mode instead of skeleton-pair.
3469 (sh-assignment-regexp): Fit within 80 columns.
3470 (sh-indent-supported): Specify actual shell name instead of boolean.
3471 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3472 (sh-maybe-here-document): Use it. Make obsolete.
3473 (sh-electric-here-document-mode) New minor mode.
3474 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3475 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3476 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3477 (sh-smie-rc-grammar, sh-use-smie): New vars.
3478 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3479 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3480 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3481 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3482 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3483 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3484 (sh-set-shell): Use smie-setup if requested.
3486 * term.el (term-set-escape-char): Properly set term-escape-char.
3487 See http://stackoverflow.com/questions/10524656.
3489 2012-05-10 Chong Yidong <cyd@gnu.org>
3491 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3492 Use url-generic-parse-url, and handle host names and Windows
3494 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3495 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3496 URL schemes to work on.
3497 (ffap--toggle-read-only): New function.
3498 (ffap-read-only, ffap-read-only-other-window)
3499 (ffap-read-only-other-frame): Use it.
3500 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3501 necessary for ffap-url-unwrap-remote.
3503 2012-05-10 Dave Abrahams <dave@boostpro.com>
3505 * cus-start.el (create-lockfiles): Add it.
3507 2012-05-09 Chong Yidong <cyd@gnu.org>
3509 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3510 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3512 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3514 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3516 2012-05-09 Chong Yidong <cyd@gnu.org>
3518 * ansi-color.el (ansi-color-process-output): Check for validity of
3519 comint-last-output-start before using it. This avoids a bad
3520 interaction with gdb-mi's input/output buffer.
3522 2012-05-09 Glenn Morris <rgm@gnu.org>
3524 * files.el (dir-locals-read-from-file):
3525 Mention dir-locals in any error message.
3527 2012-05-09 Chong Yidong <cyd@gnu.org>
3529 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3530 package (Bug#11410).
3532 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3533 variables into description.
3535 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3537 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3538 shell-delimiter-argument-list (bug#11348).
3539 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3541 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
3543 * textmodes/rst.el: Silence byte-compiler warnings.
3544 (rst-re-alist, rst-reset-section-caches): Move around.
3545 (rst-re): Use `characterp', not `char-valid-p'.
3546 (font-lock-beg, font-lock-end): Declare.
3548 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3549 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3551 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3553 2012-05-08 Glenn Morris <rgm@gnu.org>
3555 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3557 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3559 * vc/log-edit.el: Add GNU coding standards highlighting.
3560 (log-edit-font-lock-gnu-style)
3561 (log-edit-font-lock-gnu-keywords): New vars.
3562 (log-edit-font-lock-keywords): New fun.
3563 (log-edit-mode): Don't fold case in font-lock.
3564 (log-edit-font-lock-keywords): Do not assume case-folding.
3566 * imenu.el: Misc cleanup. Make docstrings out of comments.
3567 Use lexical-binding.
3568 (imenu--index-alist, imenu--last-menubar-index-alist)
3569 (imenu-menubar-modified-tick): Use defvar-local.
3570 (imenu--split-menu): Remove unused var.
3571 (imenu--cleanup-seen): Declare as global.
3572 (imenu--cleanup): Use dolist.
3574 * subr.el (defvar-local): Add debug spec and doc-string position.
3576 2012-05-08 Glenn Morris <rgm@gnu.org>
3578 * language/burmese.el, language/cham.el, language/czech.el:
3579 * language/english.el, language/georgian.el, language/greek.el:
3580 * language/japanese.el, language/khmer.el, language/korean.el:
3581 * language/lao.el, language/misc-lang.el, language/romanian.el:
3582 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3583 * language/thai.el, language/utf-8-lang.el:
3584 Remove no-byte-compile setting.
3586 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3588 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3590 * progmodes/make-mode.el (makefile-browse):
3591 Remove unnecessary interactive. (Bug#11324)
3593 2012-05-07 Glenn Morris <rgm@gnu.org>
3595 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3597 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3599 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3601 * loadup.el: Preload newcomment.el.
3602 * newcomment.el: Move autoload-only code to toplevel.
3604 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3605 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3606 Handle new :right-align column property.
3607 (tabulated-list-print-col): Idem, plus use `display' text-property to
3608 try and preserve alignment for variable pitch fonts.
3610 2012-05-07 Chong Yidong <cyd@gnu.org>
3612 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3613 (tabulated-list-use-header-line): New var.
3614 (tabulated-list-init-header): Use it.
3615 (tabulated-list-print-fake-header): New function.
3616 (tabulated-list-print): Use it.
3617 (tabulated-list-sort-button-map): Add non-header-line commands.
3618 (tabulated-list-init-header): Add column name property to basic
3620 (tabulated-list-col-sort): Handle non-header-line button case.
3621 (tabulated-list--sort-by-column-name): Fix a corner case.
3623 * buff-menu.el (list-buffers--refresh):
3624 Handle Buffer-menu-use-header-line.
3626 2012-05-06 Chong Yidong <cyd@gnu.org>
3628 * buff-menu.el: Convert to Tabulated List mode.
3629 (Buffer-menu-buffer+size-width): Make obsolete.
3630 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3631 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3632 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3633 documentation into docstring of buffer-menu.
3634 (Buffer-menu-toggle-files-only): Add an informative message.
3635 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3636 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3637 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3638 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3639 (Buffer-menu-execute, Buffer-menu-select)
3640 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3641 (Buffer-menu-bury): Use Tabulated List machinery.
3642 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3643 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
3645 (list-buffers--refresh): New function.
3646 (list-buffers-noselect): Use it.
3647 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3648 (Buffer-menu--pretty-file-name): New helper functions.
3650 * loadup.el: Preload tabulated-list.
3652 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3653 tabulated-list-sort-column.
3654 (tabulated-list-init-header): Add the initial aligning space even
3655 if tabulated-list-padding is zero.
3657 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3659 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3660 whose cdr is not a cons cell correctly (bug#11038).
3662 2012-05-06 Chong Yidong <cyd@gnu.org>
3664 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3665 Accept additional plist in column descriptors.
3666 (tabulated-list-init-header): Obey it.
3667 (tabulated-list-get-entry): New function.
3668 (tabulated-list-put-tag): Use it. Use string-width instead of
3670 (tabulated-list--column-number): New function.
3671 (tabulated-list-print): Use it.
3672 (tabulated-list-print-col): New function.
3673 Set `tabulated-list-column-name' property on each column's text.
3674 (tabulated-list-print-entry): Use it.
3675 (tabulated-list-delete-entry, tabulated-list-set-col):
3677 (tabulated-list-sort-column): New command (Bug#11337).
3679 * buff-menu.el (list-buffers): Move C-x C-b binding from
3680 buff-menu.el to bindings.el.
3682 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3683 :advertised-binding feature.
3685 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3687 * progmodes/compile.el (compilation-internal-error-properties):
3688 Calculate start position correctly when end-col is set but
3689 end-line is not (Bug#11382).
3691 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3693 * man.el (Man-unindent): Use text-property-default-nonsticky to
3694 prevent untabify from inheriting face properties (Bug#11408).
3696 2012-05-05 Stefan Merten <smerten@oekonux.de>
3698 * textmodes/rst.el: Major merge with upstream development up to
3699 Docutils SVN r7399 / rst.el V1.2.1.
3701 Clarify maintainership and authors.
3703 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3704 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3705 (rst-official-version, rst-official-cvs-rev, rst-version)
3706 (rst-package-emacs-version-alist): New functions and variables
3707 for version information.
3709 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3710 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3711 (rst-mode-syntax-table, rst-mode): New and corrected functions
3712 and variables representing reStructuredText features.
3714 (rst-re): New function for reStructuredText regexes. Use in
3717 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3718 (rst-mode-map): Rebind keys.
3720 (rst-mode-lazy, rst-font-lock-keywords)
3721 (rst-font-lock-extend-region)
3722 (rst-font-lock-extend-region-internal)
3723 (rst-font-lock-extend-region-extend)
3724 (rst-font-lock-find-unindented-line-limit)
3725 (rst-font-lock-find-unindented-line-match)
3726 (rst-adornment-level, rst-font-lock-adornment-level)
3727 (rst-font-lock-adornment-match)
3728 (rst-font-lock-handle-adornment-pre-match-form)
3729 (rst-font-lock-handle-adornment-matcher): Major revision of
3730 font-locking. Integrate with other code. Use `jit-lock-mode'.
3732 (rst-preferred-adornments, rst-adjust-hook)
3733 (rst-new-adornment-down, rst-preferred-bullets)
3734 (rst-preferred-bullets, rst-indent, rst-indent-width)
3735 (rst-indent-field, rst-indent-literal-normal)
3736 (rst-indent-literal-minimized, rst-indent-comment): Change,
3737 extend and improve customization.
3739 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3740 (rst-normalize-cursor-position, rst-get-decoration)
3741 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3742 (rst-rstrip, rst-toc-insert-find-delete-contents)
3743 (rst-shift-fill-region, rst-compute-bullet-tabs)
3744 (rst-debug-print-tabs, rst-debug-mark-found)
3745 (rst-shift-region-guts, rst-shift-region-right)
3746 (rst-shift-region-left, rst-use-char-classes)
3747 (rst-font-lock-keywords-function)
3748 (rst-font-lock-indentation-point)
3749 (rst-font-lock-find-unindented-line-begin)
3750 (rst-font-lock-find-unindented-line-end)
3751 (rst-font-lock-find-unindented-line)
3752 (rst-font-lock-adornment-point, rst-font-lock-level)
3753 (rst-adornment-level-alist): Remove functions and variables.
3755 (rst-compare-adornments, rst-get-adornment-match)
3756 (rst-suggest-new-adornment, rst-get-adornments-around)
3757 (rst-adornment-complete-p, rst-get-next-adornment)
3758 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3759 (rst-straighten-adornments): Standardize function names to
3760 use "adornment" instead of "decoration". Correct callers.
3761 Similar standardizing in many places.
3763 (rst-update-section, rst-adjust, rst-promote-region)
3764 (rst-enumerate-region, rst-bullet-list-region)
3765 (rst-repeat-last-character): Correct use of `interactive'.
3767 (rst-classify-adornment, rst-find-all-adornments)
3768 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3769 (rst-find-leftmost-column, rst-repeat-last-character):
3772 (rst-find-title-line, rst-reset-section-caches)
3773 (rst-get-adornments-around, rst-adjust-adornment-work)
3774 (rst-arabic-to-roman, rst-roman-to-arabic)
3775 (rst-insert-list-pos, rst-insert-list-new-item)
3776 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3779 (rst-all-sections, rst-section-hierarchy)
3780 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3783 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3784 configuration instead of only buffer. Change where necessary.
3786 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3787 (rst-shift-region, rst-adaptive-fill): New functions for
3788 indentation and filling.
3790 (rst-comment-line-break, rst-comment-indent)
3791 (rst-comment-insert-comment, rst-comment-region)
3792 (rst-uncomment-region): New functions for handling comments.
3794 (rst-compile): Quote shell arguments.
3796 (rst-compile-pdf-preview, rst-compile-slides-preview):
3797 Delete temporary files after use.
3799 2012-05-05 Glenn Morris <rgm@gnu.org>
3801 * calendar/cal-html.el: Optionally include holidays in the output.
3802 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3803 (cal-html-holidays): New option.
3804 (cal-html-css-default): Add holiday entry.
3805 (holiday-in-range): Autoload it.
3806 (cal-html-htmlify-entry): Add optional class argument.
3807 (cal-html-htmlify-list): Add optional holidays argument.
3808 (cal-html-insert-agenda-days): Include holidays in the output.
3809 (cal-html-one-month): Maybe include holidays.
3811 * calendar/holidays.el (holiday-in-range):
3812 Move here from cal-tex-list-holidays.
3813 * calendar/cal-tex.el (cal-tex-list-holidays):
3814 Make it an obsolete alias for holiday-in-range. Update all callers.
3816 2012-05-05 Chong Yidong <cyd@gnu.org>
3818 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3821 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3823 * files.el (file-auto-mode-skip): New var.
3824 (set-auto-mode-1): Use it.
3826 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3828 * repeat.el: Use lexical-binding.
3829 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3830 (repeat-undo-count): Remove.
3832 * progmodes/octave-mod.el (octave-abbrev-start):
3833 * progmodes/f90.el (f90-abbrev-start):
3834 * face-remap.el (text-scale-adjust):
3835 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3837 * emacs-lisp/pcase.el (pcase--let*): New function.
3838 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3840 (pcase--split-pred): Be more clever about ruling out overlap between
3841 a predicate and some constant pattern.
3842 (pcase--q1): Use `null' instead of (eq foo nil).
3844 * subr.el (setq-local, defvar-local): New macros.
3845 (kbd): Redefine as an alias.
3846 (with-selected-window): Leave unrelated frames alone.
3847 (set-temporary-overlay-map): New function.
3849 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3851 * subr.el (user-error): New function.
3852 * window.el (switch-to-buffer):
3853 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3854 (smerge-match-conflict):
3855 * simple.el (previous-matching-history-element)
3856 (next-matching-history-element, goto-history-element, undo-more)
3858 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3859 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3860 (next-file, tags-loop-scan, list-tags, complete-tag):
3861 * progmodes/compile.el (compilation-loop):
3862 * mouse.el (mouse-minibuffer-check):
3863 * man.el (Man-bgproc-sentinel, Man-goto-page):
3864 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3865 (Info-history-forward, Info-follow-reference, Info-menu)
3866 (Info-extract-menu-item, Info-extract-menu-counting)
3867 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3868 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3869 (Info-next-reference, Info-prev-reference, Info-index)
3870 (Info-index-next, Info-follow-nearest-node)
3871 (Info-copy-current-node-name):
3872 * imenu.el (imenu--make-index-alist)
3873 (imenu-default-create-index-function, imenu-add-to-menubar):
3874 * files.el (basic-save-buffer, recover-file):
3875 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3876 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3877 (checkdoc-message-text, checkdoc-defun):
3878 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3879 * cus-edit.el (customize-changed-options, customize-rogue)
3880 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3881 (custom-variable-mark-to-reset-standard)
3882 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3884 * completion.el (check-completion-length):
3885 * comint.el (comint-search-arg)
3886 (comint-previous-matching-input-string-position)
3887 (comint-previous-matching-input)
3888 (comint-replace-by-expanded-history-before-point, comint-send-input)
3889 (comint-copy-old-input, comint-backward-matching-input)
3890 (comint-goto-process-mark, comint-set-process-mark):
3891 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3892 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3894 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3896 * dabbrev.el (dabbrev--ignore-case-p): New function.
3897 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3900 * files.el (automount-dir-prefix): Mark as obsolete.
3902 2012-05-04 Glenn Morris <rgm@gnu.org>
3904 * patcomp.el, play/bruce.el: Move to obsolete/.
3906 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3908 Fix minor Y10k bugs.
3909 * arc-mode.el (archive-unixdate):
3910 * autoinsert.el (auto-insert-alist):
3911 * calc/calc-forms.el (math-this-year):
3912 * emacs-lisp/copyright.el (copyright-current-year)
3913 (copyright-update-year, copyright):
3914 * tar-mode.el (tar-clip-time-string):
3915 * time.el (display-time-update):
3916 Don't assume years have 4 digits.
3918 2012-05-04 Chong Yidong <cyd@gnu.org>
3920 * dos-w32.el (file-name-buffer-file-type-alist)
3921 (direct-print-region-use-command-dot-com):
3922 * ffap.el (ffap-menu-regexp):
3923 * find-file.el (ff-special-constructs):
3924 * follow.el (follow-debug):
3925 * forms.el (forms--debug):
3926 * iswitchb.el (iswitchb-all-frames):
3927 * ido.el (ido-all-frames):
3928 * emacs-lisp/timer.el (timer-max-repeats):
3929 * mail/feedmail.el (feedmail-mail-send-hook)
3930 (feedmail-mail-send-hook-queued):
3931 * mail/footnote.el (footnote-signature-separator):
3932 * mail/mailabbrev.el (mail-alias-separator-string)
3933 (mail-abbrev-mode-regexp):
3934 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3935 * progmodes/idlwave.el (idlwave-libinfo-file)
3936 (idlwave-default-completion-case-is-down)
3937 (idlwave-library-routines): Convert defvars to defcustoms.
3939 * mail/rmail.el (rmail-decode-mime-charset):
3940 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3941 (idlwave-shell-fix-inserted-breaks)
3942 (idlwave-shell-activate-alt-keybindings)
3943 (idlwave-shell-use-breakpoint-glyph):
3944 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3946 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3948 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3950 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3952 * progmodes/verilog-mode.el (font-lock-keywords):
3953 Fix mis-highligting auto. Reported by Craig Barner.
3954 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3955 defines from global name space. Reported by Dan Dever.
3956 (verilog-auto-reset, verilog-auto-reset-widths)
3957 (verilog-auto-tieoff): Support using unbased numbers for
3958 AUTORESET and AUTOTIEOFF.
3959 (verilog-submit-bug-report): Update variable list.
3960 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3961 parenthesis from not matching. Reported by Michael Rytting.
3962 (verilog-auto-template-lint): Fix hash error when linting modules
3963 with no used templates.
3964 (verilog-warn, verilog-warn-error)
3965 (verilog-warn-fatal): When non-interactive report multiple
3966 warnings before exiting. Suggested by Brad Dobbie.
3967 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3968 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3969 to report unused template errors. Reported by Brad Dobbie.
3970 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3971 nets, bug438. Reported by Vns Blore.
3972 (verilog-auto-inout-module, verilog-auto-reg)
3973 (verilog-read-decls, verilog-read-sub-decls-sig)
3974 (verilog-signals-edit-wire-reg, verilog-signals-with):
3975 Fix passing of Verilog data types in ANSI input/output ports
3976 such as "output logic" into the AUTOs. Special case "wire" and
3977 "reg" for backwards compatibility presuming Verilog 2001.
3978 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3979 (verilog-preprocess): Fix replication of preprocess output.
3980 Reported by Brad Dobbie.
3981 (verilog-auto-inst-interfaced-ports):
3982 Create verilog-auto-inst-interfaced-ports, bug429.
3983 Reported by Julian Gorfajn.
3984 (verilog-after-save-font-hook)
3985 (verilog-before-save-font-hook): New variable.
3986 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3987 (verilog-save-font-mods): Wrap disabling fontification, reported
3989 (verilog-do-indent, verilog-pretty-declarations-auto)
3990 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3991 Reported by Pierre-David Pfister.
3992 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3993 of class declarations, bug292. Reported by Kevin Heilman.
3994 (verilog-read-decls): Fix 'parameter type' not appearing in
3995 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3996 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3997 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3998 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3999 Reported by David Kravitz.
4001 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
4003 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4004 assignment with tests in ifs and for loops.
4005 (verilog-extended-complete-re, verilog-complete-reg): Change so
4006 that DPI inport functions don't look like fuction declarations.
4007 (verilog-pretty-expr): Don't line up assignment
4008 operations to the test and increment in if and for loops
4009 (verilog-extended-complete-re, verilog-complete-reg): Change so
4010 that DPI inport functions don't look like fuction declarations.
4012 2012-05-03 Kenichi Handa <handa@m17n.org>
4014 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
4015 decoding, and show a warning message without signaling an error
4018 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4020 * emacs-lisp/bytecomp.el
4021 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4022 since cconv.el might have introduced :fun-body, internal-make-closure,
4023 and friends for bytecomp to handle (bug#11391).
4024 * custom.el (defcustom): Avoid ((λ ..) ..).
4026 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4028 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4030 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
4032 * notifications.el (dbus-debug):
4033 * term/linux.el (gpm-mouse-enable):
4034 * term/screen.el (xterm-register-default-colors): Declare.
4036 2012-05-02 Chong Yidong <cyd@gnu.org>
4038 * cus-start.el (gc-cons-percentage, exec-suffixes)
4039 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4040 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4041 (make-cursor-line-fully-visible, void-text-area-pointer)
4042 (font-list-limit): Add customization data.
4044 * allout.el (allout-exposure-change-functions)
4045 (allout-structure-added-functions)
4046 (allout-structure-deleted-functions)
4047 (allout-structure-shifted-functions): Rename abnormal hooks from
4048 *-hook, and convert to defcustoms.
4049 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4050 Convert to defcustoms.
4051 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4053 * allout-widgets.el: Hook callers changed.
4055 2012-05-02 Eli Zaretskii <eliz@gnu.org>
4057 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4058 the yanked message in preference to the default value of
4059 buffer-file-coding-system.
4061 2012-05-02 Martin Rudalics <rudalics@gmx.at>
4063 * window.el (display-buffer--action-function-custom-type):
4066 2012-05-02 Alan Mackenzie <acm@muc.de>
4068 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4070 2012-05-01 Glenn Morris <rgm@gnu.org>
4072 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4074 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4076 * cus-edit.el (custom-variable-documentation): Simplify with format.
4078 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4079 Stefan Monnier <monnier@iro.umontreal.ca>
4081 * simple.el (suggest-key-bindings, execute-extended-command):
4082 Move from keyboard.c.
4084 2012-05-01 Chong Yidong <cyd@gnu.org>
4086 * follow.el: Eliminate advice.
4087 (set-process-filter, process-filter, sit-for): Advice deleted.
4088 (follow-mode-off-hook): Obsolete hook removed.
4089 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4091 (follow-auto): Use a :set function.
4092 (follow-mode): Rewritten. Don't advise process filters.
4093 (follow-switch-to-current-buffer-all, follow-scroll-up)
4094 (follow-scroll-down): Assume follow-mode is bound.
4095 (follow-comint-scroll-to-bottom)
4096 (follow-align-compilation-windows): New functions.
4097 (follow--window-sorter): New function.
4098 (follow-all-followers): Use it to explicitly sort windows by their
4099 positions; don't make assumptions about next-window order.
4100 (follow-windows-start-end, follow-delete-other-windows-and-split)
4101 (follow-calc-win-start): Doc fix.
4102 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4103 vertical-motion unnecessarily.
4104 (follow-adjust-window): New function.
4105 (follow-post-command-hook): Use it.
4106 (follow-call-set-process-filter, follow-call-process-filter)
4107 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4108 (follow-stop-intercept-process-output, follow-generic-filter):
4110 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
4111 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4112 New functions, replacing advice on scroll-bar-* commands.
4113 (follow-mwheel-scroll): New function (Bug#4112).
4115 * comint.el (comint-adjust-point): New function.
4116 (comint-postoutput-scroll-to-bottom): Use it.
4117 Call follow-comint-scroll-to-bottom for Follow mode buffers.
4119 2012-05-01 Glenn Morris <rgm@gnu.org>
4121 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4122 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4123 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4124 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4125 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4126 Remove no-byte-compile setting.
4128 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4130 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4131 all-completions code to not return a number in the last cdr.
4133 2012-04-30 Leo Liu <sdl.web@gmail.com>
4135 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4138 2012-04-29 Chong Yidong <cyd@gnu.org>
4140 * follow.el (follow-calc-win-end): Rewrite to handle partial
4141 screen lines correctly (Bug#8390).
4142 (follow-avoid-tail-recenter): Minor cleanup.
4144 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4146 Avoid the obsolete `assoc' package.
4147 * speedbar.el (speedbar-refresh): Avoid adelete.
4148 (speedbar-file-lists): Simplify and avoid aput.
4149 * man.el (Man--sections, Man--refpages): New vars, replacing
4150 Man-sections-alist and Man-refpages-alist.
4151 (Man-build-section-alist, Man-build-references-alist):
4152 Use them; avoid aput.
4153 (Man--last-section, Man--last-refpage): New vars.
4154 (Man-follow-manual-reference): Use them.
4155 Use the `default' arg of completing-read.
4156 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4158 2012-04-27 Chong Yidong <cyd@gnu.org>
4160 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4162 * startup.el (x-apply-session-resources): New function.
4164 * term/ns-win.el (ns-initialize-window-system):
4165 * term/w32-win.el (w32-initialize-window-system):
4166 * term/x-win.el (x-initialize-window-system): Use it to properly
4167 set menu-bar-mode and other vars from X resources, even if the
4168 initial frame is not a window-system frame (Bug#2299).
4170 * subr.el (read-key): Avoid running filter function when setting
4171 up temporary tool bar entries (Bug#9922).
4173 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
4175 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4178 2012-04-27 Chong Yidong <cyd@gnu.org>
4180 * select.el (xselect--encode-string): New function, split from
4181 xselect-convert-to-string.
4182 (xselect-convert-to-string): Use it.
4183 (xselect-convert-to-filename, xselect-convert-to-os)
4184 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4185 returned strings are properly encoded (Bug#11315).
4187 2012-04-27 Chong Yidong <cyd@gnu.org>
4189 * simple.el (delete-active-region): Move to killing custom group.
4191 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
4193 * progmodes/which-func.el (which-func-current): Quote %
4194 characters for mode-line processing.
4196 2012-04-27 Chong Yidong <cyd@gnu.org>
4198 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4199 reaching eob (Bug#11286).
4201 2012-04-27 Eli Zaretskii <eliz@gnu.org>
4203 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4204 (gdb): Make it buffer-local and init to zero.
4205 (gdb-control-commands-regexp): New variable.
4206 (gdb-send): Don't wrap in "-interpreter-exec console" if
4207 gdb-control-level is positive. Increment gdb-control-level
4208 whenever the command matches gdb-control-commands-regexp, and
4209 decrement it each time the command is "end". (Bug#11279)
4211 2012-04-27 Martin Rudalics <rudalics@gmx.at>
4213 * window.el (adjust-window-trailing-edge, enlarge-window)
4214 (shrink-window, window-resize):
4215 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4216 windows (Bug#11276).
4218 2012-04-27 Chong Yidong <cyd@gnu.org>
4220 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
4221 fix "missing prefix" warning. All callers changed.
4223 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4225 * emacs-lisp/assoc.el: Move to obsolete/.
4227 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4229 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
4231 * term/ns-win.el (ns-define-service):
4232 * progmodes/pascal.el (pascal-goto-defun):
4233 * progmodes/js.el (js--read-tab):
4234 * progmodes/etags.el (tags-lazy-completion-table):
4235 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4236 * emacs-lisp/ewoc.el (ewoc--wrap):
4237 * emacs-lisp/assoc.el (aput, adelete, amake):
4238 * doc-view.el (doc-view-convert-current-doc):
4239 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4241 2012-04-26 Chong Yidong <cyd@gnu.org>
4243 * image.el (image-type-from-buffer): Only return supported image
4246 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4247 value, for symmetry with diff-end-of-hunk.
4248 (diff-split-hunk, diff-find-source-location)
4249 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4250 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4251 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4252 compute the relevant hunk or file properly (Bug#6005).
4253 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4255 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4264 * vc/vc.el: Replace lexical-let by lexical-binding.
4265 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4266 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4267 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4269 2012-04-26 Chong Yidong <cyd@gnu.org>
4271 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4272 (diff-mode-shared-map): Bind it to / and [remap undo].
4274 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4275 (ediff-window-setup-function): Use it as the default, to set up
4276 windows based on whether the current frame is graphical (Bug#2138).
4277 (ediff-choose-window-setup-function-automatically): Make obsolete.
4279 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4281 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4283 * ffap.el: Remove old code for obsolete package.
4284 (ffap-complete-as-file-p): Remove.
4286 Use completion-table-with-quoting for comint and pcomplete.
4287 * comint.el (comint--unquote&requote-argument)
4288 (comint--unquote-argument, comint--requote-argument): New functions.
4289 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4290 (comint-quote-filename): Use regexp-opt-charset.
4291 (comint--common-suffix, comint--common-quoted-suffix)
4292 (comint--table-subvert): Remove.
4293 (comint-unquote-function, comint-requote-function): New vars.
4294 (comint--complete-file-name-data): Use them with
4295 completion-table-with-quoting.
4296 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4297 * pcomplete.el (pcomplete-arg-quote-list)
4298 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4299 (pcomplete-unquote-argument-function): Default to non-nil.
4300 (pcomplete-unquote-argument): Simplify.
4301 (pcomplete--common-quoted-suffix): Remove.
4302 (pcomplete-requote-argument-function): New var.
4303 (pcomplete--common-suffix): New function.
4304 (pcomplete-completions-at-point): Use completion-table-with-quoting
4305 and completion-table-subvert.
4307 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4308 (minibuffer--double-dollars): Preserve properties.
4309 (completion--sifn-requote): New function.
4310 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4312 * minibuffer.el: Add support for completion of quoted/escaped data.
4313 (completion-table-with-quoting, completion-table-subvert): New funs.
4314 (completion--twq-try, completion--twq-all): New functions.
4315 (completion--nth-completion): New function.
4316 (completion-try-completion, completion-all-completions): Use it.
4318 2012-04-25 Leo Liu <sdl.web@gmail.com>
4320 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4321 Use compilation-message if available to find real filename.
4323 2012-04-25 Chong Yidong <cyd@gnu.org>
4325 * vc/diff-mode.el (diff-setup-whitespace): New function.
4326 (diff-mode): Use it.
4328 * vc/diff.el (diff-sentinel):
4329 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4330 Whitespace mode variables based on diff style (Bug#8612).
4332 2012-04-25 Leo Liu <sdl.web@gmail.com>
4334 * progmodes/python.el (python-send-region): Add suffix .py to the
4337 * files.el (auto-mode-alist): Use javascript-mode instead.
4339 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4341 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
4343 * net/soap-client.el (soap-resolve-references-for-sequence-type)
4344 (soap-resolve-references-for-array-type): Hack to prevent self
4345 references, see Bug#9.
4346 (soap-parse-envelope): Report the contents of the 'detail' node
4347 when receiving a fault reply.
4348 (soap-parse-envelope): Report the contents of the entire 'detail' node.
4350 * net/soap-inspect.el (soap-sample-value-for-simple-type)
4351 (soap-inspect-simple-type): New function.
4353 * net/soap-client.el (soap-simple-type): New struct.
4354 (soap-default-xsd-types, soap-default-soapenc-types)
4355 (soap-decode-basic-type, soap-encode-basic-type):
4356 support unsignedInt and double basic types.
4357 (soap-resolve-references-for-simple-type)
4358 (soap-parse-simple-type, soap-encode-simple-type): New function.
4359 (soap-parse-schema): Parse xsd:simpleType declarations.
4361 * net/soap-client.el (soap-default-xsd-types)
4362 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4363 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4364 the local name of "soapenc:Array".
4365 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
4366 decoding integer, byte and anyURI xsd types.
4368 2012-04-25 Chong Yidong <cyd@gnu.org>
4370 * cus-edit.el (custom-buffer-create-internal): Update header text.
4372 2012-04-25 Eli Zaretskii <eliz@gnu.org>
4374 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4375 settings on 'system-type', not on 'window-system'. On MS-Windows,
4376 set interactive-mode on in GDB.
4378 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4380 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4381 (ruby-syntax-propertize-regexp): Remove.
4382 (ruby-syntax-propertize-function): Split regexp into chunks.
4383 Match following code directly.
4385 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4387 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4388 (ruby-syntax-propertize-regexp): New function.
4389 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4390 by a special keyword.
4392 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4393 (ruby-syntax-general-delimiters-goto-beg)
4394 (ruby-syntax-propertize-general-delimiters): New functions.
4395 (ruby-syntax-propertize-function): Use them to handle GDL.
4396 (ruby-font-lock-keywords): Move old handling of GDL...
4397 (ruby-font-lock-syntactic-keywords): .. to here.
4398 (ruby-calculate-indent): Adjust indentation for GDL.
4400 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
4402 * notifications.el (top): Remove unneeded declarations.
4403 (notifications-specification-version): Change to "1.2".
4404 (notifications-interface, notifications-notify-method)
4405 (notifications-close-notification-method): Fix docstring.
4406 (notifications-get-capabilities-method): New defconst.
4407 (notifications-notify): Add :action-items, :resident and
4408 :transient hints. Change "image_data" to "image-data" and
4409 "image_path" to "image-path".
4410 (notifications-get-capabilities): New defun.
4412 2012-04-24 Leo Liu <sdl.web@gmail.com>
4414 * progmodes/python.el: Move hideshow setup to the end.
4416 2012-04-24 Martin Rudalics <rudalics@gmx.at>
4418 * window.el (handle-select-window): Clear echo area since this is
4419 no more done by read_char (Bug#11304).
4421 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4423 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4424 and `/ M' to filter-derived-mode.
4425 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4426 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4427 (ibuffer-mark-by-mode): Use default rather than initial-input.
4428 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4430 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4432 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4433 (ibuffer-filter-by-derived-mode): New filter.
4434 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4436 2012-04-23 Andreas Politz <politza@fh-trier.de>
4438 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4440 2012-04-23 Chong Yidong <cyd@gnu.org>
4442 * cus-edit.el (customize-apropos, customize-apropos-options):
4443 Disable matching of non-option variables (Bug#11176).
4444 (customize-option, customize-option-other-window)
4445 (customize-changed-options): Doc fix.
4446 (customize-apropos-options, customize-apropos-faces)
4447 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4449 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
4450 Fix word list splitting (Bug#11132).
4451 (apropos-symbol, apropos-keybinding, apropos-label)
4452 (apropos-property, apropos-function-button)
4453 (apropos-variable-button, apropos-misc-button): New faces.
4454 (apropos-symbol-face, apropos-keybinding-face)
4455 (apropos-label-face, apropos-property-face, apropos-match-face):
4456 Variables removed (Bug#8396).
4457 (apropos-library-button, apropos-format-plist, apropos-print)
4458 (apropos-print-doc, apropos-describe-plist): Callers changed.
4460 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
4462 * net/xesam.el (xesam-mode-map): Use let-bound map in
4463 initialization. (Bug#11292)
4465 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4467 Preserve ispell session localwords when switching back to
4470 * textmodes/ispell.el (ispell-buffer-session-localwords):
4471 New buffer-local variable to hold buffer session localwords.
4472 (ispell-kill-ispell): Add option 'clear to delete session
4474 (ispell-command-loop, ispell-change-dictionary)
4475 (ispell-buffer-local-words): Preserve session localwords when
4478 * textmodes/flyspell.el (flyspell-process-localwords)
4479 (flyspell-do-correct): Preserve session localwords when needed.
4481 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4483 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4484 using obsolete `translation-table-for-input'.
4485 (ispell-word, ispell-process-line, ispell-complete-word):
4486 Use plain `insert' instead of removed `ispell-insert-word'.
4488 2012-04-22 Chong Yidong <cyd@gnu.org>
4490 * cus-edit.el (custom-variable-menu)
4491 (custom-variable-reset-saved, custom-face-menu)
4492 (custom-face-reset-saved): If there is no saved value, make the
4493 "reset-saved" operation bring back the default (Bug#9509).
4494 (custom-face-state): Properly detect themed faces.
4496 * faces.el (face-spec-set): Stop supporting deprecated form of
4499 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
4501 Move functions from C to Lisp. Make non-blocking method calls
4502 the default. Implement further D-Bus standard interfaces.
4504 * net/dbus.el (dbus-message-internal): Declare function.
4505 Remove unneeded function declarations.
4506 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4507 (dbus-message-type-method-return, dbus-message-type-error)
4508 (dbus-message-type-signal): Declare variables. Remove local
4510 (dbus-interface-dbus, dbus-interface-peer)
4511 (dbus-interface-introspectable, dbus-interface-properties)
4512 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4514 (dbus-interface-objectmanager): New defconst.
4515 (dbus-call-method, dbus-call-method-asynchronously)
4516 (dbus-send-signal, dbus-method-return-internal)
4517 (dbus-method-error-internal, dbus-register-service)
4518 (dbus-register-signal, dbus-register-method): New defuns, moved
4520 (dbus-call-method-handler, dbus-setenv)
4521 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4523 (dbus-call-method-non-blocking): Make it an obsolete function.
4524 (dbus-unregister-object, dbus-unregister-service)
4525 (dbus-handle-event, dbus-register-property)
4526 (dbus-property-handler): Obey the new structure of
4527 `bus-registered-objects'.
4528 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4529 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4530 Use `dbus-call-method'.
4532 2012-04-22 Chong Yidong <cyd@gnu.org>
4534 * cus-edit.el (custom-commands, custom-reset-menu)
4535 (Custom-reset-standard): Tweak labels.
4536 (custom-reset-button-menu): Change default to t.
4537 (custom-buffer-create-internal): For the custom-reset-button-menu
4538 case, put the revert button first.
4539 (custom-group-subtitle): New face.
4540 (custom-group-value-create): Align docstring to a specific column.
4542 * wid-edit.el (widget-documentation-link-add): Don't handle
4543 indentation in this function.
4544 (widget-documentation-string-indent-to): New function.
4545 (widget-documentation-string-value-create): Use it.
4547 * autorevert.el (auto-revert):
4548 * epg-config.el (epg):
4549 * ibuffer.el (ibuffer):
4552 * eshell/eshell.el (eshell):
4553 * net/ange-ftp.el (ange-ftp):
4554 * progmodes/ebnf2ps.el (postscript):
4555 * progmodes/flymake.el (flymake):
4556 * progmodes/prolog.el (prolog):
4557 * progmodes/verilog-mode.el (verilog-mode):
4558 * progmodes/which-func.el (which-func):
4559 * term/xterm.el (xterm):
4560 * textmodes/picture.el (picture):
4561 * textmodes/tildify.el (tildify):
4562 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4563 customization buffers.
4565 2012-04-22 Alan Mackenzie <acm@muc.de>
4567 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4568 Adding a ) can hide the resulting (..) from searches. Fix it.
4569 Bound the backward search to the position of the existing (.
4571 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
4573 * progmodes/verilog-mode.el (verilog-mode): Check whether
4574 which-func-modes is t before adding verilog-mode.
4575 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4577 2012-04-21 Leo Liu <sdl.web@gmail.com>
4579 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
4581 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4583 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4584 filling of the last column of a table (Bug#5635).
4585 (woman-find-next-control-line): New arg, specifying an additional
4586 regexp component for the control line.
4587 (woman2-roff-buffer): Use it.
4588 (woman-break-table): New function.
4589 (woman2-TS): Use it.
4591 2012-04-21 Chong Yidong <cyd@gnu.org>
4593 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4594 (woman-horizontal-escapes, woman-negative-vertical-space)
4595 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4596 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4598 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4600 * minibuffer.el (completion-file-name-table): Complete user names.
4602 2012-04-20 Leo Liu <sdl.web@gmail.com>
4604 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4607 2012-04-20 Chong Yidong <cyd@gnu.org>
4609 * server.el (server-execute): Respect initial-buffer-choice if it
4610 is a string and there are no files to open (Bug#2825).
4611 (server-create-window-system-frame, server-create-tty-frame):
4612 Don't switch buffers here.
4613 (server-process-filter): Only try to open a window system frame if
4614 compiled with graphical support (Bug#8314).
4616 2012-04-20 Dan Nicolaescu <dann@gnu.org>
4618 * battery.el (battery-echo-area-format): Display remaining time
4619 for sysfs backend too (Bug#11269).
4620 (battery-linux-sysfs): Fix conditional for the charge.
4622 2012-04-20 Chong Yidong <cyd@gnu.org>
4624 * progmodes/gdb-mi.el (gdb): Revert previous change.
4625 (gdb-inferior-io--init-proc): New function.
4626 (gdb-init-1): Use it.
4627 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4628 responsible for allocating a new pty and hooking it to gdb when
4629 the old pty gets an EIO due to process exit.
4630 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4631 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4632 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4634 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4636 * window.el (window-min-size, window-sizable, window-min-delta)
4637 (window-max-delta, window--resizable, window-resizable)
4638 (window-total-size, window-full-height-p, window-full-width-p)
4639 (window-in-direction, window--resize-mini-window, window-resize)
4640 (window--resize-child-windows-normal)
4641 (window--resize-child-windows, window--resize-siblings)
4642 (window--resize-this-window, adjust-window-trailing-edge)
4643 (enlarge-window, shrink-window): Doc fixes.
4645 2012-04-20 Chong Yidong <cyd@gnu.org>
4647 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4648 New function to call delete-process on the gdb-inferior buffer's pty.
4649 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4650 pty process (Bug#11273).
4651 (gdb-update): New arg to suppress talking to the gdb process.
4652 (gdb-done-or-error): Use it.
4653 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4654 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4655 sentinel not being called.
4657 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4659 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4661 2012-04-20 Glenn Morris <rgm@gnu.org>
4663 * net/network-stream.el (open-network-stream): Doc fix.
4665 2012-04-20 Chong Yidong <cyd@gnu.org>
4667 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4669 2012-04-20 Alan Mackenzie <acm@muc.de>
4671 Ensure searching for keywords is case sensitive.
4673 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4674 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4675 (c-defun-name, c-mark-function, c-cpp-define-name)
4676 (c-comment-indent, c-scan-conditionals, c-indent-defun)
4677 (c-context-line-break): Bind case-fold-search to nil.
4679 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4680 Bind case-fold-search to nil.
4682 2012-04-20 Chong Yidong <cyd@gnu.org>
4684 * mail/sendmail.el (mail-bury): Call return action with the right
4685 Rmail buffer (Bug#11242).
4687 * server.el (server-process-filter): Handle corner case where both
4688 tty and nowait options are present (Bug#11102).
4690 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4692 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
4693 (top level): Put into the executable the ident-style '$Id:' tag on
4696 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4698 * electric.el (electric-indent-post-self-insert-function): Check that
4699 electric-indent-mode is enabled in current buffer.
4701 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4703 * imenu.el (imenu-progress-message): Restore; it is "used" in
4704 erc/erc-imenu.el and net/snmp-mode.el.
4706 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4708 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4709 (mouse-avoidance-nudge-mouse): Remove unused binding.
4711 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4713 * descr-text.el (describe-char):
4714 * progmodes/python.el (python-describe-symbol):
4715 Don't call `toggle-read-only', set `buffer-read-only'.
4717 * imenu.el (imenu-default-goto-function): Mark unused args.
4718 (imenu-progress-message): Remove obsolete macro; all callers changed.
4720 * subr.el (keymap-canonicalize): Remove unused binding.
4721 (read-passwd): Mark unused arg.
4723 * tutorial.el (tutorial--display-changes): Remove unused binding.
4724 (tutorial--save-tutorial-to): Remove unused variable.
4726 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4727 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4728 (package-generate-autoloads, package-menu--generate)
4729 (package-menu--find-upgrades): Remove unused bindings.
4731 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4732 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4733 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4734 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4735 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4736 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4737 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4738 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4739 (cua-delete-char-rectangle): Mark unused args.
4740 (cua-align-rectangle): Remove unused binding.
4742 * mail/rmail.el (compilation--message->loc)
4743 (epa--find-coding-system-for-mime-charset): Declare.
4745 * net/dbus.el (dbus-register-service): Declare.
4746 (dbus-name-owner-changed-handler): Remove unused binding.
4748 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4749 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4750 (nxml-scan-backward-within): Mark unused arg.
4751 (nxml-dynamic-markup-word): Remove unused binding.
4753 * mouse.el (mouse-menu-major-mode-map):
4754 * emacs-lisp/authors.el (authors-scan-change-log)
4755 (authors-add-to-author-list):
4756 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4757 * emacs-lisp/smie.el (smie-auto-fill):
4758 * mail/sendmail.el (mail-bury):
4759 * mail/unrmail.el (unrmail):
4760 * net/tls.el (open-tls-stream):
4761 * textmodes/picture.el (picture-mouse-set-point):
4762 Remove unused bindings.
4764 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
4766 * net/tramp.el (tramp-action-password): Let-bind
4767 `enable-recursive-minibuffers' to t.
4769 2012-04-18 Sam Steingold <sds@gnu.org>
4771 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4772 instead of 'string to accommodate values like [f11].
4773 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4774 * progmodes/gdb-mi.el: Likewise.
4776 2012-04-18 Leo Liu <sdl.web@gmail.com>
4778 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4780 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4783 2012-04-18 Chong Yidong <cyd@gnu.org>
4785 * simple.el (line-move): Use forward-line if in batch mode
4788 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4790 * files.el (after-find-file): Do not try to add a final newline if
4791 the buffer is read-only (Bug#11156).
4793 2012-04-17 Richard Stallman <rms@gnu.org>
4795 * mail/rmail.el (rmail-start-mail):
4796 Pass (rmail-mail-return...) for the return-action.
4797 Pass (rmail-yank-current-message...) for the yank-action.
4798 (rmail-yank-current-message): New function.
4799 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4800 (rmail-reply): Likewise.
4801 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4803 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
4804 buffer, not the last. Reject temp buffers. Use the rmail-mode
4807 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
4809 * server.el (server-ensure-safe-dir): Simplify.
4811 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4813 * emacs-lisp/smie.el: Provide smarter auto-filling.
4814 (smie-auto-fill): New function.
4815 (smie-setup): Use it.
4817 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4819 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
4821 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4822 (comment-indent): Use it.
4824 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4826 * ses.el: The overall change is to add cell renaming, that is
4827 setting fancy names for cell symbols other than name matching
4828 "\\`[A-Z]+[0-9]+\\'" regexp .
4829 (ses-localvars): Add ses--renamed-cell-symb-list.
4830 (ses-create-cell-variable): New defun.
4831 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4832 (ses-relocate-formula): Relocate formulas only for cells the
4833 symbols of which are not renamed, i.e. symbols whose names do not
4834 match regexp "\\`[A-Z]+[0-9]+\\'".
4835 (ses-relocate-all): Relocate values only for cells the symbols of
4836 which are not renamed.
4837 (ses-load): Create cells variables as the (ses-cell ...) are read,
4838 in order to check row col consistency with cell symbol name only
4839 for cells that are not renamed.
4840 (ses-replace-name-in-formula): New defun.
4841 (ses-rename-cell): New defun.
4843 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4845 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4846 New option (bug#11118).
4847 (perl-calculate-indent): Respect it.
4849 2012-04-17 Glenn Morris <rgm@gnu.org>
4851 * dired-aux.el (dired-mark-read-string): Doc fix.
4853 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4855 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4856 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4858 2012-04-17 Glenn Morris <rgm@gnu.org>
4860 * mouse.el (mouse-drag-track):
4861 * speedbar.el (speedbar-frame-mode):
4862 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4864 2012-04-16 Leo Liu <sdl.web@gmail.com>
4866 * progmodes/python.el: Trivial cleanup.
4868 2012-04-16 Glenn Morris <rgm@gnu.org>
4870 * vc/vc.el (vc-string-prefix-p):
4871 * vc/pcvs-util.el (cvs-string-prefix-p):
4872 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4873 * mpc.el (mpc-string-prefix-p):
4874 Make all of these into obsolete aliases for string-prefix-p.
4876 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4878 * textmodes/two-column.el: Move custom options to the start.
4879 (frame-width): Remove compat definition.
4880 (2C-associate-buffer, 2C-dissociate):
4881 Use with-current-buffer rather than save-excursion.
4882 (2C-dissociate): Force a mode-line update.
4883 (2C-autoscroll): Use ignore-errors.
4885 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4888 * emacs-lisp/cl-extra.el (*random-state*):
4889 Remove unnecessary declaration.
4891 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4893 * play/cookie1.el (cookie-snarf):
4894 Give an explicit error if input file cannot be read.
4896 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4898 * progmodes/perl-mode.el (c-macro-expand):
4899 Remove unnecessary autoload (it is in loaddefs.el).
4901 * textmodes/picture.el (picture-desired-column)
4902 (picture-update-desired-column): Convert comments to doc-strings.
4903 (picture-substitute): Remove function.
4904 (picture-mode-map): Initialize in the defvar.
4906 * woman.el: Remove eval-after-load for tar-mode.
4907 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4908 (woman-tar-extract-file): Autoload it.
4910 * frame.el (automatic-hscrolling): Make this alias obsolete.
4912 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4914 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4915 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
4916 (ispell-dictionary-base-alist): Revert to original XEmacs
4917 friendly version for default. [:alpha:] will be added in
4918 `ispell-set-spellchecker-params' if needed.
4920 2012-04-16 Chong Yidong <cyd@gnu.org>
4922 * image.el (imagemagick--file-regexp): New variable.
4923 (imagemagick-register-types): Use it.
4924 (imagemagick-types-inhibit): Add :set function. Allow new value
4925 of t to inhibit all types.
4927 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4928 so we can preload it.
4930 * loadup.el (fboundp): Preload regexp-opt, needed by
4931 imagemagick-register-types.
4933 2012-04-15 Chong Yidong <cyd@gnu.org>
4935 * frame.el (scrolling): Remove nearly unused customization group.
4937 * scroll-all.el (scroll-all-mode): Move to windows group.
4939 2012-04-15 Chong Yidong <cyd@gnu.org>
4941 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4943 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4945 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4946 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
4948 2012-04-15 Glenn Morris <rgm@gnu.org>
4950 * simple.el (process-file-side-effects): Doc fix.
4952 2012-04-15 Glenn Morris <rgm@gnu.org>
4954 * international/mule-cmds.el (set-language-environment): Doc fix.
4956 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4958 * server.el (server-auth-key, server-generate-key): Doc fixes.
4959 (server-get-auth-key): Doc fix. Use `string-match-p'.
4960 (server-start): Reflow docstring.
4962 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4964 * server.el (server-generate-key): `called-interactively-p'
4965 requires a parameter.
4967 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
4969 * server.el (server-auth-key): New variable.
4970 (server-generate-key, server-get-auth-key): New function.
4971 (server-start): Use the new variable and functions to allow
4972 setting a permanent server key (bug#9423).
4974 2012-04-14 Leo Liu <sdl.web@gmail.com>
4976 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4978 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4981 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4982 Emacs uses American spelling.
4984 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4986 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4987 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4988 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4989 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4991 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4993 * progmodes/which-func.el (which-func-modes): Change default.
4995 2012-04-14 Kim F. Storm <storm@cua.dk>
4997 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4998 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5000 2012-04-14 Chong Yidong <cyd@gnu.org>
5002 * custom.el (custom-theme-set-variables): Doc fix.
5004 2012-04-14 Glenn Morris <rgm@gnu.org>
5006 * international/mule.el (set-auto-coding-for-load): Doc fix.
5008 2012-04-14 Alan Mackenzie <acm@muc.de>
5010 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5011 imenu work again for Objective C Mode. Correct the *-index values,
5012 these having been disturbed by a previous change in 2011-08.
5014 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5015 Correct two search limits.
5017 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5019 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5021 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
5023 * international/characters.el: Fix sorting.
5025 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5027 * international/characters.el: Add more missing Latin case pairs.
5029 2012-04-14 Glenn Morris <rgm@gnu.org>
5031 * files.el (dir-locals-set-class-variables): Doc fix.
5033 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5035 * international/characters.el: Add set-case-syntax-pair call for
5036 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5037 counterpart. (Bug#11209)
5039 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5041 2012-04-14 Glenn Morris <rgm@gnu.org>
5043 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5045 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5047 * textmodes/ispell.el (ispell-dictionary-base-alist):
5048 Add data for Hebrew.
5050 2012-04-14 Chong Yidong <cyd@gnu.org>
5052 * net/rcirc.el (rcirc-cmd-quit):
5053 Revert 2012-03-18 change (Bug#11192).
5055 2012-04-14 Glenn Morris <rgm@gnu.org>
5057 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5059 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5061 * minibuffer.el (completion-in-region-mode-map):
5062 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
5064 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5066 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5068 2012-04-13 Masatake YAMATO <yamato@redhat.com>
5070 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5071 to allow `C-M-f' and `C-M-b' to move to the nearest path
5072 separator (bug#9511).
5074 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5076 * avoid.el: Require cl when compiling. And also move the
5077 `provide' to the end.
5079 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5081 * avoid.el (mouse-avoidance-banish-position): New variable.
5082 (mouse-avoidance-banish-destination): Use it (bug#10165).
5084 2012-04-13 Leo Liu <sdl.web@gmail.com>
5086 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5088 2012-04-13 Ken Brown <kbrown@cornell.edu>
5090 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
5091 this is no longer needed now that cygstart understands file:// URLs.
5092 (browse-url-filename-alist): For the same reason, don't modify
5093 file:// URLs on Cygwin.
5095 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5097 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5098 the region on shift if the binding is already shifted (bug#11221).
5100 2012-04-12 Glenn Morris <rgm@gnu.org>
5102 * mail/mailpost.el: Move to obsolete/.
5104 2012-04-12 Drew Adams <drew.adams@oracle.com>
5106 * imenu.el (imenu--generic-function): Ignore invisible definitions
5109 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5111 * hexl.el (hexl-bits): New variable.
5112 (hexl-options): Mention the variable in the doc string.
5113 (hexl-rulerise, hexl-line-displen): New functions.
5114 (hexl-mode): Mention the new variable.
5115 (hexl-mode, hexl-current-address, hexl-current-address):
5117 (hexl-ascii-start-column): New function.
5118 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5119 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5121 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5123 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5124 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5125 the encoding, as expected by hunspell.
5127 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5129 * battery.el (battery--linux-sysfs-regexp): New const.
5130 (battery-status-function): Use it. Remove yeeloong special case.
5131 (battery-yeeloong-sysfs): Remove.
5132 (battery-echo-area-format): Remove yeeloong special case.
5134 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5136 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5137 Reported by Noah Friedman.
5139 * subr.el (read-passwd): Use read-string.
5141 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5143 * vcursor.el (vcursor-move): Increase the priority of the overlay
5146 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5148 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5149 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5151 2012-04-11 William Stevenson <yhvh2000@gmail.com>
5153 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5154 define-minor-mode (bug#10760).
5156 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5158 * progmodes/grep.el (rgrep): Tweak the find command line so
5159 that directories matching `grep-find-ignored-files' won't be
5162 2012-04-11 Chong Yidong <cyd@gnu.org>
5164 * startup.el (command-line): Remove support for long-obsolete
5165 variable font-lock-face-attributes.
5167 2012-04-11 Glenn Morris <rgm@gnu.org>
5169 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5171 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5173 * window.el (window--state-get-1): Obey window-point-insertion-type.
5175 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5177 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5178 to previous function when point is on the first character of a
5179 function. Take care of that in `narrow-to-defun' (bug#6157).
5181 2012-04-11 Glenn Morris <rgm@gnu.org>
5183 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5184 not just file-errors.
5186 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5187 (vc-bzr-sha1): Use internal sha1.
5189 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5191 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5193 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5195 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5196 that start in the middle of the line (bug#10496).
5198 2012-04-10 Dan Nicolaescu <dann@gnu.org>
5200 * battery.el (battery-linux-proc-acpi): Only one battery is
5201 discharged at a time, but that seems to confuse battery.el when
5202 computing `rate-type' for the battery not being discharged
5205 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5207 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5209 * international/quail.el: Use dolist and simplify.
5210 (quail-define-package, quail-update-keyboard-layout)
5211 (quail-define-rules): Use dolist.
5212 (quail-insert-kbd-layout, quail-get-translation): CSE.
5214 * tmm.el: Use dolist, remove left over hook.
5215 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5217 (calendar-load-hook): Don't mess with it.
5219 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5220 Use derived-mode-p. Run the diff asynchronously.
5222 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5224 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5226 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
5228 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5229 (list-dynamic-libraries--loaded): New function.
5230 (list-dynamic-libraries--refresh): Use it.
5232 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
5234 * progmodes/python.el (python-fill-paragraph):
5235 Make python-fill-region in a multiline string work when font-lock is
5236 disabled (bug#7018).
5238 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5240 * language/european.el (cp775): Add oem/legacy (en)coding on
5241 DOS/MS Windows for the Baltic languages. There are still plenty
5242 of texts written in this encoding/codepage (bug#6519).
5244 2012-04-10 Glenn Morris <rgm@gnu.org>
5246 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5247 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5249 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5251 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
5252 next-line "n" and previous-line "p" in order to make recentf more
5253 consistent with ibuffer, dired or org-mode (bug#9387).
5255 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5257 * image.el (put-image): Return the overlay created instead of the
5258 optional input string (bug#7834). Note that this may break code
5259 that is (for some reason or other) depending on `put-image'
5260 returning the string.
5262 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5264 * simple.el (zap-to-char): Allow zapping using input methods
5267 * textmodes/fill.el (fill-region): Leave point and mark where they
5268 were before filling (bug#5399).
5270 2012-04-09 Glenn Morris <rgm@gnu.org>
5272 * version.el (emacs-bzr-get-version):
5273 Handle lightweight checkouts of local branches.
5275 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5277 * international/characters.el: Recover lost case pairs. (Bug#11209)
5279 2012-04-09 Chong Yidong <cyd@gnu.org>
5281 * custom.el (custom-variable-p): Return nil for non-symbol
5282 arguments instead of signaling an error.
5283 (user-variable-p): Obsolete alias for custom-variable-p.
5285 * apropos.el (apropos-variable):
5286 * files-x.el (read-file-local-variable):
5287 * simple.el (set-variable):
5288 * woman.el (woman-mini-help):
5289 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5291 2012-04-09 Glenn Morris <rgm@gnu.org>
5293 * startup.el (normal-top-level): Don't look for leim-list.el
5294 in places where it will not be found. (Bug#910)
5296 * international/mule-cmds.el (set-default-coding-systems):
5297 * files.el (normal-mode):
5298 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5299 This function was removed with ucs-tables.el in 2008.
5301 2012-04-08 Eli Zaretskii <eliz@gnu.org>
5303 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5304 ispell-encoding8-command to "-i", without a trailing space.
5305 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5306 separate command-line arguments, to specify the encoding, since
5307 that's how hunspell expects it.
5309 2012-04-08 Glenn Morris <rgm@gnu.org>
5311 * loadup.el: Load bindings before cus-start.
5312 This reduces somewhat the number of "rogue" settings in emacs -Q.
5314 2012-04-07 Glenn Morris <rgm@gnu.org>
5316 * version.el (emacs-bzr-get-version): New function.
5317 (emacs-bzr-version): New variable.
5318 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5319 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5321 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5323 * international/uni-bidi.el, international/uni-category.el:
5324 * international/uni-combining.el, international/uni-decimal.el:
5325 * international/uni-decomposition.el, international/uni-digit.el:
5326 * international/uni-lowercase.el, international/uni-mirrored.el:
5327 * international/uni-name.el, international/uni-numeric.el:
5328 * international/uni-titlecase.el, international/uni-uppercase.el:
5329 Update for Unicode 6.1.
5331 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5333 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5335 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5337 * window.el (shrink-window): Mention the `window-min-height'
5338 variable in the doc string.
5340 2012-04-05 Bastien Guerry <bzg@altern.org>
5342 * color.el (color-lighten-name): Fix typo.
5344 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5346 * server.el (server--on-display-p): New function.
5347 (server--on-display-p): Use it.
5349 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5351 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5354 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5356 * comint.el (comint--common-quoted-suffix): Check string boundary
5357 before comparing (bug#11158).
5358 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5360 2012-04-04 Chong Yidong <cyd@gnu.org>
5362 * minibuffer.el (completion-extra-properties): Doc fix.
5364 * subr.el (delayed-warnings-hook): Doc fix.
5366 2012-04-04 Daiki Ueno <ueno@unixuser.org>
5368 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5369 selection (Bug#11159).
5370 (epa-insert-keys): Inform that the default public key will be
5371 exported if no key is selected.
5373 2012-04-04 Richard Stallman <rms@gnu.org>
5375 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5377 2012-04-03 Chong Yidong <cyd@gnu.org>
5379 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5380 mail-insert-file, not its obsolete alias mail-attach-file.
5382 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
5384 * notifications.el (notifications-notify): Fix docstring.
5386 2012-04-02 Glenn Morris <rgm@gnu.org>
5388 * emacs-lisp/authors.el (authors-aliases): Another addition.
5390 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
5392 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5393 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5394 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5396 2012-04-01 Chong Yidong <cyd@gnu.org>
5398 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5399 Handle root directory properly.
5400 (copy-directory): Caller changed.
5402 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5403 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5405 2012-03-31 Glenn Morris <rgm@gnu.org>
5407 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5409 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5411 * calendar/calendar.el (calendar-window-list)
5412 (calendar-hide-window): Restore. (Bug#11140)
5413 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5415 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5417 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5419 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5420 Check if file is a symlink (Bug#10489).
5422 * files.el (copy-directory): Likewise.
5424 2012-03-30 Chong Yidong <cyd@gnu.org>
5426 * image.el (imagemagick-types-inhibit)
5427 (imagemagick-register-types): Doc fix.
5429 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5431 * textmodes/ispell.el (ispell-get-extended-character-mode):
5432 Disable extended-char-mode for hunspell. hunspell does not support it
5433 and treats ~word as ordinary words in pipe mode.
5435 2012-03-30 Glenn Morris <rgm@gnu.org>
5437 * tutorial.el (help-with-tutorial): Ensure local variables don't
5438 happen to make the buffer read-only. (Bug#11127)
5440 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5442 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5443 (perl-calculate-indent): Return `noindent' in strings.
5445 2012-03-28 Sam Steingold <sds@gnu.org>
5447 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5448 instead of the broken adhockery which does not prevent calendar
5449 buffers from being displayed at random after exit.
5450 (calendar-window-list, calendar-hide-window): Remove the broken
5453 2012-03-28 Glenn Morris <rgm@gnu.org>
5455 * replace.el (query-replace-map): Doc fix.
5457 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5459 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5460 contents. (Bug#11109)
5462 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5464 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5466 (avl-tree--check, avl-tree--check-node): New funs.
5468 2012-03-27 Martin Rudalics <rudalics@gmx.at>
5470 * window.el (switch-to-visible-buffer): New option.
5471 (switch-to-prev-buffer, switch-to-next-buffer):
5472 Observe switch-to-visible-buffer. Make sure that checking for a window
5473 showing a buffer already is done on the same frame.
5475 2012-03-27 Glenn Morris <rgm@gnu.org>
5477 * startup.el (mail-host-address): Doc fix.
5479 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5481 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5484 2012-03-26 Ami Fischman <ami@fischman.org>
5486 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5488 2012-03-26 Glenn Morris <rgm@gnu.org>
5490 * files.el (save-buffers-kill-emacs): Doc fix.
5492 * startup.el (normal-top-level, command-line, command-line-1):
5493 Give them doc strings.
5495 2012-03-25 Eli Zaretskii <eliz@gnu.org>
5497 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
5498 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
5500 2012-03-25 Chong Yidong <cyd@gnu.org>
5502 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5503 theme if it was previously enabled before (Bug#11031).
5505 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5506 spec with custom-face-get-current-spec if its :shown-value is not
5507 determined yet (Bug#9337).
5508 (customize-create-theme, custom-theme-revert): Doc fixes.
5510 * button.el (button-at): Minor addition to docstring.
5512 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
5514 * vc/vc.el (vc-merge): Fix a prompt.
5516 2012-03-24 Chong Yidong <cyd@gnu.org>
5518 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5521 * button.el (button-at): Minor addition to docstring.
5523 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5525 * newcomment.el (comment-choose-indent): No space after BOL.
5527 2012-03-22 Sam Steingold <sds@gnu.org>
5529 * window.el (switch-to-prev-buffer): Revert last patch because the
5530 bug turned out to be an advertised feature (Elisp manual 28.14).
5532 2012-03-22 Glenn Morris <rgm@gnu.org>
5534 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5535 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5537 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5539 * net/network-stream.el (network-stream-open-starttls): Make error
5540 message under Windows be less misleading.
5542 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5544 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5545 understands (bug#9942).
5547 2012-03-22 Chong Yidong <cyd@gnu.org>
5549 * simple.el (end-of-visible-line): Handle return value of
5550 next-single-property-change properly (Bug#9371).
5552 2012-03-22 Kenichi Handa <handa@m17n.org>
5554 * international/quail.el (quail-insert-kbd-layout): Fix previous
5555 change. To avoid unwanted bidi reordering, use
5556 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5558 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5560 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5561 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5562 (ruby-beginning-of-indent): Be more careful with the difference
5563 between word-boundary and symbol boundary.
5564 (ruby-mode-syntax-table): Make : a symbol constituent.
5566 2012-03-21 Andreas Politz <politza@fh-trier.de>
5568 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5570 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5572 * progmodes/etags.el (tags-completion-at-point-function):
5575 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5577 2012-03-21 Sam Steingold <sds@gnu.org>
5579 * progmodes/etags.el (tags-completion-at-point-function):
5580 Avoid the error when point is inside the pattern.
5582 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5584 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5587 2012-03-21 Drew Adams <drew.adams@oracle.com>
5589 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5591 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5593 * ido.el (ido-set-current-directory, ido-read-internal)
5594 (ido-choose-completion-string, ido-completion-help): Handle nil
5595 value of ido-completion-buffer (Bug#11008).
5597 2012-03-21 Sam Steingold <sds@gnu.org>
5599 * window.el (switch-to-prev-buffer): Do not switch to a visible
5600 window previous buffer, just like with the frame previous buffers.
5602 2012-03-21 Chong Yidong <cyd@gnu.org>
5604 * faces.el (make-face, make-empty-face, copy-face):
5605 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5608 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5610 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5611 (widget-complete): Remove broken use of it.
5613 2012-03-20 Chong Yidong <cyd@gnu.org>
5615 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5616 Use string-width and truncate-string-width to handle arbitrary
5619 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5621 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5622 to draw rectangles, not squares. (Regression introduced by revno
5623 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5625 2012-03-18 Chong Yidong <cyd@gnu.org>
5627 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5628 it is not yet defined (for temacs).
5630 2012-03-18 Leo Liu <sdl.web@gmail.com>
5632 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
5634 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5636 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5637 (ispell-choices-win-default-height, ispell-silently-savep)
5638 (ispell-dictionary-alist, ispell-encoding8-command)
5639 (ispell-check-version, ispell-aspell-find-dictionary)
5640 (ispell-valid-dictionary-list, ispell-words-keyword)
5641 (ispell-get-word, ispell-internal-change-dictionary)
5642 (ispell-region, ispell-skip-region-list)
5643 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5644 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5645 (ispell-message-text-end, ispell-message)
5646 (ispell-buffer-local-parsing): Doc fix.
5648 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
5650 * htmlfontify.el: Add support for code block fontification for ODT
5652 (hfy-optimisations): Define new option
5654 (hfy-fontify-buffer): Honor above setting.
5655 (hfy-begin-span, hfy-end-span): New routines factored out form
5656 `hfy-fontify-buffer'.
5657 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5658 that permit insertion of custom tags.
5659 (hfy-fontify-buffer): Use above handlers.
5660 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5661 (hfy-face-to-css): Re-defined to be a variable.
5662 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
5663 over multiple runs. This is made possible by having the caller let
5664 bind a special variable `hfy-user-sheet-assoc'.
5665 (htmlfontify-string): New defun.
5666 (hfy-compile-face-map): Make sure that the last char in the
5667 buffer is correctly fontified.
5668 (hfy-face-resolve-face): Whitespace only change.
5670 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5672 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5675 2012-03-16 Leo Liu <sdl.web@gmail.com>
5677 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5679 2012-03-16 Alan Mackenzie <acm@muc.de>
5681 Further optimise the handling of large macros.
5683 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5684 limit to a call of `c-literal-limits'.
5685 (c-determine-+ve-limit): New function.
5686 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5687 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
5688 In CASE 5B, restrict a search limit to 500.
5689 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5691 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5692 Restrict macro bounds to +-500 from after-change's BEG END.
5694 2012-03-16 Leo Liu <sdl.web@gmail.com>
5696 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5698 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5700 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
5701 `special-mode' setting of `buffer-read-only'. (Bug#11010)
5703 2012-03-16 Glenn Morris <rgm@gnu.org>
5705 * view.el (view-buffer, view-buffer-other-window)
5706 (view-buffer-other-frame): Doc fixes re special mode-class.
5708 * subr.el (eval-after-load): If named feature is provided not from
5709 a file, run after-load forms. (Bug#10946)
5711 * calendar/calendar.el (calendar-insert-at-column):
5712 Handle non-unit-width characters a bit better. (Bug#10978)
5714 2012-03-15 Chong Yidong <cyd@gnu.org>
5716 * emacs-lisp/ring.el (ring-extend): New function.
5717 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5719 * comint.el (comint-read-input-ring)
5720 (comint-add-to-input-history): Grow comint-input-ring lazily.
5722 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5724 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5725 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5727 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5728 (imenu-add-to-menubar): Don't add a redundant index.
5729 (imenu-update-menubar): Handle a dynamically composed keymap.
5731 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5733 * mail/sendmail.el (mail-encode-header):
5734 Bind rfc2047-encode-encoded-words to nil.
5736 2012-03-13 Glenn Morris <rgm@gnu.org>
5738 * calendar/calendar.el (calendar-string-spread):
5739 Handle non-unit-width characters a bit better. (Bug#10978)
5741 2012-03-13 Leo Liu <sdl.web@gmail.com>
5743 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5744 directory and file as argument (Bug#10822).
5746 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5748 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5749 For dynamically generated code, follow $PC.
5750 (gdb-disassembly-handler-custom): Handle no function name case.
5752 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5754 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5755 * emulation/ws-mode.el (ws-query-replace):
5756 * sort.el (sort-regexp-fields):
5757 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5759 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5761 * dabbrev.el: Fix cycle completion order (bug#10963).
5762 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5763 (dabbrev-completion): Don't use an obarray; provide
5764 a cycle-sort-function.
5766 2012-03-12 Leo Liu <sdl.web@gmail.com>
5768 * simple.el (kill-new): Use equal-including-properties for comparison.
5769 (kill-do-not-save-duplicates): Doc fix.
5771 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5773 * dabbrev.el: Fix cycle completion (bug#10963).
5774 Use lexical binding and wrap to 80 columns.
5775 (dabbrev-completion): Delay computing the list of completions.
5777 2012-03-12 Kenichi Handa <handa@m17n.org>
5779 * international/quail.el (quail-insert-kbd-layout): Surround each
5780 row by LRO and PDF instead of inserting many LRMs. Pad the left
5781 and right of each non-spacing marks. Insert invisible space
5782 between lower and upper characters to prevent composition.
5784 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5786 * minibuffer.el (minibuffer-complete): Don't get confused when the
5787 function is run twice via different commands (bug#10958).
5788 (complete-with-action): Fix docstring.
5790 2012-03-12 Chong Yidong <cyd@gnu.org>
5792 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5793 (nxml-completion-at-point-function): New function.
5794 (nxml-mode): Use it.
5795 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5797 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5798 Load generated autoloads file before byte compiling (Bug#10970).
5799 (package--make-autoloads-and-compile): New helper fun.
5801 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5803 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5805 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
5807 * autorevert.el (auto-revert-handler): Ensure, that
5808 file-readable-p is applied only for local files or in
5809 auto-revert-tail-mode.
5811 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5813 * server.el (server-eval-at): Handle non-tcp connections.
5814 Decode result string.
5816 * server.el (server-msg-size): New constant.
5817 (server-reply-print): New function.
5818 (server-eval-and-print): Use it.
5819 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5822 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5824 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5827 2012-03-11 Chong Yidong <cyd@gnu.org>
5829 * simple.el (goto-line): Doc fix (Bug#9938).
5831 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5833 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5834 when finished (Bug#10963).
5836 2012-03-11 Martin Rudalics <rudalics@gmx.at>
5838 * window.el (split-window-below): Fix bug in case where
5839 split-window-keep-point is nil (Bug#10971).
5841 2012-03-11 Juri Linkov <juri@jurta.org>
5843 * replace.el (replace-highlight): Set isearch-word to nil
5844 unconditionally. (Bug#10887)
5846 2012-03-10 Eli Zaretskii <eliz@gnu.org>
5848 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5849 mairix-replace-illegal-chars; all callers changed. Don't remove
5850 ^, ~, and = characters: they are meaningful in mairix search specs.
5851 (mairix-widget-create-query): Add usage information about mairix
5852 search forms: negating words, searching for substrings, etc.
5854 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5856 * international/fontset.el (font-encoding-alist): Add an entry for
5859 2012-03-10 Richard Stallman <rms@gnu.org>
5861 * mail/sendmail.el (mail-encode-header):
5862 Set rfc2047-encode-encoded-words.
5864 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5866 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5867 view buffer means not swapped.
5868 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5869 (rmail-write-region-annotate): Error if real text has disappeared.
5871 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5873 2012-03-10 Chong Yidong <cyd@gnu.org>
5875 * emulation/cua-rect.el (cua--init-rectangles):
5876 * emulation/cua-base.el (cua--init-keymaps):
5877 Add delete-forward-char to remappings (Bug#9666).
5879 2012-03-10 Martin Rudalics <rudalics@gmx.at>
5881 * speedbar.el (speedbar-unhighlight-one-tag-line):
5882 Avoid unhighlighting due to frame switching (Bug#10275).
5884 2012-03-10 Chong Yidong <cyd@gnu.org>
5886 * minibuffer.el (completion-in-region, completion-help-at-point):
5887 Give the completion field overlay a high priority (Bug#6830).
5889 * dired.el (dired-goto-file): Recognize absolute file name
5890 listings (Bug#7126).
5891 (dired-goto-file-1): New helper function.
5892 (dired-toggle-read-only): Inhibit warnings.
5894 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
5896 * net/dbus.el (dbus-property-handler): Return empty array if
5897 there are no properties.
5899 2012-03-09 Leo Liu <sdl.web@gmail.com>
5901 * savehist.el (savehist-printable): Stricter check for string
5904 2012-03-09 Eli Zaretskii <eliz@gnu.org>
5906 * mail/smtpmail.el (smtpmail-send-it):
5907 Bind coding-system-for-write to *-unix, so that FCC files are kept in
5910 2012-03-09 Glenn Morris <rgm@gnu.org>
5912 * files.el (dir-locals-find-file):
5913 Don't check result is regular, readable.
5914 (dir-locals-read-from-file): Demote errors.
5916 2012-03-08 Eli Zaretskii <eliz@gnu.org>
5918 * international/quail.el (quail-insert-kbd-layout):
5919 Insert invisible LRM characters before each character in a keyboard
5920 layout cell, to prevent their reordering by bidi display engine.
5921 For details, see the discussion in
5922 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5924 2012-03-08 Alan Mackenzie <acm@muc.de>
5926 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5927 the starting position; make it extend the marked region when
5928 invoked repeatedly - all under appropriate circumstances.
5929 Fixes bugs #5525, #10906.
5931 2012-03-08 Glenn Morris <rgm@gnu.org>
5933 * files.el (locate-dominating-file, dir-locals-find-file):
5934 Undo 2012-03-06 change.
5936 2012-03-07 Eli Zaretskii <eliz@gnu.org>
5938 * international/quail.el (quail-help):
5939 Force bidi-paragraph-direction be left-to-right. See discussion in
5940 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5943 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
5945 Avoid superfluous registering of signals. (Bug#10807)
5947 * notifications.el (notifications-on-action-object)
5948 (notifications-on-close-object): New defvars.
5949 (notifications-on-action-signal, notifications-on-closed-signal):
5950 Unregister the signal if not needed any longer.
5951 (notifications-notify): Register `notifications-action-signal' or
5952 `notifications-closed-signal', if :on-action or :on-close has been
5955 2012-03-07 Chong Yidong <cyd@gnu.org>
5957 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5960 2012-03-06 Glenn Morris <rgm@gnu.org>
5962 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5963 (x-disown-selection-internal, x-get-selection-internal):
5964 Doc fix (add arglist signatures). (Bug#10783)
5966 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5968 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5969 Handle breakpoints with no "type".
5971 2012-03-06 Glenn Morris <rgm@gnu.org>
5973 * files.el (locate-dominating-file): Add optional predicate argument.
5974 (dir-locals-find-file): Make use of above change.
5976 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5978 * info.el (Info-insert-dir): Also try "dir.gz".
5980 2012-03-06 Glenn Morris <rgm@gnu.org>
5982 * files.el (dir-locals-find-file):
5983 Ignore non-readable or non-regular files. (Bug#10928)
5985 * files.el (locate-dominating-file): Doc fix.
5987 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5989 * calendar/calendar.el (calendar-set-mode-line):
5990 `getenv' returns a string. (Bug#10951)
5992 2012-03-05 Leo Liu <sdl.web@gmail.com>
5994 * simple.el (backward-delete-char-untabify): Constrain point to
5997 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5999 2012-03-05 Chong Yidong <cyd@gnu.org>
6001 * simple.el (count-words): If called from Lisp, return the word
6002 count, for symmetry with `count-lines'. Arglist changed.
6003 (count-words--message): Args changed. Consolidate counting code
6004 from count-words and count-words-region.
6005 (count-words-region): Caller changed.
6006 (count-lines-region): Make it an obsolete alias.
6008 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6010 * saveplace.el (save-place-to-alist)
6011 (save-place-ignore-files-regexp): Allow value nil to disable this
6014 2012-03-04 Chong Yidong <cyd@gnu.org>
6016 * faces.el (face-spec-reset-face): For the default face, reset the
6017 attributes to default values (Bug#10748).
6019 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6021 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6022 previous patch: Check `message-send-mail-function', and not the
6023 default function (bug#10897).
6025 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
6027 * notifications.el (notifications-on-action-signal)
6028 (notifications-on-closed-signal): Check for unique service name of
6029 incoming event. Fix error in removing entry.
6030 (top): Register for signals with wildcard service name.
6031 (notifications-notify): Use daemon unique service name for map entries.
6033 2012-03-04 Chong Yidong <cyd@gnu.org>
6035 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
6037 2012-03-04 Glenn Morris <rgm@gnu.org>
6039 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6040 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6041 (expand-abbrev, define-abbrev-table): Doc fixes.
6043 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6045 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6046 `message-default-send-mail-function' and not `send-mail-function'
6047 when doing the prompting for `sendmail-query-once' before sending
6048 in Message buffers (bug#10897).
6050 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6051 This is inconsistent with all the other stream functions, which leave
6052 the setting up to the higher levels (if so wanted) (bug#10931).
6054 2012-03-02 Alan Mackenzie <acm@muc.de>
6056 Depessimize the handling of very large macros.
6058 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6059 (c-macro-cache-syntactic): New variables to implement a one
6060 element macro cache.
6061 (c-invalidate-macro-cache): New function.
6062 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6063 Adapt to use the new cache.
6064 (c-state-safe-place): Use better the cache of safe positions.
6065 (c-state-semi-nonlit-pos-cache)
6066 (c-state-semi-nonlit-pos-cache-limit):
6067 New variables for...
6068 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6069 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
6070 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6071 Use c-state-semi-safe-place.
6073 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6074 Add c-invalidate-macro-cache to the C, C++, Obj entries.
6076 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
6078 * jka-compr.el (jka-compr-call-process):
6079 Apply `file-accessible-directory-p' only when the default directory is
6082 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
6084 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6085 access of FILE2, if FILE1 does not exist.
6087 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6088 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6090 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6091 Add "PAGER=" to `process-environment'.
6093 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6095 * progmodes/sql.el: Bug fix
6096 (sql-get-login-ext): Save login values in globals.
6097 (sql-get-login): Use new version of `sql-get-login-ext'.
6098 (sql-interactive-mode): Set global `sql-connection' to nil.
6099 (sql-connect): Set global values for connection.
6100 (sql-product-interactive): Save global values as buffer local.
6102 2012-02-29 Leo Liu <sdl.web@gmail.com>
6104 * abbrev.el (define-abbrevs): Reset sys to nil.
6106 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6108 * files.el (file-equal-p): Rename from `files-equal-p'.
6109 Return nil when one or both files don't exist.
6110 (file-subdir-of-p): Now only top directory must exists,
6111 return nil if it doesn't.
6112 (copy-directory): No need to test with `file-subdir-of-p' after
6114 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6117 2012-02-28 Glenn Morris <rgm@gnu.org>
6119 * shell.el (shell-mode):
6120 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6121 * play/landmark.el (landmark-font-lock-face-O):
6122 * play/handwrite.el (handwrite):
6123 * play/gomoku.el (gomoku-O):
6124 * net/browse-url.el (browse-url-browser-display):
6125 * international/mule.el (define-charset):
6126 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6127 * filesets.el (filesets-find-file-delay):
6128 * eshell/em-xtra.el (eshell-xtra):
6129 * eshell/em-unix.el (eshell-grep):
6130 * emulation/viper.el (viper-mode):
6131 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6132 * emacs-lisp/easymenu.el (easy-menu-define):
6133 * calendar/timeclock.el (timeclock-use-display-time):
6135 * bookmark.el (bookmark-save-flag):
6136 Doc fix (standardize possessive apostrophe usage).
6138 2012-02-27 Chong Yidong <cyd@gnu.org>
6140 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6141 Fix key-binding lookup for ESC key (Bug#9146).
6143 * font-lock.el (font-lock-specified-p): Rename from
6144 font-lock-spec-present. Callers changed.
6146 2012-02-27 Daniel Hackney <dan@haxney.org>
6148 * emacs-lisp/package.el (package-compute-transaction):
6149 Handle holding a package version to t in package-load-list.
6151 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
6153 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6154 (tramp-get-inode, tramp-get-device): Use cached values.
6156 2012-02-26 Alan Mackenzie <acm@muc.de>
6158 Check there is a font-lock specification before doing initial
6161 * font-core.el (font-lock-mode): Move the conditional from
6162 :after-hook to font-lock-initial-fontify.
6163 (font-lock-default-function): Move the check for a specification
6164 to font-lock-spec-present.
6166 * font-lock.el (font-lock-initial-fontify): Call ...
6167 (font-lock-spec-present): New function.
6169 2012-02-26 Jim Blandy <jimb@red-bean.com>
6171 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6172 (gdb-send): Apply it to the operand of the '-interpreter-exec
6173 console' command, so that we can pass arguments with (say) quotes
6174 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6176 2012-02-26 Chong Yidong <cyd@gnu.org>
6178 * help-fns.el (describe-function-1): Clarify description of
6179 remapping (Bug#10844).
6181 * files.el (files-equal-p): Doc fix.
6182 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6183 and quit the loop once a mismatch is found.
6185 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
6187 * bs.el (bs--show-with-configuration): Don't throw an error
6188 if the window cannot be split; otherwise, subsequent calls to
6189 bs-show fail, restoring a stale window config. (Bug#10882)
6191 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6193 * term/ns-win.el (global-map): Bind ns-drag-file to
6194 ns-find-file (Bug#5855, Bug#10050).
6196 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6198 * calendar/parse-time.el (parse-time-string): Allow extractor to
6201 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
6203 * net/tramp.el (tramp-file-name-for-operation):
6204 Add `files-equal-p' and `file-subdir-of-p'.
6206 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6207 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6208 Add COPY-CONTENTS argument.
6210 2012-02-25 Chong Yidong <cyd@gnu.org>
6212 Add custom groups for VC backends, for consistency with vc-bzr.
6214 * vc/vc-arch.el (vc-arch):
6215 * vc/vc-cvs.el (vc-cvs):
6216 * vc/vc-git.el (vc-git):
6217 * vc/vc-hg.el (vc-hg):
6218 * vc/vc-mtn.el (vc-mtn):
6219 * vc/vc-rcs.el (vc-rcs):
6220 * vc/vc-sccs.el (vc-sccs):
6221 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6222 All relevant defcustoms reassigned.
6224 2012-02-25 Chong Yidong <cyd@gnu.org>
6226 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6228 * term/x-win.el (x-initialize-window-system): Reduce default for
6229 x-selection-timeout to 5 seconds (Bug#8869).
6231 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6233 * files.el (files-equal-p, file-subdir-of-p): New functions.
6234 (copy-directory): Error when trying to copy a directory on itself.
6235 Add missing copy-contents arg to tramp handler.
6236 * dired-aux.el (dired-copy-file-recursive): Same.
6237 (dired-create-files): Modify destination when source is equal to
6238 dest when copying files.
6239 Return also when dest is a subdir of source. (Bug#10489)
6241 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
6243 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6246 2012-02-23 Alan Mackenzie <acm@muc.de>
6248 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6249 parameter "after-hook:" to allow the expansion to run code after
6250 the execution of the mode hooks.
6252 * font-lock.el (font-lock-initial-fontify): New function extracted
6253 from font-lock-mode-internal.
6255 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
6258 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6260 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6261 (completion--cache-all-sorted-completions): New function.
6262 (completion-all-sorted-completions): Use it.
6263 (completion--do-completion, minibuffer-force-complete):
6264 Use it to re-instate the flush hook.
6266 * icomplete.el (icomplete-completions): Replace last fix with a better
6269 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6271 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6272 when it might call us back infinitely (bug#10797).
6274 2012-02-23 Glenn Morris <rgm@gnu.org>
6276 * minibuffer.el (completion-category-overrides): Doc fix.
6278 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6280 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6281 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6283 2012-02-23 Glenn Morris <rgm@gnu.org>
6285 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
6286 (authors-obsolete-files-regexps, authors-ignored-files)
6287 (authors-ambiguous-files, authors-renamed-files-alist):
6290 2012-02-23 Juri Linkov <juri@jurta.org>
6292 * isearch.el (isearch-occur): Sync interactive spec with occur's
6293 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6295 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6297 2012-02-22 Juri Linkov <juri@jurta.org>
6299 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6300 (ucs-insert): Doc fix. Check for hex digits in the string.
6301 Don't display `nil' in the error message. (Bug#10857)
6303 2012-02-22 Alan Mackenzie <acm@muc.de>
6305 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
6307 2012-02-22 Glenn Morris <rgm@gnu.org>
6309 * ffap.el (ffap-c-path):
6310 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6312 2012-02-22 Chong Yidong <cyd@gnu.org>
6314 * custom.el (load-theme): Doc fix.
6316 2012-02-22 Glenn Morris <rgm@gnu.org>
6318 * dired-x.el (dired-guess-shell-alist-default):
6319 Remove escape sequences from nroff output. (Bug#172)
6321 2012-02-21 Glenn Morris <rgm@gnu.org>
6323 * vc/emerge.el (emerge-defvar-local):
6324 Set `permanent-local' property rather than unused `preserved'.
6326 * textmodes/picture.el (picture-delete-char): New alias.
6327 (picture-mode-map): Use it. (Bug#10860)
6328 (picture-mode): Doc fix.
6330 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
6332 * newcomment.el (uncomment-region-default): Remove unused binding.
6334 2012-02-21 Glenn Morris <rgm@gnu.org>
6336 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6337 (picture-self-insert, picture-tab-chars): Doc fix.
6338 (picture-mode-map): Fix C-a, C-e.
6340 2012-02-20 Glenn Morris <rgm@gnu.org>
6342 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6344 2012-02-20 Leo Liu <sdl.web@gmail.com>
6346 * icomplete.el (icomplete-completions): Check FROM arg before
6347 passing to substring (Bug#10850).
6349 2012-02-19 Chong Yidong <cyd@gnu.org>
6351 * comint.el: Require ansi-color.
6352 (comint-output-filter-functions): Add ansi-color-process-output.
6354 * ansi-color.el: Don't set comint-output-filter-functions; it is
6355 now in the initial value defined in comint.el.
6356 (ansi-color-apply-face-function): New variable.
6357 (ansi-color-apply-on-region): Use it.
6358 (ansi-color-apply-overlay-face): New function.
6360 * shell.el (shell): No need to require ansi-color.
6361 (shell-mode): Use ansi-color-apply-face-function to highlight
6362 color escapes using font-lock-face property (Bug#10835).
6364 2012-02-19 Chong Yidong <cyd@gnu.org>
6366 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6367 mode-line formats (Bug#10839).
6369 2012-02-18 Glenn Morris <rgm@gnu.org>
6371 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6373 * mail/undigest.el (unforward-rmail-message): Doc fix.
6375 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6377 2012-02-18 Eli Zaretskii <eliz@gnu.org>
6379 * international/characters.el (script-list): Sync with the latest
6380 Unicode Character Database.
6382 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6384 * international/titdic-cnv.el: Remove duplicate coding tag.
6385 * language/cham.el: Likewise.
6386 * language/tai-viet.el: Likewise.
6388 2012-02-18 Glenn Morris <rgm@gnu.org>
6390 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6391 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6392 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6393 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6394 * calendar/holidays.el (holiday-bahai-holidays)
6395 (calendar-holidays, list-holidays):
6396 Use utf-8 Bahá'í in doc-strings, menus, etc.
6398 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6400 * saveplace.el (save-place-ignore-files-regexp): New variable
6401 allowing for excluding files from saving their location of point.
6402 The default value matches the temporary commit message editing
6403 files from Git, SVN, Bazaar, and Mercurial.
6404 (save-place-to-alist): Use it.
6406 2012-02-17 Lawrence Mitchell <wence@gmx.li>
6407 Stefan Monnier <monnier@iro.umontreal.ca>
6409 * newcomment.el (uncomment-region-default): Don't leave extra space
6410 when an arg is provided (bug#8150).
6412 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6414 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
6416 2012-02-17 Glenn Morris <rgm@gnu.org>
6418 * net/socks.el: Require network-stream. (Bug#10599)
6420 2012-02-17 Kenichi Handa <handa@m17n.org>
6422 * international/charprop.el:
6423 * international/uni-name.el:
6424 * international/uni-old-name.el:
6425 * international/uni-comment.el: Regenerate.
6427 2012-02-16 Glenn Morris <rgm@gnu.org>
6429 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6430 Interactively in calendar buffer, give an error if not on a date.
6432 2012-02-15 Glenn Morris <rgm@gnu.org>
6434 * shell.el (shell-delimiter-argument-list):
6435 Revert 2011-02-17 change. (Bug#8027)
6437 2012-02-15 Chong Yidong <cyd@gnu.org>
6439 * minibuffer.el (completion-at-point-functions): Doc fix.
6441 * custom.el (defcustom): Doc fix; note use of defvar.
6443 2012-02-15 Glenn Morris <rgm@gnu.org>
6445 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6448 2012-02-14 Glenn Morris <rgm@gnu.org>
6450 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6452 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6454 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6455 way the ports list is computed.
6456 (smtpmail-query-smtp-server): Prompt the user for a port number if
6457 we can't connect to any of the standard ports (bug#10810).
6459 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6461 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6463 2012-02-13 Glenn Morris <rgm@gnu.org>
6465 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6467 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6469 * net/gnutls.el (gnutls-trustfiles): New variable.
6470 (gnutls-negotiate): Use it.
6472 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6474 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6475 does its stuff if Gnus is running.
6477 2012-02-13 Alan Mackenzie <acm@muc.de>
6479 Fix a loop in c-set-fl-decl-start.
6481 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
6482 c-backward-syntactic-ws actually moves backwards.
6484 2012-02-13 Leo Liu <sdl.web@gmail.com>
6486 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6487 beginning so that all \C-o chars are removed.
6489 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6491 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
6493 2012-02-12 Alan Mackenzie <acm@muc.de>
6495 Fix infinite loop with long macros.
6496 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
6498 2012-02-12 Chong Yidong <cyd@gnu.org>
6500 * window.el (display-buffer): Doc fix (Bug#10785).
6502 2012-02-12 Glenn Morris <rgm@gnu.org>
6504 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6505 (x-disown-selection-internal, x-get-selection-internal):
6506 Sync docs with the xselect.c versions.
6508 * allout-widgets.el: Add missing license notice.
6510 2012-02-11 Glenn Morris <rgm@gnu.org>
6512 * select.el (x-get-selection-internal, x-own-selection-internal)
6513 (x-disown-selection-internal):
6514 * x-dnd.el (x-get-selection-internal): Update declarations.
6516 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6518 * window.el (window-sides-slots):
6519 * tool-bar.el (tool-bar-position):
6520 * term/xterm.el (xterm-extra-capabilities):
6521 * ses.el (ses-self-reference-early-detection):
6522 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6523 (verilog-auto-wire-type)
6524 (verilog-auto-delete-trailing-whitespace)
6525 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6526 (verilog-auto-tieoff-declaration):
6527 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6528 (sql-oracle-statement-starters, sql-oracle-scan-on):
6529 * progmodes/prolog.el (prolog-align-comments-flag)
6530 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6531 (prolog-left-indent-regexp, prolog-paren-indent-p)
6532 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6533 (prolog-types, prolog-mode-specificators)
6534 (prolog-determinism-specificators, prolog-directives)
6535 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6536 (prolog-electric-dot-flag)
6537 (prolog-electric-dot-full-predicate-template)
6538 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6539 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6540 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6541 (prolog-program-switches, prolog-prompt-regexp)
6542 (prolog-debug-on-string, prolog-debug-off-string)
6543 (prolog-trace-on-string, prolog-trace-off-string)
6544 (prolog-zip-on-string, prolog-zip-off-string)
6545 (prolog-use-standard-consult-compile-method-flag)
6546 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6547 (prolog-imenu-max-lines, prolog-info-predicate-index)
6548 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6549 (prolog-char-quote-workaround):
6550 * progmodes/cc-vars.el (c-defun-tactic):
6551 * net/tramp.el (tramp-encoding-command-interactive)
6552 (tramp-local-end-of-line):
6553 * net/soap-client.el (soap-client):
6554 * net/netrc.el (netrc-file):
6555 * net/gnutls.el (gnutls):
6556 * minibuffer.el (completion-category-overrides)
6557 (completion-cycle-threshold)
6558 (completion-pcm-complete-word-inserts-delimiters):
6559 * man.el (Man-name-local-regexp):
6560 * mail/feedmail.el (feedmail-display-full-frame):
6561 * international/characters.el (glyphless-char-display-control):
6562 * eshell/em-ls.el (eshell-ls-date-format):
6563 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6564 (lisp-lambda-list-keyword-parameter-indentation)
6565 (lisp-lambda-list-keyword-parameter-alignment):
6566 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6567 * dired-x.el (dired-omit-verbose):
6568 * cus-theme.el (custom-theme-allow-multiple-selections):
6569 * calc/calc.el (calc-highlight-selections-with-faces)
6570 (calc-lu-field-reference, calc-lu-power-reference)
6571 (calc-note-threshold):
6572 * battery.el (battery-mode-line-limit):
6573 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6574 (archive-7z-update):
6575 * allout.el (allout-prefixed-keybindings)
6576 (allout-unprefixed-keybindings)
6577 (allout-inhibit-auto-fill-on-headline)
6578 (allout-flattened-numbering-abbreviation):
6579 * allout-widgets.el (allout-widgets-auto-activation)
6580 (allout-widgets-icons-dark-subdir)
6581 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6582 (allout-widgets-theme-dark-background)
6583 (allout-widgets-theme-light-background)
6584 (allout-widgets-item-image-properties-emacs)
6585 (allout-widgets-item-image-properties-xemacs)
6586 (allout-widgets-run-unit-tests-on-load)
6587 (allout-widgets-time-decoration-activity)
6588 (allout-widgets-hook-error-post-time)
6589 (allout-widgets-track-decoration):
6590 Add missing :version tags to new defcustoms and defgroups.
6592 * progmodes/sql.el (sql-ansi-statement-starters)
6593 (sql-oracle-statement-starters): Add custom type.
6595 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6596 (prolog-system-version): Give it a type.
6598 2012-02-11 Eli Zaretskii <eliz@gnu.org>
6600 * term/pc-win.el (x-select-text, x-selection-owner-p)
6601 (x-own-selection-internal, x-disown-selection-internal)
6602 (x-get-selection-internal): Sync doc strings and argument lists
6603 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6605 2012-02-11 Leo Liu <sdl.web@gmail.com>
6607 * progmodes/python.el (python-end-of-statement): Fix infinite
6610 2012-02-10 Glenn Morris <rgm@gnu.org>
6612 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6613 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6615 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6617 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6618 about SMTP before checking the From header.
6620 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
6621 into own function for reuse by emacsbug.el.
6623 2012-02-10 Leo Liu <sdl.web@gmail.com>
6625 * subr.el (condition-case-unless-debug): Rename from
6626 condition-case-no-debug. All callers changed.
6627 (with-demoted-errors): Fix caller.
6629 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6630 * nxml/rng-valid.el (rng-do-some-validation):
6631 * emacs-lisp/package.el (package-refresh-contents)
6632 (package-menu-execute):
6633 * desktop.el (desktop-create-buffer):
6634 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
6636 2012-02-10 Glenn Morris <rgm@gnu.org>
6638 * textmodes/bibtex.el:
6639 Add missing :version tags for new/changed defcustoms.
6641 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6643 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
6645 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6646 (smtpmail-via-smtp): Use it, or fall back on the From address.
6647 (smtpmail-send-it): Ditto.
6649 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6651 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6652 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6653 (byte-compile-tmp-var): New const.
6654 (byte-compile-defvar): Use it to minimize .elc size.
6655 Just use `defvar' rather than simulate it (bug#10761).
6657 2012-02-09 Glenn Morris <rgm@gnu.org>
6659 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6661 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6664 * progmodes/compile.el (compilation-error-screen-columns)
6665 (compilation-first-column, compilation-filter-start): Doc fixes.
6667 * vc/log-view.el (log-view-toggle-entry-display):
6668 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6670 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6671 (report-emacs-bug-can-use-xdg-email):
6672 (report-emacs-bug-insert-to-mailer): Doc fixes.
6673 (report-emacs-bug): Message fix.
6675 * net/browse-url.el (browse-url-can-use-xdg-open)
6676 (browse-url-xdg-open): Doc fixes.
6678 * electric.el (electric-indent-mode, electric-pair-mode)
6679 (electric-layout-rules, electric-layout-mode): Doc fixes.
6680 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6682 2012-02-08 Martin Rudalics <rudalics@gmx.at>
6684 * server.el (server-unselect-display): Don't inadvertently kill
6685 the current buffer. (Bug#10729)
6687 2012-02-08 Glenn Morris <rgm@gnu.org>
6689 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6690 (sql-list-table): Doc fixes.
6692 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6693 Comment out (does nothing).
6695 * completion.el (dynamic-completion-mode):
6696 * dirtrack.el (dirtrack-debug-mode):
6697 * electric.el (electric-layout-mode):
6698 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6699 * face-remap.el (text-scale-mode, buffer-face-mode):
6700 * iimage.el (iimage-mode):
6701 * image-mode.el (image-transform-mode):
6702 * minibuffer.el (completion-in-region-mode):
6703 * scroll-lock.el (scroll-lock-mode):
6704 * simple.el (next-error-follow-minor-mode):
6705 * tar-mode.el (tar-subfile-mode):
6706 * tooltip.el (tooltip-mode):
6707 * vcursor.el (vcursor-use-vcursor-map):
6708 * wid-browse.el (widget-minor-mode):
6709 * emulation/tpu-edt.el (tpu-edt-mode):
6710 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6711 * international/iso-ascii.el (iso-ascii-mode):
6712 * language/thai-util.el (thai-word-mode):
6713 * mail/supercite.el (sc-minor-mode):
6714 * net/goto-addr.el (goto-address-mode):
6715 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6716 * progmodes/cwarn.el (cwarn-mode):
6717 * progmodes/flymake.el (flymake-mode):
6718 * progmodes/glasses.el (glasses-mode):
6719 * progmodes/hideshow.el (hs-minor-mode):
6720 * progmodes/pascal.el (pascal-outline-mode):
6721 * textmodes/enriched.el (enriched-mode):
6722 * vc/smerge-mode.el (smerge-mode):
6723 Doc fixes (minor mode argument).
6725 2012-02-07 Eli Zaretskii <eliz@gnu.org>
6727 * ls-lisp.el (ls-lisp-sanitize): New function.
6728 (ls-lisp-insert-directory): Use it to fix or remove any elements
6729 in file-alist with missing attributes. (Bug#4673)
6731 2012-02-07 Alan Mackenzie <acm@muc.de>
6733 Fix spurious recognition of c-in-knr-argdecl.
6735 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6736 putative K&R region.
6738 2012-02-07 Alan Mackenzie <acm@muc.de>
6740 * progmodes/cc-engine.el (c-forward-objc-directive):
6741 Prevent looping in "#pragma mark @implementation".
6743 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
6745 * notifications.el (notifications-on-closed-signal): Make `reason'
6746 optional. (Bug#10744)
6748 2012-02-07 Glenn Morris <rgm@gnu.org>
6750 * emacs-lisp/easy-mmode.el (define-minor-mode):
6751 Doc fixes for the macro and the mode it defines.
6753 * image.el (imagemagick-types-inhibit): Doc fix.
6755 * cus-start.el (imagemagick-render-type): Add it.
6757 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6759 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6760 Set the default at load time, too, so that `font-lock-fontify-buffer'
6761 can be called without setting up the entire mode first. This fixes
6762 a bug in `mm-inline-text' with C MIME parts.
6764 2012-02-06 Chong Yidong <cyd@gnu.org>
6766 * simple.el (list-processes--refresh): Delete exited processes
6769 * comint.el (comint-next-prompt): next-single-char-property-change
6770 and prev-single-char-property-change never return nil (Bug#8657).
6772 * custom.el (defcustom): Doc fix (Bug#9711).
6774 2012-02-05 Chong Yidong <cyd@gnu.org>
6776 * cus-edit.el (custom-variable-reset-backup): Quote the value
6777 before storing it in the customized-value property (Bug#6712).
6778 (custom-display): Add a customization type tag.
6779 (custom-buffer-create-internal): Improve tooltip message.
6781 * wid-edit.el (widget-field-value-get): New optional arg to
6782 suppress trailing whitespace truncation.
6783 (character): Use it (Bug#2689).
6785 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6787 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6788 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6790 2012-02-05 Chong Yidong <cyd@gnu.org>
6792 * cus-edit.el (custom-variable-value-create): For mismatched
6793 types, show the current value (Bug#7600).
6795 * custom.el (defcustom): Doc fix.
6797 2012-02-05 Glenn Morris <rgm@gnu.org>
6799 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6801 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
6803 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6804 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6805 (pp-last-sexp): Use `looking-at-p'.
6807 2012-02-04 Glenn Morris <rgm@gnu.org>
6809 * files.el (revert-buffer):
6810 Doc fix (mention revert-buffer-in-progress-p).
6812 * emacs-lisp/ert-x.el (ert-simulate-command):
6813 Check deferred-action-list (which is obsolete) is bound.
6815 * subr.el (with-wrapper-hook): Doc fixes.
6817 * simple.el (filter-buffer-substring-functions)
6818 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6820 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6822 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6823 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6825 2012-02-04 Leo Liu <sdl.web@gmail.com>
6827 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6829 2012-02-04 Glenn Morris <rgm@gnu.org>
6831 * image.el (image-extension-data): Add obsolete alias.
6833 * isearch.el (isearch-update): Doc fix.
6835 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6837 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6839 2012-02-03 Glenn Morris <rgm@gnu.org>
6841 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6842 (image-animate-timeout): Doc fix.
6844 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6846 2012-02-02 Glenn Morris <rgm@gnu.org>
6848 * server.el (server-auth-dir): Doc fix.
6849 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6851 * subr.el (run-mode-hooks): Doc fix.
6853 2012-02-02 Juri Linkov <juri@jurta.org>
6855 * image-mode.el (image-toggle-display-image): Remove tautological
6856 `major-mode' from the `derived-mode-p' test.
6858 2012-02-02 Kenichi Handa <handa@m17n.org>
6860 * composite.el (compose-region): Cancel previous change.
6862 2012-02-02 Kenichi Handa <handa@m17n.org>
6864 * composite.el (compose-region, compose-string): Signal error for
6865 a null string component (Bug#6988).
6867 2012-02-01 Chong Yidong <cyd@gnu.org>
6869 * view.el (view-buffer-other-window, view-buffer-other-frame):
6870 Handle special modes like view-buffer (Bug#10650).
6871 (view-buffer): Simplify.
6873 * frame.el (set-frame-font): Tweak meaning of third argument.
6875 * dynamic-setting.el (font-setting-change-default-font):
6876 Use set-frame-font (Bug#9982).
6878 2012-02-01 Glenn Morris <rgm@gnu.org>
6880 * progmodes/compile.el (compilation-internal-error-properties):
6881 Respect compilation-first-column in the "*compilation*" buffer.
6883 * emacs-lisp/easy-mmode.el (define-minor-mode):
6884 Relax :variable's test for a named function.
6886 2012-01-31 Alan Mackenzie <acm@muc.de>
6888 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6891 2012-01-31 Chong Yidong <cyd@gnu.org>
6893 * frame.el (set-frame-font): New arg ALL-FRAMES.
6895 * menu-bar.el (menu-set-font): Use set-frame-font.
6897 * faces.el (face-spec-reset-face): Don't apply unspecified
6898 attribute values to the default face.
6900 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
6902 * progmodes/cwarn.el (cwarn): Remove dead link.
6903 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6904 Remove * from defcustom docstrings.
6905 (turn-on-cwarn-mode): Make obsolete.
6906 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6907 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6909 2012-01-31 Glenn Morris <rgm@gnu.org>
6911 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6912 Fix :variable handling of mode a symbol not equal to modefun.
6913 Allow named functions to be used as the cdr of :variable.
6915 2012-01-30 Glenn Morris <rgm@gnu.org>
6917 * emacs-lisp/authors.el (authors-fixed-entries):
6918 Remove reference to deleted file rnewspost.el.
6920 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
6922 * window.el (window-with-parameter): Remove unused variable `windows'.
6923 (window--side-check): Remove unused variable `code'.
6924 (window--resize-siblings): Remove unused variable `first'.
6925 (adjust-window-trailing-edge): Remove unused variable `failed'.
6926 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6927 Use `let', not `let*'.
6928 (balance-windows-2): Remove unused variable `found'.
6929 (window--state-put-2): Remove unused variable `splits'.
6930 (window-state-put): Remove unused variable `selected'.
6931 (same-window-p): Use `string-match-p'.
6932 (display-buffer-assq-regexp): Remove unused variable `value'.
6933 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6934 Mark argument ALIST as ignored.
6935 (pop-to-buffer): Remove unused variable `old-window'.
6937 2012-01-29 Eli Zaretskii <eliz@gnu.org>
6939 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6940 and .lzma compressed files.
6942 2012-01-29 Chong Yidong <cyd@gnu.org>
6944 * frame.el (window-system-default-frame-alist): Doc fix.
6946 * dynamic-setting.el (font-setting-change-default-font): Don't
6947 change the default face if SET-FONT argument is non-nil (Bug#9982).
6949 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6951 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6953 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6955 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6956 breakpoints in files outside current directory (Bug#6098).
6958 2012-01-29 Chong Yidong <cyd@gnu.org>
6960 * progmodes/python.el: Require ansi-color at top-level.
6962 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6963 Define and use in Emacs Lisp mode (Bug#9360).
6964 (lisp-mode-abbrev-table): Add doc.
6965 (lisp-mode-variables): Don't set local-abbrev-table.
6966 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6968 2012-01-28 Roland Winkler <winkler@gnu.org>
6970 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6972 2012-01-28 Roland Winkler <winkler@gnu.org>
6974 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6975 (bibtex-set-dialect): Use it. Either set global values of
6976 dialect-dependent variables or bind these variables buffer-locally
6978 (bibtex-mode): Call bibtex-set-dialect via
6979 hack-local-variables-hook.
6980 (bibtex-dialect): Update docstring.
6981 Add safe-local-variable predicate.
6982 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6984 (bibtex-mode-map): Define menu for each dialect.
6985 (bibtex-entry): Fix docstring.
6987 2012-01-28 Chong Yidong <cyd@gnu.org>
6989 * eshell/esh-arg.el (eshell-quote-argument): New function.
6991 * eshell/esh-ext.el (eshell-invoke-batch-file):
6992 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6993 first arg to eshell-parse-command (Bug#10523).
6995 2012-01-28 Drew Adams <drew.adams@oracle.com>
6997 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6998 `default-directory' is non-nil.
7000 2012-01-28 Eli Zaretskii <eliz@gnu.org>
7002 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7003 line that displays system-configuration-options. (Bug#9924)
7005 2012-01-28 Drew Adams <drew.adams@oracle.com>
7007 * descr-text.el (describe-char): Show information about POS, in
7008 addition to information about the character at POS. Improve and
7009 update the doc string. Change "code point" to "code point in
7010 charset", to avoid confusion with the character's Unicode code
7011 point shown above that. (Bug#10129)
7013 2012-01-28 Eli Zaretskii <eliz@gnu.org>
7015 * descr-text.el (describe-char): Show the raw character, not only
7016 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7017 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7020 2012-01-28 Phil Hagelberg <phil@hagelb.org>
7022 * emacs-lisp/package.el (package-install):
7023 Run package-refresh-contents if there is no archive yet (Bug#9798).
7025 2012-01-28 Chong Yidong <cyd@gnu.org>
7027 * emacs-lisp/package.el (package-maybe-load-descriptor):
7028 New function, split from package-maybe-load-descriptor.
7029 (package-maybe-load-descriptor): Use it.
7030 (package-download-transaction): Fully load required packages
7031 inside the loop, so that `require' calls work (Bug#10593).
7032 (package-install): No need to call package-initialize now.
7034 2012-01-28 Chong Yidong <cyd@gnu.org>
7036 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7038 * tooltip.el (tooltip-mode): Doc fix.
7039 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7041 * frame.el (set-cursor-color): Doc fix (Bug#352).
7043 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7044 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7046 * cus-edit.el (custom-buffer-create-internal): Fix search button
7048 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
7050 2012-01-27 Eduard Wiebe <usenet@pusto.de>
7052 * dired.el (dired-mark-files-regexp):
7053 Include any subdirectory components. (Bug#10445)
7055 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7057 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7058 Handle [host]:port syntax. (Bug#10533)
7060 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
7062 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7064 2012-01-26 Glenn Morris <rgm@gnu.org>
7066 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7067 * term.el (term-raw-escape-map): Use Control-X-prefix.
7068 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7070 2012-01-25 Martin Rudalics <rudalics@gmx.at>
7072 * window.el (window-state-get, window--state-get-1): Don't deal
7073 with fixed-sizeness of windows. Simplify code.
7075 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7077 * window.el (window--state-get-1, window--state-put-2):
7078 Don't save and restore the mark.
7080 2012-01-25 Chong Yidong <cyd@gnu.org>
7082 * custom.el (custom-variable-p): Doc fix.
7084 2012-01-25 Glenn Morris <rgm@gnu.org>
7086 * dired.el (dired-goto-file): Handle some of the more common
7087 characters that `ls -b' escapes. (Bug#10596)
7089 * progmodes/compile.el (compilation-next-error-function):
7090 Respect compilation-first-column in the "*compilation*" buffer.
7091 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7093 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7095 2012-01-24 Glenn Morris <rgm@gnu.org>
7097 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7099 2012-01-24 Julien Danjou <julien@danjou.info>
7101 * color.el (color-rgb-to-hsl): Fix value computing.
7102 (color-hue-to-rgb): New function.
7103 (color-hsl-to-rgb): New function.
7104 (color-clamp, color-saturate-hsl, color-saturate-name)
7105 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7106 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7108 2012-01-24 Glenn Morris <rgm@gnu.org>
7110 * vc/vc-rcs.el (vc-rcs-create-tag):
7111 * vc/vc-sccs.el (vc-sccs-create-tag):
7112 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7114 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7116 * eshell/esh-util.el (eshell-read-hosts-file):
7117 Skip comment lines. (Bug#10549)
7119 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7121 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
7123 * subr.el (display-delayed-warnings): Doc fix.
7124 (collapse-delayed-warnings): New function to collapse identical
7126 (delayed-warnings-hook): Add it.
7128 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
7130 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7132 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7133 (tramp-default-user-alist): Don't add "pscp".
7134 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7135 property "login-as", if set. (Bug#10530)
7137 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
7139 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7140 "plink1" and "psftp". (Bug#10530)
7142 2012-01-21 Kenichi Handa <handa@m17n.org>
7144 * international/mule-cmds.el (prefer-coding-system): Show a
7145 warning message if the default value of file-name-coding-system
7148 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7150 * windmove.el (windmove-reference-loc):
7151 Fix windmove-reference-loc miscalculation.
7153 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7155 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7158 2012-01-21 Glenn Morris <rgm@gnu.org>
7160 * international/mule.el (auto-coding-alist): Add .tbz.
7162 * files.el (local-enable-local-variables): Doc fix.
7163 (inhibit-local-variables-regexps): Rename from
7164 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7165 Doc fix. Add some extensions from auto-coding-alist.
7166 (inhibit-local-variables-suffixes):
7167 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7168 (inhibit-local-variables-p):
7169 New function, extracted from set-auto-mode-1.
7170 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7171 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7172 (hack-local-variables): Doc fix. Make the mode-only case
7173 respect enable-local-variables and friends.
7174 Respect inhibit-local-variables-regexps for file-locals, but
7175 not for directory-locals.
7176 (set-visited-file-name):
7177 Take account of inhibit-local-variables-regexps.
7178 Whether it applies may change as the file name is changed.
7179 * jka-cmpr-hook.el (jka-compr-install):
7180 * jka-compr.el (jka-compr-uninstall):
7181 Update for inhibit-first-line-modes-suffixes name change.
7183 2012-01-20 Martin Rudalics <rudalics@gmx.at>
7185 * help-macro.el (make-help-screen): Temporarily restore original
7186 binding for minor-mode-map-alist (Bug#10454).
7188 2012-01-19 Julien Danjou <julien@danjou.info>
7190 * color.el (color-name-to-rgb): Use the white color to find the max
7191 color component value and return correctly computed values.
7192 (color-name-to-rgb): Add missing float conversion for max value.
7194 2012-01-19 Martin Rudalics <rudalics@gmx.at>
7196 * window.el (window--state-get-1, window-state-get): Do not use
7197 special state value for window-persistent-parameters.
7198 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
7199 (window--state-put-2): Reset all window parameters to nil before
7200 assigning values of persistent parameters.
7202 2012-01-18 Alan Mackenzie <acm@muc.de>
7204 Eliminate sluggishness and hangs in fontification of "semicolon
7207 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7208 Change value 10000 -> 3000.
7209 (c-state-safe-place): Reformulate so it doesn't stack up an
7210 infinite number of wrong entries in c-state-nonlit-pos-cache.
7211 (c-determine-limit-get-base, c-determine-limit): New functions to
7212 determine backward search limits disregarding literals.
7213 (c-find-decl-spots): Amend commenting.
7214 (c-cheap-inside-bracelist-p): New function which detects "={".
7216 * progmodes/cc-fonts.el
7217 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7219 (c-font-lock-declarations): Fix an occurrence of point being
7220 undefined. Check additionally for point being in a bracelist or
7221 near a macro invocation without a semicolon so as to avoid a
7222 fruitless time consuming search for a declarator. Give a more
7223 precise search limit for declarators using the new
7226 2012-01-18 Glenn Morris <rgm@gnu.org>
7228 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7229 (set-auto-mode): Doc fixes.
7231 2012-01-17 Glenn Morris <rgm@gnu.org>
7233 * isearch.el (search-nonincremental-instead): Fix doc typo.
7235 * dired.el (dired-insert-directory): Handle newlines in directory name.
7236 (dired-build-subdir-alist): Unescape newlines in directory name.
7238 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
7240 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7241 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7242 (tramp-action-terminal): Use it. (Bug#10530)
7244 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7246 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7248 2012-01-16 Martin Rudalics <rudalics@gmx.at>
7250 * window.el (window-state-ignored-parameters): Remove variable.
7251 (window--state-get-1): Rename argument MARKERS to IGNORE.
7252 Handle persistent window parameters. Make copy of clone-of
7253 parameter only if requested. (Bug#10348)
7254 (window--state-put-2): Install a window parameter only if it has
7255 a non-nil value or an existing parameter shall be overwritten.
7257 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
7259 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7261 2012-01-14 Eli Zaretskii <eliz@gnu.org>
7263 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7264 don't pass the (nil) value of `upnode' to string-match.
7266 2012-01-14 Chong Yidong <cyd@gnu.org>
7268 * startup.el (command-line): Fix X resource class for cursorColor.
7269 Fix values recognized by the cursorBlink resource.
7271 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7273 * epg.el (epg--make-temp-file): Avoid permission race condition
7274 when running on old Emacs versions (bug#10403).
7276 2012-01-14 Glenn Morris <rgm@gnu.org>
7278 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7280 2012-01-13 Alan Mackenzie <acm@muc.de>
7282 Fix filling for when filladapt mode is enabled.
7284 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7285 c-mask-paragraph, pass in `fill-paragraph' rather than
7286 `fill-region-as-paragraph'. (This is a reversion of a previous
7288 * progmodes/cc-mode.el (c-basic-common-init):
7289 Make fill-paragraph-handle-comment buffer local and set it to nil.
7291 2012-01-13 Glenn Morris <rgm@gnu.org>
7293 * dired.el (dired-switches-escape-p): New function.
7294 (dired-insert-directory): Use dired-switches-escape-p.
7295 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7297 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7299 2012-01-12 Glenn Morris <rgm@gnu.org>
7301 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7302 changes in adaptive-fill-regexp. (Bug#10276)
7304 2012-01-11 Alan Mackenzie <acm@muc.de>
7306 Fix Emacs bug #10463 - put `widen's around the critical spots.
7308 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
7309 widen around each invocation of c-state-pp-to-literal. Remove an
7310 unused let variable.
7312 2012-01-11 Glenn Morris <rgm@gnu.org>
7314 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
7317 2012-01-10 Chong Yidong <cyd@gnu.org>
7319 * net/network-stream.el (network-stream-open-starttls):
7320 Avoid emitting a confusing error message when the server gives a bad
7321 response to the capability command.
7323 2012-01-10 Glenn Morris <rgm@gnu.org>
7325 * mail/unrmail.el (unrmail): Tweak previous change.
7327 2012-01-09 Chong Yidong <cyd@gnu.org>
7329 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7331 2012-01-08 Alan Mackenzie <acm@muc.de>
7333 Optimise font locking in long enum definitions.
7335 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7336 arm to a cond form to handle enums.
7337 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7338 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7340 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
7342 * files.el (move-file-to-trash): Preserve default file modes on error.
7345 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7347 * faces.el (set-face-attribute): Clarify the meaning of the nil
7350 * subr.el (with-selected-frame): Mention that the selected frame
7351 is restored (bug#9980).
7353 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7356 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
7357 (password-read): Don't autoload unused function.
7359 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
7361 * progmodes/which-func.el (which-func-mode): Turn into a
7362 non-interactive function and mark as obsolete (bug#10428).
7364 2012-01-06 Chong Yidong <cyd@gnu.org>
7366 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7367 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7368 functions, along with 1 and -1.
7370 2012-01-06 Eli Zaretskii <eliz@gnu.org>
7372 * time.el (display-time-load-average)
7373 (display-time-default-load-average): Doc fixes. See the thread
7375 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7378 2012-01-06 Glenn Morris <rgm@gnu.org>
7380 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7381 has no messages. (Bug#10377)
7383 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7384 than Info-edit. (Bug#10385)
7386 * time.el (display-time-load-average, display-time-next-load-average):
7389 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7390 local setting of buffer-read-only to the input buffer. (Bug#10419)
7392 * calendar/calendar.el (calendar-mode):
7393 Locally set scroll-margin to 0. (Bug#10379)
7395 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
7397 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7399 2012-01-05 Glenn Morris <rgm@gnu.org>
7401 * eshell/em-unix.el (diff-no-select): Autoload it.
7402 (eshell/diff): Use diff-no-select. (Bug#10420)
7404 2012-01-05 Chong Yidong <cyd@gnu.org>
7406 * shell.el (shell-dynamic-complete-functions): Revert last change.
7407 (shell-command-completion-function): New function.
7408 (shell-completion-vars): Use it to implement
7409 shell-completion-execonly (Bug#10417).
7411 * custom.el (enable-theme): Don't set custom-safe-themes.
7413 * cus-theme.el (custom-theme-merge-theme):
7414 Ignore custom-enabled-themes and custom-safe-themes.
7416 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7418 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7419 first prompt in `sql-interacive-mode'.
7420 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
7422 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
7423 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7424 context of original buffer. Invoke `sql-login-hook'.
7426 2012-01-04 Eli Zaretskii <eliz@gnu.org>
7428 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7429 letters in cite-prefix.
7431 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7433 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7435 2012-01-03 Chong Yidong <cyd@gnu.org>
7437 * shell.el (shell-dynamic-complete-functions):
7438 Put pcomplete-completions-at-point, so as to try
7439 comint-filename-completion first (Bug#10417).
7441 2012-01-02 Richard Stallman <rms@gnu.org>
7443 * battery.el (battery-status-function):
7444 Detect when to use battery-yeeloong-sysfs.
7445 (battery-echo-area-format): Add string for Yeeloong.
7446 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7447 (battery-yeeloong-sysfs): New function.
7449 2012-01-02 Chong Yidong <cyd@gnu.org>
7451 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7452 (dirtrack): Merge code for handling relative filenames in prompt
7453 from shell-dir-cookie-watcher.
7454 (dirtrack-debug-message): New arg to avoid excess format calls.
7456 * shell.el (shell-dir-cookie-re): Variable deleted.
7457 (shell-dir-cookie-watcher): Function deleted.
7458 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7461 2012-01-01 Eli Zaretskii <eliz@gnu.org>
7463 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7464 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
7467 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7469 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7471 2011-12-31 Eli Zaretskii <eliz@gnu.org>
7473 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7474 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7476 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
7478 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7479 also for alternative shells.
7480 (tramp-open-connection-setup-interactive-shell): Check, whether
7481 the shell is a busybox.
7482 (tramp-send-command): Don't suppress multiple prompts for
7483 busyboxes, it hurts.
7485 2011-12-28 Chong Yidong <cyd@gnu.org>
7487 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7488 (gdb-get-source-file): Move mode line update to
7489 gdb-get-source-file (Bug#10087).
7491 2011-12-25 Chong Yidong <cyd@gnu.org>
7493 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7494 gud-gdb-marker-filter without taking it as an argument.
7495 (gud-gdb-run-command-fetch-lines): Caller changed.
7496 (gud-gdb-completion-function): New variable.
7497 (gud-gdb-completion-at-point): Use it.
7498 (gud-gdb-completions-1): Split from gud-gdb-completions.
7500 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7501 function as separate arguments.
7502 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7503 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7504 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7505 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7506 (gdb-stopped, def-gdb-auto-update-trigger)
7507 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
7508 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7510 (gud-gdbmi-completions): New function.
7511 (gdb): Use it for generating the completion table.
7513 2011-12-24 Alan Mackenzie <acm@muc.de>
7515 Introduce a mechanism to widen the region used in context font
7516 locking. Use this to protect declarations from losing their contexts.
7518 * progmodes/cc-langs.el (c-before-font-lock-functions):
7519 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
7520 (c-before-context-fontification-functions): New defvar, a list of
7521 functions to be run just before context (etc.) font locking.
7523 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
7524 New, functionality extracted from
7525 c-neutralize-syntax-in-and-mark-CPP.
7526 (c-in-after-change-fontification): New variable.
7527 (c-after-change): Set c-in-after-change-fontification.
7528 (c-set-fl-decl-start): Rejig its interface, so it can be called
7529 from both after-change and context fontifying.
7530 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7532 (c-standard-font-lock-fontify-region-function): New variable.
7533 (c-font-lock-fontify-region): New function.
7535 2011-12-24 Juri Linkov <juri@jurta.org>
7537 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7540 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
7542 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7543 existence of source file. (Bug#10325)
7545 2011-12-23 Alan Mackenzie <acm@muc.de>
7547 Fix unstable fontification inside templates.
7549 * progmodes/cc-langs.el (c-before-font-lock-functions):
7550 Newly created from the singular version. The (c c++ objc) entry now
7551 additionally has c-set-fl-decl-start. The other languages (apart
7552 from AWK) have that as a single entry.
7554 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7555 The functionality for "local" declarations has been extracted to
7556 c-set-fl-decl-start.
7558 * progmodes/cc-mode.el (c-common-init, c-after-change):
7559 Changes due to pluralisation of c-before-font-lock-functions.
7560 (c-set-fl-decl-start): New function, extracted from
7561 c-font-lock-enclosing-decls and enhanced.
7563 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
7565 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7567 2011-12-22 Juri Linkov <juri@jurta.org>
7569 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7571 2011-12-22 Chong Yidong <cyd@gnu.org>
7573 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7575 2011-12-21 Drew Adams <drew.adams@oracle.com>
7577 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7579 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7581 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7583 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7585 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7586 highlighting and support. Fix up comments for capitalization.
7587 (cfengine-mode-debug): New var.
7588 (cfengine3-mode): Change the modeline indicator to "CFE3".
7589 (cfengine3-font-lock-keywords): Improve defun highlighting.
7590 (cfengine2-actions): Rename from `cfengine-actions'.
7591 (cfengine2-font-lock-keywords): Rename from
7592 `cfengine-font-lock-keywords'.
7593 (cfengine2-imenu-expression): Rename from
7594 `cfengine-imenu-expression'.
7595 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7596 (cfengine2-beginning-of-defun): Rename from
7597 `cfengine-beginning-of-defun'.
7598 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7599 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7600 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7601 modeline indicator to "CFE2".
7602 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7603 (cfengine-mode-abbrevs): Mark obsolete.
7605 2011-12-21 Chong Yidong <cyd@gnu.org>
7607 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7610 2011-12-20 Martin Rudalics <rudalics@gmx.at>
7612 * window.el (window-normalize-buffer-to-display): Remove.
7613 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7615 2011-12-19 Chong Yidong <cyd@gnu.org>
7617 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7618 Don't signal an error in a predicate function; return non-nil.
7619 (vc-dir-mark-file): Move the error here.
7620 (vc-dir-mark-unmark): If acting on the region, keep going if one
7621 of the entries cannot be marked/unmarked.
7622 (vc-dir-mark-all-files): If current entry is a directory, mark
7623 only child files, as documented.
7625 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7627 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7628 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7631 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7633 * term/ns-win.el (ns-get-selection-internal)
7634 (ns-store-selection-internal): Declare.
7635 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7636 Declare as obsolete.
7637 (ns-get-pasteboard, ns-paste-secondary):
7638 Use ns-get-selection-internal.
7639 (ns-set-pasteboard, ns-copy-including-secondary):
7640 Use ns-store-selection-internal.
7642 2011-12-17 Chong Yidong <cyd@gnu.org>
7644 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
7645 (vc-deduce-fileset): Doc fix.
7647 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7649 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7651 2011-12-13 Sam Steingold <sds@gnu.org>
7653 * man.el (Man-getpage-in-background): When running under a
7654 window-system, ignore $MANWIDTH and $COLUMNS.
7656 2011-12-15 Kenichi Handa <handa@m17n.org>
7658 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7659 (setup-ethiopic-environment-internal): Comment out key-binding for
7660 ethio-toggle-punctuation.
7662 2011-12-13 Alan Mackenzie <acm@muc.de>
7664 Add the switch statement to AWK Mode.
7666 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
7667 "default" to the keywords regexp.
7669 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
7670 expression as the rest.
7671 (c-nonlabel-token-key): Allow string literals for AWK.
7672 Refactor for the other modes.
7674 Large brace-block initialisation makes CC Mode slow: Fix.
7675 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
7676 routines. Limit backward searching in c-font-lock-enclosing.decl.
7678 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7679 pp-state and literal type in addition to the limits.
7680 (c-state-safe-place): New defun, extracted from c-state-literal-at.
7681 (c-state-literal-at): Use the above new defun.
7682 (c-slow-in-literal, c-fast-in-literal): Remove.
7683 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
7685 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7686 being in a literal. Add a limit for backward searching.
7688 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7691 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7693 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7695 2011-12-13 Martin Rudalics <rudalics@gmx.at>
7697 * window.el (delete-other-windows): Use correct frame in call to
7698 window-with-parameter.
7700 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7702 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7703 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7704 (makefile-gmake-statements, makefile-makepp-statements):
7705 Use it and add new makepp keywords.
7706 (makefile-makepp-font-lock-keywords): Add new patterns.
7707 (makefile-match-function-end): Match new [...] and [[...]].
7709 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
7711 * ses.el (ses-call-printer-return, ses-cell-property-get)
7712 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7713 (ses-create-cell-variable, ses-reset-header-string)
7714 (ses-cell-set-formula, ses-repair-cell-reference-all)
7715 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7716 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7717 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7718 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7719 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7720 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7721 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7722 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7723 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7724 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7725 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7726 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7728 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7730 * ses.el: The overall change is to add cell renaming, that is
7731 setting fancy names for cell symbols other than name matching
7732 "\\`[A-Z]+[0-9]+\\'" regexp .
7733 (ses-create-cell-variable): New defun.
7734 (ses-relocate-formula): Relocate formulas only for cells the
7735 symbols of which are not renamed, i.e. symbols whose names do not
7736 match regexp "\\`[A-Z]+[0-9]+\\'".
7737 (ses-relocate-all): Relocate values only for cells the symbols of
7738 which are not renamed.
7739 (ses-load): Create cells variables as the (ses-cell ...) are read,
7740 in order to check row col consistency with cell symbol name only
7741 for cells that are not renamed.
7742 (ses-replace-name-in-formula): New defun.
7743 (ses-rename-cell): New defun.
7745 2011-12-11 Chong Yidong <cyd@gnu.org>
7747 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7748 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7750 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7752 * window.el (other-window): Fix docstring.
7754 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7756 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
7757 `from' or `to' address before taking its substring.
7758 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
7759 encoded name is chopped in the middle of the encoded string, and
7760 thus displayed encoded.
7762 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
7764 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7766 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7768 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7769 to use texinfo-update-node and commands that call it if the
7770 Texinfo file uses @node lines without next/prev/up pointers.
7771 Correct outdated description about texinfo-master-menu.
7772 (texinfo-all-menus-update, texinfo-master-menu)
7773 (texinfo-update-node, texinfo-every-node-update)
7774 (texinfo-multiple-files-update): Doc fix. Warn against updating
7775 all the @node lines.
7776 (texinfo-master-menu): Only call texinfo-update-node if the prefix
7777 argument is numeric. Explain better in the doc string what the
7778 function really does.
7779 (texinfo-insert-master-menu-list): Improve the error message
7780 displayed if there's no menu in the Top node.
7781 (Bug#2975) See also this thread:
7782 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7784 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7786 * speedbar.el (speedbar-supported-extension-expressions):
7787 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7789 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
7791 * printing.el (pr-mode-alist):
7792 * simple.el (filter-buffer-substring-functions)
7793 (completion-list-insert-choice-function):
7794 * window.el (window-with-parameter, window-atom-root)
7795 (window-sides-slots, window-size-fixed, window-min-delta)
7796 (window-max-delta, window--resize-mini-window)
7797 (window--resize-child-windows-normal, window-tree)
7798 (delete-other-windows, quit-window, split-window)
7799 (display-buffer-record-window, special-display-buffer-names)
7800 (special-display-regexps, special-display-popup-frame)
7801 (same-window-p, split-window-sensibly)
7802 (display-buffer-overriding-action, display-buffer-alist)
7803 (display-buffer-base-action, display-buffer, switch-to-buffer)
7804 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7805 (fit-window-to-buffer, recenter-positions)
7806 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7807 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7808 and remove unneeded backslashes in docstrings.
7810 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7812 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7814 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7815 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7817 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7818 when reading the makefile (bug#10116).
7820 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7822 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7825 2011-12-06 Glenn Morris <rgm@gnu.org>
7827 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7829 2011-12-06 Chong Yidong <cyd@gnu.org>
7831 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7833 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
7835 * textmodes/table.el (table-shorten-cell): Fix typo.
7837 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7839 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7841 2011-12-05 Eli Zaretskii <eliz@gnu.org>
7843 * descr-text.el (describe-char): Fix display of strong
7844 right-to-left characters and directional embeddings and overrides.
7846 * simple.el (what-cursor-position): Fix display of codepoints of
7847 strong right-to-left characters.
7849 2011-12-05 Chong Yidong <cyd@gnu.org>
7851 * faces.el (read-color): Doc fix.
7853 2011-12-05 Glenn Morris <rgm@gnu.org>
7855 * align.el (align--set-marker): Add doc-string.
7856 Don't try to move something that is not a marker. (Bug#10216)
7858 2011-12-04 Glenn Morris <rgm@gnu.org>
7860 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7861 overly zealous deletion of trailing whitespace.
7863 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
7865 * server.el (server-delete-client): On Windows, do not try to delete
7867 (server-process-filter): On Windows, treat requests for a tty frame as
7868 if they were for a GUI frame if the running server is in GUI mode.
7870 2011-12-03 Glenn Morris <rgm@gnu.org>
7872 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7874 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7876 * electric.el: Streamline electric-indent's hook.
7877 (electric-indent-chars): Revert to simple list.
7878 (electric-indent-functions): New var.
7879 (electric-indent-post-self-insert-function): Use it.
7881 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7882 there's no inferior buffer (bug#10196).
7883 (prolog-consult-compile): Don't use toggle-read-only.
7885 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
7887 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7888 interrupt. (Bug#10187)
7890 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7892 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7895 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7898 2011-12-02 Juri Linkov <juri@jurta.org>
7900 * info.el (Info-search): Display "end of manual" when Isearch
7901 reaches the end of single-file Info manual. (Bug#9918)
7903 2011-12-02 Eli Zaretskii <eliz@gnu.org>
7905 * isearch.el (isearch-message-prefix): Run the input method part
7906 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7908 2011-12-02 Juri Linkov <juri@jurta.org>
7910 * isearch.el (isearch-occur): Use `word-search-regexp' for
7912 (isearch-search-and-update): Add condition for `isearch-word' and
7913 call `word-search-regexp'. (Bug#10145)
7915 2011-12-01 Glenn Morris <rgm@gnu.org>
7917 * eshell/em-hist.el (eshell-hist-initialize):
7918 Handle eshell-history-size nil and HISTSIZE set or unset.
7919 (eshell-history-file-name, eshell-history-size): Fix custom type.
7921 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7923 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7925 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
7927 * progmodes/verilog-mode.el (verilog-pretty-expr):
7928 Rework verilog-pretty-expr to handle new assignment operators in system
7929 verilog, such as += *= and the like.
7930 (verilog-assignment-operator-re): Regular expression to find the
7931 assigment operator in a verilog assignment.
7932 (verilog-assignment-operation-re): Regular expression to find an
7933 assignment statement for pretty-expr.
7934 (verilog-in-attribute-p): Query returns true if point is in an
7935 attribute context; used to skip these for expression line up from
7937 (verilog-in-parameter-p): Query returns true if point is in an
7938 parameter definition context; used to skip these for expression
7939 line up from pretty-expr.
7940 (verilog-in-parenthesis-p): Query returns true if point is in a
7941 parenthetical expression, specifically ( ) but not [ ] or { };
7942 used by pretty-expr.
7943 (verilog-just-one-space): If there is no space, don't add one.
7944 (verilog-get-lineup-indent-2): Specifically skip just attribute
7945 contexts for expression lineup, rather than skipping all
7946 parenthetical expressions.
7947 (verilog-calculate-indent): Fix comment, and fix indent.
7948 (verilog-do-indent): Indent declarations in lists (suggested by
7950 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7952 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7955 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
7957 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7958 parameters with embedded comments. Reported by Ray Stevens.
7959 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7960 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7961 Reported by Tim Holt.
7962 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7963 instantiated by upper module causing wrong expansion until AUTOed a
7964 second time. Reported by K C Buckenmaier.
7965 (verilog-diff-auto): Fix showing .* as a difference when
7966 `verilog-auto-star-save' off. Reported by Dan Dever.
7967 (verilog-auto-reset, verilog-read-always-signals)
7968 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7969 temporary signals in reset list if
7970 verilog-auto-reset-blocking-in-non is nil, and match assignment
7971 style to each signal's assignment type, bug381.
7972 Reported by Thomas Esposito.
7973 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7974 (verilog-uvm-statement-re): Support UVM indentation and
7975 highlighting, with old OVM keywords only.
7976 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
7977 Support AUTOTIEOFF creating non-wire data types.
7978 Suggested by Jonathan Greenlaw.
7979 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7980 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7981 (verilog-inject-sense, verilog-read-inst-pins)
7982 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7983 Fix mismatching parenthesis inside commented out code when deleting
7984 AUTOINST, bug383. Reported by Jonathan Greenlaw.
7985 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7986 non-numeric vector width. Reported by Alex Reed.
7987 (verilog-auto-ascii-enum): Add "onehot" option to work around not
7988 detecting signals with parameter widths. Reported by Alex Reed.
7989 (verilog-auto-delete-trailing-whitespace):
7990 With `verilog-auto-delete-trailing-whitespace' remove trailing
7991 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7992 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7993 Fix verilog-scan-cache corruption when running user AUTO expansion
7994 hooks that call indentation routines.
7995 (verilog-simplify-range-expression): Fix typo ignoring lower case
7997 (verilog-delete-auto): Fix delete-autos to also remove user created
7998 automatics, as long as they start with AUTO.
7999 (verilog-batch-diff-auto, verilog-diff-auto)
8000 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8001 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8002 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8003 (verilog-in-paren-quick, verilog-re-search-backward-quick)
8004 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8005 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
8006 is disabled and its cache will get corrupt, causing AUTOS not to
8007 expand. Instead use only -quick functions.
8008 (verilog-scan-region): Fix scanning over escaped quotes.
8009 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8010 (verilog-re-search-backward-quick)
8011 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8012 related functions now ignore strings, to fix misparsing of strings
8013 with magic comments embedded in them.
8014 (verilog-read-auto-template):
8015 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8016 Reported by Brad Dobbie.
8017 (verilog-read-auto-template):
8018 Fix 'verilog-auto-inst-template-numbers' with comments.
8019 Reported by Brad Dobbie.
8020 (verilog-auto-inst, verilog-auto-inst-param)
8021 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8022 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8023 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
8024 debugging templates without merge conflicts, bug357.
8025 Reported by Brad Dobbie.
8026 (verilog-read-auto-template):
8027 Fix verilog-auto-inst-template-numbers with multiple templates.
8028 Reported by Brad Dobbie.
8029 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8030 abbrevs so user won't be asked to save.
8031 (verilog-read-auto-lisp-present): Fix to start at beginning of
8032 buffer in case called outside of verilog-auto.
8033 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8034 to "X-2". Reported by Matthew Myers.
8035 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8036 all inputs from module templates. Reported by Leith Johnson.
8037 (verilog-module-inside-filename-p): Fix locating programs as with
8039 (verilog-auto-inst-port): Fix vl-width expressions when using
8040 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8041 (verilog-decls-get-regs, verilog-decls-get-signals,
8042 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8043 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8044 verilog-read-decls): Combine reg and wire structures into one var
8045 structure to represent SystemVerilog concepts.
8046 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8047 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
8048 (verilog-auto-wire-type, verilog-insert-definition):
8049 Add verilog-auto-wire-type and AUTOLOGIC to support using
8050 SystemVerilog "logic" keyword instead of "wire"/"reg".
8051 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8052 to declares outputs that also have assignments (presumably in an
8053 ifdef or generate if so there's not a driver conflict).
8054 Reported by Matthew Myers.
8055 (verilog-auto-declare-nettype, verilog-insert-definition):
8056 Add verilog-auto-declare-nettype to fix declarations using
8057 `default_nettype none. Reported by Julian Gorfajn.
8058 (verilog-read-always-signals-recurse, verilog-read-decls)
8059 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8060 malformed end statement, bug325. Reported by Joshua Wise and
8062 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8063 (verilog-inst-comment-re): Fix not deleting Interfaced comment
8064 when expanding .* in interfaces, bug320.
8065 Reported by Pierre-David Pfister.
8066 (verilog-read-module-name): Fix import statements between module
8067 name and open parenthesis, bug317.
8068 Reported by Pierre-David Pfister.
8069 (verilog-simplify-range-expression): Fix simplification of
8070 multiplications inside AUTOWIRE connections, bug303.
8071 (verilog-auto-inst-port): Support parameter expansion in
8072 multidimensional arrays.
8073 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8074 after "assert property". Reported by Julian Gorfajn.
8075 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8076 with multiplication, bug303.
8077 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8078 Reported by Jan Frode Lonnum.
8080 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
8082 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8083 (hfy-shell-file-name, hfy-shell):
8084 * international/fontset.el (x-decompose-font-name): Fix typos.
8086 2011-11-29 Ken Brown <kbrown@cornell.edu>
8088 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8089 (gdb-version): Remove defvar.
8090 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8091 (gdb-gud-context-command, gdb-non-stop-handler)
8092 (gdb-current-context-command, gdb-stopped): Use it.
8093 (gdb-init-1): Enable pretty printing here.
8094 (gdb-non-stop-handler): Don't enable pretty-printing here.
8095 Check to see if the target supports non-stop mode; if not, turn off
8096 non-stop mode. Use the following.
8097 (gdb-check-target-async): New defun.
8098 (gud-watch, gdb-stopped): Fix whitespace.
8099 (gdb-get-source-file): Don't try to display the source file if
8100 `gdb-main-file' is nil.
8102 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8104 * align.el: Try to generate fewer markers (bug#10047).
8105 (align--set-marker): New macro.
8106 (align-region): Use it.
8108 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8110 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8112 2011-11-29 Chong Yidong <cyd@gnu.org>
8114 * indent.el (indent-for-tab-command, indent-according-to-mode):
8116 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8118 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
8120 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8121 aware of remote file names. (Bug#10124)
8123 2011-11-29 Chong Yidong <cyd@gnu.org>
8125 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8127 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8129 * files.el (find-file): Don't use force-same-window (bug#10144).
8130 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8131 use pop-to-buffer if the selected window can't be used.
8132 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8134 2011-11-28 Eli Zaretskii <eliz@gnu.org>
8136 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8139 2011-11-28 Chong Yidong <cyd@gnu.org>
8141 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8143 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
8145 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8146 gdb-get-source-file-list on gdb-create-source-file-list.
8148 2011-11-26 Eli Zaretskii <eliz@gnu.org>
8150 * whitespace.el (whitespace-newline): Use a different foreground
8151 color for 16-color light-background displays.
8153 2011-11-24 Chong Yidong <cyd@gnu.org>
8155 * window.el (display-buffer--special-action): Doc fix.
8157 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
8159 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8160 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8161 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8162 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8163 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8164 (avl-tree-stack-first):
8165 * emacs-lisp/cconv.el (cconv--analyse-use):
8166 * net/gnutls.el (gnutls-negotiate): Fix typos.
8168 2011-11-24 Glenn Morris <rgm@gnu.org>
8170 * lpr.el (lpr-windows-system, lpr-lp-system):
8171 * mail/binhex.el (binhex-begin-line):
8172 * progmodes/grep.el (grep-history, grep-find-history):
8173 * textmodes/flyspell.el:
8174 * vc/pcvs-defs.el (cvs-global-menu):
8175 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8176 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8177 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8179 * net/tls.el: Fix case of "GnuTLS".
8181 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8183 * version.el (emacs-build-system): Give it a doc-string.
8185 2011-11-24 Juri Linkov <juri@jurta.org>
8187 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8189 2011-11-24 Glenn Morris <rgm@gnu.org>
8191 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8192 if called on a non-mime message just toggle the headers. (Bug#8006)
8194 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
8196 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8197 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8198 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8199 (allout-rebullet-heading, allout-open-sibtopic)
8200 (allout-toggle-current-subtree-encryption)
8201 (allout-toggle-subtree-encryption, allout-encrypt-string)
8202 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8203 (allout-distinctive-bullets-string, allout-auto-activation):
8204 * window.el (window-normalize-buffer-to-display):
8205 * progmodes/verilog-mode.el (verilog-batch-indent):
8206 * textmodes/bibtex.el (bibtex-field-braces-opt)
8207 (bibtex-field-strings-opt):
8208 * vc/cvs-status.el (cvs-tree-merge):
8211 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
8213 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8214 `non-essential' to t, in order to avoid remote connections.
8216 2011-11-23 Eli Zaretskii <eliz@gnu.org>
8218 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8219 On MS-DOS and MS-Windows, compare with loaddefs.el
8222 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8224 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8226 2011-11-23 Glenn Morris <rgm@gnu.org>
8228 * paths.el (rmail-file-name): Reformat the doc-string so that it
8231 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8232 (rmail-auto-file): Ignore case in the "special" field names,
8233 as mail-fetch-field does for all others.
8235 * mail/rmail.el (rmail-forward):
8236 * mail/rmailkwd.el (rmail-set-label):
8237 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8238 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8240 * mail/rmail.el (rmail-current-message): Doc fix.
8242 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8244 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8246 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8248 2011-11-22 Glenn Morris <rgm@gnu.org>
8250 * mail/rmailmm.el (test-rmail-mime-handler)
8251 (test-rmail-mime-bulk-handler)
8252 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8254 2011-11-21 Juri Linkov <juri@jurta.org>
8256 * calc/calc.el (calc-read-key-sequence):
8257 Let-bind `input-method-function' to nil. (Bug#10018)
8259 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8261 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8262 Tell the caller that the next line needs recomputation, even
8263 though it doesn't start a sexp (bug#10094).
8265 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8267 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8269 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8271 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8272 Use force-same-window.
8274 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
8276 * descr-text.el (describe-char-unicode-data):
8277 * json.el (json-string-escape):
8278 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8279 (Footnote-unicode, Footnote-style-p):
8280 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8282 2011-11-20 Chong Yidong <cyd@gnu.org>
8284 * window.el (replace-buffer-in-windows): Restore interactive spec.
8286 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8288 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8290 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8291 (byte-compile-global-not-obsolete-vars): New var.
8292 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8294 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8296 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
8298 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8299 * progmodes/pascal.el (electric-pascal-equal):
8300 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8301 * xml.el (xml-substitute-special): Fix typos.
8303 2011-11-20 Glenn Morris <rgm@gnu.org>
8305 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8306 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8308 (rmail-decode-mime-charset): Mark as obsolete.
8310 * mail/rmailsum.el (rmail-message-regexp-p-1):
8311 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8312 Before using mime functions, check they are set. (Bug#10077)
8314 2011-11-19 Juri Linkov <juri@jurta.org>
8316 * info.el (Info-finder-find-node): Use `package--builtins' instead
8317 of `package-alist'. Use node names formed by the pattern "Keyword "
8318 and the keyword name.
8320 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8322 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
8324 2011-11-19 Juri Linkov <juri@jurta.org>
8326 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8327 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8328 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8329 `old-history', `old-history-forward'. Add let-binding
8330 `window-selected'. Remove calls to `kill-buffer',
8331 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8332 before calling `Info-find-node', so `Info-find-node-2' will reread
8333 the Info file. Restore window positions only when `window-selected'
8336 2011-11-19 Juri Linkov <juri@jurta.org>
8338 * isearch.el (isearch-lazy-highlight-new-loop):
8339 Remove condition `(not isearch-error)'. (Bug#9918)
8341 * misearch.el (multi-isearch-search-fun): Add condition
8342 `(not bound)' to ignore lazy-highlighting search.
8343 Add the search-failed message "end of multi" when the end of
8344 multi-sequence is reached. Uncapitalize the search-failed
8345 message "Repeat for next buffer".
8347 * info.el (Info-search): Add the search-failed message
8348 "end of the manual" when the end of the manual is reached
8351 2011-11-19 Juri Linkov <juri@jurta.org>
8353 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8354 Use non-destructive `remove' instead of `delete' because
8355 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8356 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8358 2011-11-19 Juri Linkov <juri@jurta.org>
8360 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8361 to nil instead of binding `search-ring' and `regexp-search-ring'.
8364 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8366 * simple.el (line-move): Force movement by logical lines for any
8367 hscrolled window, not only when auto-hscroll-mode is on.
8368 (line-move-visual): Update doc string to that effect. (Bug#10076)
8370 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8372 * language/european.el (macintosh): Define as alias for mac-roman.
8374 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8376 * mail/rmailmm.el (rmail-mime-display-header)
8377 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8378 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8379 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8380 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8381 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8383 (rmail-mime-entity-segment): To get past the tagline, move forward
8384 2 more lines, to account for the 2 empty lines that precede and
8385 follow the line with the buttons.
8386 (rmail-mime-update-tagline): Move one more line, to get past the
8387 empty line that follows the buttons in the tagline. (Bug#9520)
8389 2011-11-19 Martin Rudalics <rudalics@gmx.at>
8391 * window.el (window-max-delta-1, window-min-delta-1)
8392 (window-min-size-1, window-state-get-1, window-state-put-1)
8393 (window-state-put-2): Use "window--" prefix.
8395 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8397 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8398 (smie-warning-count): New var.
8399 (smie-set-prec2tab): Use it.
8400 (smie-bnf->prec2): Improve warnings. Add docstring.
8401 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8402 (smie-bnf--set-class): New function.
8403 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8406 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8407 (compilation-error-properties, compilation-move-to-column):
8408 Handle compilation-first-column while in the target buffer.
8410 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8411 Don't hardcode point-min==1.
8413 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8414 (eshell-rewrite-for-command): Remove workaround.
8415 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8416 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8417 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8419 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8421 2011-11-17 Glenn Morris <rgm@gnu.org>
8423 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8424 Ignore buffer-local generated-autoload-file if it is the same
8425 as the global value. (Bug#10049)
8427 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
8429 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8430 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8431 (reftex-toc-previous-heading, reftex-toc-max-level)
8432 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8433 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8434 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8435 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8436 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8437 (reftex-toc-rename-label, reftex-toc-visit-location)
8438 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8439 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8440 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8441 leaving "*toc*" only for references to the buffer.
8443 2011-11-17 Martin Rudalics <rudalics@gmx.at>
8445 * window.el (window-resize, delete-window, split-window):
8446 Replace window-splits by window-combination-resize.
8447 * cus-start.el (window-splits): Replace by window-combination-resize.
8449 2011-11-17 Glenn Morris <rgm@gnu.org>
8451 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8452 Make bash entry derive from sh entry, not shell entry.
8454 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
8456 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8459 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8461 * menu-bar.el (menu-bar-file-menu):
8462 * printing.el (pr-ps-utility):
8463 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8464 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8465 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8466 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8467 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8468 (icalendar--convert-cyclic-to-ical)
8469 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8470 (icalendar--convert-ical-to-diary)
8471 (icalendar--convert-recurring-to-diary)
8472 (icalendar--convert-non-recurring-all-day-to-diary)
8473 (icalendar-import-format-sample):
8474 * progmodes/idlw-shell.el (idlwave-shell-mode):
8475 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8476 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8477 (vhdl-ps-print-init): Fix typos.
8479 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8481 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8482 FSF and collapse date sequence, obscure author/maintainer email address
8483 better, remove extra version line, track relocation of author's webpage.
8485 * progmodes/python.el (python-pdbtrack-input-prompt)
8486 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8487 regular python pdb prompts. Adjustments shamelessly taken exactly as
8488 suggested in EmacsWiki page (tiny change):
8489 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8491 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8493 * expand.el (expand-pos, expand-index, expand-point):
8494 Remove redundant info from docstring.
8495 (expand-add-abbrevs): Doc fix.
8496 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8497 (expand-sample-perl-mode-expand-list): Fix typos.
8499 * net/dbus.el (dbus-event-member-name):
8500 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8501 * term/pc-win.el (msdos-create-frame-with-faces):
8502 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8504 2011-11-16 Martin Rudalics <rudalics@gmx.at>
8506 * window.el (split-window, window-state-get-1)
8507 (window-state-put-1, window-state-put-2): Rename occurrences of
8508 window-nest to window-combination-limit.
8509 * cus-start.el (window-nest): Rename to window-combination-limit.
8511 2011-11-16 Chong Yidong <cyd@gnu.org>
8513 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8516 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8518 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8519 `completing-read' will remove *Completions* and will preserve
8520 current-buffer for us.
8521 (tmm-add-prompt): Users of *Completions* will always (re)set its
8523 (tmm-old-comp-map): Remove.
8525 2011-11-16 Glenn Morris <rgm@gnu.org>
8527 * mail/rmailedit.el: Require rmailmm when compiling.
8528 (rmail-old-mime-state): New declaration.
8529 (rmail-edit-current-message): If editing a mime message,
8530 edit the "raw" message from the mbox buffer.
8531 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8533 2011-11-15 Glenn Morris <rgm@gnu.org>
8535 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8536 which wasn't being used. Add optional arg to force given state.
8537 (rmail-mime): Add optional arg to force given state.
8539 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8541 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8542 * frame.el (display-mm-dimensions-alist):
8543 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8544 (outline-move-subtree-down):
8545 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8546 (newsticker--treeview-do-get-node):
8547 * net/quickurl.el (quickurl-list-buffer-name):
8548 * progmodes/dcl-mode.el (dcl-mode):
8549 * progmodes/gdb-mi.el (gdb-mapcar*):
8550 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8552 2011-11-15 Glenn Morris <rgm@gnu.org>
8554 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8555 in a boolean sense, so just make it a boolean, and fix the doc.
8556 (rmail-show-mime-function, rmail-mime-feature)
8557 (rmail-require-mime-maybe): Doc fixes.
8558 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8560 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8562 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8564 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8565 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8566 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8567 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8569 2011-11-15 Glenn Morris <rgm@gnu.org>
8571 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8572 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8573 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8574 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8575 (rmail-mime, rmail-show-mime): Doc fixes.
8577 * term/ns-win.el (mode-line-frame-identification):
8578 Leave it alone. (Bug#10051)
8580 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8582 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8583 Handle empty buffers. (Bug#9978)
8585 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
8587 * international/mule.el (define-charset):
8588 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8589 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8590 * progmodes/verilog-mode.el (verilog-backward-token):
8591 * textmodes/ispell.el (lookup-words):
8592 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8594 2011-11-14 Glenn Morris <rgm@gnu.org>
8596 * progmodes/executable.el
8597 (executable-make-buffer-file-executable-if-script-p):
8598 Handle file-modes returning nil.
8600 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8601 message - not necessary, and causes problems. (Bug#9831)
8603 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8605 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8607 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8608 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8609 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8611 2011-11-12 Martin Rudalics <rudalics@gmx.at>
8613 * window.el (window-resize, delete-window): Use window-splits
8614 variable instead of function.
8615 (window-state-get-1, window-state-put-2, window-state-put):
8616 Don't deal with windows' splits status.
8618 2011-11-12 Glenn Morris <rgm@gnu.org>
8620 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8621 (apropos-documentation): Doc fixes.
8623 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
8625 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8626 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8628 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8630 * electric.el (electric-indent-post-self-insert-function): Make it
8631 possible for a char to only indent in some circumstances.
8632 (electric-indent-mode): Simplify.
8634 2011-11-11 Martin Rudalics <rudalics@gmx.at>
8636 * window.el (windows-with-parameter): Remove unused function.
8637 (windows-at-side): Rename to window-at-side-list.
8638 (window-check, window-atom-check, window-atom-check-1)
8639 (window-side-check, window-size-ignore, window-size-fixed-1)
8640 (window-in-direction-2): Prefix with "window--".
8641 (window-tree-1): Rename to window--subtree, fix doc-string.
8643 2011-11-11 Glenn Morris <rgm@gnu.org>
8645 * subr.el (eval-after-load): If FILE is already loaded,
8646 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8648 2011-11-10 Glenn Morris <rgm@gnu.org>
8650 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8651 Call svn via vc-svn-command rather than vc-do-command.
8652 (vc-svn-command): Add --non-interactive. (Bug#9993)
8653 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8655 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8656 Add toggle-read-only. (Bug#7292)
8657 * files.el (toggle-read-only): Mention that it should only
8658 be used interactively. (Bug#10006)
8660 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8662 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8663 Adjust regexp for OCaml warnings.
8665 * electric.el (electric-pair-post-self-insert-function): Let user
8666 turn it off buffer-locally (bug#9932).
8668 * progmodes/python.el (python-beginning-of-statement):
8671 * progmodes/compile.el: Better handle TABs (bug#9749).
8672 (compilation-internal-error-properties)
8673 (compilation-next-error-function): Obey the target buffer's
8674 compilation-error-screen-columns.
8676 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
8678 * progmodes/meta-mode.el: Remove obsolete comments.
8679 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8680 Fix typos in docstrings.
8682 2011-11-09 Martin Rudalics <rudalics@gmx.at>
8684 * window.el (window-size-fixed-p): Rewrite doc-string.
8685 (window-resizable-p): Rename to window--resizable-p. Update callers.
8686 (window--resizable): New function. Make all callers of
8687 window-resizable call window--resizable instead.
8688 (window-resizable): Rewrite in terms of window--resizable.
8690 2011-11-08 Glenn Morris <rgm@gnu.org>
8692 * progmodes/delphi.el (delphi-mode-syntax-table):
8693 Let define-derived-mode define a proper syntax table. (Bug#9994)
8695 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8697 * window.el: Stay away from defsubst.
8698 (window-list-no-nils): Remove.
8699 (window-state-get-1, window-state-get): Use backquote instead.
8701 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8703 * emacs-lisp/find-func.el (find-function-read):
8704 Fix incorrect use of default argument in `completing-read'.
8706 2011-11-08 Martin Rudalics <rudalics@gmx.at>
8708 * window.el (display-buffer-function, special-display-function):
8709 Mention display-buffer-record-window but do not mention
8710 help-setup parameter in doc-strings.
8711 (window-min-delta): Fix doc-string typo.
8713 2011-11-08 Chong Yidong <cyd@gnu.org>
8715 * window.el (window-total-height, window-total-width): Doc fix.
8716 (window-body-size): Move from C.
8717 (window-body-height, window-body-width): Move to C.
8719 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8721 * window.el: Make special-display like display-buffer-alist (bug#9532).
8722 (display-buffer--special-action): New function, morphed
8723 from display-buffer--special.
8724 (display-buffer): Use it to handle special-display-buffers at higher
8725 priority (just after display-buffer-alist).
8726 (display-buffer-fallback-action, display-buffer--other-frame-action)
8727 (pop-to-buffer-same-window): Remove display-buffer--special.
8729 2011-11-07 Glenn Morris <rgm@gnu.org>
8731 * calendar/cal-menu.el (cal-menu-set-date-title):
8732 Do nothing if not in a calendar. (Bug#9976)
8734 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8736 * files.el (find-file): Always use selected-window.
8738 2011-11-07 Martin Rudalics <rudalics@gmx.at>
8740 * window.el (window-combinations): Make WINDOW argument
8741 mandatory. Rewrite doc-string.
8742 (walk-window-subtree, window-atom-check, window-min-delta)
8743 (window-max-delta, window--resize-this-window)
8744 (window--resize-root-window-vertically, window-tree)
8745 (balance-windows, window-state-put): Rewrite doc-strings as to
8746 not mention the term "subwindow".
8747 (window--resize-subwindows-skip-p): Rename to
8748 window--resize-child-windows-skip-p.
8749 (window--resize-subwindows-normal): Rename to
8750 window--resize-child-windows-normal.
8751 (window--resize-subwindows): Rename to
8752 window--resize-child-windows.
8753 (window-or-subwindow-p): Rename to window--in-subtree-p.
8755 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8757 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8758 Ensure that mbox format messages end in two newlines (Bug#9974).
8760 2011-11-06 Chong Yidong <cyd@gnu.org>
8762 * window.el (window-combination-p): Function deleted; its
8763 side-effect is not used in any existing code.
8764 (window-combinations, window-combined-p): Call window-*-child
8767 2011-11-05 Chong Yidong <cyd@gnu.org>
8769 * window.el (window-valid-p): Rename from window-any-p.
8770 (window-size-ignore, window-state-get): Callers changed.
8771 (window-normalize-window): Rename from window-normalize-any-window.
8772 New arg LIVE-ONLY, replacing window-normalize-live-window.
8773 (window-normalize-live-window): Delete.
8774 (window-combination-p, window-combined-p, window-combinations)
8775 (walk-window-subtree, window-atom-root, window-min-size)
8776 (window-sizable, window-sizable-p, window-size-fixed-p)
8777 (window-min-delta, window-max-delta, window-resizable)
8778 (window-resizable-p, window-full-height-p, window-full-width-p)
8779 (window-current-scroll-bars, window-point-1, set-window-point-1)
8780 (window-at-side-p, window-in-direction, window-resize)
8781 (adjust-window-trailing-edge, maximize-window, minimize-window)
8782 (window-deletable-p, delete-window, delete-other-windows)
8783 (record-window-buffer, unrecord-window-buffer)
8784 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8785 (quit-window, split-window, window-state-put)
8786 (set-window-text-height, fit-window-to-buffer)
8787 (shrink-window-if-larger-than-buffer): Callers changed.
8789 2011-11-04 Eli Zaretskii <eliz@gnu.org>
8791 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8792 rfc2047-decode-string.
8793 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8796 * window.el (window-body-height, window-body-width): Mention in
8797 the doc string that the return values are in frame's canonical
8800 2011-11-03 Alan Mackenzie <acm@muc.de>
8802 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8803 change in cc-engine.el.
8805 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8807 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8809 2011-11-02 Martin Rudalics <rudalics@gmx.at>
8811 * window.el (quit-window): Call unrecord-window-buffer after
8812 showing another buffer in the window. (Bug#9937)
8813 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
8815 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
8817 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8818 Accept status with more than 9 shelves. (Bug#9935)
8819 Reported by Colin D Bennett <colin@gibibit.com>.
8821 2011-11-01 Martin Rudalics <rudalics@gmx.at>
8823 * help.el (with-help-window): Don't reference
8824 temp-buffer-show-specifiers in doc-string.
8826 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8828 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8831 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8833 * whitespace.el: New version 13.2.2.
8834 (whitespace-newline-mode): Disable properly. Reported by Sarah
8837 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
8839 * net/newst-treeview.el: Remove "Time-stamp".
8840 (newsticker--group-manage-orphan-feeds): Do not call
8841 newsticker--treeview-tree-update.
8842 (newsticker-treeview-update, newsticker-treeview):
8843 Call newsticker--treeview-tree-update if necessary.
8845 2011-10-30 Martin Rudalics <rudalics@gmx.at>
8847 * window.el (window-iso-combination-p, window-iso-combined-p)
8848 (window-iso-combinations): Remove "iso-" infix.
8849 Suggested by Chong Yidong.
8850 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8851 (window-max-delta-1, window-resize, window--resize-siblings)
8852 (window--resize-this-window, adjust-window-trailing-edge)
8853 (split-window, balance-windows-1)
8854 (shrink-window-if-larger-than-buffer):
8855 * calendar/calendar.el (calendar-generate-window):
8856 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
8858 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8860 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8861 in place (bug#9907).
8862 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8863 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8864 (eshell-structure-basic-command, eshell-rewrite-while-command)
8865 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8866 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8867 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8868 (eshell-do-pipelines-synchronously, eshell-eval-command):
8869 Use backquotes and prefer setq to set.
8870 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8871 (eshell-macrop): Use functionp.
8872 (eshell-do-eval): Handle multiple expressions in `while' body.
8874 2011-10-30 Chong Yidong <cyd@gnu.org>
8876 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8877 instead of set-mark (Bug#9810).
8879 2011-10-30 Chong Yidong <cyd@gnu.org>
8881 * window.el (split-window-below, split-window-right): Rename from
8882 split-window-above-each-other and split-window-side-by-side
8883 respectively. All callers changed.
8884 (split-window-sensibly, split-window-sensibly): Use them.
8885 (split-window-keep-point): Doc fix.
8887 * isearch.el: Add isearch-scroll property to split-window-below
8888 and split-window-right.
8890 * follow.el (follow-mode):
8891 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8892 * progmodes/ada-xref.el (ada-gdb-application):
8893 * emulation/vip.el (vip-buffer-in-two-windows):
8894 * image-dired.el (image-dired-dired-with-window-configuration):
8895 * dired-x.el (dired-do-find-marked-files):
8896 * dired.el (dired-pop-to-buffer):
8897 * bs.el (bs--show-with-configuration):
8898 * vc/emerge.el (emerge-setup-windows):
8899 * textmodes/two-column.el (2C-two-columns):
8900 * textmodes/reftex-toc.el (reftex-toc):
8901 * progmodes/gdb-mi.el (gdb-setup-windows):
8902 * progmodes/fortran.el (fortran-window-create):
8903 * net/newst-treeview.el (newsticker--treeview-window-init):
8904 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8905 * emulation/tpu-edt.el (tpu-gold-map):
8906 * emulation/crisp.el (crisp-mode-map):
8907 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8909 2011-10-29 Chong Yidong <cyd@gnu.org>
8911 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8913 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8915 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8916 forged Ispell output (Bug#7904).
8918 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8920 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8922 * doc-view.el: Avoid ugly errors about not finding nil.
8923 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8924 (doc-view-dvipdf-program, doc-view-unoconv-program)
8925 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8926 Avoid nil or absolute file name as default value.
8927 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8929 2011-10-28 Alan Mackenzie <acm@muc.de>
8931 * progmodes/cc-defs.el (c-version): -> 5.32.2.
8933 2011-10-28 Alan Mackenzie <acm@muc.de>
8935 Amend the handling of c-beginning/end-of-defun in nested declaration
8938 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8939 cc-langs.el. Change it to a defcustom.
8941 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8944 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8945 Prevent "class foo : bar" being spuriously recognized as a label.
8947 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
8948 Add parameter `inclusive' (to include enclosing braces in the region).
8949 (c-widen-to-enclosing-decl-scope): New function.
8950 (c-while-widening-to-decl-block): New macro.
8951 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8952 outward for defun boundaries, and correspondingly change symbol
8953 `respect-enclosure' to `go-outward'.
8954 (c-declaration-limits): Change algorithm to report only the "innermost"
8957 2011-10-28 Deniz Dogan <deniz@dogan.se>
8959 * net/rcirc.el (rcirc-mode): Use hard newlines.
8961 2011-10-28 Alan Mackenzie <acm@muc.de>
8963 Amend to indent and fontify macros "which include their own semicolon"
8964 correctly, using the "virtual semicolon" mechanism.
8966 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
8968 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8969 Recode to scan one line at a time rather than having \n and \r
8970 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
8971 (c-forward-label): Amend for virtual semicolons.
8972 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
8974 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8975 of the new C macros.
8977 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
8978 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8979 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
8980 (c-opt-cpp-macro-define): Make into a full language variable.
8981 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8982 AWK Mode (including \n, \r) removed, no longer needed.
8984 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8985 Invoke c-make-macro-with-semi-re.
8987 * progmodes/cc-vars.el (c-macro-with-semi-re):
8988 (c-macro-names-with-semicolon): New variables.
8989 (c-make-macro-with-semi-re): New function.
8991 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8993 * vc/log-edit.el: Fill empty field rather than adding new one.
8994 (log-edit-add-field): New function.
8995 (log-edit-insert-changelog): Use it.
8997 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8999 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9001 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9003 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9004 (gdb--check-interpreter): New function.
9007 2011-10-27 Glenn Morris <rgm@gnu.org>
9009 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9010 (least-positive-float, least-negative-float)
9011 (least-positive-normalized-float, least-negative-normalized-float)
9012 (float-epsilon, float-negative-epsilon):
9013 Remove unnecessary declarations.
9015 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9016 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9017 (least-positive-float, least-negative-float)
9018 (least-positive-normalized-float, least-negative-normalized-float)
9019 (float-epsilon, float-negative-epsilon): Add doc-strings,
9020 based on those in cl.texi.
9022 * files.el (set-visited-file-name): If the major-mode changed,
9023 reload the local variables. (Bug#9796)
9025 2011-10-27 Chong Yidong <cyd@gnu.org>
9027 * subr.el (change-major-mode-after-body-hook): New hook.
9028 (run-mode-hooks): Run it.
9030 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9031 Use change-major-mode-before-body-hook.
9033 * simple.el (fundamental-mode):
9034 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9035 change introducing fundamental-mode-hook.
9037 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
9039 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
9041 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
9043 * ido.el (ido-file-name-all-completions-1): Do not require
9044 tramp.el explicitly. (Bug#7583)
9046 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9048 * progmodes/octave-mod.el:
9049 * progmodes/octave-inf.el: Update maintainer.
9051 2011-10-26 Chong Yidong <cyd@gnu.org>
9053 * subr.el (with-wrapper-hook): Rewrite doc.
9055 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
9057 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
9058 filenames "/method:foo:". (Bug#9793)
9060 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9062 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9065 2011-10-24 Glenn Morris <rgm@gnu.org>
9067 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9069 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
9071 * notifications.el: Add the requirement of a running D-Bus session
9072 bus to the Commentary.
9074 2011-10-24 Juri Linkov <juri@jurta.org>
9076 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9077 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9080 2011-10-24 Juri Linkov <juri@jurta.org>
9082 * info.el (Info-following-node-name-re): Add newline to the list
9083 of allowed characters for leading space. (Bug#9824)
9085 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9087 * progmodes/octave-inf.el (inferior-octave-mode-map):
9088 Fix C-c C-h binding.
9089 * progmodes/octave-mod.el (octave-help): Remove.
9091 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
9093 Sync with Tramp 2.2.3.
9095 * net/tramp-cache.el (top): Pacify byte-compiler using
9096 `init-file-user' and `site-run-file'.
9098 * net/trampver.el: Update release number.
9100 2011-10-23 Chong Yidong <cyd@gnu.org>
9102 * files.el (toggle-read-only): Remove obsolete comment about
9105 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9106 for toggle-read-only. Note that this hasn't called vc-next-action
9107 since 2008-05-02, though it wasn't documented at the time.
9109 * vc/ediff-init.el (ediff-toggle-read-only-function):
9110 Use toggle-read-only.
9112 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9114 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9117 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9118 correct faulty logical expression.
9119 (c-parse-state-state, c-record-parse-state-state):
9120 (c-replay-parse-state-state): New defvar/defuns.
9121 (c-debug-parse-state): Use new functions.
9123 2011-10-22 Martin Rudalics <rudalics@gmx.at>
9125 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
9126 last fix. Use window-in-direction correctly.
9128 2011-10-21 Chong Yidong <cyd@gnu.org>
9130 * progmodes/idlwave.el (idlwave-mode):
9131 * progmodes/vera-mode.el (vera-mode): No need to set
9132 require-final-newline; that's done in prog-mode.
9133 Suggested by Stefan Monnier.
9135 2011-10-21 Martin Rudalics <rudalics@gmx.at>
9137 * mouse.el (mouse-drag-window-above)
9138 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9139 (mouse-drag-mode-line-1, mouse-drag-header-line)
9140 (mouse-drag-vertical-line-rightward-window): Remove.
9141 (mouse-drag-line): New function.
9142 (mouse-drag-mode-line, mouse-drag-header-line)
9143 (mouse-drag-vertical-line): Call mouse-drag-line.
9144 * window.el (window-at-side-p, windows-at-side): New functions.
9146 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
9148 * tar-mode.el (tar-grind-file-mode):
9149 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9151 2011-10-21 Chong Yidong <cyd@gnu.org>
9153 * progmodes/idlwave.el (idlwave-mode):
9154 * progmodes/vera-mode.el (vera-mode):
9155 Use mode-require-final-newline.
9157 2011-10-20 Glenn Morris <rgm@gnu.org>
9159 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
9161 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9163 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9165 2011-10-20 Chong Yidong <cyd@gnu.org>
9167 * emulation/cua-base.el (cua-mode):
9168 * mail/footnote.el (footnote-mode):
9169 * mail/mailabbrev.el (mail-abbrevs-mode):
9170 * net/xesam.el (xesam-minor-mode):
9171 * progmodes/bug-reference.el (bug-reference-mode):
9172 * progmodes/cap-words.el (capitalized-words-mode):
9173 * progmodes/compile.el (compilation-minor-mode)
9174 (compilation-shell-minor-mode):
9175 * progmodes/gud.el (gud-tooltip-mode):
9176 * progmodes/hideif.el (hide-ifdef-mode):
9177 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9178 * progmodes/subword.el (subword-mode):
9179 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9180 * progmodes/which-func.el (which-function-mode):
9181 * term/tvi970.el (tvi970-set-keypad-mode):
9182 * term/vt100.el (vt100-wide-mode):
9183 * textmodes/flyspell.el (flyspell-mode):
9184 * textmodes/ispell.el (ispell-minor-mode):
9185 * textmodes/nroff-mode.el (nroff-electric-mode):
9186 * textmodes/paragraphs.el (use-hard-newlines):
9187 * textmodes/refill.el (refill-mode):
9188 * textmodes/reftex.el (reftex-mode):
9189 * textmodes/rst.el (rst-minor-mode):
9190 * textmodes/sgml-mode.el (html-autoview-mode)
9191 (sgml-electric-tag-pair-mode):
9192 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9193 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9194 * emulation/crisp.el (crisp-mode):
9195 * emacs-lisp/eldoc.el (eldoc-mode):
9196 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9197 minor mode behavior.
9199 2011-10-19 Juri Linkov <juri@jurta.org>
9201 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9202 the list of hard-coded chars with escape-glyph face.
9204 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9206 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9208 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
9210 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9213 2011-10-19 Glenn Morris <rgm@gnu.org>
9215 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9216 Ignore ignored files. (Bug#9726)
9218 2011-10-19 Chong Yidong <cyd@gnu.org>
9220 Doc fix for minor modes, stating that an omitted argument enables
9221 the mode unconditionally when called from Lisp.
9223 * abbrev.el (abbrev-mode):
9224 * allout.el (allout-mode):
9225 * autoinsert.el (auto-insert-mode):
9226 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9227 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9228 (global-auto-revert-mode):
9229 * battery.el (display-battery-mode):
9230 * composite.el (global-auto-composition-mode)
9231 (auto-composition-mode):
9232 * delsel.el (delete-selection-mode):
9233 * desktop.el (desktop-save-mode):
9234 * dired-x.el (dired-omit-mode):
9235 * dirtrack.el (dirtrack-mode):
9236 * doc-view.el (doc-view-minor-mode):
9237 * double.el (double-mode):
9238 * electric.el (electric-indent-mode, electric-pair-mode):
9239 * emacs-lock.el (emacs-lock-mode):
9240 * epa-hook.el (auto-encryption-mode):
9241 * follow.el (follow-mode):
9242 * font-core.el (font-lock-mode):
9243 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9244 * help.el (temp-buffer-resize-mode):
9245 * hilit-chg.el (highlight-changes-mode)
9246 (highlight-changes-visible-mode):
9247 * hi-lock.el (hi-lock-mode):
9248 * hl-line.el (hl-line-mode, global-hl-line-mode):
9249 * icomplete.el (icomplete-mode):
9250 * ido.el (ido-everywhere):
9251 * image-file.el (auto-image-file-mode):
9252 * image-mode.el (image-minor-mode):
9253 * iswitchb.el (iswitchb-mode):
9254 * jka-cmpr-hook.el (auto-compression-mode):
9255 * linum.el (linum-mode):
9256 * longlines.el (longlines-mode):
9257 * master.el (master-mode):
9258 * mb-depth.el (minibuffer-depth-indicate-mode):
9259 * menu-bar.el (menu-bar-mode):
9260 * minibuf-eldef.el (minibuffer-electric-default-mode):
9261 * mouse-sel.el (mouse-sel-mode):
9262 * msb.el (msb-mode):
9263 * mwheel.el (mouse-wheel-mode):
9264 * outline.el (outline-minor-mode):
9265 * paren.el (show-paren-mode):
9266 * recentf.el (recentf-mode):
9267 * reveal.el (reveal-mode, global-reveal-mode):
9268 * rfn-eshadow.el (file-name-shadow-mode):
9269 * ruler-mode.el (ruler-mode):
9270 * savehist.el (savehist-mode):
9271 * scroll-all.el (scroll-all-mode):
9272 * scroll-bar.el (scroll-bar-mode):
9273 * server.el (server-mode):
9274 * shell.el (shell-dirtrack-mode):
9275 * simple.el (auto-fill-mode, transient-mark-mode)
9276 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9277 (line-number-mode, column-number-mode, size-indication-mode)
9278 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9279 * strokes.el (strokes-mode):
9280 * time.el (display-time-mode):
9281 * t-mouse.el (gpm-mouse-mode):
9282 * tool-bar.el (tool-bar-mode):
9283 * tooltip.el (tooltip-mode):
9284 * type-break.el (type-break-mode-line-message-mode)
9285 (type-break-query-mode):
9286 * view.el (view-mode):
9287 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9288 (global-whitespace-mode, global-whitespace-newline-mode):
9289 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9291 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9292 Fix autogenerated docstring.
9294 2011-10-19 Juri Linkov <juri@jurta.org>
9296 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9297 by checking environment variables "DESKTOP_SESSION" and
9298 "XDG_CURRENT_DESKTOP". (Bug#9779)
9300 2011-10-19 Juri Linkov <juri@jurta.org>
9302 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9303 (browse-url-chromium-program, browse-url-chromium-arguments):
9305 (browse-url-default-browser): Check for `browse-url-chromium' and
9306 call `browse-url-chromium-program'.
9307 (browse-url-chromium): New command. (Bug#9779)
9309 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
9311 * facemenu.el (list-colors-duplicates): On Windows, detect more
9312 duplicates by assuming that only colors matching "^System" are
9313 special "system colors". (Bug#9722)
9315 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9317 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9318 to distinguish the author from the committer.
9320 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
9322 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9324 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9326 * international/mule.el (sgml-html-meta-auto-coding-function):
9327 Add support for detecting encoding in HTML5 specified only as
9328 <meta charset="UTF-8">. Implementation just makes http-equiv and
9329 content-type parts from HTML4 encoding string optional. (Bug#9716)
9331 2011-10-18 Glenn Morris <rgm@gnu.org>
9333 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9335 2011-10-18 Chong Yidong <cyd@gnu.org>
9337 * faces.el (cursor): Doc fix.
9339 2011-10-17 Chong Yidong <cyd@gnu.org>
9341 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9343 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
9345 * dirtrack.el (dirtrack): Support shell buffers with path
9346 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9348 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9350 * json.el: Bump version to 1.3 and note change in History.
9351 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9353 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9355 * comint.el (comint-insert-input, comint-send-input)
9356 (comint-get-old-input-default, comint-backward-matching-input)
9357 (comint-next-prompt): Use nil instead of `input' for field property of
9358 past user input (bug#114).
9360 * minibuffer.el (completion--replace): Inherit surrounding properties
9362 (minibuffer-complete-and-exit): Use it.
9364 * comint.el (comint--table-subvert): Quote the all-completions output
9367 2011-10-17 Martin Rudalics <rudalics@gmx.at>
9369 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
9371 * menu-bar.el (menu-bar-file-menu): Add entry for making new
9372 window on right of selected. (Bug#9350) Reword other window
9373 entries and separate them from frame entries.
9375 2011-10-15 Glenn Morris <rgm@gnu.org>
9377 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9380 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
9382 * net/network-stream.el (network-stream-open-starttls):
9383 Improve detection of failure due to lack of TLS support.
9385 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9386 putting the input text in front and in bold.
9388 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9390 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9392 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9395 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9396 unread-command-events rather than pushing yet-another event.
9398 2011-10-14 Eli Zaretskii <eliz@gnu.org>
9400 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9401 the explanation of the possible choices. Make the options passed
9402 to completing-read shorter.
9404 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9406 * textmodes/flyspell.el (flyspell-large-region): Make sure
9407 extended character mode is used if defined (Bug#1339).
9409 2011-10-13 Eli Zaretskii <eliz@gnu.org>
9411 * simple.el (what-cursor-position): Fix the display of the
9412 character info for LRE, LRO, RLE, and RLO characters by appending
9415 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9417 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9418 even in case of error; add debug spec; simplify data flow.
9419 (with-timeout-handler): Remove.
9421 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
9423 Fix Bug#6019, Bug#9315.
9425 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9426 complete `buffer-file-name', the local file name part could look
9427 remotely (for example on VMS).
9429 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9430 `tramp-run-real-handler'.
9431 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9432 already quoted by '"'.
9434 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9435 Let `file-name-handler-alist' be nil, the local file name part
9436 could look remotely (for example on VMS).
9438 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9440 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9442 (flyspell-post-command-hook): ...to here.
9444 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9446 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9448 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9449 using completion. Protect against "slow" callers.
9450 Remove the "message hack".
9452 2011-10-11 Juri Linkov <juri@jurta.org>
9454 * isearch.el (isearch-lazy-highlight-word): New variable.
9455 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9458 2011-10-11 Glenn Morris <rgm@gnu.org>
9460 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9461 like f90-previous-statement does.
9463 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9465 * eshell/eshell.el (eshell-command): History should be saved
9466 only in interactive use, to avoid error.
9468 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9470 * minibuffer.el (completion-file-name-table): Fix last change,
9471 i.e. ignore normal errors but not the other ones.
9473 2011-10-10 Martin Rudalics <rudalics@gmx.at>
9475 * window.el (special-display-buffer-names)
9476 (special-display-regexps): Remove some remnants of earlier
9477 changes from doc-strings.
9478 (quit-windows-on): New function.
9480 * vc/vc.el (vc-revert, vc-rollback):
9481 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9482 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9483 (Bug#6183) (Bug#7074) (Bug#7447)
9485 2011-10-09 Martin Rudalics <rudalics@gmx.at>
9487 * window.el (frame-auto-hide-function): Add version tag.
9490 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
9492 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9495 2011-10-09 Leo Liu <sdl.web@gmail.com>
9497 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9500 2011-10-08 Glenn Morris <rgm@gnu.org>
9502 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9503 before the first code statement zero indent. (Bug#9690)
9505 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
9507 * simple.el (count-words-region): Always count in the region.
9508 Report the number of lines and characters too.
9509 (count-words): New command, which counts in the buffer if the
9510 region is inactive, as count-words-region used to.
9511 (count-words--message): New function. Handle plurals.
9512 (count-lines-region): Make it an alias for count-words-region.
9514 * bindings.el (esc-map): Replace count-lines-region with
9517 2011-10-08 Martin Rudalics <rudalics@gmx.at>
9519 * window.el (window--delete): Delete dedicated frame
9520 unconditionally when argument KILL is non-nil. (Bug#9699)
9521 (switch-to-buffer): Fix doc-string typo.
9523 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9525 * eshell/eshell.el (eshell-command): Avoid using hooks.
9527 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
9529 * bindings.el ([M-left],[M-right]): Bind to left-word and
9530 right-word respectively.
9532 2011-10-07 Glenn Morris <rgm@gnu.org>
9534 * cus-start.el (debug-on-quit): Fix custom type.
9536 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9538 * subr.el (define-key-after): Clarify that the function is not
9539 useful for non-menu keymaps.
9541 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9543 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9545 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
9546 in current minibuffer (Fix bug with recursive minibuffers).
9548 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
9550 * progmodes/gdb-mi.el (gdb): Doc fix.
9552 2011-10-05 Martin Rudalics <rudalics@gmx.at>
9554 * window.el (frame-auto-hide-function): New option replacing
9555 frame-auto-delete. Suggested by Stefan Monnier.
9556 (window--delete): Call frame-auto-hide-function instead of
9557 investigating frame-auto-delete.
9558 (window-point-1, set-window-point-1): New functions.
9559 (window-in-direction, record-window-buffer, window-state-get-1)
9560 (display-buffer-record-window): Use window-point-1 instead of
9562 (set-window-buffer-start-and-point): Use set-window-point-1.
9564 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9566 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9568 2011-10-05 Glenn Morris <rgm@gnu.org>
9570 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9571 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9573 2011-10-05 Leo Liu <sdl.web@gmail.com>
9575 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9576 works with buffer object.
9578 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9580 * mpc.el (mpc-tool-bar-map): Add labels.
9582 2011-10-04 Glenn Morris <rgm@gnu.org>
9584 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9586 2011-10-04 Martin Rudalics <rudalics@gmx.at>
9588 * window.el (window--delete): New function.
9589 (frame-auto-delete): Resuscitate option.
9590 (bury-buffer, replace-buffer-in-windows)
9591 (quit-window): Rewrite using window--delete.
9592 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9593 Pass display-buffer-mark-dedicated to window--display-buffer-2
9596 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9598 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9599 returns a list (bug#9554). Add remote file name completion.
9600 * comint.el (comint--table-subvert): Curry and get quote&unquote
9601 functions as arguments.
9602 (comint--complete-file-name-data): Adjust call accordingly.
9603 * pcomplete.el (pcomplete--table-subvert): Remove.
9604 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9606 * minibuffer.el (completion-table-case-fold): Use currying.
9607 (completion--styles-type, completion--cycling-threshold-type):
9609 (completion-styles, completion-category-overrides)
9610 (completion-cycle-threshold): Use them.
9611 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9612 completion-table-case-fold.
9614 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
9616 * minibuffer.el (completion-category-overrides): Fix type of styles
9617 and add more user friendly tags (bug#9660).
9619 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9621 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9622 (mule-input-method-string): New widget.
9623 (default-input-method, language-info-custom-alist): Use it.
9625 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9627 * pcomplete.el: Require comint.
9628 (pcomplete--common-suffix): Remove.
9629 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9630 (pcomplete--table-subvert): Sync with comint--table-subvert.
9631 (pcomplete--entries): Use comint-completion-file-name-table.
9632 * comint.el (comint-unquote-filename): Simplify.
9633 (comint-completion-file-name-table): New function (bug#9616).
9634 (comint--complete-file-name-data): Use it.
9636 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9637 (pcmpl-gnu-tar-buffer): Remove.
9638 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9639 around. Make sure pcomplete-suffix-list is only changed temporarily.
9640 Don't look inside the tar's file if it's too large.
9642 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
9644 * cus-edit.el (custom-mode-map):
9645 * epa.el (epa-key-list-mode-map):
9646 * man.el (Man-mode-map):
9647 * startup.el (splash-screen-keymap):
9648 * simple.el (special-mode-map): Use scroll-up-command and
9649 scroll-down-command.
9651 * progmodes/idlw-help.el (idlwave-help-mode-map):
9652 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9653 * net/newst-plainview.el (newsticker-mode-map):
9654 * emulation/ws-mode.el (wordstar-mode-map):
9655 * emulation/vi.el (vi-com-map):
9656 * calc/calc-graph.el (calc-graph-show-dumb):
9657 * term/sun.el (terminal-init-sun):
9658 * term/ns-win.el (global-map):
9659 * progmodes/grep.el (grep-mode-map):
9660 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9661 * mail/rmail.el (rmail-mode-map):
9662 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9664 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9665 custom-safe-themes as special.
9667 2011-10-01 Julien Danjou <julien@danjou.info>
9669 * notifications.el (notifications-notify): Fix docstring.
9671 2011-10-01 Per Starbäck <per@starback.se>
9673 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9675 2011-09-30 Martin Rudalics <rudalics@gmx.at>
9677 * startup.el (command-line-1): Fix last fix by inserting
9678 initial-scratch-message into *scratch* before displaying it.
9679 (Bug#9605) and (Bug#9636)
9681 2011-09-29 Eli Zaretskii <eliz@gnu.org>
9683 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9684 window is hscrolled, move by logical lines. (Bug#9607)
9685 (line-move-visual): Update the doc string to the above effect.
9687 2011-09-29 Martin Rudalics <rudalics@gmx.at>
9689 * window.el (display-buffer-record-window): When WINDOW is the
9690 selected window use `point' instead of `window-point'. (Bug#9626)
9692 * startup.el (command-line-1): Use insert-before-markers when
9693 inserting initial-scratch-message. (Bug#9605)
9695 * help.el (help-window): Remove variable.
9697 2011-09-29 Glenn Morris <rgm@gnu.org>
9699 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9701 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
9703 * descr-text.el (describe-char-categories): Accept category
9704 descriptions more than one line long.
9706 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9708 * simple.el (delete-trailing-whitespace): Fix last change.
9710 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9711 Don't confuse "y => 3" as the beginning of a `y' operation.
9713 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9714 object has more than 4 slots (bug#9613).
9716 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
9718 * subr.el (with-output-to-temp-buffer):
9719 * net/quickurl.el (quickurl, quickurl-browse-url):
9720 Fix typos in docstrings.
9722 2011-09-27 Eli Zaretskii <eliz@gnu.org>
9724 * minibuffer.el (completion-styles)
9725 (completion-category-overrides): Cross reference each other in doc
9728 2011-09-27 Glenn Morris <rgm@gnu.org>
9730 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9731 to split-string. (Bug#9606)
9733 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9735 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9738 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
9740 * emacs-lisp/package.el (list-packages): Fix echo area message.
9742 2011-09-27 Leo Liu <sdl.web@gmail.com>
9744 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9746 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
9748 * net/dbus.el (dbus-unregister-object): Don't release services for
9749 registered signals. (Bug#9581)
9751 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9753 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9754 function that picks between cfengine 2 and 3 support
9755 automatically. Update docs accordingly.
9757 2011-09-22 Kenichi Handa <handa@m17n.org>
9759 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9761 (indian-itrans-v5-table-for-tamil): New variable.
9762 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9764 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9766 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9767 that's true if the current command involved collapsing of text.
9768 It's reset to false at the beginning of the next command.
9769 (allout-post-command-business): Move the cursor to the beginning
9770 of entry if the cursor is hidden and collapsing activity just
9773 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
9775 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9776 tracking (Bug#9541).
9778 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
9780 * net/newst-reader.el (newsticker-html-renderer)
9781 (newsticker-show-news): Automatically load html rendering package
9782 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9783 because w3m-fill-column is let-bound" and the error "Symbol's value
9784 as variable is void: w3m-fill-column".
9786 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
9788 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9789 Release services only if they are defined. (Bug#9581)
9791 2011-09-23 Richard Stallman <rms@gnu.org>
9793 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9794 distinguish start of paragraph from start of its text.
9796 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9798 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9799 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9800 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9802 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9804 * international/mule-diag.el (mule-diag): Insert a newline after
9805 each fontset description.
9807 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9809 * simple.el (delete-trailing-whitespace):
9810 Document last change; simplify.
9812 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9814 * simple.el (delete-trailing-whitespace): Also delete
9815 extra newlines at the end of the buffer.
9817 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9818 (picture-newline): Use forward-line so as to ignore fields.
9820 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9822 * subr.el (with-wrapper-hook): Fix edebug spec.
9824 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9826 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9829 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
9831 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9832 Fix nasty bug using wrong cached values.
9834 2011-09-23 Alan Mackenzie <acm@muc.de>
9836 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9838 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
9840 * window.el (pop-to-buffer): Ensure right window is selected if we
9841 chose another frame.
9843 2011-09-22 Eli Zaretskii <eliz@gnu.org>
9845 * simple.el (what-cursor-position): Use get-char-property-change
9846 and next-single-char-property-change, to be able to show display
9847 properties that come from overlays as well as text properties.
9849 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
9851 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9853 * cmuscheme.el (run-scheme, switch-to-scheme):
9854 * cus-edit.el (customize-group, custom-buffer-create)
9858 * mail/sendmail.el (mail):
9859 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9861 2011-09-22 Richard Stallman <rms@gnu.org>
9863 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9864 move back only to line beg, don't move back over blank lines.
9866 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
9868 * files.el (copy-directory): Set directory attributes only in case
9869 they could be retrieved from the source directory. (Bug#9565)
9871 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9873 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9874 (hs-find-block-beginning, hs-hide-level-recursive):
9875 Ignore strings as well as comments. (Bug#9502)
9877 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9879 * progmodes/sql.el (sql-comint-postgres):
9880 Convert port number to a string. (Bug#9566)
9882 2011-09-22 Martin Rudalics <rudalics@gmx.at>
9884 * window.el (quit-window): Undedicate window when switching to
9885 previous buffer. Reported by Thierry Volpiatto
9886 <thierry.volpiatto@gmail.com>.
9887 (special-display-popup-frame): When popping up a new frame reset
9888 its previous buffers to nil. Simplify code.
9890 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
9892 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9893 and process filter, as done also in `shell-command'.
9895 2011-09-21 Martin Rudalics <rudalics@gmx.at>
9897 * window.el (set-window-buffer-start-and-point):
9898 Call set-window-start with NOFORCE argument t.
9899 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9900 (quit-window): Reword doc-string. Handle new format of
9901 quit-restore parameter. Don't delete window if it has a
9902 previous buffer we can show instead of the present one.
9903 (display-buffer-record-window): Rewrite using a new format for
9904 the quit-restore window parameter
9905 (special-display-popup-frame, display-buffer-same-window)
9906 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9907 (display-buffer-pop-up-window, display-buffer-use-some-window):
9908 Adapt symbol passed to display-buffer-record-window.
9909 * help.el (help-window-setup): Handle new format of quit-restore
9912 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9914 * faces.el (face-list): Fix docstring (bug#9564).
9916 * window.el (display-buffer--action-function-custom-type):
9917 Don't include internal functions in the Custom interface.
9919 2011-09-20 Juri Linkov <juri@jurta.org>
9921 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9922 (Info-forward-node, Info-backward-node, Info-next-preorder)
9923 (Info-last-preorder): Use it. (Bug#9528)
9925 2011-09-20 Juri Linkov <juri@jurta.org>
9927 * info.el (Info-last-preorder): Visit last menu item only when
9928 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9930 2011-09-20 Julien Danjou <julien@danjou.info>
9932 * password-cache.el (password-cache-remove): Remove entries even if the
9933 value is nil, so that password with a nil value (negative caching) is
9934 possible to invalidate.
9936 2011-09-20 Lawrence Mitchell <wence@gmx.li>
9938 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9939 all whitespace around breakpoint. (Bug#9553)
9940 (f90-find-breakpoint): Only break at whitespace inside a comment.
9942 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9944 * minibuffer.el (completion-file-name-table): Keep track of errors.
9945 (completion-table-with-predicate): Handle the case where pred1 is nil.
9946 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9948 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9950 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9951 (debugger-return-value): Signal an error if the debugging context does
9952 not await any return value.
9954 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9955 * image-mode.el (image-toggle-display-text)
9956 (image-toggle-display-image): Stay away from evil `intangible'.
9958 2011-09-19 Leo Liu <sdl.web@gmail.com>
9960 * replace.el (occur-revert-arguments): Make it permanent-local.
9961 (occur-mode): Don't call font-lock-defontify.
9963 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
9965 * net/ldap.el (ldap-search-internal): Don't push empty search
9968 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9970 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9972 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
9974 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9975 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9977 2011-09-18 Juri Linkov <juri@jurta.org>
9979 * buff-menu.el (Buffer-menu-mode-map):
9980 * dired.el (dired-mode-map):
9981 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9982 (lisp-interaction-mode-map):
9983 * emacs-lisp/package.el (package-menu-mode-map):
9984 * epa.el (epa-key-list-mode-map):
9985 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9986 (menu-bar-options-menu):
9987 * outline.el (outline-mode-menu-bar-map):
9988 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9989 * vc/vc-dir.el (vc-dir-menu-map):
9990 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9991 Capitalize non-function content words in menu item strings.
9993 * dired.el (dired-mode-map): Add menu item for
9994 `image-dired-dired-toggle-marked-thumbs'.
9996 2011-09-18 Juri Linkov <juri@jurta.org>
9998 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9999 to `isearch-case-fold-search' and restore its original value
10000 after the `isearch-mode' call.
10002 2011-09-18 Juri Linkov <juri@jurta.org>
10004 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10005 because `zgrep' returns 1 for successful matches (bug#9226).
10007 2011-09-18 Juri Linkov <juri@jurta.org>
10009 * info.el (Info-extract-menu-node-name): Check the second match
10010 for empty string (second test-case of bug#9528).
10011 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10012 intermediate nodes to the history (first test-case of bug#9528).
10014 2011-09-18 Juri Linkov <juri@jurta.org>
10016 * info.el (Info-mode-syntax-table): New variable.
10017 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
10019 2011-09-18 Juri Linkov <juri@jurta.org>
10021 * info.el (Info-file-supports-index-cookies):
10022 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10023 outputs one more line for long file names (bug#4142).
10025 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
10027 * newcomment.el (comment-normalize-vars): If prompting for
10028 comment-start, set comment-start-skip too (Bug#8424).
10030 2011-09-18 Johan Bockgård <bojohan@gnu.org>
10032 * icomplete.el: Fix previous fix of Bug#5849.
10033 (icomplete-mode): Don't set completion-show-inline-help.
10034 (icomplete-minibuffer-setup): Set completion-show-inline-help
10035 locally during icompletion.
10037 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
10039 * woman.el (woman2-process-escapes): Don't delete unrecognized
10040 escapes (Bug#7843).
10042 * files.el (inhibit-first-line-modes-regexps): Add image files.
10043 (hack-local-variables-prop-line): Return nil for malformed
10044 prop-lines (Bug#9044).
10046 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
10048 * net/tramp.el (top): Don't require 'shell.
10049 (tramp-methods): Fix docstring.
10050 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
10051 Return complete remote file name. Handle "smb" case.
10052 Use `tramp-tmpdir', if defined for the respective method.
10053 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10055 * net/tramp-compat.el (top): Require 'shell.
10057 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10058 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10059 `tramp-current-host'.
10060 (tramp-get-remote-tmpdir): Remove.
10062 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10063 `tramp-tmpdir' entries.
10064 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10065 (tramp-smb-handle-file-attributes): Ignore errors.
10066 (tramp-smb-wait-for-output): Check also for process end.
10068 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10070 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10071 when sending QUIT (bug#9312).
10073 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
10075 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10076 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10077 occur-mode-display-occurrence.
10078 (occur-edit-mode): Add usage message.
10079 (occur-cease-edit): New command.
10080 (occur-after-change-function): Use text properties to find the
10081 position of the prefix text.
10082 (occur-engine): Set stickiness of prefix text properties.
10084 2011-09-17 Glenn Morris <rgm@gnu.org>
10086 * progmodes/etags.el (complete-tag):
10087 Fix call to completion-in-region. (Bug#9526)
10089 2011-09-17 Juri Linkov <juri@jurta.org>
10091 * textmodes/ispell.el (ispell-word): Add to the error message
10092 the word, ispell program name and current dictionary (bug#9121).
10093 (ispell-tex-arg-end): Capitalize "error" in the error message.
10095 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10097 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10100 2011-09-17 Juri Linkov <juri@jurta.org>
10102 * window.el (window-safe-min-height, window-safe-min-width):
10103 Fix typos (followup to bug#9522).
10105 2011-09-17 Sven Joachim <svenjoac@gmx.de>
10107 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10109 2011-09-16 Eli Zaretskii <eliz@gnu.org>
10111 * simple.el (line-move): If goal-column is set, move by logical
10112 lines, not by display lines. (Bug#971)
10113 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10114 to reflect the above change.
10116 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10118 * image.el (imagemagick-register-types): Use regexp-opt.
10120 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
10122 * window.el (display-buffer-base-action): Rename from
10123 display-buffer-default-action. Make default value empty.
10124 (display-buffer-overriding-action): Convert to defvar.
10125 (display-buffer-fallback-action): New var.
10127 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
10129 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10131 (package--add-to-archive-contents): If there is a duplicate entry
10132 with an older version, remove it.
10133 (package-menu-mark-delete, package-menu-mark-install)
10134 (package-menu-mark-unmark): Make unused args optional.
10135 (package-menu-mark-obsolete-for-deletion):
10136 Use package-menu-get-status instead of a regexp search.
10137 (package-menu-get-status): Use tabulated-list-entry.
10138 (package-menu-mark-upgrades): New command.
10139 (package-menu-mode-map): Bind it to U. Add it to menu bar.
10140 (package-menu-execute): Do installation before deletion.
10141 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10142 instead of checking major-mode.
10143 (package-menu--find-upgrades): New function.
10145 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10147 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10148 passwords in the log buffer.
10149 (smtpmail-process-filter): Update the process marker so that the
10150 "broken by peer" status message is inserted in the right place.
10152 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10154 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10155 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10156 bibtex-completion-at-point-function.
10157 (bibtex-completion-at-point-function): Use them.
10159 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10161 * mpc.el (mpc-constraints-tag-lookup): New function.
10162 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10163 also to browser "album|playlist".
10165 2011-09-14 Juri Linkov <juri@jurta.org>
10167 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10168 (isearch-edit-string): Use length of `isearch-string' when
10169 `isearch-fail-pos' returns nil.
10170 (isearch-message): Remove duplicate code and call
10171 `isearch-fail-pos' with arg `t'.
10173 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
10175 * replace.el (occur-mode-goto-occurrence): Don't force using other
10178 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10180 2011-09-14 Martin Rudalics <rudalics@gmx.at>
10182 * window.el (display-buffer-window): Remove.
10183 (display-buffer-record-window): Use help-setup window parameter
10184 instead of variable display-buffer-window.
10185 (display-buffer-function, special-display-buffer-names)
10186 (special-display-function): Mention help-setup parameter instead
10187 of display-buffer-window in doc-string.
10188 * help.el (help-window-setup): New argument help-window.
10189 Use help-window-setup parameter instead of display-buffer-window.
10190 Reword some messages.
10191 (with-help-window): Pass window used for displaying the buffer
10192 to help-window-setup. Don't set display-buffer-window.
10194 2011-09-13 Glenn Morris <rgm@gnu.org>
10196 * emacs-lisp/debug.el (debugger-make-xrefs):
10197 Preserve point. (Bug#9462)
10199 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
10201 * window.el (window-deletable-p): Use next-frame.
10203 2011-09-13 Martin Rudalics <rudalics@gmx.at>
10205 * window.el (window-auto-delete): Remove.
10206 (window-deletable-p): Remove argument FORCE. Don't deal with
10207 dedication and previous buffers.
10208 (switch-to-prev-buffer): Don't delete window.
10209 (delete-windows-on): Delete a window's frame if and only if the
10210 window is dedicated.
10211 (replace-buffer-in-windows): Delete buffer's window or frame if
10212 and only if window is dedicated.
10213 (quit-window): Handle quit-restore as before last change.
10214 (bury-buffer): Delete window only if window-deletable-p returns t.
10216 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
10218 * window.el (window-deletable-p): Never delete the last frame on a
10221 2011-09-13 Glenn Morris <rgm@gnu.org>
10223 * help.el (describe-key-briefly): Copy previous standard-output change.
10225 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
10227 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10229 2011-09-13 Glenn Morris <rgm@gnu.org>
10231 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10232 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10234 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
10236 * dired-aux.el (dired-mark-read-string): Don't return default
10237 value on empty input (Bug#9361).
10238 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10239 Omit initial minibuffer contents.
10240 (dired-do-chmod): Signal an error on empty input.
10241 (dired-mark-read-string): Don't return default on empty input.
10243 * files.el (file-modes-symbolic-to-number): Doc fix.
10245 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10247 * international/mule-cmds.el (ucs-completions): Remove.
10248 (read-char-by-name): Use complete-with-action instead; add metadata.
10250 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
10252 * window.el (display-buffer--action-function-custom-type)
10253 (display-buffer--action-custom-type): New vars.
10254 (display-buffer-alist, display-buffer-default-action)
10255 (display-buffer-overriding-action): Add defcustom types.
10257 * frame.el (delete-other-frames): Doc fix (Bug#276).
10259 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10261 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10263 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
10265 Change modes that used same-window-* vars to use switch-to-buffer.
10267 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10268 Use switch-to-buffer.
10270 * cus-edit.el (customize-group, custom-buffer-create)
10271 (customize-browse, custom-buffer-create-other-window):
10272 Use switch-to-buffer or switch-to-buffer-other-window.
10274 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10275 (Info-prev, Info-up, Info-speedbar-goto-node)
10276 (info-display-manual): Use switch-to-buffer.
10277 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10279 * mail/sendmail.el (mail): Use switch-to-buffer.
10280 (mail-recover): Use switch-to-buffer-other-window.
10282 * cmuscheme.el (run-scheme, switch-to-scheme):
10284 * shell.el (shell):
10285 * net/rlogin.el (rlogin):
10286 * net/telnet.el (telnet, rsh):
10287 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10289 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10291 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10293 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10295 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10296 so don't mention it (bug#9301).
10297 (dired-sort-toggle-or-edit): Clarify string further.
10299 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10300 match `x', `w32' and `ns', like the manual says (bug#9029).
10302 * subr.el (eval-after-load): Doc string clarification (bug#9125).
10303 (process-kill-buffer-query-function): Mention the buffer name in
10306 * image-mode.el (image-next-line): The line parameter is mandatory
10309 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10310 which can be useful (bug#9301).
10312 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10314 * subr.el (match-string): Mention that the current buffer should
10315 be the same as the search was done in (bug#9282).
10317 * facemenu.el: Disable the remove-* commands if the mark isn't
10320 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10322 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10324 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10326 * replace.el (occur-mode-goto-occurrence)
10327 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10328 and display-buffer.
10330 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10333 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10334 special-display and same-window variables.
10335 (mail-other-window): Use switch-to-buffer-other-window.
10336 (mail-other-frame): USe switch-to-buffer-other-frame.
10338 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10339 Use display-buffer-other-frame.
10340 (gdb-display-gdb-buffer): Use pop-to-buffer.
10342 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10344 * progmodes/python.el: Don't set same-window-buffer-names.
10346 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10348 * window.el (display-buffer-alist): Add *Python*.
10350 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10352 * window.el (display-buffer-alist): Add entry for buffers
10353 previously handled same-window-*.
10354 (display-buffer-alist, display-buffer-default-action)
10355 (display-buffer-overriding-action): Mark as risky.
10356 (display-buffer-alist): Document action function changes.
10357 (display-buffer--same-window-action)
10358 (display-buffer--other-frame-action): New variables.
10359 (switch-to-buffer, display-buffer-other-frame): Use them.
10360 (display-buffer): Rename reuse-frame entry to reusable-frames.
10361 (display-buffer-reuse-selected-window): Function deleted.
10362 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10363 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10364 (display-buffer-special): New function.
10365 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10366 display-buffer-reuse-or-pop-window. Split off special-display
10367 part into display-buffer-special.
10368 (display-buffer-use-some-window): Don't perform any special
10369 pop-up-frames handling.
10370 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
10371 (display-buffer--maybe-same-window): Rename from
10372 display-buffer-maybe-same-window.
10374 * info.el: Don't set same-window-regexps.
10375 (info-setup): New function.
10376 (info-other-window, info): Call it.
10378 * cus-edit.el: Don't set same-window-regexps.
10379 (customize-group): New argument.
10380 (customize-group-other-window): Use it.
10381 (customize-face, customize-face-other-window): Likewise.
10382 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10386 * progmodes/gud.el: Don't set same-window-regexps.
10391 * mail/sendmail.el:
10392 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10394 2011-09-10 Juri Linkov <juri@jurta.org>
10396 * isearch.el (isearch-edit-string): Remove obsolete mention of
10397 `C-w' (`isearch-yank-word-or-char') from docstring.
10398 (isearch-query-replace): Fix typo in docstring (bug#9466).
10400 2011-09-10 Juri Linkov <juri@jurta.org>
10402 * paren.el (show-paren-function): Don't show escaped parens.
10403 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10405 2011-09-10 Eli Zaretskii <eliz@gnu.org>
10407 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10408 (mm-default-file-encoding): Remove autoload forms, they are
10409 replaced with autoload cookies in mml.el and mm-encode.el.
10410 (mail-add-attachment): New command.
10411 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10412 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10414 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10416 2011-09-10 Reuben Thomas <rrt@sc3d.org>
10418 * simple.el (count-words-region): Use buffer if there's no region
10421 2011-09-09 Juri Linkov <juri@jurta.org>
10423 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10424 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10425 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10427 2011-09-09 Alan Mackenzie <acm@muc.de>
10429 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10430 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10432 2011-09-09 Eli Zaretskii <eliz@gnu.org>
10434 Fix for Savannah bug#9392.
10435 * simple.el (mail-encode-mml): New defvar.
10437 * mail/rmail.el (mail-encode-mml): Add a defvar.
10438 (rmail-enable-mime-composing): Default to t.
10439 (rmail-forward): Use MIME method of forwarding only if both
10440 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10441 Set mail-encode-mml non-nil if the MIME method was used.
10443 * mail/sendmail.el (mml-to-mime): Add autoload form.
10444 (mail-encode-mml): Add a defvar.
10445 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10447 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10448 message through mml-to-mime, and reset mail-encode-mml to nil.
10450 2011-09-09 Glenn Morris <rgm@gnu.org>
10452 * woman.el (woman-if-body): When processing an .el block,
10453 do not delete the next .el block as well. (Bug#9447)
10454 (woman-special-characters): Add oq, cq, and hy characters.
10456 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10458 * window.el (window-deletable-p): Make sure window is live before
10459 invoking window-prev-buffers.
10461 2011-09-08 Leo Liu <sdl.web@gmail.com>
10463 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10465 2011-09-08 Juri Linkov <juri@jurta.org>
10467 * progmodes/compile.el (compilation-environment): Make it
10468 a defcustom (bug#8340).
10470 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10472 * window.el (frame-auto-delete): Rename to window-auto-delete.
10473 Make it control auto-deletion of windows and/or frames.
10474 (window-deletable-p): New argument FORCE. Rewrite conditions
10475 for deleting window/frame. (Bug#9419)
10476 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10477 Rewrite handling of case when window/frame can be deleted.
10478 (delete-windows-on): Call window-deletable-p with new FORCE
10479 argument t. (Bug#9456)
10481 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
10483 * help-mode.el (help-mode): Restore autoload.
10485 2011-09-07 Juri Linkov <juri@jurta.org>
10487 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10488 `compilation-environment'. Set buffer-local
10489 `compilation-environment' to `thisenv' later after (funcall mode).
10492 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10493 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10494 instead of replacing its value. (Bug#8340)
10496 2011-09-07 Juri Linkov <juri@jurta.org>
10498 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10499 based on text properties put by `grep-filter' instead of matching
10501 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10502 to the value of `grep-error-screen-columns' (bug#9438).
10504 2011-09-07 Juri Linkov <juri@jurta.org>
10506 * simple.el (next-error-highlight, next-error-highlight-no-select):
10507 Doc fix (bug#9432).
10509 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10511 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10512 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10514 2011-09-07 Leo Liu <sdl.web@gmail.com>
10516 * net/rcirc.el (rcirc-mode): Conditionally initialize
10519 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10521 * emacs-lisp/find-func.el (find-function-C-source): Only set
10522 find-function-C-source-directory after checking that we found a source
10523 file there (bug#9440).
10525 2011-09-06 Alan Mackenzie <acm@muc.de>
10527 * isearch.el (isearch-other-meta-char): Wherever a key list is
10528 unread, "unread" the prefix arg, too. This fixes bug #8901.
10530 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10532 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10534 2011-09-05 Juri Linkov <juri@jurta.org>
10536 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10538 2011-09-05 Juri Linkov <juri@jurta.org>
10540 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10541 keeping point where processing of grep matches begins, and
10542 continue to delete remaining escape sequences from the same point.
10543 (grep-filter): Make leading zero optional in "0?1;31m" because
10544 git-grep emits "\033[1;31m" escape sequences unlike expected
10545 "\033[01;31m" as GNU Grep does (bug#9408).
10546 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10548 2011-09-05 Juri Linkov <juri@jurta.org>
10550 * subr.el (y-or-n-p): Capitalize "yes".
10552 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
10554 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10555 `tramp-cache-unload-hook' where appropriate.
10556 (tramp-methods): Rename `tramp-remote-sh' to
10557 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10558 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10560 * net/tramp-sh.el (top): Don't require 'shell.
10561 (tramp-methods): Add `tramp-remote-shell' and
10562 `tramp-remote-shell-args' entries.
10563 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10564 (tramp-sh-handle-shell-command): Remove.
10565 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10566 Use `tramp-remote-shell'.
10568 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
10570 * mail/sendmail.el (sendmail-query-once-function): Delete.
10571 (sendmail-query-once): Save directly to send-mail-function.
10572 Update message-send-mail-function too.
10574 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10576 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10578 * progmodes/python.el (python-mode-map): Use correct function to
10579 start python interpreter from menu-bar (as reported by Geert
10581 (inferior-python-mode-map): Fix typo.
10582 (python-shell-map): Remove.
10584 2011-09-03 Deniz Dogan <deniz@dogan.se>
10586 * net/rcirc.el (rcirc-print): Simplify code for
10587 rcirc-scroll-show-maximum-output. There is no need to walk
10588 through all windows to find the right one.
10590 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10592 * help.el (help-return-method): Doc fix.
10594 2011-09-03 Martin Rudalics <rudalics@gmx.at>
10596 * window.el (window-deletable-p): Don't return a non-nil value
10597 when there's a buffer that was shown in the window before.
10599 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10600 Set window's previous buffers to nil.
10602 2011-09-03 Eli Zaretskii <eliz@gnu.org>
10604 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10605 newline before and after the tag line, so it doesn't interfere
10606 with determining the paragraph direction of bidirectional text.
10608 2011-09-03 Leo Liu <sdl.web@gmail.com>
10610 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10612 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10614 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
10615 (pop-to-buffer): Change interactive spec. Pass second argument
10616 directly to display-buffer.
10617 (display-buffer): Fix interactive spec. Use functionp to
10618 distinguish between a function and a list of functions.
10620 * abbrev.el (edit-abbrevs):
10621 * arc-mode.el (archive-extract):
10622 * autoinsert.el (auto-insert):
10623 * bookmark.el (bookmark-bmenu-list):
10624 * files.el (find-file):
10625 * view.el (view-buffer):
10626 * progmodes/compile.el (compilation-goto-locus):
10627 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10629 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10631 * window.el (display-buffer-alist): Doc fix.
10632 (display-buffer): Add docstring. Don't treat
10633 display-buffer-default specially.
10634 (display-buffer-reuse-selected-window)
10635 (display-buffer-same-window, display-buffer-maybe-same-window)
10636 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10637 (display-buffer-pop-up-window)
10638 (display-buffer-reuse-or-pop-window)
10639 (display-buffer-use-some-window): New functions.
10640 (display-buffer-default-action): Use them.
10641 (display-buffer-default): Delete.
10642 (pop-to-buffer-1): Fix choice of actions.
10644 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10646 * minibuffer.el (completion--insert-strings): Don't get confused by
10647 completion entries that end with an LF char.
10649 2011-09-01 Eli Zaretskii <eliz@gnu.org>
10651 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10653 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
10655 * window.el (display-buffer): Restore interactive spec.
10656 (display-buffer-same-window, display-buffer-other-window):
10658 (pop-to-buffer-1): New function. Use the above.
10659 (pop-to-buffer, pop-to-buffer-same-window): Use it.
10660 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
10662 * view.el (view-buffer-other-window, view-buffer-other-frame):
10663 Just use pop-to-buffer.
10665 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10667 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10669 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10671 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10673 2011-08-31 Richard Stallman <rms@gnu.org>
10675 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10676 of the separation of rmail-view-buffer from rmail-buffer.
10677 If you say no to "replace original", the decrypt is in the
10678 view buffer. If you say yes, the decrypt goes into the
10681 2011-08-31 Martin Rudalics <rudalics@gmx.at>
10683 * window.el (display-buffer-window): Rewrite doc-string.
10684 (display-buffer-record-window): New function.
10685 (display-buffer-macro-specifiers)
10686 (display-buffer-even-window-sizes, display-buffer-set-height)
10687 (display-buffer-set-width, display-buffer-in-window)
10688 (display-buffer-reuse-window, display-buffer-split-specifiers)
10689 (display-buffer-side-specifiers, display-buffer-split-window-1)
10690 (display-buffer-split-window, display-buffer-split-atom-window)
10691 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10692 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10693 (display-buffer-other-window-means-other-frame)
10694 (display-buffer-normalize-special)
10695 (display-buffer-normalize-default)
10696 (display-buffer-normalize-argument)
10697 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10698 (display-buffer-normalize-specifiers, display-buffer-frame)
10699 (display-buffer-same-window, display-buffer-same-frame)
10700 (display-buffer-other-window)
10701 (display-buffer-same-frame-other-window)
10702 (display-buffer-other-frame, pop-to-buffer-same-window)
10703 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10704 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10705 (switch-to-buffer-same-frame)
10706 (switch-to-buffer-other-window-same-frame)
10707 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10708 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10709 (display-buffer-alist-set): Remove.
10710 (display-buffer-function, special-display-buffer-names)
10711 (special-display-regexps, special-display-function):
10712 In doc-string refer to display-buffer-window and quit-restore
10714 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10715 (special-display-frame-alist, special-display-popup-frame)
10716 (same-window-buffer-names, same-window-regexps, same-window-p)
10717 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10718 (split-window-preferred-function, split-height-threshold)
10719 (split-width-threshold, window-splittable-p)
10720 (split-window-sensibly, window--try-to-split-window)
10721 (window--frame-usable-p, even-window-heights)
10722 (window--even-window-heights, window--display-buffer-1)
10723 (window--display-buffer-2, display-buffer-other-frame):
10724 Restore old Emacs 23 code, order and doc-strings where applicable.
10725 (display-buffer-default, display-buffer-assq-regexp): New functions.
10726 (display-buffer-alist): Rewrite doc-string.
10727 (display-buffer-default-action)
10728 (display-buffer-overriding-action): New variables.
10729 (display-buffer, switch-to-buffer): Rewrite.
10730 (pop-to-buffer): Restore Emacs 23 behavior but use
10731 window-normalize-buffer-to-display.
10732 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10733 Restore Emacs 23 behavior but use
10734 window-normalize-buffer-to-switch-to.
10735 (pop-to-buffer-same-window): Rewrite.
10736 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10737 Rewrite using Emacs 23 options.
10739 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
10741 * net/tramp.el (tramp-root-regexp): Remove.
10742 (tramp-completion-file-name-regexp-unified)
10743 (tramp-completion-file-name-regexp-separate)
10744 (tramp-completion-file-name-regexp-url): Don't use leading volume
10745 letter on w32 systems. (Bug#5303, Bug#9311)
10746 (tramp-drop-volume-letter): Simplify definition.
10747 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10749 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10751 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10754 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10756 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
10758 2011-08-29 Juri Linkov <juri@jurta.org>
10760 * isearch.el (isearch-done): Don't display message "Mark saved"
10761 when arg `edit' is non-nil to prevent its flicker in the echo area.
10763 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10765 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10766 obsolete packages for deletion.
10768 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10770 * help-mode.el (help-mode-map): Add special-mode-map to parent.
10771 (help-mode): Derive help-mode from special-mode. Don't invoke
10772 view-mode from help-mode.
10773 (help-xref-override-view-map): Remove.
10774 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10775 view-mode is not used anymore.
10777 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10779 * server.el (server-port): Doc fix.
10781 * cus-theme.el (custom-theme-choose-mode): Inherit from
10782 special-mode (Bug#9124).
10783 (custom-theme-choose-mode-map): Add special-mode to parent.
10785 2011-08-28 Alan Mackenzie <acm@muc.de>
10787 * progmodes/cc-fonts.el
10788 (c-make-font-lock-BO-decl-search-function): New function.
10789 (c-basic-matchers-after - "Fontify the clauses after various
10790 keywords"): Extract the three keyword lists for the 3 erroneous
10791 constructs from the list of four, and use the new function above
10792 in place of an old one.
10794 2011-08-28 Deniz Dogan <deniz@dogan.se>
10796 * net/rcirc.el (rcirc-insert-prev-input)
10797 (rcirc-insert-next-input): Remove unused argument.
10799 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10801 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10803 2011-08-27 Alan Mackenzie <acm@muc.de>
10805 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10806 handle function pointer parameters properly.
10808 2011-08-27 Martin Rudalics <rudalics@gmx.at>
10810 * window.el (display-buffer-reuse-window): Fix case where
10811 selected window was reused with non-nil OTHER-WINDOW argument.
10814 2011-08-27 Deniz Dogan <deniz@dogan.se>
10816 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10817 oftc's NickServ messages.
10819 2011-08-27 Glenn Morris <rgm@gnu.org>
10821 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10823 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
10825 * emacs-lisp/package.el (package-install): Call package-initialize
10826 if called interactively.
10828 2011-08-26 Leo Liu <sdl.web@gmail.com>
10830 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10832 2011-08-25 Juri Linkov <juri@jurta.org>
10834 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10835 `search-whitespace-regexp' (bug#9364).
10837 2011-08-25 Juri Linkov <juri@jurta.org>
10839 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10840 `regexp-search-ring' to their global values to protect from
10841 updating by `read-from-minibuffer' (bug#9185).
10843 2011-08-25 Juri Linkov <juri@jurta.org>
10845 * textmodes/ispell.el (ispell-command-loop): Add newline
10846 at the end of the "Use option `i'..." line.
10848 2011-08-25 Juri Linkov <juri@jurta.org>
10850 * battery.el (display-battery-mode): If `battery-status-function'
10851 or `battery-mode-line-format' is nil, display the message and set
10852 `display-battery-mode' to nil (bug#9363).
10854 2011-08-25 Eli Zaretskii <eliz@gnu.org>
10856 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10857 bidi-string-mark-left-to-right; they are unnecessary now.
10859 2011-08-25 Deniz Dogan <deniz@dogan.se>
10861 * net/quickurl.el: Documentation typo fixes.
10863 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
10865 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10867 2011-08-25 Glenn Morris <rgm@gnu.org>
10869 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10871 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10872 (smtpmail-via-smtp): Handle nil response from smtp.
10874 2011-08-24 Juri Linkov <juri@jurta.org>
10876 * proced.el (proced-marked): Inherit from `error' instead of
10877 `font-lock-warning-face'.
10879 * ibuffer.el (ibuffer-marked-face): Change default face from
10880 `font-lock-warning-face' to `warning'.
10881 (ibuffer-deletion-face): Change default face from
10882 `font-lock-type-face' to `error'.
10884 * battery.el (battery-update): Use the face `error' instead of
10885 `font-lock-warning-face' (bug#6117).
10887 2011-08-24 Juri Linkov <juri@jurta.org>
10889 * faces.el (success): Change face color from "Green3" to
10890 "ForestGreen" on light background (bug#9353).
10892 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
10894 * window.el (quit-window): Rename from quit-restore-window.
10895 Use same arglist as old quit-window.
10896 (frame-auto-delete): Doc fix.
10898 * view.el (view-mode-exit): Use quit-window.
10900 2011-08-24 Juri Linkov <juri@jurta.org>
10902 * isearch.el (isearch-ring-adjust1): Start visiting previous
10903 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10904 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10905 for empty search string (when the last search string is reused
10906 automatically) to adjust the isearch ring to the last element and
10907 prepare the correct index for further M-p commands (bug#9185).
10909 2011-08-24 Kenichi Handa <handa@m17n.org>
10911 * international/ucs-normalize.el: If decomposition property of
10912 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10914 (nfd, nfkd): Likewise.
10916 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10918 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10919 from process filters aren't reliably transmitted to the surrounding
10920 accept-process-output.
10921 (mpc-proc-check): New function.
10922 (mpc-proc-sync): Use it (bug#8293)
10924 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10926 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10927 Add compatibility functions (bug#9313).
10929 2011-08-23 Eli Zaretskii <eliz@gnu.org>
10931 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10933 * international/uni-bidi.el: Regenerate.
10935 2011-08-23 Kenichi Handa <handa@m17n.org>
10937 * international/charprop.el:
10938 * international/uni-bidi.el:
10939 * international/uni-category.el:
10940 * international/uni-combining.el:
10941 * international/uni-comment.el:
10942 * international/uni-decimal.el:
10943 * international/uni-decomposition.el:
10944 * international/uni-digit.el:
10945 * international/uni-lowercase.el:
10946 * international/uni-mirrored.el:
10947 * international/uni-name.el:
10948 * international/uni-numeric.el:
10949 * international/uni-old-name.el:
10950 * international/uni-titlecase.el:
10951 * international/uni-uppercase.el: Regenerate.
10953 2011-08-23 Martin Rudalics <rudalics@gmx.at>
10955 * help.el (help-window-setup): Fix message displayed when other
10956 window is reused. (Bug#9341)
10958 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10960 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10961 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10963 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10965 * shell.el (shell-parse-pcomplete-arguments): New function.
10966 (shell-completion-vars): Use it instead (bug#9160).
10968 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10970 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10971 strings and comments (bug#9333).
10973 * emacs-lisp/debug.el (debug-arglist): New function.
10974 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10975 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10977 2011-08-22 Juri Linkov <juri@jurta.org>
10979 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10980 Revert regexp that highlights output switches to its old
10981 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10983 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10984 to check for empty output (bug#9226).
10986 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
10988 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10989 symbol-constituent as the default, as that stops font-lock from
10990 working properly (Bug#8843).
10992 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10994 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10995 `coding-system-for-*' around the process open call to avoid
10996 auth-source side effects.
10997 (smtpmail-try-auth-methods): Expand the secret password.
10998 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11001 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
11003 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11005 * emacs-lisp/find-func.el (find-function-noselect): New arg
11008 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11009 signal an error for built-in functions (Bug#6664).
11011 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11013 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11014 (smtpmail-try-auth-methods): Use it.
11016 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
11018 * font-lock.el (font-lock-fontify-region)
11019 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11020 (font-lock-default-unfontify-buffer)
11021 (font-lock-default-fontify-region)
11022 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11024 * progmodes/compile.el (compilation-error-properties):
11025 Fix confusion between file struct and message struct (Bug#9319).
11026 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11029 * net/browse-url.el (browse-url-firefox): Don't call
11030 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11032 2011-08-20 Glenn Morris <rgm@gnu.org>
11034 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11036 * tutorial.el (tutorial--default-keys): Update some default bindings.
11038 * files.el (hack-local-variables): Fully ignore case for "mode:".
11040 2011-08-20 Alan Mackenzie <acm@muc.de>
11042 Resolve invalid use of a regexp in regexp-opt.
11044 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11045 detection for a java annotation.
11047 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
11048 detection for a java annotation.
11050 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11052 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11054 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
11056 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11059 2011-08-20 Alan Mackenzie <acm@muc.de>
11061 Fontify CPP expressions correctly when starting in the middle of
11062 such a construct. Mainly for when jit-lock etc. starts a chunk
11065 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
11067 (c-make-font-lock-search-form): New function, extracted from
11068 c-make-font-lock-search-function.
11069 (c-make-font-lock-search-function): Use the above function.
11070 (c-make-font-lock-context-search-function): New function.
11071 (c-cpp-matchers): Enhance the preprocessor expression case with
11073 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11074 which takes an expression.
11076 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11078 2011-08-20 Martin Rudalics <rudalics@gmx.at>
11080 * window.el (display-buffer-reuse-window)
11081 (display-buffer-pop-up-window): Don't reuse or split a side
11084 2011-08-19 Glenn Morris <rgm@gnu.org>
11086 * files.el (hack-local-variables-prop-line, hack-local-variables):
11087 Downcase "Mode:". (Bug#9331)
11089 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
11091 * international/characters.el: Add L and R categories.
11093 * subr.el (bidi-string-mark-left-to-right): Rename from
11094 string-mark-left-to-right. Use category search.
11096 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11098 2011-08-18 Juri Linkov <juri@jurta.org>
11100 * faces.el (error, warning, success): New faces with definitions
11101 copied from old default values of `font-lock-warning-face',
11102 `compilation-warning', `compilation-info' (bug#6117).
11104 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11106 * progmodes/compile.el (compilation-error): Inherit from `error'.
11107 (compilation-warning): Inherit from `warning'.
11108 (compilation-info): Inherit from `success'.
11110 * dired.el (dired-marked): Inherit from `warning'.
11111 (dired-flagged): Inherit from `error'.
11113 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11115 * mail/smtpmail.el (auth-source): Require to avoid problems with
11116 binding variables (bug#9298). Also clean up some unused
11119 * net/network-stream.el (network-stream-open-starttls):
11120 Support using starttls.el without using gnutls-cli.
11122 2011-08-17 Juri Linkov <juri@jurta.org>
11124 * progmodes/grep.el (rgrep): Handle the case when
11125 `grep-find-command' is a cons cell (bug#9278).
11127 2011-08-17 Martin Rudalics <rudalics@gmx.at>
11129 * window.el (display-buffer-pop-up-frame): Run frame creation
11130 function with BUFFER current (as special-display-popup-frame
11131 does). Reported by Drew Adams.
11133 2011-08-17 Daiki Ueno <ueno@unixuser.org>
11135 * epa-mail.el: Simplify GnuPG group expansion using
11137 (epa-mail-group-alist, epa-mail-group-modtime)
11138 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11139 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11140 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11143 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
11145 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11147 2011-08-16 Alan Mackenzie <acm@muc.de>
11149 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11150 Correct, to avoid the inside of macros.
11152 2011-08-16 Richard Stallman <rms@gnu.org>
11154 * epa-mail.el: Handle GnuPG group definitions.
11155 (epa-mail-group-alist, epa-mail-group-modtime)
11156 (epa-mail-gnupg-conf-file): New variables.
11157 (epa-mail-parse-groups, epa-mail-sync-groups)
11158 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11159 (epa-mail-expand-recipients): New functions.
11160 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11162 * mail/rmail.el (rmail-epa-decrypt): New command.
11164 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11165 Don't bind buffer-read-only, just inhibit-read-only.
11166 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11167 (epa-decrypt-armor-in-region): Make error message clearer.
11169 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11171 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11172 and "a2b" to "ab" for `prefix'.
11174 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
11176 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11178 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11179 Fourquet (Bug#8804).
11181 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
11183 * startup.el (argi): Declare as global variable (bug#9275).
11185 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
11187 * subr.el (string-mark-left-to-right): Search the entire string
11188 for RTL script, not just the terminating character. Doc fix.
11190 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11192 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11194 (js--regexp-literal, js-syntax-propertize-function): Remove.
11195 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11196 (js-mode-map): Don't rebind electric keys.
11197 (js-insert-and-indent): Remove.
11198 (js-mode): Setup electric-layout and electric-indent instead.
11200 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11202 2011-08-12 Daiki Ueno <ueno@unixuser.org>
11204 * epa.el (epa-progress-callback-function): Fix the logic of
11205 displaying progress.
11206 * epa-file.el (epa-file-insert-file-contents): Make progress
11207 display more user-friendly.
11208 (epa-file-write-region): Ditto.
11210 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
11212 * subr.el (string-mark-left-to-right): New function.
11214 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11215 Use string-mark-left-to-right.
11216 (list-buffers-noselect): Caller changed.
11218 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11219 Use string-mark-left-to-right.
11220 (tabulated-list-print): Recenter after moving point.
11222 2011-08-10 Juri Linkov <juri@jurta.org>
11224 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11225 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11226 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11228 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
11230 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11233 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11235 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11236 character. (Bug#6594)
11238 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
11240 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11241 (image-dired--with-db-file): New macro.
11242 (image-dired-write-tags, image-dired-remove-tag)
11243 (image-dired-create-gallery-lists, image-dired-write-comments)
11244 (image-dired-get-comment, image-dired-mark-tagged-files)
11245 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11246 (image-dired-gallery-generate): Use insert-file-contents.
11248 * time.el (display-time-world-list, display-time-world-display):
11249 * time-stamp.el (time-stamp-string):
11250 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11251 set-time-zone-rule (Bug#7337).
11253 2011-08-08 Daiki Ueno <ueno@unixuser.org>
11255 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11256 (epg-error-to-string, epg-errors-to-string): New function.
11257 (epg-wait-for-completion): Reverse errors list.
11258 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11259 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11260 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11261 (epg-sign-keys, epg-generate-key-from-file)
11262 (epg-generate-key-from-string): Format errors by using
11263 epg-errors-to-string (bug#9255).
11264 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11266 2011-08-07 Juri Linkov <juri@jurta.org>
11268 * faces.el (list-faces-display): Remove extra angle bracket
11269 from `help-mode-map'.
11271 * info.el (Info-history-toc-nodes): Doc fix.
11273 * longlines.el (longlines-mode): Doc fix.
11275 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11277 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11278 of statements and in a few more cases (bug#9183).
11280 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11282 (cl-transform-lambda): Use them (bug#9239).
11284 2011-08-05 Martin Rudalics <rudalics@gmx.at>
11286 * window.el (display-buffer-same-window)
11287 (display-buffer-same-frame, display-buffer-other-window)
11288 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11289 (pop-to-buffer-other-window)
11290 (pop-to-buffer-same-frame-other-window)
11291 (pop-to-buffer-other-frame): Make them defuns.
11292 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11294 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11296 * subr.el (make-composed-keymap): Move from C. Change calling
11297 convention, and improve docstring to bring attention to a subtle point.
11298 * minibuffer.el (completing-read-default): Adjust accordingly.
11300 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
11302 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11303 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11305 * net/trampver.el: Update release number.
11307 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11309 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11312 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11314 * mail/sendmail.el (sendmail-query-once): Restore the current
11315 buffer after querying (bug#9074).
11317 * dired.el (dired-flagged): Use different faces for marked and
11318 flagged files (bug#6117).
11320 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11323 * ido.el (ido-mode): Switch off the message if called
11326 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11327 before 587, since it appears that that's more likely to work for
11330 * cus-edit.el (custom-file): When running under emacs -q, always
11331 refuse to save the customizations, even if the .emacs file doesn't
11334 * info.el: Remove the `Info-beginning-of-buffer' function
11337 * net/network-stream.el (network-stream-open-starttls):
11338 Use `starttls-available-p' to see whether starttls.el can be used.
11340 2011-08-01 Martin Rudalics <rudalics@gmx.at>
11342 * window.el (display-buffer-in-window): Don't set dedicated status
11343 of window here (Bug#9215).
11344 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11345 (display-buffer-pop-up-side-window)
11346 (display-buffer-in-side-window): Set dedicated status of window here.
11348 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11350 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11351 before binding generated-autoload-file.
11353 2011-08-01 Deniz Dogan <deniz@dogan.se>
11355 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11357 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
11359 Sync with Tramp 2.2.2.
11361 * net/trampver.el: Update release number.
11363 2011-07-30 Juri Linkov <juri@jurta.org>
11365 * dired-aux.el (dired-touch-initial): Remove function.
11366 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11367 current time, and `default' to the last modification time of the
11368 current marked file (bug#6887).
11370 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11372 * simple.el (goto-line): Use string-to-number to provide a
11373 numeric argument to read-number (bug#9163).
11375 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
11377 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11378 connection process, it could be nil.
11380 2011-07-27 Leo Liu <sdl.web@gmail.com>
11382 Simplify url handling in rcirc-mode.
11384 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11385 (rcirc-browse-url-at-mouse): Remove.
11386 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11388 2011-07-26 Alan Mackenzie <acm@muc.de>
11390 Fontify bitfield declarations properly.
11392 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11393 (c-symbol-chars): Now exported as a lang variable.
11394 (c-not-primitive-type-keywords): New lang variable.
11396 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11397 QT keyword "more" to prevent "more slots: ...." being spuriously
11398 parsed as a bitfield declaration.
11400 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11401 Refactor and enhance to handle bitfield declarations.
11402 (c-punctuation-in): New function.
11403 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11404 declarations properly.
11406 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
11408 * calendar/icalendar.el (icalendar--all-events): Take care of
11409 multiple vcalendars in a single file.
11410 (icalendar--convert-float-to-ical): Checkdoc fixes.
11412 2011-07-25 Deniz Dogan <deniz@dogan.se>
11414 * image.el (insert-image): Clarifying docstring.
11416 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
11418 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11419 `tramp-send-command-and-check' if there is no error.
11420 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11422 2011-07-22 Alan Mackenzie <acm@muc.de>
11424 Prevent cc-langs.elc being loaded at run time.
11426 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11429 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
11430 "(require 'cc-langs)". Quote a form so it will evaluate at
11431 (cc-mode's) compilation time.
11433 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
11435 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11436 loading. (Bug#9114)
11438 2011-07-21 Martin Rudalics <rudalics@gmx.at>
11440 * window.el (display-buffer-pop-up-window)
11441 (display-buffer-pop-up-side-window)
11442 (display-buffer-in-side-window): Call display-buffer-set-height
11443 and display-buffer-set-width after setting the new window's
11444 buffer so `fit-window-to-buffer' and friends work on the right buffer.
11446 2011-07-20 Sam Steingold <sds@gnu.org>
11448 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11449 (etags-tags-included-tables): Call `convert-standard-filename' on
11450 the file names contained in TAGS so that windows Emacs can handle
11451 TAGS files created by cygwin ctags.
11453 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11455 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11456 which apparently didn't work.
11458 2011-07-19 Roland Winkler <winkler@gnu.org>
11460 * proced.el (proced-send-signal): For *Marked Processes* buffer
11461 put point at beginning of buffer.
11463 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
11465 * proced.el (proced-format): Make header lines align with the text
11468 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11470 * view.el (view-buffer): Allow running in `special' modes if we're
11471 visiting a file (bug#8615).
11473 2011-07-19 Martin Rudalics <rudalics@gmx.at>
11475 * window.el (display-buffer-alist-of-strings-p)
11476 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11478 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11481 2011-07-18 Alan Mackenzie <acm@muc.de>
11483 Fontify declarators properly when, e.g., a jit-lock chunk begins
11484 inside a declaration.
11486 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11488 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11490 (c-complex-decl-matchers): Insert reference to
11491 c-font-lock-enclosing-decls.
11493 * progmodes/cc-engine.el (c-backward-single-comment):
11494 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11495 to nil around calls to (forward-comment -1).
11497 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11499 * image.el (put-image): Doc typo fix.
11501 * progmodes/etags.el (tags-search): Doc typo fix.
11503 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11504 password if we get errors 550 to 554.
11506 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11508 * net/gnutls.el (gnutls-log-level): Remove.
11510 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11511 indentation character (bug#6380).
11513 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11515 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11516 to clarify what the problem is (bug#4291).
11518 * simple.el (current-kill): Clarify what
11519 `interprogram-paste-function' does (bug#7500).
11520 (auto-fill-mode): Document `auto-fill-function' in relation to
11521 `auto-fill-mode' (bug#2470).
11523 2011-07-16 Lawrence Mitchell <wence@gmx.li>
11525 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11526 method if slot is read-only (bug#9035).
11528 2011-07-16 Martin Rudalics <rudalics@gmx.at>
11530 * frame.el (select-frame-set-input-focus): New argument NORECORD.
11531 * window.el (pop-to-buffer): Select window used even if it was
11532 selected before, see discussion of (Bug#8615), (Bug#6954).
11533 Pass argument NORECORD on to select-frame-set-input-focus.
11535 2011-07-15 Glenn Morris <rgm@gnu.org>
11537 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
11540 2011-07-09 Lawrence Mitchell <wence@gmx.li>
11542 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11543 (gnutls-negotiate): Use it.
11545 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11547 * net/gnutls.el (gnutls-negotiate):
11548 Upcase `gnutls-algorithm-priority'.
11550 2011-07-15 Glenn Morris <rgm@gnu.org>
11552 * jka-compr.el (jka-compr-verbose): Move from here...
11553 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11554 Add missing :version tag.
11555 * info.el: No need to require jka-compr when compiling.
11557 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11559 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11560 (gnutls-negotiate): Use it.
11562 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11564 * info.el (Info-beginning-of-buffer): New command.
11565 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11566 announcing `b' as the key (bug#8325).
11567 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
11569 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11571 * international/mule-cmds.el
11572 (describe-specified-language-support): Make the error message
11573 clearer (bug#8905).
11575 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11577 * isearch.el (isearch-barrier): Add a doc string, since it's
11578 mentioned in a function doc string (bug#8678).
11580 2011-07-15 Martin Rudalics <rudalics@gmx.at>
11582 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11583 buffer argument (Bug#9083) and self-identifying label argument.
11585 2011-07-15 Glenn Morris <rgm@gnu.org>
11587 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11589 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11591 * man.el (Man-fontify-manpage): Fix message when formatting the
11592 man page (bug#7929).
11594 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11596 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11597 argument LRM; if non-nil, append an invisible LRM character to the
11599 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11600 last argument non-nil, when formatting buffer names.
11601 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11602 paragraph direction.
11604 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11606 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11607 the man page name (bug#7929).
11609 * image.el (put-image): Mention the `put-image' overlay property
11612 * scroll-bar.el (set-scroll-bar-mode): Mention that
11613 `scroll-bar-mode' lists the values (bug#7772).
11615 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11616 command (bug#7729).
11618 * rect.el (apply-on-rectangle): Return the point after the last
11620 (string-rectangle): Go to the point after the last operation
11623 * printing.el (pr-toggle-region): Clarify the documentation
11624 slightly (bug#7493).
11626 * time.el (display-time-update):
11627 Allow `display-time-mail-function' to return nil (bug#7158).
11628 Fix suggested by Detlev Zundel.
11630 * vc/diff.el (diff): Clarify the order the file names are read
11633 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11634 the doc string (bug#7015).
11636 * font-lock.el (font-lock-maximum-decoration): Mention what
11637 numeric levels mean (bug#6935).
11639 * startup.el (initial-buffer-choice): Don't mention the `none'
11640 selection, which is against policy.
11642 2011-07-14 Martin Rudalics <rudalics@gmx.at>
11644 * window.el (display-buffer-normalize-special):
11645 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
11647 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11649 * subr.el (version<, version<=, version=): Mention "-CVS" and
11650 "-12345" alpha version numbers.
11652 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11654 * bindings.el: Add advertised binding for set-mark-command
11657 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11659 * bindings.el (mode-line-other-buffer):
11660 * bookmark.el (bookmark-bmenu-2-window):
11661 * bs.el (bs-cycle-next, bs-cycle-previous):
11662 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11665 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11668 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
11670 * follow.el (follow-debug-message, follow-redisplay):
11671 * jka-cmpr-hook.el (with-auto-compression-mode):
11672 Fix typos in docstrings.
11674 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11676 * subr.el (with-silent-modifications): Clarify somewhat what the
11677 macro inhibits (bug#6525).
11679 * simple.el (eval-expression): Note what it does if called
11680 interactively (bug#6495).
11682 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11684 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11685 Use pop-to-buffer buffer-or-name if it is nil.
11687 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11688 Remove switch-to-buffer.
11690 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11692 * files.el (make-directory): Clarify that an error will be raised
11693 if there's an error (bug#6397).
11695 * startup.el (initial-buffer-choice): Add `none' as a choice
11698 * subr.el (add-hook): Clarify section about buffer-local hooks
11701 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11703 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11705 * tabify.el (untabify): Preserve the current column so that point
11706 doesn't move (bug#6032).
11708 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11710 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11711 Rewrite to avoid awkward possessive "s" (bug#5986).
11713 2011-07-13 Glenn Morris <rgm@gnu.org>
11715 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11716 (dired-insert-directory): Give a message the first time
11717 if ls is found not to support --dired.
11719 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11721 * simple.el (toggle-truncate-lines): Clarify what is toggled
11722 (bug#5580). Text by Drew Adams.
11724 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11726 * simple.el (blink-matching-open): Make the error message from the
11727 last change less verbose.
11729 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11731 * font-lock.el (font-lock-comment-face): Use the high contrast
11732 "yellow" color for font-lock-comment-face on low color terminals
11733 using a dark background color (bug#4221).
11735 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11737 * dired.el (dired-insert-set-properties): Make the doc string
11738 reflect what it does now (bug#5325).
11740 * simple.el (blink-matching-open): Say that we were unable to find
11741 the match within the limit, if we're limited (bug#5122).
11743 * international/mule-cmds.el (prefer-coding-system): Add an
11744 example (bug#4869).
11746 * progmodes/etags.el (tags-search): Document `file-list-form'
11749 2011-07-13 Lawrence Mitchell <wence@gmx.li>
11751 * net/browse-url.el (browse-url-default-browser)
11752 (browse-url-browser-function): Make the default browser choice a
11753 bit more logical (bug#4300). Also clean up the doc string.
11755 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11757 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11758 binary endings (bug#4440).
11760 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11762 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11763 which can be pretty annoying (bug#8971).
11765 * jka-compr.el (jka-compr-verbose): New variable, and use
11766 throughout (bug#8971).
11768 * info.el (Info-find-file): Fall back on the installation
11769 directory if we can't find the info node anywhere else.
11771 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11773 * vc/vc.el (vc-revert-file):
11774 Don't set file time-stamp in the past. (Bug#5181)
11776 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11778 * files.el (after-find-file): Give a better error message when
11779 trying to find a symlink that points to a file that doesn't exist
11782 * progmodes/cc-vars.el: Remove (probably) misleading comment
11785 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11787 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11789 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11791 * mouse-sel.el: Hack restoring functionality, while keeping
11792 compatibility with 2010-07-03 changes to mouse selection.
11793 (mouse-sel-primary-overlay): New var.
11794 (mouse-sel-selection-alist): Use it.
11795 (mouse-sel-mode): Doc fix; remove points that are default features
11798 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11800 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11801 Fix previous fix (bug#2490).
11803 2011-07-12 Roland Winkler <winkler@gnu.org>
11805 * textmodes/bibtex.el (bibtex-initialize):
11806 Use pop-to-buffer-same-window.
11807 (bibtex-search-entries): Fix interactive call.
11809 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11811 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11812 Fontise bytecomp Error lines more correctly (bug#2490).
11813 Fix suggested by Johan Bockgård.
11815 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11817 * dired-x.el (dired-guess-default): Use `delete-dups'.
11819 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11821 * dired.el (dired-mark-prompt):
11822 * dired-aux.el (dired-read-shell-command): Doc fix.
11824 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11826 * mail/sendmail.el (sendmail-query-once):
11827 Use `customize-save-variable' unconditionally, now that it works under
11830 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11832 * cus-edit.el (custom-file): Take an optional no-error variable.
11833 (customize-save-variable): Set the variable, and give a warning if
11834 running under "emacs -q".
11836 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
11838 * loadhist.el (unload-feature-special-hooks):
11839 Add `auto-coding-functions', `fill-nobreak-predicate' and
11840 `find-directory-functions' (bug#5327).
11842 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11844 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11846 * cus-edit.el (custom-guess-name-alist): -alist variables should
11847 use the `alist' type (bug#3120). Suggested by Drew Adams.
11849 * printing.el: Add documentation to all the `pr-toggle-' commands.
11851 2011-07-11 Leo Liu <sdl.web@gmail.com>
11853 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11854 backends where it makes sense (bug#2623).
11856 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11858 * dired-x.el (dired-guess-default): Remove duplicate shell command
11859 entries (bug#2028).
11860 (dired-guess-default): Fix grammar in doc string (bug#2028).
11861 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
11863 * subr.el (remove-duplicates): New conveniency function.
11865 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11867 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11870 2011-07-10 Martin Rudalics <rudalics@gmx.at>
11872 * window.el (display-buffer-normalize-default): Don't invert
11873 meaning of even-window-heights. Reported by Eli Zaretskii
11876 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11878 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11880 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
11882 * window.el (display-buffer): Fix arguments to
11883 display-buffer-reuse-window in last change.
11885 * faces.el (link): Use a less saturated blue on light backgrounds.
11887 * startup.el (fancy-startup-text, fancy-about-text)
11888 (fancy-startup-tail): Use font-lock faces, for background safety.
11890 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11892 * emulation/viper-cmd.el (viper-change-state-to-vi):
11893 Limit triggering of abbrev expansion (Bug#9038).
11895 2011-07-09 Martin Rudalics <rudalics@gmx.at>
11897 * window.el (display-buffer-default-specifiers): Remove.
11898 (display-buffer-macro-specifiers): Remove default specifiers.
11899 (display-buffer-alist): Default to nil.
11900 (display-buffer-reuse-window): New optional argument other-window.
11901 (display-buffer-pop-up-window): Allow splitting internal
11902 windows. Check whether a live window was created.
11903 (display-buffer-other-window-means-other-frame)
11904 (display-buffer-normalize-arguments): Rename to
11905 display-buffer-normalize-argument and rewrite. Set the
11906 other-window specifier.
11907 (display-buffer-normalize-special): New function.
11908 (display-buffer-normalize-options): Rename to
11909 display-buffer-normalize-default and rewrite.
11910 (display-buffer-normalize-options-inhibit): Remove.
11911 (display-buffer-normalize-specifiers): Rewrite.
11912 (display-buffer): Process other-window specifier and call
11913 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11915 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
11916 (display-buffer-alist-set): Don't handle 'unset default values.
11917 (display-buffer-in-window, display-buffer-alist-set):
11918 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
11919 <tassilo@member.fsf.org>.
11921 2011-07-09 Leo Liu <sdl.web@gmail.com>
11923 * register.el (insert-register): Restore accidental change on
11924 2011-06-26. (Bug#9028)
11926 2011-07-09 Glenn Morris <rgm@gnu.org>
11928 * subr.el (remq): Handle the empty list. (Bug#9024)
11930 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11932 * mail/sendmail.el (send-mail-function): No longer delay custom
11934 * custom.el (custom-initialize-delay): Doc fix.
11936 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11938 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11940 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
11942 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11943 human-friendly prompt.
11945 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11947 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11948 provided by a particular plugin.
11950 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11952 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11953 save customizations (with "emacs -Q"), just set the variable
11954 instead of erroring out.
11956 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11958 2011-07-08 Juri Linkov <juri@jurta.org>
11960 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11961 (archive-zip-update-case): Use 7z if found by `executable-find'.
11962 The order of searching the available programs is the same as in
11963 `archive-zip-extract' (bug#8968).
11965 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11967 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11968 (menu-bar-options-menu): Tweak descriptions.
11970 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11972 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11973 menu items into verb phrases (bug#1421). Also refill to fit under
11976 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11978 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11979 (Info-read-node-name): Doc fix (Bug#1084).
11981 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11982 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11983 (end-of-sexp, beginning-of-sexp)
11984 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11985 (forward-symbol, forward-same-syntax, word-at-point)
11986 (sentence-at-point): Doc fix (Bug#1144).
11988 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11990 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11991 should cover it (bug#1281).
11993 * cus-edit.el (custom-show): Mark as obsolete.
11995 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
11996 negotiation fails, then possibly try again with a non-encrypted
11997 connection (bug#9017).
11999 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12002 2011-07-07 Richard Stallman <rms@gnu.org>
12004 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12005 property, and handle its changed format.
12006 Look for the correct line number.
12007 Use file's line contents (but not past first =) to find
12008 correct line in message.
12010 2011-07-07 Kenichi Handa <handa@m17n.org>
12012 * international/characters.el (build-unicode-category-table):
12014 (unicode-category-table): Set it by unicode-property-table-internal.
12016 * international/mule-cmds.el (char-code-property-alist): Move to
12018 (get-char-code-property): Call unicode-property-table-internal to
12019 load a file. Call get-unicode-property-internal where necessary.
12020 (put-char-code-property): Call unicode-property-table-internal to
12021 load a file. Call put-unicode-property-internal where necessary.
12022 put-unicode-property-internal where necessary.
12023 (char-code-property-description):
12024 Call unicode-property-table-internal to load a file.
12026 * international/charprop.el:
12027 * international/uni-bidi.el:
12028 * international/uni-category.el:
12029 * international/uni-combining.el:
12030 * international/uni-comment.el:
12031 * international/uni-decimal.el:
12032 * international/uni-decomposition.el:
12033 * international/uni-digit.el:
12034 * international/uni-lowercase.el:
12035 * international/uni-mirrored.el:
12036 * international/uni-name.el:
12037 * international/uni-numeric.el:
12038 * international/uni-old-name.el:
12039 * international/uni-titlecase.el:
12040 * international/uni-uppercase.el: Regenerate.
12042 * loadup.el: Load international/charprop.el before
12043 international/characters.
12045 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12047 * window.el (next-buffer, previous-buffer): Signal an error if
12048 called from a minibuffer window.
12050 * bindings.el: Revert 2011-07-04 change.
12052 2011-07-06 Richard Stallman <rms@gnu.org>
12054 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12055 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12056 Treat markers like ints.
12057 (rmail-mime-entity): Doc fix.
12059 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12061 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12062 defcustom again for backwards compatibility.
12064 * simple.el (shell-command-on-region): Fill.
12066 * dired-aux.el (dired-kill-line): Add a doc string.
12068 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12069 to "\\sw\\|\\s_" (bug#358).
12071 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12072 (dired-unmark-backward): Ditto.
12073 (dired-flag-backup-files): Ditto.
12075 * dired-x.el (dired-mark-sexp): Ditto.
12077 2011-07-06 Richard Stallman <rms@gnu.org>
12079 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12080 (rmail-mime-entity): New arg TRUNCATED.
12081 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12083 (rmail-mime-save): Warn if entity is truncated.
12084 (rmail-mime-toggle-hidden): Likewise, for showing.
12085 (rmail-mime-process-multipart): Record when an entity is truncated.
12087 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12088 if ENTITY is a string.
12090 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12092 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
12093 of faces when `M-C-x'-ing their definitions (bug#8378).
12094 Also clean up the code slightly.
12096 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
12097 because that makes the colors go away.
12099 * mail/sendmail.el (send-mail-function): Change the default to
12100 `sendmail-query-once'.
12101 (sendmail-query-once): Add an autoload cookie.
12103 * net/network-stream.el (network-stream-open-starttls): Try using
12104 a plain connection even if the server offered STARTTLS, and we
12105 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12106 capability. This should make smtpmail.el work in slightly more
12109 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
12111 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12113 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12115 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12117 * progmodes/sql.el: Version 3.0
12118 (sql-product-alist): Add product :completion-object,
12119 :completion-column, and :statement attributes.
12120 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
12121 (sql-mode-syntax-table): Mark all punctuation.
12122 (sql-font-lock-keywords-builder): Temporarily remove fallback on
12124 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
12125 (sql-mode-oracle-font-lock-keywords): Improve.
12126 (sql-oracle-show-reserved-words): New function for development.
12127 (sql-product-font-lock): Simplify for source code buffers.
12128 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12130 (sql-highlight-product): Set product specific syntax table.
12131 (sql-mode-map): Add statement movement functions.
12132 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12134 (sql-statement-regexp, sql-beginning-of-statement)
12135 (sql-end-of-statement, sql-signum): New functions.
12136 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
12137 (sql-show-sqli-buffer): Bug fix.
12138 (sql-interactive-mode): Store connection data as buffer local.
12139 (sql-connect): Add NEW-NAME parameter. Redesign interaction
12140 with sql-interactive-mode.
12141 (sql-save-connection): Save buffer local settings.
12142 (sql-connection-menu-filter): Change menu entry name.
12143 (sql-product-interactive): Bug fix.
12144 (sql-preoutput-hold): New variable.
12145 (sql-interactive-remove-continuation-prompt): Bug fixes.
12146 (sql-debug-redirect): New variable.
12147 (sql-str-literal): New function.
12148 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
12150 (sql-oracle-save-settings, sql-oracle-restore-settings)
12151 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12152 (sql-completion-object, sql-completion-column)
12153 (sql-completion-sqlbuf): New variables.
12154 (sql-build-completions-1, sql-build-completions)
12155 (sql-try-completion): New functions.
12156 (sql-read-table-name): Use them.
12157 (sql-contains-names): New buffer local variable.
12158 (sql-list-all, sql-list-table): Use it.
12159 (sql-oracle-completion-types): New variable.
12160 (sql-oracle-completion-object, sql-sqlite-completion-object)
12161 (sql-postgres-completion-object): New functions.
12163 2011-07-06 Glenn Morris <rgm@gnu.org>
12165 * window.el (pop-to-buffer): Doc fix.
12167 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
12169 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12171 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
12173 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
12175 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
12177 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
12179 * button.el (button): Inherit from link face. Suggested by Dan
12182 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12184 * progmodes/gdb-mi.el: Fit in 80 columns.
12185 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12188 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12189 if imenu is simply not configured (bug#8941).
12191 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12193 * allout.el (allout-post-undo-hook): New allout outline-change
12194 event hook to signal undo activity.
12195 (allout-post-command-business): Run allout-post-undo-hook if an
12196 undo just occurred.
12197 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12198 * allout-widgets.el (allout-widgets-after-undo-function):
12199 Ensure the integrity of the current item's decoration after it has been
12200 in the vicinity of an undo.
12201 (allout-widgets-mode): Include allout-widgets-after-undo-function
12202 on the new allout-post-undo-hook.
12204 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12206 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12207 Let define-derived-mode define it.
12208 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12209 cycles of abbrev-table inheritance (bug#8998).
12211 2011-07-05 Roland Winkler <winkler@gnu.org>
12213 * textmodes/bibtex.el: Add support for biblatex.
12214 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12215 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12216 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12217 (bibtex-entry-alist, bibtex-field-alist): New variables.
12218 (bibtex-entry-field-alist): Obsolete alias for
12219 bibtex-BibTeX-entry-alist.
12220 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12221 (bibtex-set-dialect): New command.
12222 (bibtex-entry-type, bibtex-entry-head)
12223 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12224 Bind via bibtex-set-dialect.
12225 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12226 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12227 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12228 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12229 Define via bibtex-set-dialect.
12230 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12231 Obey bibtex-no-opt-remove-re.
12232 (bibtex-vec-push, bibtex-vec-incr): New functions.
12233 (bibtex-format-entry, bibtex-field-list)
12234 (bibtex-print-help-message, bibtex-validate)
12235 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12237 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12239 * progmodes/compile.el (compilation-goto-locus):
12240 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12241 * bs.el (bs-cycle-next, bs-cycle-previous):
12242 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12243 * bindings.el (mode-line-other-buffer):
12244 * autoinsert.el (auto-insert):
12245 * arc-mode.el (archive-extract):
12246 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12248 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12250 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12251 Fix check of `emacs-lock-unlockable-modes'.
12252 Coerce true values of `emacs-lock--try-unlocking' to t.
12254 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12256 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12257 * emacs-lock.el: New file.
12259 2011-07-05 Julien Danjou <julien@danjou.info>
12261 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12262 than `boundp' to check if face is set.
12264 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12266 * register.el (registerv-make):
12267 * window.el (window-min-height): Fix typos in docstrings.
12269 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12271 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
12274 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12276 * server.el (server-execute): Catch quit and call
12277 `server-return-error' to pass the error back to emacsclient and
12278 close the connection (bug#8942).
12280 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12282 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12283 insecure exception for current topic. Also note that auto-saves
12284 are handled differently.
12286 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
12287 State variables for tracking auto-save inhibition situation.
12289 (allout-write-contents-hook-handler): Rename from
12290 'allout-write-file-hook-handler', and describe how it depends on
12291 write-contents-functions sensitivity to non-nil value to prevent
12294 (allout-auto-save-hook-handler): Remove. auto-save does not check
12295 this in individual buffers, only in the starting buffer, so this
12296 is not the right way for us to inhibit auto-save in a buffer
12297 according to its condition.
12299 (allout-mode): Use new allout-write-contents-hook-handler, and
12300 only with write-contents-functions. Remove auto-save provisions -
12301 they're implemented elsewhere.
12303 (allout-before-change-handler): If undo is in progress, note that
12304 for attention of allout-post-command-business.
12306 (allout-post-command-business): If the command we're following was
12307 an undo, check for change in the status of encrypted items and
12308 adjust auto-save inhibitions accordingly.
12310 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12311 according to whether there are or aren't any plain-text topics
12312 pending encryption.
12314 (allout-inhibit-auto-save-info-for-decryption):
12315 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12316 if there are plain-text topics pending encryption.
12318 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12319 buffer-saved-size and some allout state to not inhibit auto-saves
12320 if there are no longer any plain-text topics pending encryption.
12322 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12323 No longer provide for exemption of the current topic.
12325 2011-07-04 Juri Linkov <juri@jurta.org>
12327 Add 7z operations to delete and save changed members (bug#8968).
12328 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12330 (archive-7z-write-file-member): New function.
12331 (archive-7z-summarize): Fix the number of dashes in the
12334 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12336 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12339 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
12341 * bindings.el: Ignore next-buffer and previous-buffer in
12342 minibuffer-local-map.
12344 * font-lock.el (font-lock-builtin-face): Change light background
12345 color to dark slate blue (Bug#6693).
12347 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12349 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12351 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12353 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12354 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12355 Add switch-to-buffer.
12357 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12359 * isearch.el (isearch-search-fun-function): Clarify further the
12360 meaning of the function returned.
12362 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
12364 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12366 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12367 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12369 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12370 `tramp-default-remote-path' does not exist.
12371 (tramp-send-command-and-read): New optional argument NOERROR.
12372 (tramp-open-connection-setup-interactive-shell)
12373 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12374 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12375 (tramp-process-sentinel): Flush also process' connection property.
12376 (tramp-sh-handle-start-file-process): Do not set process
12377 sentinel. It is done now ...
12378 (tramp-maybe-open-connection): ... here. (Bug#8929)
12380 2011-07-04 MON KEY <monkey@sandpframing.com>
12382 * play/animate.el (animate-string): Doc fixes and allow changing
12383 the buffer name (bug#5417).
12385 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12387 * play/animate.el (animation-buffer-name): Rename from *animate*.
12389 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12391 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12392 This is simpler and helps future-proof the code.
12393 (timer-until): Use time-subtract and float-time.
12394 (timer--time-less-p): Use time-less-p.
12396 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12398 * type-break.el (timep): Use the value of `float-time' to avoid a
12399 byte-compiler warning.
12401 * server.el (server-eval-and-print): Return any result, even nil.
12403 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12405 * type-break.el: Accept time formats that the builtins accept.
12406 (timep, type-break-time-difference): Accept any format that
12407 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12408 This is simpler and helps future-proof the code.
12409 (type-break-time-difference): Round rather than ignoring
12410 subseconds components.
12412 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12414 * info.el (Info-apropos-matches): Make non-interactive, since it
12415 doesn't seem to do anything useful as a command (bug#8829).
12417 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
12419 * frame.el (frame-background-mode, frame-set-background-mode):
12420 Move from faces.el.
12421 (frame-default-terminal-background): New function.
12423 * custom.el (custom-push-theme): Don't record faces in `changed'
12424 theme; this doesn't work correctly for per-frame face settings.
12425 (disable-theme): Use face-set-after-frame-default to reset faces.
12426 (custom--frame-color-default): New function.
12428 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12430 * dired.el (dired-flagging-regexp): Remove unused variable
12433 2011-03-29 Kevin Ryde <user42@zip.com.au>
12435 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12436 `perl-Test2' extend to match possible "fail #N" rep count
12439 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12441 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12442 `smtpmail-via-smtp' now returns the error instead of nil.
12444 * isearch.el (isearch-search-fun-function): Clarify the doc string
12447 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
12449 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12450 unnecessary spaces (bug#8987).
12452 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12454 * net/network-stream.el (open-network-stream): Use the
12455 :end-of-capability command thoughout.
12457 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12459 * net/network-stream.el (open-network-stream): Add the
12460 :end-of-capability command parameter, used by pop3.el.
12462 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12464 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12466 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12467 for list)" (bug#6475).
12469 * files.el (file-expand-wildcards): Ignore non-readable
12470 sub-directories while trying to find matches instead of signaling
12471 an error (bug#6297).
12473 * man.el (Man-reference-regexp): Allow matching possible
12474 word-wrapped references (bug#6289).
12476 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12477 for consistency with the other vc buffers (bug#6197).
12478 (vc-checkin): Ditto.
12480 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12482 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12484 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12486 * custom.el (defcustom): Clarify that :set is only used in the
12487 Customize user interface (bug#6089).
12489 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12490 associated with a file, refuse to run instead of erroring out
12493 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12494 the doc string, since it appears that using `fill-column' always
12495 controls the width (bug#7845).
12497 * simple.el (shell-command-on-region): Say where the error output
12498 went if `shell-command-default-error-buffer' is set (bug#6857).
12500 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12502 * allout.el (allout-yank-processing): Adjust cursor position for
12503 backwards-deleted space.
12505 (allout-rebullet-heading): Register changes with
12506 allout-exposure-changed-hook, so the modified topic is properly
12509 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12511 * minibuffer.el (completion-in-region): Document PREDICATE
12514 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12515 of keyword/argument pairs (bug#6904).
12517 * replace.el (multi-occur):
12518 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
12520 2011-07-02 Drew Adams <drew.adams@oracle.com>
12522 * dired.el (dired-mark-if): Make the message about whether it's
12523 marking or unmarking clearer (bug#8523).
12525 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12527 * disp-table.el (display-table-print-array): New function.
12528 (describe-display-table): Use it to print the vectors more pretty
12531 2011-07-02 Martin Rudalics <rudalics@gmx.at>
12533 * window.el (window-state-get-1): Don't assign clone numbers.
12534 Add clone-of item to list of window parameters.
12535 (window-state-put-2): Don't process clone numbers.
12536 (display-buffer-alist): Fix doc-string.
12538 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12540 * subr.el (remq): Don't allocate if it's not needed.
12541 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12542 (keymap--merge-bindings): New functions.
12543 (keymap-canonicalize): Use them to refine the canonicalization.
12544 * minibuffer.el (minibuffer-local-completion-map)
12545 (minibuffer-local-must-match-map): Move initialization from C.
12546 (minibuffer-local-filename-completion-map): Move initialization from C;
12547 don't inherit from anything here.
12548 (minibuffer-local-filename-must-match-map): Make obsolete.
12549 (completing-read-default): Use make-composed-keymap to combine
12550 minibuffer-local-filename-completion-map with either
12551 minibuffer-local-must-match-map or
12552 minibuffer-local-filename-completion-map.
12554 2011-07-01 Glenn Morris <rgm@gnu.org>
12556 * type-break.el (type-break-time-sum): Use dolist.
12558 * textmodes/flyspell.el (flyspell-word-search-backward):
12559 Replace CL function.
12561 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12563 * mouse.el (mouse--strip-first-event): New function.
12564 (function-key-map): Use it to map fringe clicks to normal clicks
12567 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12568 (vc-bzr-revision-completion-table): Add support for annotate and date.
12570 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12571 inherit from parent.
12573 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12575 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
12576 (dired-show-file-type): Doc fixup (bug#8818).
12578 * dired.el (dired-mode): Fix up the doc string as suggested by
12579 Drew Adams (bug#8817).
12581 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12582 cookie, since the manual says that it should be possible to add
12583 this function to `find-file-hook' (bug#8709).
12585 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12587 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12588 here. Noted Ted Zlatanov as the maintainer.
12589 (cfengine-common-settings, cfengine-common-syntax): New functions
12590 to set up common things between `cfengine-mode' and
12592 (cfengine3-mode): New mode.
12593 (cfengine3-defuns cfengine3-defuns-regex
12594 (cfengine3-class-selector-regex cfengine3-category-regex)
12595 (cfengine3-vartypes cfengine3-font-lock-keywords)
12596 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
12597 (cfengine3-indent-line): Add from cfengine3.el.
12599 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
12601 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12603 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12605 2011-07-01 Martin Rudalics <rudalics@gmx.at>
12607 * window.el (same-window-buffer-names, same-window-regexps)
12608 (same-window-p, special-display-frame-alist)
12609 (special-display-popup-frame, special-display-function)
12610 (special-display-buffer-names, special-display-regexps)
12611 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12612 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12613 (split-window-preferred-function, split-height-threshold)
12614 (split-width-threshold, even-window-heights)
12615 (display-buffer-mark-dedicated, window-splittable-p)
12616 (split-window-sensibly, window-safely-shrinkable-p):
12618 (display-buffer): Don't spread args with function specifier
12619 because special-display-popup-frame won't like it.
12621 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12623 Time-stamp simplifications and fixes.
12624 These improve accuracy slightly, and future-proof the code
12625 against some potential changes to current-time format.
12627 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12628 by using time-since and float-time.
12630 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12631 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12632 + NNN microseconds".
12634 * type-break.el (type-break-time-sum): Rewrite using time-add.
12636 * play/hanoi.el (hanoi-current-time-float): Remove.
12637 All uses replaced by float-time.
12639 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12640 This yields a more-accurate answer.
12641 (rng-time-to-float): Remove; no longer needed.
12643 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12645 * calendar/timeclock.el (timeclock-seconds-to-time):
12646 Defalias to seconds-to-time, since they're the same thing.
12648 * emacs-lisp/elp.el (elp-elapsed-time):
12649 * emacs-lisp/benchmark.el (benchmark-elapse):
12650 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12652 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12654 * window.el (bury-buffer): Don't iconify the only frame.
12655 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12656 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12658 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
12660 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12661 Add mouse-yank-primary.
12663 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12665 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12667 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12669 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12670 (find-library-name): Use it to find relative load names when provided
12671 absolute file name (bug#8803).
12673 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12675 * textmodes/flyspell.el (flyspell-word): Consider words that
12676 differ only in case as potential doublons (bug#5687).
12678 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12679 Remove two rather uninteresting debugging-like messages to make
12680 debbugs.el more silent.
12682 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12683 a password-like phrase.
12685 2011-06-30 Masatake YAMATO <yamato@redhat.com>
12687 * progmodes/cc-guess.el: New file.
12689 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
12691 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12692 derived from `c-basic-common-init'.
12694 * progmodes/cc-mode.el (top-level): Require cc-guess.
12695 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12697 2011-06-30 Lawrence Mitchell <wence@gmx.li>
12699 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12701 2011-06-30 Alan Mackenzie <acm@muc.de>
12703 * progmodes/cc-engine.el (c-guess-continued-construct):
12704 Correct the handling of template-args-cont, particularly for when font
12705 lock is disabled. Name this case as "CASE G".
12707 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12709 * allout.el (allout-yank-processing): Fix injection of extra space
12710 between bullet and non-whitespace character in first topic when
12711 pasting, ensuring that the actual spacing in the pasted topic
12712 following the bullet char is preserved. This extra space was
12713 causing pasted encrypted topics to get a decrypted status even
12714 when the content was actually still encrypted. Now the decryption
12715 status from before the paste is preserved.
12717 (allout-flag-region): Set all allout overlays so they evaporate
12718 when reduced to zero length (evanescent), to prevent overlay
12721 2011-06-30 Glenn Morris <rgm@gnu.org>
12723 * w32-fns.el (w32-charset-info-alist): Declare.
12725 * find-dired.el (find-grep-options): Simplify.
12727 * term/ns-win.el (ns-set-resource): Declare.
12729 * ses.el (row, col): Declare dynamic variables honestly.
12731 * textmodes/reftex-parse.el (index-tags): Declare.
12733 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
12735 * cus-edit.el (customize-push-and-save): New function.
12737 * files.el (hack-local-variables-confirm): Use it.
12739 * custom.el (load-theme): New arg NO-CONFIRM.
12740 Use customize-push-and-save (Bug#8720).
12741 (custom-enabled-themes): Doc fix.
12743 * cus-theme.el (customize-create-theme)
12744 (custom-theme-merge-theme): Callers to load-theme changed.
12746 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12748 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12749 short URLs have at least one dot in them (bug #7614).
12751 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12752 nil, because using a pty is apparently too slow (bug #895).
12754 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12756 * mail/sendmail.el (sendmail-query-once): New function.
12757 (sendmail-query-once-function): New variable.
12759 2011-06-29 Glenn Morris <rgm@gnu.org>
12761 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12763 * ses.el (top-level): Require cl when compiling.
12764 (ses-set-localvars): Fix error statement.
12765 Call it at compile time to silence a storm of warnings.
12767 2011-06-29 Martin Rudalics <rudalics@gmx.at>
12769 * window.el (normalize-live-buffer): Rename to
12770 window-normalize-buffer.
12771 (normalize-live-frame): Rename to window-normalize-frame.
12772 (normalize-any-window): Rename to window-normalize-any-window.
12773 (normalize-live-window): Rename to window-normalize-live-window.
12774 (make-window-atom): Rename to window-make-atom.
12775 (window-resize-reset): Rename to window--resize-reset.
12776 (window-resize-reset-1): Rename to window--resize-reset-1.
12777 (resize-mini-window): Rename to window--resize-mini-window.
12778 (resize-subwindows-skip-p): Rename to
12779 window--resize-subwindows-skip-p.
12780 (resize-subwindows-normal): Rename to
12781 window--resize-subwindows-normal.
12782 (resize-subwindows): Rename to window--resize-subwindows.
12783 (resize-other-windows): Rename to window--resize-siblings.
12784 (resize-this-window): Rename to window--resize-this-window.
12785 (resize-root-window): Rename to window--resize-root-window.
12786 (resize-root-window-vertically): Rename to
12787 window--resize-root-window-vertically.
12788 (normalize-buffer-to-display): Rename to
12789 window-normalize-buffer-to-display.
12790 (normalize-buffer-to-switch-to): Rename to
12791 window-normalize-buffer-to-switch-to.
12792 Correspondingly update all callers of the functions listed
12794 (display-buffer-alist, display-buffer-normalize-arguments)
12795 (display-buffer-normalize-options, display-buffer)
12796 (display-buffer-alist-set): Use "function" instead of
12799 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
12801 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12802 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12803 debbugs.gnu.org. Mention acknowledgment email.
12805 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12807 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12808 buffer multibyteness, since it shouldn't matter.
12810 2011-06-28 Martin Rudalics <rudalics@gmx.at>
12812 * window.el (display-buffer-in-side-window): Handle dedicated
12813 windows as in display-buffer-reuse-window.
12814 (display-buffer-normalize-alist): Use value of override
12816 (display-buffer-normalize-specifiers): Use value of
12817 other-window-means-other-frame specifier.
12818 (display-buffer-alist): Rewrite some texts in widgets.
12819 (display-buffer): Spread arguments when calling function
12820 specified by fun-with-args.
12822 2011-06-28 Deniz Dogan <deniz@dogan.se>
12824 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12827 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12828 selectors (Bug#5732).
12829 (css-proprietary-nmstart-re): Use `regexp-opt'.
12831 2011-06-27 Jari Aalto <jari.aalto@cante.net>
12833 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12834 (eshell-ls-date-format): New defcustom.
12835 (eshell-ls-file): Use it.
12837 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12839 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12841 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12843 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12844 (ange-ftp-make-tmp-name): New arg.
12845 (ange-ftp-file-local-copy): Use it.
12847 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
12849 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12850 no-conversion (Bug#8870).
12852 2011-06-27 Martin Rudalics <rudalics@gmx.at>
12854 * window.el (window-right, window-left, window-child)
12855 (window-child-count, window-last-child)
12856 (window-iso-combination-p, walk-window-tree-1)
12857 (window-atom-check-1, window-tree-1, delete-window)
12858 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12859 new naming conventions - window-vchild, window-hchild,
12860 window-next and window-prev are now called window-top-child,
12861 window-left-child, window-next-sibling and window-prev-sibling
12863 (resize-window-reset): Rename to window-resize-reset.
12864 (resize-window-reset-1): Rename to window-resize-reset-1.
12865 (resize-window): Rename to window-resize.
12866 (window-min-height, window-min-width)
12867 (resize-mini-window, resize-this-window, resize-root-window)
12868 (resize-root-window-vertically, adjust-window-trailing-edge)
12869 (enlarge-window, shrink-window, maximize-window)
12870 (minimize-window, delete-window, quit-restore-window)
12871 (split-window, balance-windows, balance-windows-area-adjust)
12872 (balance-windows-area, window-state-put-2)
12873 (display-buffer-even-window-sizes, display-buffer-set-height)
12874 (display-buffer-set-width, set-window-text-height)
12875 (fit-window-to-buffer): Rename all "resize-window" prefixed
12876 calls to use the "window-resize" prefix convention.
12877 (display-buffer-alist): Fix symbol for label specifier.
12878 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12879 corresponding specifier.
12880 Reported by Juanma Barranquero <lekktu@gmail.com>.
12882 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12884 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12886 (ses-call-printer): Does not pass an empty string to formatter when the
12887 cell is empty to keep from barking printer Calc math-format-value.
12889 2011-06-27 Richard Stallman <rms@gnu.org>
12891 * battery.el (battery-mode-line-limit): New variable.
12892 (battery-update): Handle it.
12894 * mail/rmailmm.el (rmail-mime-process-multipart):
12895 Handle truncated messages.
12897 2011-06-27 Glenn Morris <rgm@gnu.org>
12899 * progmodes/flymake.el (flymake-err-line-patterns):
12900 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12902 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12904 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
12905 (ses--clean-!, ses--clean-_): New functions.
12906 (ses-range): Add configurability of readout order, and conversion
12909 * ses.el (ses-repair-cell-reference-all): New function.
12910 (ses-cell-symbol): Set macro as safe, so that it can be used in
12913 * ses.el: Update cycle detection algorithm.
12914 (ses-localvars): Add ses--Dijkstra-attempt-nb and
12915 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
12916 (ses-set-localvars): New function.
12917 (ses-make-cell): Add property-list as a cell element.
12918 (ses-cell-property-get-fun, ses-cell-property-get)
12919 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
12920 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12922 (ses-cell-property-set, ses-cell-property-pop)
12923 (ses-cell-property-get-handle): New macro.
12924 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12925 New aliases, used for code readability.
12926 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12928 (ses-self-reference-early-detection): New defcustom.
12929 (ses-formula-references): Robustify against self-referring cells.
12930 (ses-mode): Use ses-set-localvars.
12931 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12932 before lauching the update processing.
12933 (ses-initialize-Dijkstra-attempt): New function.
12934 (ses-recalculate-cell): Update for cycle detection based on
12935 Dijkstra algorithm.
12937 * ses.el: Fix commenting and indenting convention.
12939 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12941 * bs.el (bs-cycle-next): Complete last change.
12943 2011-06-27 Drew Adams <drew.adams@oracle.com>
12945 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12947 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12949 * net/network-stream.el (network-stream-open-starttls):
12950 Don't re-get capabilities unless we've reestablished connection.
12951 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12953 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12954 to binary to possibly avoid line encoding issues on Windows (among
12957 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12959 * net/network-stream.el (open-network-stream): Return an :error
12960 saying what the problem was, if possible.
12962 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12965 * net/network-stream.el (network-stream-open-starttls): If we
12966 wanted to use STARTTLS, and the server offered it, but we weren't
12967 able to because we had no STARTTLS support, then close the connection.
12968 (open-network-stream): Return an :error element, if present.
12970 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
12972 * hl-line.el (hl-line-sticky-flag): Doc fix.
12973 (global-hl-line-sticky-flag): New option (Bug#8323).
12974 (global-hl-line-highlight): Obey it.
12976 * vc/vc.el (vc-revert-show-diff): Default to t.
12978 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12980 * allout-widgets.el (allout-widgets-post-command-business):
12981 Stop decorating intermediate isearch matches. They're not being
12982 undecorated when an isearch is continued past, and isearch
12983 automatically collapses them. This leads to "widget leaks", where
12984 decorated items accumulate in collapsed areas. Lines with lots of
12985 hidden widgets can slow down cursor travel, substantially.
12986 Too much complicated machinery would be needed to ensure undecoration,
12987 so we're doing without this nicety.
12989 (allout-widgets-tally-string): Don't try to do a hash-table-count
12990 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12991 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12992 *Messages* when allout-widgets-maintain-tally is t.
12994 2011-06-26 Martin Rudalics <rudalics@gmx.at>
12996 * window.el (display-buffer-normalize-argument): Rename to
12997 display-buffer-normalize-arguments. Handle special meaning of
12998 LABEL argument. Respect special-display-function when popping up
12999 a new frame. Fix code searching for a window showing the buffer
13001 (display-buffer-normalize-specifiers):
13002 Call display-buffer-normalize-arguments.
13003 (display-buffer-in-window): Don't undedicate the window if its
13004 buffer remains the same.
13005 Reported by Drew Adams <drew.adams@oracle.com>.
13006 (display-buffer-alist): Add choice for same-window macro
13008 (display-buffer): Mention special meaning of LABEL argument in
13009 doc-string. Fix quoting. Don't pop up a new frame even as
13012 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
13014 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13015 avoid deleting the current window in some cases (bug#8911).
13017 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13019 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13022 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13024 * net/network-stream.el (network-stream-open-starttls):
13025 Use built-in TLS support if `gnutls-available-p' is true.
13026 (network-stream-open-tls): Ditto.
13028 2011-06-26 Leo Liu <sdl.web@gmail.com>
13030 * register.el (registerv): New struct.
13031 (registerv-make): New function.
13032 (jump-to-register, describe-register-1, insert-register):
13033 Support the jump-func, print-func and insert-func slot of a registerv
13036 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
13038 * vc/vc.el (vc-revert-show-diff): New defcustom.
13039 (vc-diff-internal): New arg specifying diff buffer.
13040 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13041 reuse an existing *vc-diff* buffer (Bug#8927).
13043 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13045 2011-06-26 Glenn Morris <rgm@gnu.org>
13047 * progmodes/f90.el (f90-critical-indent): New option.
13048 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13049 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13050 (f90-mode): Doc fix.
13051 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13052 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13053 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13054 (f90-match-end): Handle block, critical.
13056 2011-06-25 Glenn Morris <rgm@gnu.org>
13058 * calendar/diary-lib.el (diary-included-files): Doc fix.
13059 (diary-include-files): New function, extracted from
13060 diary-include-other-diary-files and diary-mark-included-diary-files.
13061 (diary-include-other-diary-files, diary-mark-included-diary-files):
13062 Just call diary-include-files.
13063 (diary-mark-entries): Reset diary-included-files on first call.
13065 * calendar/diary-lib.el (diary-mark-entries)
13066 (diary-mark-included-diary-files):
13067 Visit included diary-files in temp buffers.
13069 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13070 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13071 (f90-start-block-re, f90-imenu-generic-expression)
13072 (f90-looking-at-program-block-start, f90-no-block-limit):
13073 Add support for submodules.
13075 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13076 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
13078 2011-06-25 Eli Zaretskii <eliz@gnu.org>
13080 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13081 buffer-file-type before setting its value, to avoid disastrous
13082 global effects on decoding files for DOS/Windows systems. (Bug#8780)
13084 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
13086 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13088 * ses.el (ses-unload-function):
13089 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13091 * proced.el (proced-unload-function):
13092 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13094 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13096 * server.el (server-create-window-system-frame): Add parameters arg.
13097 (server-process-filter): Doc fix. Handle frame-parameters.
13099 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
13101 Fix bug#8730, bug#8781.
13103 * loadhist.el (unload--set-major-mode): New function.
13104 (unload-feature): Use it.
13106 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13107 (python-unload-function): New function.
13109 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13111 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13113 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13115 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13116 the candidates list.
13118 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
13120 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13122 2011-06-23 Richard Stallman <rms@gnu.org>
13124 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13125 (rmail-variables): Set next-error-move-function.
13126 (rmail-what-message): Take argument POS.
13127 (rmail-next-error-move): New function.
13129 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13131 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13132 messages for adjacent non-terminals.
13134 2011-06-23 Richard Stallman <rms@gnu.org>
13136 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
13137 (rmail-show-message-1): Preserve buffer modified flag.
13138 (rmail-start-mail): Don't specify use of rmail-mail-return;
13139 that's done by mail-bury now.
13140 (rmail-mail-return): Handle arg NEWBUF.
13142 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
13144 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13147 2011-06-23 Martin Rudalics <rudalics@gmx.at>
13149 * window.el (get-lru-window, get-mru-window)
13150 (get-largest-window): Never return a minibuffer window.
13151 (display-buffer-pop-up-window): Fix a bug that could lead to
13152 reusing the minibuffer window.
13153 (display-buffer): Pass original specifier argument to
13154 display-buffer-function instead of the normalized one.
13155 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13157 2011-06-22 Leo Liu <sdl.web@gmail.com>
13159 * minibuffer.el (completing-read-function)
13160 (completing-read-default): Move from minibuf.c
13162 2011-06-22 Richard Stallman <rms@gnu.org>
13164 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13165 to Rmail even if not started by a special Rmail command.
13167 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13168 Copy the buffer currently showing just one message.
13170 2011-06-22 Roland Winkler <winkler@gnu.org>
13172 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13173 (bibtex-clean-entry): First delete the old key so that a
13174 customized algorithm for generating the new key does not get
13175 confused by the old key.
13176 (bibtex-url): Obey regexp of first step.
13177 (bibtex-search-entries): Do not use add-to-list with local
13180 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13182 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13183 stored a user name, then query for the password first, instead of
13184 waiting for SMTP to give an error message and the trying again.
13186 2011-06-22 Lawrence Mitchell <wence@gmx.li>
13188 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13189 BUFFER in call-process.
13191 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13193 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13195 (smtpmail-try-auth-methods): Require user name and password from
13198 2011-06-22 Martin Rudalics <rudalics@gmx.at>
13200 * window.el (display-buffer-default-specifiers)
13201 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13202 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
13203 (split-window): Normalize SIDE argument (Bug#8916).
13205 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13206 (special-display-frame-alist, special-display-popup-frame):
13207 Remove duplicate declarations. These are now in window.el.
13209 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13211 * mail/smtpmail.el (smtpmail-via-smtp):
13212 Set :use-starttls-if-possible so that we always use STARTTLS if the
13213 server supports it. SMTP servers that support STARTTLS commonly
13216 * net/network-stream.el (network-stream-open-starttls): Support
13217 upgrading to STARTTLS always, even if we don't have built-in support.
13218 (open-network-stream): Add the :always-query-capabilities keyword.
13220 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13221 upgrades with `open-network-stream', and rely solely on
13222 auth-source for all credentials. Big changes throughout the file,
13224 (smtpmail-auth-credentials): Remove.
13225 (smtpmail-starttls-credentials): Remove.
13226 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13229 * net/network-stream.el (network-stream-open-starttls):
13230 Provide support for client certificates both for external and built-in
13232 (auth-source): Require.
13233 (open-network-stream): Document the :client-certificate keyword.
13234 (network-stream-certificate): Change cert-cert to cert and
13237 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
13239 * net/tramp-cache.el (top): Don't load the persistency file when
13240 "emacs -Q" has been called.
13242 2011-06-21 Tim Harper <timcharper@gmail.com>
13244 * term/ns-win.el (ns-initialize-window-system):
13245 Set application-specific `ApplePressAndHoldEnabled' system
13246 resource to NO as it is not yet supported by the NS port.
13248 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
13250 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13251 (list-dynamic-libraries): ...not here.
13253 2011-06-21 Leo Liu <sdl.web@gmail.com>
13255 * subr.el (sha1): Implement sha1 using secure-hash.
13257 2011-06-21 Martin Rudalics <rudalics@gmx.at>
13259 * window.el (display-buffer-alist): In default value do not
13260 enforce searching a window on any but the selected frame.
13261 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13262 (display-buffer-select-window): Remove function.
13263 (display-buffer-in-window): When a window on another frame gets
13264 reused, do not select it any more but just raise its frame if
13265 necessary (Bug#8851) and (Bug#8856).
13266 (display-buffer-normalize-options): Handle pop-up-frames related
13267 options more faithfully.
13268 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13269 window if it is on another frame.
13270 (display-buffer-alist, display-buffer-default-specifiers):
13271 Don't make new frame unsplittable by default.
13272 (display-buffer-normalize-argument): Fix doc-string typo and use
13273 'same-frame-other-window instead of 'other-window when associating
13274 with display-buffer-macro-specifiers.
13276 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13278 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13280 (5x5-mode-map, 5x5-mode-menu): Bind them.
13281 (5x5-draw-grid): Tweak the solver's rendering.
13283 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13285 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13286 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13288 2011-06-21 Drew Adams <drew.adams@oracle.com>
13290 * menu-bar.el: Use function variable instead of switch-to-buffer.
13291 (menu-bar-select-buffer-function): New variable.
13292 (menu-bar-update-buffers): Use it (bug#8876).
13294 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13296 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13299 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13301 * x-dnd.el (x-dnd-version-from-flags)
13302 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13303 and long as number (Bug#8899).
13304 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13306 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13308 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
13309 (completion-try-completion, completion-all-completions): Compute the
13310 metadata argument if it's missing; make it optional (bug#8795).
13312 * wid-edit.el: Use lex-bind and move towards completion-at-point.
13313 (widget-complete): Use new :completion-function property.
13314 (widget-completions-at-point): New function.
13315 (default): Use :completion-function instead of :complete.
13316 (widget-default-completions): Rename from widget-default-complete;
13318 (widget-string-complete, widget-file-complete, widget-color-complete):
13320 (file, symbol, function, variable, coding-system, color):
13321 * international/mule-cmds.el (default-input-method, charset)
13322 (language-info-custom-alist):
13323 * cus-edit.el (face): Use new property :completions.
13325 * progmodes/pascal.el (pascal-completions-at-point): New function.
13326 (pascal-mode): Use it.
13327 (pascal-mode-map): Use completion-at-point.
13328 (pascal-toggle-completions): Make obsolete.
13329 (pascal-complete-word, pascal-show-completions):
13330 * progmodes/octave-mod.el (octave-complete-symbol):
13331 Redefine as obsolete alias.
13332 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13333 Signal absence of completion info for old Octave,
13334 (inferior-octave-complete): Redefine as obsolete alias.
13335 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13336 (meta-completions-at-point): Rename from meta-complete-symbol and
13337 adapt it for use on completion-at-point-functions.
13338 (meta-common-mode): Use it.
13339 (meta-looking-at-backward, meta-match-buffer): Remove.
13340 (meta-complete-symbol): Redefine as obsolete alias.
13341 (meta-common-mode-map): Use completion-at-point.
13342 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13343 (makefile-mode-map): Use completion-at-point.
13344 (makefile-completions-at-point): Rename from makefile-complete and
13345 adapt it for use on completion-at-point-functions.
13346 (makefile-mode): Use it.
13347 (makefile-complete): Redefine as obsolete alias.
13349 2011-06-20 Deniz Dogan <deniz@dogan.se>
13351 * net/rcirc.el: Delete trailing whitespaces once and for all.
13353 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13355 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13357 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
13359 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13361 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13363 2011-06-19 Martin Rudalics <rudalics@gmx.at>
13365 * window.el (display-buffer-other-window-means-other-frame):
13366 Call display-buffer-normalize-alist.
13367 (display-buffer-normalize-specifiers-1): Rename to
13368 display-buffer-normalize-argument. New argument other-frame.
13370 (display-buffer-normalize-specifiers-2): Rename to
13371 display-buffer-normalize-options.
13372 (display-buffer-normalize-alist-1): New function.
13373 (display-buffer-normalize-specifiers-3): Rename to
13374 display-buffer-normalize-alist.
13375 Call display-buffer-normalize-alist-1.
13376 (display-buffer-normalize-options-inhibit): New variable.
13377 (display-buffer-normalize-specifiers): Rewrite calling
13378 display-buffer-normalize-alist,
13379 display-buffer-normalize-argument, and
13380 display-buffer-normalize-options. Don't call the latter if
13381 display-buffer-normalize-options-inhibit is non-nil.
13382 (frame-auto-delete): New option.
13383 (window-deletable-p): Use frame-auto-delete.
13384 (window-list-no-nils, window-state-ignored-parameters)
13385 (window-state-get-1, window-state-get, window-state-put-list)
13386 (window-state-put-1, window-state-put-2, window-state-put):
13388 (display-buffer-normalize-options): Move special-display-p group
13389 after pop-up-frame group (Bug#8851) and (Bug#8856).
13391 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
13393 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13395 (rx-submatch-n): New function.
13398 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13401 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13403 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13405 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13406 anytime existing face settings are present (Bug#8889).
13408 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13409 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13410 Remove unused argument.
13412 2011-06-18 Martin Rudalics <rudalics@gmx.at>
13414 * window.el (display-buffer-default-specifiers):
13415 Remove pop-up-frame. Add pop-up-window-min-height,
13416 pop-up-window-min-width, and another reuse-window specifier
13417 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
13418 (display-buffer-normalize-specifiers-2):
13419 Handle split-height-threshold and split-width-threshold also when
13420 pop-up-windows is unset. Add a reuse-window specifier for the
13421 case popping up a new window fails.
13422 (special-display-popup-frame): Remove double quoting.
13423 (display-buffer-normalize-specifiers-1): Fix thinko.
13425 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13427 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13428 according to comint-completion-addsuffix.
13430 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13431 (pcomplete-suffix-list): Mark as obsolete.
13432 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13433 pcomplete-seen in the closure.
13434 (pcomplete-comint-setup): Setup completion-at-point as well.
13435 (pcomplete--entries): New function.
13436 (pcomplete--env-regexp): New var.
13437 (pcomplete-entries): Rewrite to work with partial-completion and
13438 without relying on pcomplete-suffix-list.
13439 (pcomplete-pare-list): Remove, unused.
13441 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13443 * window.el (display-buffer-alist): Set pop-up-window-min-height
13444 and pop-up-window-min-width in default value. Reported by
13445 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13446 other-window-means-other-frame.
13447 (display-buffer-macro-specifiers): Comment out entry for
13448 other-window specifier.
13449 (display-buffer-other-window-means-other-frame): New function.
13450 (display-buffer-normalize-specifiers-1): New arguments
13451 buffer-name and label. Treat other-window case specially.
13452 (display-buffer-normalize-specifiers-2): Treat other-window case
13454 (display-buffer-normalize-specifiers-3): New function.
13455 (display-buffer-normalize-specifiers):
13456 Call display-buffer-normalize-specifiers-3.
13458 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13460 * window.el (same-window-p): Fix two typos introduced when
13461 adding with-no-warnings.
13462 (display-buffer-normalize-specifiers-1): Don't check
13463 pop-up-frames for 'unset initialization.
13464 (display-buffer-normalize-specifiers-2): Major rewrite using
13465 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13466 (pop-up-frames, display-buffer-reuse-frames)
13467 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13468 Suggested by David Engster <deng@randomsample.de>.
13469 (even-window-heights): Initialize to 'unset.
13470 (display-buffer-alist-set): Handle new 'unset initializations.
13471 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13474 2011-06-16 Martin Rudalics <rudalics@gmx.at>
13476 * window.el (display-buffer-normalize-specifiers-1):
13477 Respect current value of pop-up-frames for most reasonable values of
13478 second argument of display-buffer (Bug#8865).
13479 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13480 (switch-to-buffer-other-window-same-frame)
13481 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13483 (display-buffer): Don't check noninteractive when calling
13484 display-buffer-pop-up-frame.
13485 (display-buffer-pop-up-frame): Never pop up a frame in
13486 noninteractive mode (Bug#8857).
13487 (enlarge-window, shrink-window): Don't report an error when the
13488 window can't be resized as requested (Bug#8862).
13490 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13492 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13494 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13496 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13498 2011-06-15 Alan Mackenzie <acm@muc.de>
13500 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13501 for declarators, disable knr checking to speed up for normal files.
13502 2: Refactor, replacing a sequence of nested if forms by a cond form.
13504 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13506 * net/network-stream.el (open-network-stream): Add the keyword
13507 :always-query-capabilities for the case where you want to force a
13508 `plain' network connection, but the protocol still requires the
13509 capabilitiy command (i.e., SMTP and EHLO).
13511 * subr.el (process-live-p): Rename from `process-alive-p' for
13512 consistency with other `-live-p' functions.
13514 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13516 * window.el (same-window-buffer-names, same-window-regexps)
13517 (special-display-frame-alist, special-display-popup-frame)
13518 (special-display-function, special-display-buffer-names)
13519 (special-display-regexps, pop-up-frame-alist)
13520 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13521 (pop-up-windows, split-window-preferred-function)
13522 (split-height-threshold, split-width-threshold, even-window-heights)
13523 (display-buffer-mark-dedicated): Don't encourage the use of
13524 display-buffer-alist from Elisp code.
13526 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13528 * progmodes/python.el (python-mode): Derive from prog-mode.
13529 * progmodes/ps-mode.el (ps-mode):
13530 * progmodes/mixal-mode.el (mixal-mode):
13531 * progmodes/cfengine.el (cfengine-mode):
13532 * progmodes/ld-script.el (ld-script-mode): Likewise.
13534 2011-06-15 Martin Rudalics <rudalics@gmx.at>
13536 * window.el (display-buffer-alist): Trim default value to avoid
13537 popping up a new frame (Bug#8857) or reusing an arbitrary window
13539 (display-buffer): Do not fall back on popping up a new frame in
13540 batch mode (Bug#8857).
13542 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
13544 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13545 (custom-theme-summary): New function.
13546 (customize-themes): Use it.
13548 2011-06-13 Glenn Morris <rgm@gnu.org>
13550 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13552 2011-06-13 Martin Rudalics <rudalics@gmx.at>
13554 * help.el (help-window): Remove variable.
13555 (help-window-point-marker, temp-buffer-max-height)
13556 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13557 (help-print-return-message): Don't set help-window.
13558 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13559 (help-window-setup-finish): Remove.
13560 (help-window-display-message, help-window-setup)
13561 (with-help-window): Major rewrite based on new
13562 display-buffer-window variable.
13564 * help-mode.el (help-mode-finish): Remove help-window related
13567 * view.el (view-exits-all-viewing-windows): Remove reference to
13568 view-return-to-alist in doc-string.
13569 (view-return-to-alist): Make obsolete.
13570 (view-buffer): Call pop-to-buffer-same-window and remove
13572 (view-buffer-other-window): Call pop-to-buffer-other-window and
13573 simplify code. Ignore second argument.
13574 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13575 simplify code. Ignore second argument.
13576 (view-return-to-alist-update): Make obsolete.
13577 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13578 Rewrite using quit-restore window parameters.
13579 (view-mode-exit): Rename second argument to EXIT-ONLY.
13580 Rewrite using quit-restore-window.
13581 (View-exit, View-exit-and-edit, View-leave, View-quit)
13582 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13583 appropriate arguments.
13584 (view-end-message): Use quit-restore window parameter.
13586 * window.el (display-buffer-function): Rewrite doc-string.
13587 (display-buffer-window, display-buffer-alist): New variables.
13588 (display-buffer-split-specifiers)
13589 (display-buffer-side-specifiers)
13590 (display-buffer-macro-specifiers): New constants.
13591 (display-buffer-even-window-sizes, display-buffer-set-height)
13592 (display-buffer-set-width, display-buffer-select-window)
13593 (display-buffer-in-window, display-buffer-reuse-window)
13594 (display-buffer-split-window-1, display-buffer-split-window)
13595 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13596 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13597 (display-buffer-in-side-window, normalize-buffer-to-display)
13598 (display-buffer-normalize-specifiers-1)
13599 (display-buffer-normalize-specifiers-2)
13600 (display-buffer-normalize-specifiers, display-buffer-frame):
13602 (display-buffer): Major rewrite.
13603 (display-buffer-other-window, display-buffer-other-frame)
13604 (pop-to-buffer, switch-to-buffer-other-window)
13605 (switch-to-buffer-other-frame): Rewrite.
13606 (display-buffer-same-window, display-buffer-same-frame)
13607 (display-buffer-same-frame-other-window)
13608 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13609 (pop-to-buffer-other-window)
13610 (pop-to-buffer-same-frame-other-window)
13611 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13612 (switch-to-buffer-other-window-same-frame): New functions.
13613 (same-window-p, special-display-p): Rewrite disabling warnings.
13615 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13616 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13618 (same-window-buffer-names, same-window-regexps)
13619 (special-display-frame-alist, special-display-popup-frame)
13620 (special-display-function, special-display-buffer-names)
13621 (special-display-regexps, pop-up-frame-alist)
13622 (pop-up-frame-function, split-window-preferred-function)
13623 (split-height-threshold, split-width-threshold)
13624 (even-window-heights): Make obsolete.
13626 2011-06-12 Glenn Morris <rgm@gnu.org>
13628 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
13629 Misc simplifications.
13631 2011-06-12 Martin Rudalics <rudalics@gmx.at>
13633 * window.el (window-safely-shrinkable-p): Restore function which
13634 was inadvertently removed in change from 2011-06-11. Declare as
13637 * calendar/calendar.el (calendar-generate-window):
13638 Use window-iso-combined-p instead of combination of one-window-p and
13639 window-safely-shrinkable-p.
13641 2011-06-12 Glenn Morris <rgm@gnu.org>
13643 * progmodes/fortran.el (fortran-mode-syntax-table):
13644 * progmodes/f90.el (f90-mode-syntax-table):
13645 Set % to punctuation. (Bug#8820)
13646 (f90-find-tag-default): Remove, no longer needed.
13648 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13650 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13652 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
13654 * image.el (image-animated-p): Return animation delay in seconds.
13655 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13656 (image-animate-timeout): Remove DELAY argument. Don't assume
13657 every subimage has the same delay; get it from image-animated-p.
13658 (image-animate): Caller changed.
13660 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
13662 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13663 to ignored backtrace functions.
13665 2011-06-11 Glenn Morris <rgm@gnu.org>
13667 * calendar/appt.el (appt-disp-window-function): Doc fix.
13668 (appt-check): Handle overlapping appointments. (Bug#8337)
13670 2011-06-11 Martin Rudalics <rudalics@gmx.at>
13672 * window.el (window-tree-1, window-tree): New functions, moving
13673 the latter to window.el.
13674 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13675 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13676 (bw-refresh-edges): Remove.
13677 (balance-windows-1, balance-windows-2): New functions.
13678 (balance-windows): Rewrite in terms of window tree functions,
13679 balance-windows-1 and balance-windows-2.
13680 (bw-adjust-window): Remove.
13681 (balance-windows-area-adjust): New function with functionality of
13682 bw-adjust-window but using resize-window.
13683 (set-window-text-height): Rewrite doc-string.
13684 Use normalize-live-window and resize-window.
13685 (enlarge-window-horizontally, shrink-window-horizontally):
13686 Rename argument to DELTA.
13687 (window-buffer-height): New function.
13688 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13689 Rewrite using new window resize routines.
13690 (kill-buffer-and-window, mouse-autoselect-window-select):
13691 Use ignore-errors instead of condition-case.
13692 (quit-window): Call delete-frame instead of delete-windows-on
13693 for the only buffer on frame.
13695 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13697 * loadup.el (top-level): Load window before files for the sake
13698 of replace-buffer-in-windows.
13700 * files.el (read-buffer-to-switch)
13701 (switch-to-buffer-other-window)
13702 (switch-to-buffer-other-frame, display-buffer-other-frame):
13705 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13706 (previous-buffer): Move to window.el.
13708 * bindings.el (unbury-buffer): Move to window.el.
13710 * window.el (delete-other-windows-vertically): Move after
13711 definition of delete-other-windows.
13712 (other-window, delete-windows-on, replace-buffer-in-windows):
13713 Move here from window.c.
13714 (record-window-buffer, unrecord-window-buffer)
13715 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13716 (switch-to-next-buffer): New functions.
13717 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13718 from simple.el. Call switch-to-next-buffer.
13719 (previous-buffer): Move here from simple.el.
13720 Call switch-to-prev-buffer.
13721 (bury-buffer): Move here from buffer.c. Switch to previous
13722 buffer when window cannot be deleted.
13723 (unbury-buffer): Move here from bindings.el.
13724 (ctl-x-map): Move binding for other-window from window.c to
13726 (read-buffer-to-switch, switch-to-buffer-other-window)
13727 (switch-to-buffer-other-frame): Move here from files.el.
13728 (normalize-buffer-to-switch-to): New functions.
13729 (switch-to-buffer): Move here from buffer.c.
13730 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
13732 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13734 * window.el (window-min-height, window-min-width): Move here
13735 from window.c. Add defcustoms and rewrite doc-strings.
13736 (resize-mini-window, resize-window): New functions.
13737 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13738 Move here from window.c.
13739 (maximize-window, minimize-window): New functions.
13740 (delete-window, delete-other-windows, split-window): Move here
13742 (window-split-min-size): New function.
13743 (split-window-keep-point): Mention split-window-above-each-other
13744 instead of split-window-vertically.
13745 (split-window-above-each-other, split-window-vertically):
13746 Rename split-window-vertically to split-window-above-each-other
13747 and provide defalias for old definition.
13748 (split-window-side-by-side, split-window-horizontally):
13749 Rename split-window-horizontally to split-window-side-by-side
13750 and provide defalias for the old definition.
13751 (ctl-x-map): Move bindings for delete-window,
13752 delete-other-windows and enlarge-window here from window.c.
13753 Replace bindings for split-window-vertically and
13754 split-window-horizontally by bindings for
13755 split-window-above-each-other and split-window-side-by-side.
13757 * cus-start.el (all): Remove entries for window-min-height and
13758 window-min-width. Add entries for window-splits and
13761 2011-06-09 Glenn Morris <rgm@gnu.org>
13763 * calendar/appt.el (appt-mode-line): New function.
13764 (appt-check, appt-disp-window): Use it.
13766 * files.el (hack-one-local-variable-eval-safep):
13767 Allow minor-modes with explicit +/-1 arguments.
13769 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13771 * term/xterm.el (xterm): Add defgroup.
13772 (xterm-extra-capabilities): Add defcustom to supply known xterm
13773 capabilities, skip querying them, or query them (default).
13774 (terminal-init-xterm): Use it.
13775 (terminal-init-xterm-modify-other-keys): New function to set up
13776 modifyOtherKeys support to simplify `terminal-init-xterm'.
13778 2011-06-09 Martin Rudalics <rudalics@gmx.at>
13780 * window.el (resize-window-reset, resize-window-reset-1)
13781 (resize-subwindows-skip-p, resize-subwindows-normal)
13782 (resize-subwindows, resize-other-windows, resize-this-window)
13783 (resize-root-window, resize-root-window-vertically)
13784 (window-deletable-p, window-or-subwindow-p)
13785 (frame-root-window-p): New functions.
13787 2011-06-09 Glenn Morris <rgm@gnu.org>
13789 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13790 (ange-ftp-get-files): Use it.
13792 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13794 * mail/sendmail.el (mail-recover-1, mail-recover):
13795 * files.el (recover-file, recover-session):
13796 Handle dired-listing-switches not being just a single short option.
13798 2011-06-09 Glenn Morris <rgm@gnu.org>
13800 * calendar/appt.el (appt-display-message, appt-disp-window):
13801 Handle lists of appointments.
13803 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13805 * window.el (one-window-p): Move down in code.
13806 Rewrite doc-string.
13807 (window-current-scroll-bars): Rewrite doc-string.
13808 Normalize live window argument.
13809 (walk-windows, get-window-with-predicate, count-windows):
13810 Rewrite doc-string. Use window-list-1.
13811 (window-in-direction-2, window-in-direction, get-mru-window):
13814 2011-06-08 Reuben Thomas <rrt@sc3d.org>
13816 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13817 Doc fix (Bug#8713).
13819 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
13821 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13823 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
13825 * loadhist.el (unload-feature-special-hooks):
13826 Add `comint-output-filter-functions'.
13828 2011-06-08 Ivan Kanis <gnu@kanis.fr>
13830 * calendar/appt.el (appt-check): Move some initializations into the let.
13832 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13834 * window.el (window-height): Defalias to window-total-height.
13835 (window-width): Defalias to window-body-width.
13837 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
13839 * image-mode.el (image-toggle-animation): New command.
13840 (image-mode-map): Bind it to RET.
13841 (image-mode): Update message.
13842 (image-toggle-display-image): Avoid a spurious cache flush.
13843 (image-transform-rotation): Doc fix.
13844 (image-transform-properties): Return quickly in the normal case.
13845 (image-animate-loop): Rename from image-animate-max-time.
13847 * image.el (image-animate-max-time): Move to image-mode.el.
13848 (create-animated-image): Remove unnecessary function.
13849 (image-animate): Rename from image-animate-start. New arg.
13850 (image-animate-stop): Remove; just use image-animate-timer.
13851 (image-animate-timer): Use car-safe.
13852 (image-animate-timeout): Rename argument.
13854 2011-06-07 Martin Rudalics <rudalics@gmx.at>
13856 * window.el (get-lru-window, get-largest-window): Move here from
13857 window.c. Rename first argument to ALL-FRAMES.
13858 Rephrase doc-strings.
13859 (get-buffer-window-list): Rewrite using window-list-1.
13860 Rephrase doc-string.
13861 (window-safe-min-height, window-safe-min-width): New constants.
13862 (window-size-ignore, window-min-size, window-min-size-1)
13863 (window-sizable, window-sizable-p, window-size-fixed-1)
13864 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13865 (window-max-delta-1, window-max-delta, window-resizable)
13866 (window-resizable-p, window-total-height, window-total-width)
13867 (window-body-width): New functions.
13868 (window-full-height-p, window-full-width-p): Rewrite using
13870 (window-body-height): Rewrite using window-body-size.
13872 2011-06-06 Martin Rudalics <rudalics@gmx.at>
13874 * window.el (window-right, window-left, window-child)
13875 (window-child-count, window-last-child, window-any-p)
13876 (normalize-live-buffer, normalize-live-frame)
13877 (normalize-any-window, normalize-live-window)
13878 (window-iso-combination-p, window-iso-combined-p)
13879 (window-iso-combinations)
13880 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13881 (windows-with-parameter, window-with-parameter)
13882 (window-atom-root, make-window-atom, window-atom-check-1)
13883 (window-atom-check, window-side-check, window-check):
13885 (ignore-window-parameters, window-sides, window-sides-vertical)
13886 (window-sides-slots): New variables.
13887 (window-size-fixed): Move down in code. Minor doc-string fix.
13889 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13891 * comint.el (comint-dynamic-complete-as-filename)
13892 (comint-dynamic-complete-filename): Correctly call
13893 completion-in-region.
13895 2011-06-05 Deniz Dogan <deniz@dogan.se>
13897 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13900 2011-06-05 Deniz Dogan <deniz@dogan.se>
13902 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13903 (rcirc): Use it to prompt for encryption.
13905 2011-06-05 Roland Winkler <winkler@gnu.org>
13907 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13908 (bibtex-search-entries): New command bound to C-c C-a.
13909 (bibtex-display-entries): New function.
13911 2011-06-05 Roland Winkler <winkler@gnu.org>
13913 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13914 (bibtex-insert-kill): After yanking insert newline if necessary.
13915 (bibtex-initialize): Call bibtex-string-files-init only once.
13916 (bibtex-mode): Do not call easy-menu-add.
13917 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13918 (bibtex-yank): Set arg properly if nil.
13920 2011-06-05 Roland Winkler <winkler@gnu.org>
13922 * textmodes/bibtex.el (bibtex-search-entry-globally):
13924 (bibtex-search-entry): Use it.
13926 2011-06-05 Roland Winkler <winkler@gnu.org>
13928 * textmodes/bibtex.el (bibtex-entry-format): New option
13930 (bibtex-format-entry, bibtex-reformat): Honor this option.
13931 (bibtex-parse-entry): Return fields in proper order.
13933 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
13935 * doc-view.el (doc-view-remove-if): Move computation of result out
13936 of `dolist' to silence misleading lexical-binding warning.
13938 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
13940 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13941 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13943 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13945 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13948 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13950 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13951 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13952 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13953 (tramp-parse-putty):
13954 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13955 (tramp-completion-function-alist-ssh)
13956 (tramp-completion-function-alist-telnet)
13957 (tramp-completion-function-alist-su)
13958 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13961 * net/tramp-ftp.el:
13963 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13964 load "tramp.el" `tramp-set-completion-function'.
13966 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13968 * shell.el: Require and use pcomplete.
13969 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13970 (shell-completion-vars): Set pcomplete-default-completion-function.
13972 2011-06-04 Deniz Dogan <deniz@dogan.se>
13974 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13977 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13979 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13981 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
13983 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13984 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13985 * vc/log-view.el (log-view-beginning-of-defun):
13986 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13987 (smerge-refine-forward, smerge-refine-chopup-region):
13988 Silence warning for unused `dotimes' counter variables.
13990 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13992 * net/tramp.el (tramp-with-progress-reporter): Rename from
13993 with-progress-reporter. Use `declare'.
13994 * net/tramp-smb.el:
13996 * net/tramp-gvfs.el: Update all uses.
13998 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14000 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14001 buffer isn't killed before making it current.
14003 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14005 Silence various byte-compiler warnings.
14006 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14007 `access-type' and new obsolescence format.
14008 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14010 (byte-compile-check-variable): New `access-type' argument.
14011 Only warn if the access-type is obsolete.
14012 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14013 (byte-compile-variable-set): Adjust callers.
14014 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14015 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14016 setting it as obsolete.
14017 * simple.el (minibuffer-completing-symbol):
14018 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14019 access as obsolete.
14020 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14022 * international/quail.el (quail-mouse-choose-completion): Remove unused
14023 code referring to obsolete var.
14024 (quail-choose-completion-string): Remove.
14025 * server.el (server-clients-with, server-kill-buffer-query-function)
14026 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14027 * proced.el (proced-send-signal):
14028 * emacs-lisp/lisp.el (lisp-complete-symbol):
14029 Replace completion-annotate-function with completion-extra-properties.
14031 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14033 * simple.el (goto-line): Use read-number.
14034 (overriding-map-is-bound): Remove.
14035 (saved-overriding-map): Change default.
14036 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14037 Take the map as argument.
14038 (universal-argument, negative-argument, digit-argument): Use it.
14039 (restore-overriding-map): Adjust.
14040 (do-auto-fill): Use fill-forward-paragraph.
14041 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14043 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14044 (minibuffer-inactive-mode): New major mode.
14045 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14046 the *Messages* buffer" hack.
14047 (mouse-popup-menubar): Don't burp if the event is a normal key.
14049 Miscellaneous tweaks.
14050 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14051 lexical scoping as in subr.el's dolist and dotimes.
14052 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14053 Silence compiler warning.
14054 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14055 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14056 * international/ccl.el (ccl-compile): Trivial simplification.
14057 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14058 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14059 `printflag' argument.
14060 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14061 Purecopy the whole obsolescence data.
14063 2011-06-01 Leo Liu <sdl.web@gmail.com>
14065 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14066 improve doc-string as suggested by Marco Pessotto
14067 <melmothx@gmail.com>.
14068 (rcirc-print): Fix last change.
14070 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14072 * minibuffer.el (complete-with-action): Return nil for the metadata and
14073 boundaries of non-functional tables.
14074 (completion-table-dynamic): Return nil for the metadata.
14075 (completion-table-with-terminator): Add default case, using
14076 complete-with-action.
14077 (completion--metadata): New function.
14078 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14079 to try and avoid pathological performance problems.
14080 (completion--embedded-envvar-table): Return `category' metadata.
14082 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14084 * subr.el (process-alive-p): New tiny convenience function.
14086 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14088 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14089 content but also its previous major mode.
14091 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
14093 * emacs-lisp/debug.el (debug): Restore the previous content of the
14094 *Backtrace* buffer when we exit with C-M-c.
14096 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14098 * minibuffer.el: Add metadata method to completion tables.
14099 (completion-category-overrides): New defcustom.
14100 (completion-metadata, completion--field-metadata)
14101 (completion-metadata-get, completion--styles)
14102 (completion--cycle-threshold): New functions.
14103 (completion-try-completion, completion-all-completions):
14104 Add `metadata' argument to choose completion-styles.
14105 (completion--do-completion): Use metadata to choose cycling.
14106 (completion-all-sorted-completions): Use metadata for sorting.
14107 Remove :completion-cycle-penalty which is not needed any more.
14108 (completion--try-word-completion): Add `metadata' argument.
14109 (minibuffer-completion-help): Check metadata for annotation function
14111 (completion-file-name-table): Return `category' metadata.
14112 (minibuffer-completing-file-name): Make obsolete.
14113 * simple.el (minibuffer-completing-symbol): Make obsolete.
14114 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14115 completion-try-completion.
14117 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14119 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14121 2011-05-30 Leo Liu <sdl.web@gmail.com>
14123 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
14124 (rcirc-print): Decode all incoming messages (bug#8744).
14125 (rcirc-decode-coding-system): Allow value nil for automatic coding
14128 2011-06-01 Glenn Morris <rgm@gnu.org>
14130 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14132 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14134 * image.el (image-animate-max-time): Allow nil and t values.
14136 (create-animated-image): Doc fix.
14137 (image-animate-start): Remove second arg; just use
14138 image-animate-max-time.
14139 (image-animate-timeout): Doc fix. Args changed.
14141 * image-mode.el (image-toggle-display-image): Ensure that the
14142 image spec passed to the animate timer is the same object as in
14143 the buffer's display property (Bug#6981).
14144 (image-transform-properties): Doc fix.
14146 * image.el (image-animate-max-time): Default to nil.
14148 2011-05-29 Martin Rudalics <rudalics@gmx.at>
14150 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14151 entire buffer list (Bug#8184).
14153 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14155 * image.el (imagemagick-types-inhibit)
14156 (imagemagick-register-types): Doc fix.
14158 2011-05-29 Deniz Dogan <deniz@dogan.se>
14160 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14163 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14165 * select.el: Don't perform clipboard-manager saving in hooks;
14166 leave the hooks empty.
14168 2011-05-28 Leo Liu <sdl.web@gmail.com>
14170 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14171 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14172 (occur-edit-mode): New major mode (Bug#8463).
14173 (occur-after-change-function): New function.
14174 (occur-engine): Give Occur tags a read-only property.
14176 2011-05-28 Kevin Ryde <user42@zip.com.au>
14178 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14180 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14182 * bindings.el (help-echo): Make the initial non-indicator dash
14183 empty on graphical terminals (Bug#7295).
14185 * files.el (auto-mode-alist): Move config rule after the
14186 in-stripping one (Bug#8547).
14188 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14190 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14191 setting (Bug#8740).
14193 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14195 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14196 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14199 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14201 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14203 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14205 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14206 (hs-hide-block-at-point, hs-find-block-beginning)
14207 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14210 2011-05-28 Glenn Morris <rgm@gnu.org>
14212 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14214 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14216 * help-fns.el (describe-function-1): If the function is a derived
14217 major mode, print the parent mode.
14219 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14220 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14222 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14224 * minibuffer.el (completion--capf-wrapper): Check applicability before
14225 returning non-nil for non-exclusive completion data.
14226 * progmodes/etags.el (tags-completion-at-point-function):
14227 * info-look.el (info-lookup-completions-at-point): Mark as
14229 (info-complete): Adjust accordingly.
14231 * info-look.el: Convert to lexical-binding and completion-at-point.
14232 (info-lookup-completions-at-point): New function.
14233 (info-complete): Use it and completion-in-region.
14235 2011-05-28 Drew Adams <drew.adams@oracle.com>
14237 * isearch.el: Let M-e start with point at the first mismatched char.
14238 (isearch-fail-pos): New function.
14239 (isearch-edit-string): Use it.
14241 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14243 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14245 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
14247 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14248 traversal functions for avl-trees.
14249 (avl-tree--stack): New struct.
14250 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14251 (avl-tree-enter): Add optional `updatefun' arg.
14252 (avl-tree--do-enter): Add optional `updatefun' arg.
14253 Change return value.
14254 (avl-tree-delete): Add optional `test' and `nilflag' args.
14255 (avl-tree--do-delete): Add `test' and `nilflag' args.
14256 Change return value.
14257 (avl-tree-member): Add optional `nilflag'
14258 (avl-tree-member-p): New function.
14259 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14260 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14261 (avl-tree-stack-empty-p): New functions.
14263 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14264 avl-tree--del-balance1 and make it work both ways.
14265 (avl-tree--del-balance2): Remove.
14266 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14267 make it work both ways.
14268 (avl-tree--enter-balance2): Remove.
14269 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14271 (avl-tree--mapc, avl-tree-map): Add direction argument.
14273 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
14275 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14277 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
14279 * select.el: Support clipboard managers with built-in function
14280 x-clipboard-manager-save, via delete-frame-functions and
14282 (xselect-convert-to-targets): Add MULTIPLE target to list.
14283 (xselect-convert-to-save-targets): New function.
14285 2011-05-27 Kenichi Handa <handa@m17n.org>
14287 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14288 let-binding rfc2047-encode-encoded-words to nil.
14290 2011-05-27 Glenn Morris <rgm@gnu.org>
14292 * mail/emacsbug.el: Don't require url-util.
14294 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14296 * files.el (set-auto-mode):
14297 Also respect mode: entries at the end of the file. (Bug#8586)
14299 2011-05-26 Glenn Morris <rgm@gnu.org>
14301 * files.el (hack-local-variables-prop-line, hack-local-variables):
14302 Downcase mode names, as seems to be traditional.
14303 (hack-local-variables, hack-local-variables-apply): Doc fixes.
14305 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14306 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14308 2011-05-25 Julien Danjou <julien@danjou.info>
14310 * textmodes/rst.el (rst-define-level-faces): Do not define face
14311 symbol if it is already defined.
14313 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14315 * play/5x5.el (5x5-new-game, 5x5-randomize):
14316 Reset 5x5-solver-output to nil when a new grid is cast.
14317 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14318 these debugging traces, as defmacro breaks the compiled code.
14320 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14322 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14324 2011-05-24 Leo Liu <sdl.web@gmail.com>
14326 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14327 (vc-bzr-sha1): Adapt.
14329 * sha1.el: Remove. Function `sha1' is now builtin.
14331 * bindings.el: Provide sha1 feature.
14333 2011-05-24 Kenichi Handa <handa@m17n.org>
14335 * mail/sendmail.el: Require `rfc2047'.
14336 (mail-insert-from-field): Do not perform RFC2047 encoding.
14337 (mail-encode-header): New function.
14338 (sendmail-send-it): Set buffer-file-coding-system of the work
14339 buffer to the return value of select-message-coding-system.
14340 Call mail-encode-header.
14342 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14344 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
14346 * mail/supercite.el (sc-default-cite-frame):
14347 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
14349 2011-05-24 Glenn Morris <rgm@gnu.org>
14351 * progmodes/python.el (brm-menu): Declare.
14353 * emulation/viper.el (viper-set-hooks): Declare.
14355 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14356 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14357 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14358 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14359 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14360 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14362 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14364 Add an :exit-function for completion-at-point.
14366 * minibuffer.el (completion--done): New fun.
14367 (completion--do-completion): Use it. New arg `expect-exact'.
14368 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14369 since completion--do-completion does it for us now.
14370 (minibuffer-force-complete): Use completion--done and
14371 completion--replace. Handle sole-completion case with more care.
14372 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14373 (completion-extra-properties): New var.
14374 (completion-annotate-function): Make obsolete.
14375 (minibuffer-completion-help): Adjust accordingly.
14376 Use completion-list-insert-choice-function.
14377 (completion-at-point, completion-help-at-point):
14378 Bind completion-extra-properties.
14379 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14380 * simple.el (completion-list-insert-choice-function): New var.
14381 (completion-setup-function): Preserve it.
14382 (choose-completion): Pay attention to it, shuffle the code a bit.
14383 (choose-completion-string): New arg `insert-function'.
14385 * textmodes/bibtex.el: Convert to lexical binding.
14386 (bibtex-mode-map): Use completion-at-point.
14387 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14388 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14389 (bibtex-complete): Define as obsolete alias.
14390 (bibtex-complete-internal): Remove.
14391 (bibtex-format-entry): Remove unused sub-group in regexp.
14392 * shell.el (shell--command-completion-data)
14393 (shell-environment-variable-completion):
14394 * pcomplete.el (pcomplete-completions-at-point):
14395 * comint.el (comint--complete-file-name-data): Use :exit-function
14396 instead of completion-table-with-terminator so it also works for
14399 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14401 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14403 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14406 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14408 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14410 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14411 customization variable and implement: If non-nil, auto-fill will
14412 be inhibited while on topic's header line.
14414 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14416 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
14417 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
14418 always have a solution in grid size = 5 cases.
14419 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14420 (5x5-solver-output, 5x5-log-buffer): New vars.
14421 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14422 Make these variables buffer local to achieve 5x5 multi-session-ness.
14423 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14424 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14425 (5x5-solve-suggest): New funs.
14426 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14427 randomize a grid so that we ensure that there is always a solution.
14428 (5x5-make-random-grid): Allow other movement than flipping.
14430 2011-05-23 Kevin Ryde <user42@zip.com.au>
14432 * emacs-lisp/advice.el (ad-read-advised-function):
14433 Use `function-called-at-point' as the default, if it has
14434 advice and passes PREDICATE.
14436 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14438 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14439 byte-compile-lambda if it's actually a lambda.
14441 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14442 Fix function quoting. Use backquote better.
14444 2011-05-22 Yuanle Song <sylecn@gmail.com>
14446 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14447 matching (Bug#8516).
14449 2011-01-22 Jari Aalto <jari.aalto@cante.net>
14451 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14452 different face (Bug#8178).
14454 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
14456 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14457 defface (Bug#8144).
14459 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14461 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14462 funcall as well (bug#8712). Warn when performing those conversions.
14463 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14465 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14467 2011-05-22 Glenn Morris <rgm@gnu.org>
14469 * files.el (hack-local-variables-prop-line): Small simplifications.
14470 (hack-local-variables, hack-local-variables-prop-line):
14471 If MODE-ONLY, return the mode, rather than just `t'.
14473 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14475 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14477 2011-05-21 Glenn Morris <rgm@gnu.org>
14479 * files.el (hack-local-variables-prop-line, hack-local-variables):
14480 If only interested in the mode, don't bother doing the other stuff.
14482 * image-mode.el (image-after-revert-hook):
14483 Redraw all frames on which the image is visible. (Bug#8567)
14485 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14487 * wid-edit.el (widget-checklist-match-inline):
14488 Fix 2011-04-19 change. (Bug#8649)
14490 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14492 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14493 Also allow singlespace after single-letter capitals followed by a dot.
14495 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14496 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14498 2011-05-20 Nix <nix@esperi.org.uk>
14500 * files.el (basic-save-buffer-2):
14501 Fix handling of break-hardlink-on-save with non-existent files.
14503 2011-05-19 Deniz Dogan <deniz@dogan.se>
14505 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
14506 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
14508 2011-05-19 Glenn Morris <rgm@gnu.org>
14510 * progmodes/f90.el (f90-type-def-re):
14511 Handle "type, bind(c)". (Bug#8691)
14513 * emacs-lisp/autoload.el (batch-update-autoloads):
14514 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14516 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
14518 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14519 property for the correct connection in case of multihops.
14521 2011-05-18 Glenn Morris <rgm@gnu.org>
14523 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
14524 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14526 Rationalize calendar handling of day and month abbrev-arrays.
14527 * calendar/calendar.el (calendar-customized-p): New function.
14528 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14529 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14531 (calendar-abbrev-length, calendar-day-abbrev-array)
14532 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14533 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14534 Elements may no longer be nil.
14535 (calendar-day-name, calendar-month-name):
14536 Update for changed nature of abbrev arrays.
14537 * calendar/diary-lib.el (diary-name-pattern):
14538 Update for changed nature of abbrev arrays.
14539 (diary-mark-entries-1): Update calendar-make-alist calls.
14540 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14541 * calendar/cal-html.el (cal-html-day-abbrev-array):
14542 Simply inherit from calendar-day-abbrev-array.
14544 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14546 * progmodes/grep.el (grep-mode): Disable default
14547 compilation-directory-matcher setting (bug#8684).
14549 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
14551 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14552 instead of "head" and "tail". There were problems with SunOS 5.9,
14553 and it performs better.
14555 2011-05-17 Glenn Morris <rgm@gnu.org>
14557 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14559 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14560 Replace obsolete function.
14562 * shell.el (pcomplete-parse-arguments-function): Declare.
14564 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14565 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14566 (appt-check): Doc fixes.
14567 (appt-disp-window-function, appt-delete-window-function):
14568 Remove needless special case in custom :type.
14569 (appt-display-count): Default to 0, not nil.
14570 (appt-check): Reset appt-display-count to 0, not nil.
14572 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
14574 * progmodes/python.el (python-font-lock-keywords):
14575 Add the Python 3.X keyword "nonlocal" (bug#8639).
14577 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14579 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14581 2011-05-16 Kevin Ryde <user42@zip.com.au>
14583 * info-look.el (makefile-automake-mode): New setups, looking in
14584 automake manual, then makefile-mode.
14585 (makefile-mode): Remove automake manual, have it just in
14586 makefile-automake-mode since there's various things different or
14587 not relevant to plain make.
14588 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14589 believe a hypothetical automake-mode would go to makefile-mode,
14590 not the other way around.
14592 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
14594 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14595 hunk-end tags (Bug#8672).
14597 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14598 vc-annotate-show-diff-revision-at-line (Bug#8671).
14600 2011-05-14 Glenn Morris <rgm@gnu.org>
14602 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14603 in the middle of an existing one with multiple authors. (Bug#8645)
14604 (change-log-font-lock-keywords): Also handle multiple author lines
14605 with leading tabs. (Bug#8644)
14607 * calendar/appt.el (appt-check): Rename some local variables.
14608 Some simplification/reordering.
14610 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14611 (feedmail-sendmail-f-doesnt-sell-me-out)
14612 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14613 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14614 (feedmail-queue-runner-message-sender): Set :version.
14615 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14616 (bbdb-dwim-net-address, vm-mail): Declare.
14617 (feedmail-binmail-gnulinuxish-template):
14618 Rename from feedmail-binmail-linuxish-template.
14619 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14620 Use insert-buffer-substring.
14622 2011-05-14 Bill Carpenter <bill@carpenter.org>
14624 * mail/feedmail.el (feedmail-patch-level): Increase.
14625 (feedmail-debug): New custom group.
14626 (feedmail-confirm-outgoing-timeout)
14627 (feedmail-sendmail-f-doesnt-sell-me-out)
14628 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14629 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14630 (feedmail-sender-line, feedmail-from-line)
14631 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
14632 (feedmail-spray-this-address)
14633 (feedmail-spray-address-fiddle-plex-list)
14634 (feedmail-queue-use-send-time-for-date)
14635 (feedmail-queue-use-send-time-for-message-id)
14636 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14637 (feedmail-buffer-eating-function):
14639 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14640 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14641 (feedmail-message-action-scroll-down): New functions.
14642 (feedmail-queue-directory, feedmail-queue-draft-directory):
14643 Use expand-file-name.
14644 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14645 Remove C-v help entry.
14646 (feedmail-queue-buffer-file-name): New variable.
14647 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14648 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14649 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14650 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14651 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14652 (feedmail-message-action-toggle-spray)
14653 (feedmail-run-the-queue-no-prompts)
14654 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14655 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14656 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14657 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14658 (feedmail-envelope-deducer, feedmail-fiddle-from)
14659 (feedmail-fiddle-sender, feedmail-default-date-generator)
14660 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14661 (feedmail-fiddle-spray-address)
14662 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14663 (feedmail-fiddle-list-of-fiddle-plexes)
14664 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14665 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14666 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14667 Change default. Doc fix.
14668 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14669 (feedmail-binmail-linuxish-template): New constant.
14670 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14671 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14672 (feedmail-send-it): Add debug call.
14673 Use feedmail-queue-buffer-file-name, and
14674 feedmail-send-it-immediately-wrapper.
14675 (feedmail-message-action-send): Add debug call.
14676 Use feedmail-send-it-immediately-wrapper.
14677 (feedmail-queue-express-to-queue): Add debug call.
14678 Run feedmail-queue-express-hook.
14679 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14680 (feedmail-message-action-help-blat):
14681 Rename from feedmail-queue-send-edit-prompt-help-first.
14682 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14683 Check line-endings. Handle errors better.
14684 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14685 Doc fix. Add debug call.
14686 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14687 Use feedmail-queue-send-edit-prompt-inner.
14688 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14689 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14690 from feedmail-queue-send-edit-prompt.
14691 (feedmail-queue-send-edit-prompt-help)
14692 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14693 (feedmail-tidy-up-slug): Add debug call.
14694 Respect feedmail-queue-slug-suspect-regexp.
14695 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14696 (feedmail-dump-message-to-queue): Add debug call.
14697 Expand queue-directory.
14698 (feedmail-dump-message-to-queue): Change message slightly.
14699 Use feedmail-say-chatter.
14700 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14701 (feedmail-send-it-immediately-wrapper): New function.
14702 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14703 Insert empty string rather than newline. Handle full-frame case.
14704 Use catch/throw. Use feedmail-say-chatter.
14705 (feedmail-fiddle-from): Try mail-host-address.
14706 (feedmail-default-message-id-generator): Doc fix.
14707 Bind system-time-locale. Handle missing end.
14708 (feedmail-fiddle-x-mailer): Add debug call.
14709 Handle feedmail-x-mailer-line being nil.
14710 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14711 Add debug call. Use buffer-substring-no-properties.
14712 (feedmail-say-debug, feedmail-say-chatter): New functions.
14713 (feedmail-find-eoh): Give an explicit error.
14715 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
14717 * net/newst-treeview.el (newsticker-treeview-face): Change default
14718 family from helvetica to sans.
14719 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
14720 etc/images/newsticker.
14722 * net/newst-reader.el (newsticker-feed-face): Change default
14723 family from helvetica to sans.
14725 * net/newst-plainview.el (newsticker-new-item-face)
14726 (newsticker-old-item-face, newsticker-immortal-item-face)
14727 (newsticker-obsolete-item-face, newsticker-date-face)
14728 (newsticker-statistics-face): Change default family from
14730 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
14731 etc/images/newsticker.
14733 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14734 (newsticker--process-auto-mark-filter-match): Tell user about
14737 2011-05-13 Didier Verna <didier@xemacs.org>
14739 Common Lisp indentation improvements on defmethod and lambda-lists.
14740 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14742 (lisp-lambda-list-keyword-parameter-indentation)
14743 (lisp-lambda-list-keyword-parameter-alignment)
14744 (lisp-lambda-list-keyword-alignment): New customizable user options.
14745 (lisp-indent-defun-method): Improve docstring.
14746 (extended-loop-p): Fix comment.
14747 (lisp-indent-lambda-list-keywords-regexp): New variable.
14748 (lisp-indent-lambda-list): New function.
14749 (lisp-indent-259): Use it.
14750 (lisp-indent-defmethod): Support for more than one
14751 method qualifier and properly indent methods lambda-lists.
14752 (defgeneric): Provide a missing common-lisp-indent-function property.
14754 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14756 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14757 bounds for the empty string (bug#8667).
14759 2011-05-13 Glenn Morris <rgm@gnu.org>
14761 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14763 * mail/sendmail.el (sendmail-program): Try executable-find first.
14764 (sendmail-send-it): `sendmail-program' cannot be unbound.
14766 * calendar/appt.el (appt-make-list): Simplify.
14767 (appt-time-msg-list): Doc fix.
14768 (appt-check): Change mode-line message at the time of the appointment.
14770 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14772 * progmodes/ld-script.el (ld-script-keywords)
14773 (ld-script-builtins): Update keywords list.
14775 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14777 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14779 * shell.el (shell-completion-vars): New function.
14781 * simple.el (read-shell-command): Use it.
14782 (blink-matching-open): No need for " [...]" in minibuffer-message.
14784 2011-05-12 Glenn Morris <rgm@gnu.org>
14786 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14787 (appt-check): Simplify.
14789 2011-05-12 Eli Zaretskii <eliz@gnu.org>
14791 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
14792 literal "/dev/null".
14794 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14796 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14799 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
14801 * progmodes/which-func.el (which-function):
14802 Use add-log-current-defun instead of add-log-current-defun-function,
14803 which might not be defined (Bug#8260).
14805 2011-05-12 Glenn Morris <rgm@gnu.org>
14807 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14808 Let byte-compile-initial-macro-environment always take precedence.
14810 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14812 * net/rcirc.el: Add support for SSL/TLS connections.
14813 (rcirc-server-alist): New field `encryption'.
14814 (rcirc): Check `encryption' settings.
14815 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14816 Merge make-local-variable into `set'.
14817 (rcirc--connection-open-p): New function.
14818 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14819 the process is not a network process (e.g. running gnutls-cli).
14820 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14821 Make rcirc-(en|de)code-coding-system local here.
14822 (rcirc-mode): Merge make-local-variable into `set'.
14823 (rcirc-parent-buffer): Make permanent buffer-local.
14824 (rcirc-multiline-minor-mode): Don't do it here.
14825 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14826 there's no server buffer.
14828 2011-05-11 Glenn Morris <rgm@gnu.org>
14830 * newcomment.el (comment-kill): Prefix "unused" local.
14832 * term/w32console.el (get-screen-color): Declare.
14834 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14835 Handle symbol elements of byte-compile-initial-macro-environment.
14837 2011-05-10 Leo Liu <sdl.web@gmail.com>
14839 * bookmark.el (bookmark-bmenu-mode-map):
14840 Bind bookmark-bmenu-search to `/'.
14842 * mail/footnote.el: Convert to utf-8 encoding.
14843 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14844 (Footnote-unicode): New function.
14845 (footnote-style-alist): Add unicode style to the list.
14846 (footnote-style): Doc fix.
14848 2011-05-10 Jim Meyering <meyering@redhat.com>
14850 Fix doubled-word typos.
14851 * international/quail.el (quail-insert-kbd-layout): and and -> and
14852 * kermit.el: and and -> and
14853 * net/ldap.el (ldap-search-internal): to to -> to
14854 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14855 * progmodes/js.el (js-mode): and and -> and
14856 * textmodes/artist.el (artist-move-to-xy): at at -> at
14857 (artist-draw-region-trim-line-endings): if if -> if
14858 And Safetyc -> Safety.
14859 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14861 2011-05-10 Glenn Morris <rgm@gnu.org>
14862 Stefan Monnier <monnier@iro.umontreal.ca>
14864 * files.el (hack-one-local-variable-eval-safep):
14865 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14867 2011-05-10 Glenn Morris <rgm@gnu.org>
14869 * calendar/diary-lib.el (diary-list-entries-hook)
14870 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14871 (diary-nongregorian-marking-hook, diary-list-entries)
14872 (diary-include-other-diary-files, diary-mark-entries)
14873 (diary-mark-included-diary-files): Doc fixes.
14875 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14877 * misc.el: Require tabulated-list.el during compilation.
14879 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14881 * progmodes/compile.el (compilation-start):
14882 Run compilation-filter-hook for the async case too.
14883 (compilation-filter-hook): Doc fix.
14885 2011-05-09 Deniz Dogan <deniz@dogan.se>
14887 * wdired.el: Remove outdated installation comment. Fix usage
14890 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14892 * misc.el: Implement new command `list-dynamic-libraries'.
14893 (list-dynamic-libraries--loaded-only-p): New variable.
14894 (list-dynamic-libraries--refresh): New function.
14895 (list-dynamic-libraries): New command.
14897 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14899 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14900 Fix the ant regexp to handle end-line and end-column info from jikes.
14901 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14902 higher priority to avoid clobbering by gnu.
14904 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14906 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14907 if the face has existing theme settings (Bug#8454).
14909 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14911 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14912 Only match variables declared via `my' or `our' (Bug#8261).
14914 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14915 special file names `.' and `..' (Bug#8259).
14917 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14919 * progmodes/grep.el (grep-mode-font-lock-keywords):
14920 Remove buffer-changing entries.
14921 (grep-filter): New function.
14922 (grep-mode): Add it to compilation-filter-hook.
14924 * progmodes/compile.el (compilation-filter-hook)
14925 (compilation-filter-start): New defvars.
14926 (compilation-filter): Call compilation-filter-hook prior to
14927 updating the process mark.
14929 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14931 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14933 2011-05-07 Eli Zaretskii <eliz@gnu.org>
14935 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14936 mailclient-send-it even if window-system is nil. (Bug#8595)
14938 * term/w32console.el (terminal-init-w32console):
14939 Call get-screen-color and use its output to set the frame
14940 background-mode. (Bug#8597)
14942 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14944 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14945 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14947 (defgeneric, eieio--defmethod): Use them.
14948 (eieio-defgeneric): Remove.
14949 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14951 2011-05-07 Glenn Morris <rgm@gnu.org>
14953 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14954 Use let rather than let*.
14955 (timeclock-find-discrep): Remove unused local.
14957 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14959 * calendar/appt.el (appt-time-msg-list): Doc fix.
14961 2011-05-06 Noah Friedman <friedman@splode.com>
14963 * apropos.el (apropos-print-doc): Only use
14964 emacs-lisp-docstring-fill-column when it is bound to an integer,
14965 per that variable's documentation.
14967 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14969 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
14970 and warnings are not silently discarded (e.g. use -d instead of -P).
14972 2011-05-06 Glenn Morris <rgm@gnu.org>
14974 * calendar/appt.el (appt-message-warning-time): Doc fix.
14975 (appt-warning-time-regexp): New option.
14976 (appt-make-list): Respect appt-message-warning-time.
14978 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14980 (diary-add-to-list): Strip comments from the displayed string.
14981 (diary-mode): Set comment-start and comment-end.
14983 * vc/diff-mode.el (smerge-refine-subst): Declare.
14984 (diff-refine-hunk): Don't require smerge-mode when compiling.
14986 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
14988 * simple.el (list-processes): Return nil as the docstring says.
14990 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14992 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14994 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14995 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14996 determining of binary transfer. (Bug#7383)
14998 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
15000 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15001 Fix port computation bug. (Bug#8618)
15003 2011-05-05 Glenn Morris <rgm@gnu.org>
15005 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15007 * simple.el (shell-dynamic-complete-functions)
15008 (comint-dynamic-complete-functions): Declare.
15010 * net/network-stream.el (gnutls-negotiate):
15011 * simple.el (tabulated-list-print): Fix declarations.
15013 * progmodes/gud.el (syntax-symbol, syntax-point):
15014 Remove unnecessary and incorrect declarations.
15016 * emacs-lisp/check-declare.el (check-declare-scan):
15017 Handle byte-compile-initial-macro-environment in bytecomp.el
15019 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15021 Fix earlier half-done eieio-defmethod change (bug#8338).
15022 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15023 Streamline and change calling convention.
15024 (defmethod): Adjust accordingly and simplify.
15025 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15026 new eieio--defmethod.
15027 (slot-boundp): Minor CSE simplification.
15029 2011-05-05 Milan Zamazal <pdm@zamazal.org>
15031 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15032 (glasses-make-readable): Use glasses-separate-capital-groups.
15034 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
15036 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15037 (warning-series): Doc fix.
15038 (display-warning): Don't try to create the buffer if we just found it.
15040 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
15042 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15043 (autoload-find-generated-file): New function.
15044 (generate-file-autoloads): Bind generated-autoload-file to
15046 (update-file-autoloads, update-directory-autoloads):
15047 Use autoload-find-generated-file. If called interactively, prompt for
15048 output file (Bug#7989).
15049 (batch-update-autoloads): Doc fix.
15051 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
15053 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15055 2011-05-04 Glenn Morris <rgm@gnu.org>
15057 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15058 function, so it follows changes in calendar-date-style.
15059 (diary-fancy-date-matcher): New function.
15060 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15061 (diary-fancy-font-lock-fontify-region-function):
15062 Use diary-fancy-date-pattern as a function.
15064 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15065 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15067 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15069 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15070 instead of positional arguments. Allow :keylist and :crlfiles
15072 (open-gnutls-stream): Call it.
15074 * net/network-stream.el (network-stream-open-starttls): Adjust to
15075 call `gnutls-negotiate' with :process and :hostname arguments.
15077 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15079 * minibuffer.el (completion--message): New function.
15080 (completion--do-completion, minibuffer-complete)
15081 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15082 (completion--do-completion): Don't ignore completion-auto-help when in
15085 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15086 internal encoding (e.g. tibetan zero is not whitespace).
15087 (global-whitespace-mode): Prefer save-current-buffer.
15088 (whitespace-trailing-regexp): Remove useless save-match-data.
15089 (whitespace-empty-at-bob-regexp): Minor simplification.
15091 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
15093 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15095 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15097 * textmodes/ispell.el (ispell-add-per-file-word-list):
15098 Use `concat' to create string for insertion.
15100 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15102 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15103 Avoid open-line which runs post-self-insert-hook.
15104 (bibtex-fill-entry): Remove unused `end' var.
15106 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15108 * textmodes/ispell.el (ispell-add-per-file-word-list):
15109 Protect against `nil' value of `comment-start' (Bug#8579).
15111 2011-05-03 Leo Liu <sdl.web@gmail.com>
15113 * isearch.el (isearch-yank-pop): New command.
15114 (isearch-mode-map): Bind it to `M-y'.
15115 (isearch-forward): Mention it.
15117 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15119 * simple.el (minibuffer-complete-shell-command): Remove.
15120 (minibuffer-local-shell-command-map): Use completion-at-point.
15121 (read-shell-command): Setup completion vars here instead.
15122 (read-expression-map): Bind TAB to symbol completion.
15124 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15125 error directly rather via storing it into `results'.
15127 2011-05-02 Leo Liu <sdl.web@gmail.com>
15129 * vc/diff.el: Fix description.
15131 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15133 * server.el (server-eval-at): New function.
15135 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15137 * net/network-stream.el (open-network-stream): Take a :nowait
15138 parameter and pass it on to `make-network-process'.
15139 (network-stream-open-plain): Ditto.
15141 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15143 * faces.el (face-spec-set-match-display): Don't match toolkit
15144 options on terminal frames.
15146 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15148 * progmodes/pascal.el: Use lexical binding.
15149 (pascal-mode-map): Remove author preferences.
15151 * pcomplete.el (pcomplete-std-complete): Don't abuse
15152 completion-at-point.
15154 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
15156 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15157 removing code that has been dead since 1991 or so.
15159 * startup.el (command-line): When warning about "_emacs", use a
15160 delayed warning to allow the user to filter it out.
15162 2011-04-28 Deniz Dogan <deniz@dogan.se>
15164 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15165 user has not joined.
15167 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15169 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15170 aren't any completions at point.
15172 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
15174 * subr.el (display-delayed-warnings): New function.
15175 (delayed-warnings-hook): New variable.
15177 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15179 * minibuffer.el (completion-at-point, completion-help-at-point):
15180 Don't presume that a given completion-at-point-function will always
15181 use the same calling convention.
15183 * pcomplete.el (pcomplete-completions-at-point):
15184 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15185 pcomplete-seen is non-nil.
15186 (pcomplete-comint-setup): Also recognize the new comint/shell
15187 completion functions.
15188 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15189 pcomplete-seen is non-nil.
15191 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
15193 * calendar/icalendar.el (diary-lib): Add require statement.
15194 (icalendar--create-uid): Read out a uid from a text-property on
15195 the first character in the entry. This allows for code to add its
15196 own uid to the entry.
15197 (icalendar--convert-float-to-ical): Add export of
15198 `diary-float'-entries save for those with the optional DAY
15201 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15203 * subr.el (shell-quote-argument): Use alternate escaping strategy
15204 when we spot a variable reference in a string.
15206 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15208 * cus-start.el (all): Define customization for debug-on-event.
15210 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15212 * subr.el (shell-quote-argument): Escape correctly under Windows.
15214 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15216 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15218 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
15220 * net/tramp.el (tramp-process-actions): Add POS argument.
15221 Delete region between POS and (pos).
15223 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15224 Use `nil' position in `tramp-process-actions' call.
15225 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15227 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15228 position in `tramp-process-actions' call.
15230 * net/trampver.el: Update release number.
15232 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15234 * custom.el (defcustom): Obey lexical-binding.
15236 Fix octave-inf completion problems reported by Alexander Klimov.
15237 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15238 Inherit from octave-mode-syntax-table.
15239 (inferior-octave-mode): Set info-lookup-mode.
15240 (inferior-octave-completion-at-point): New function.
15241 (inferior-octave-complete): Use it and completion-in-region.
15242 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15243 comint-filename-completion.
15244 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15245 symbol elements which shouldn't be word elements.
15246 (octave-font-lock-keywords, octave-beginning-of-defun)
15247 (octave-function-header-regexp): Adjust regexps accordingly.
15248 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15250 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
15252 * net/gnutls.el (gnutls-errorp): Declare before first use.
15254 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15256 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15257 verify-error, and verify-hostname-error parameters. Check whether
15258 default trustfile exists before going to use it. Add missing
15259 argument to gnutls-message-maybe call. Return value.
15260 Reported by Claudio Bley <claudio.bley@gmail.com>.
15261 (open-gnutls-stream): Add usage example.
15263 * net/network-stream.el (network-stream-open-starttls): Give host
15264 parameter to `gnutls-negotiate'.
15265 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
15266 * subr.el (shell-quote-argument): Escape correctly under Windows.
15268 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
15270 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15271 Use correct match group (bug#8438).
15273 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
15275 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15276 (package-menu--generate): New arg specifying packages to show.
15277 (package-menu-refresh, package-menu-execute, list-packages):
15279 (package-show-package-list): New function, replacing deleted
15280 package--list-packages (renamed because it is non-internal).
15282 * finder.el (finder-list-matches): Use package-show-package-list
15283 instead of deleted package--list-packages.
15285 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15286 Based on a previous implementation by Juanma Barranquero (Bug#8366).
15287 (vc-annotate-mode-map): Bind it to RET.
15289 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15291 * progmodes/etags.el (next-file): Don't use set-buffer to change
15292 buffers (Bug#8478).
15294 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
15296 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15298 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15299 (apropos-accumulator): Doc fix.
15300 (apropos-function, apropos-macro, apropos-command)
15301 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15302 (apropos-plist): Add face property.
15303 (apropos-symbols-internal): Fix indentation.
15304 (apropos-print): Simplify help, and recognize apropos-multi-type.
15305 (apropos-print-doc): Use button-type-get to extract the button's
15306 face property. Fill docstring (Bug#8352).
15308 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
15310 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15312 * play/mpuz.el (mpuz-silent): Doc fix.
15313 (mpuz-mode-map): Use mapc.
15314 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15315 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15316 Fix typos in docstrings.
15318 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15319 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15321 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15323 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
15325 * minibuffer.el (completion--do-completion): Avoid the "Next char
15326 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15328 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15329 mouse-2 into unread-command-events, it is interpreted correctly.
15331 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
15332 (image-toggle-display): Doc fix.
15334 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
15336 * textmodes/page.el (what-page): Use line-number-at-pos to
15337 calculate line number (Bug#6825).
15339 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15341 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15342 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15343 Pass argument NO-DEFAULT to `find-tag-interactive'.
15345 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15347 Lexical-binding cleanup.
15349 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15350 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15351 * progmodes/ada-prj.el (ada-prj-initialize-values)
15352 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15353 (ada-prj-show-value):
15354 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15355 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15356 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15357 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15358 * progmodes/bug-reference.el (bug-reference-push-button):
15359 * progmodes/fortran.el (fortran-line-length):
15360 * progmodes/glasses.el (glasses-change):
15361 * progmodes/octave-mod.el (octave-fill-paragraph):
15362 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15363 (python-pdbtrack-grub-for-buffer, python-sentinel):
15364 * progmodes/sql.el (sql-save-connection):
15365 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15366 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15367 Mark unused parameters.
15369 * progmodes/compile.el (compilation--flush-directory-cache)
15370 (compilation--flush-parse, compile-internal): Mark unused parameters.
15371 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15372 (compilation-next-error-function): Remove unused variable `timestamp'.
15374 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15375 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15377 * progmodes/dcl-mode.el (dcl-end-of-command):
15378 Remove unused variable `start'.
15379 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15380 (dcl-option-value-basic, dcl-option-value-offset)
15381 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15382 Mark unused parameters.
15383 (dcl-save-local-variable): Remove unused variable `val'.
15386 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15387 Mark unused parameters.
15388 (delphi-ignore-changes): Move before first use.
15389 (delphi-charset-token-at): Remove unused variable `start'.
15390 (delphi-else-start): Remove unused variable `if-count'.
15391 (delphi-comment-block-start, delphi-comment-block-end):
15392 Remove unused variable `kind'.
15393 (delphi-indent-line): Remove unused variable `new-point'.
15395 * progmodes/ebrowse.el (ebrowse-files-list)
15396 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15397 Mark unused parameters. Don't quote `lambda'.
15398 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15399 Don't quote `lambda'.
15400 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15401 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15402 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15403 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15404 Use `ignore-errors'.
15405 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15406 (ebrowse-view/find-file-and-search-pattern)
15407 (ebrowse-view/find-member-declaration/definition):
15408 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15409 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15410 Rename parameter PREFIX-ARG to PREFIX.
15411 (ebrowse-tags-read-name): Remove unused variables `start' and
15413 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15416 * progmodes/etags.el (local-find-tag-hook): Declare.
15417 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15418 Mark unused parameters.
15420 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15421 (executable-interpret): Mark unused parameter.
15423 * progmodes/flymake.el (flymake-process-sentinel)
15424 (flymake-after-change-function)
15425 (flymake-create-temp-with-folder-structure)
15426 (flymake-get-include-dirs-dot): Mark unused parameters.
15427 (flymake-safe-delete-directory): Remove unused variable `err'.
15429 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15430 (speedbar-timer-fn, speedbar-line-text)
15431 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15432 (speedbar-center-buffer-smartly): Declare functions.
15433 (gdb-find-watch-expression): Remove unused variable `array'.
15434 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15435 (gdb-starting): Mark unused parameters.
15436 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15437 (gdb-table-string): Remove unused variable `res'.
15438 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15439 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15440 (gdb-display-buffer): Remove unused variable `cur-size'.
15442 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15443 allow lexical-binding compilation.
15444 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15445 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15446 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15447 Mark unused parameters.
15448 (gud-gdb-marker-filter): Remove unused variable `match'.
15449 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15450 lambda expressions and funcall them, instead of using `fset'.
15452 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15453 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15455 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15456 variable `header-beg'; use `let'.
15458 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15459 `restart', `last-sexp' and `at-do'.
15461 * progmodes/js.el (js--debug): Mark unused parameter.
15462 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15463 (js--splice-into-items): Remove unused variable `item'.
15464 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15466 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15467 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15468 (makefile-complete): Remove unused variable `try'.
15469 (makefile-fill-paragraph, makefile-match-function-end):
15470 Mark unused parameters.
15472 * progmodes/octave-inf.el (inferior-octave-complete):
15473 Remove unused variable `proc'.
15474 (inferior-octave-output-digest): Mark unused parameter.
15476 * progmodes/perl-mode.el (perl-calculate-indent):
15477 Remove unused variable `err'.
15479 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15480 (prolog-indent-line): Mark unused parameters.
15481 (prolog-indent-line): Remove unused variable `beg'.
15483 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15484 (reporter-dont-compact-list): Declare.
15486 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15487 Remove unused variable `char'.
15488 (sh-debug): Mark unused parameter.
15489 (sh-get-indent-info): Remove unused variable `start'.
15490 (sh-calculate-indent): Remove unused variable `var'.
15492 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15493 (simula-electric-keyword): Remove unused variable `null'.
15494 (simula-search-backward, simula-search-forward): Remove unused
15495 variables `begin' and `end'.
15497 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15498 Remove unused variable `pos'.
15499 (vera-electric-tab, vera-comment-uncomment-region):
15500 Mark unused parameters.
15501 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15503 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
15505 * emacs-lisp/package.el (package--builtins, package-alist)
15506 (package-load-descriptor, package-built-in-p, package-activate)
15507 (define-package, package-installed-p)
15508 (package-compute-transaction, package-buffer-info)
15509 (package--push): Doc fix. Distinguish more clearly between
15510 version strings and version lists.
15512 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
15514 Lexical-binding cleanup.
15516 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15517 (5x5-make-mutate-best):
15518 * play/fortune.el (fortune-in-buffer):
15519 * play/gomoku.el (gomoku-init-display):
15520 * play/solitaire.el (solitaire, solitaire-do-check):
15521 * play/tetris.el (tetris-default-update-speed-function):
15522 Mark unused parameters.
15524 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15525 (bubbles--shift): Remove unused variable `char-org'.
15526 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15527 (bubbles--show-images): Remove unused variable `char'.
15529 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15530 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15531 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15532 (decipher-analyze-buffer): Use ?\s.
15533 (decipher-make-checkpoint): Remove unused variable `mapping'.
15535 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15537 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15538 Remove unused variable `result'; use `let'.
15540 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15541 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15542 (gametree-children-shown-p, gametree-compute-reduced-score):
15543 Use `ignore-errors'.
15545 * play/handwrite.el (ps-lpr-switches): Declare.
15546 (handwrite): Remove unused variables `pmin' and `lastp'.
15548 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15550 * play/landmark.el (landmark-init-display)
15551 (landmark-update-naught-weights): Mark unused parameters.
15552 (landmark-y): Remove unused variable `noise'. Simplify.
15553 (landmark-human-plays): Remove unused variable `score'.
15555 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15556 (mpuz-try-proposal): Remove unused variable `game'.
15558 * play/zone.el (life-patterns): Declare.
15560 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
15562 * vc/vc.el (ediff-vc-internal): Declare function.
15564 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15566 * shell.el: Use lexical-binding and std completion UI.
15567 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15568 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15569 comint-preoutput-filter-functions rather than on
15570 comint-output-filter-functions.
15571 (shell-command-completion, shell--command-completion-data)
15572 (shell-filename-completion, shell-environment-variable-completion)
15573 (shell-c-a-p-replace-by-expanded-directory): New functions.
15574 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15575 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15576 (shell-dynamic-complete-environment-variable): Use them.
15577 (shell-dynamic-complete-as-environment-variable)
15578 (shell-dynamic-complete-as-command): Remove.
15579 (shell-match-partial-variable): Match past point.
15580 * comint.el: Clean up use of completion-at-point-functions.
15581 (comint-completion-at-point): New function.
15582 (comint-mode): Use it completion-at-point-functions.
15583 (comint-dynamic-complete): Make it obsolete.
15584 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15585 (comint-c-a-p-replace-by-expanded-history): New function.
15586 (comint-dynamic-complete-functions)
15587 (comint-replace-by-expanded-history): Use it.
15588 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15589 termination strings. Try harder to avoid second try-completion.
15590 (completion-in-region-mode-map): Disable bindings that don't work yet.
15592 * comint.el: Use lexical-binding. Require CL.
15593 (comint-dynamic-complete-functions): Use comint-filename-completion.
15594 (comint-completion-addsuffix): Tweak custom type.
15595 (comint-filename-completion, comint--common-suffix)
15596 (comint--common-quoted-suffix, comint--table-subvert)
15597 (comint--complete-file-name-data): New functions.
15598 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15599 (comint-dynamic-list-filename-completions): Use them.
15600 (comint-dynamic-simple-complete): Make obsolete.
15602 * minibuffer.el (completion-in-region-mode):
15603 Keep completion-in-region-mode--predicate global.
15604 (completion-in-region--postch):
15605 Assume completion-in-region-mode--predicate is not null.
15607 * progmodes/flymake.el (flymake-start-syntax-check-process):
15608 Obey `dir'. Simplify.
15610 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15611 we're in VC after all.
15613 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15615 * vc/vc.el (vc-diff-build-argument-list-internal)
15616 (vc-version-ediff, vc-ediff): New commands.
15617 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15619 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15621 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15624 * obsolete/erc-hecomplete.el: Make obsolete.
15625 * obsolete/: Standardize obsolescence info in the header.
15627 2011-04-20 Glenn Morris <rgm@gnu.org>
15629 * calendar/solar.el (solar-horizontal-coordinates):
15630 Use the longitude argument rather than `calendar-longitude'.
15631 (solar-date-next-longitude): Remove unused locals.
15633 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15635 * whitespace.el: New version 13.2.1.
15637 2011-04-20 felix <EmacsWiki> (tiny change)
15639 * whitespace.el (global-whitespace-mode): Keep highlight when
15640 switching between major modes on a file.
15642 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15644 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15645 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15646 multi-line comments as well.
15648 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
15650 Lexical-binding cleanup.
15652 * arc-mode.el (archive-mode-revert):
15653 * cmuscheme.el (scheme-interactively-start-process):
15654 * custom.el (custom-initialize-delay):
15655 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15656 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15657 * emacs-lock.el (emacs-lock-clear-sentinel):
15658 * ezimage.el (defezimage):
15659 * follow.el (follow-avoid-tail-recenter):
15660 * fringe.el (set-fringe-mode-1):
15661 * generic-x.el (bat-generic-mode-compile):
15662 * help-mode.el (help-info-variable, help-do-xref)
15663 (help-mode-revert-buffer):
15664 * help.el (view-emacs-todo):
15665 * iswitchb.el (iswitchb-completion-help):
15666 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15667 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15668 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15669 * locate.el (locate-update):
15670 * longlines.el (longlines-encode-region)
15671 (longlines-after-change-function):
15672 * outline.el (outline-isearch-open-invisible):
15673 * ps-def.el (declare-function, charset-dimension, char-width)
15675 * ps-mule.el (ps-mule-plot-string):
15676 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15677 (recentf-edit-list-select, recentf-edit-list-validate)
15678 (recentf-open-files-action):
15679 * rect.el (delete-whitespace-rectangle-line)
15680 (rectangle-number-line-callback):
15681 * register.el (window-configuration-to-register)
15682 (frame-configuration-to-register):
15683 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15684 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15685 (xselect-convert-to-targets, xselect-convert-to-delete)
15686 (xselect-convert-to-filename, xselect-convert-to-charpos)
15687 (xselect-convert-to-lineno, xselect-convert-to-colno)
15688 (xselect-convert-to-os, xselect-convert-to-host)
15689 (xselect-convert-to-user, xselect-convert-to-class)
15690 (xselect-convert-to-name, xselect-convert-to-integer)
15691 (xselect-convert-to-atom, xselect-convert-to-identity):
15692 * subr.el (declare, ignore, process-kill-without-query)
15693 (text-clone-maintain):
15694 * terminal.el (te-get-char, te-tic-sentinel):
15695 * tool-bar.el (tool-bar-make-keymap):
15696 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15697 * type-break.el (type-break-mode, type-break-noninteractive-query):
15698 * view.el (View-back-to-mark):
15699 * wid-browse.el (widget-browse-action, widget-browse-widget)
15700 (widget-browse-widgets, widget-browse-sexp):
15701 * widget.el (define-widget-keywords):
15702 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15703 Mark unused parameters.
15705 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15706 (align-areas): Remove unused variable `look'.
15707 (align-region): Remove unused variables `real-end' and `pos-list'.
15709 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15711 * bindings.el (mode-line-modified, mode-line-remote):
15712 Mark unused parameters.
15713 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15715 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15716 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15718 * comint.el (comint-history-isearch-pop-state)
15719 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15720 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15721 (comint-substitute-in-file-name): Doc fix.
15723 * completion.el (cmpl-statistics-block): Mark unused parameter.
15724 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15725 (save-completions-to-file, load-completions-from-file):
15726 Remove unused local variable `e'.
15728 * composite.el (compose-chars): Remove unused variable `len'.
15729 (lgstring-insert-glyph): Remove unused variable `g'.
15730 (compose-glyph-string): Remove unused variables `ascent',
15731 `descent', `lbearing' and `rbearing'.
15732 (compose-glyph-string-relative): Remove unused variables
15733 `lbearing', `rbearing' and `wadjust'.
15734 (compose-gstring-for-graphic): Remove unused variables `header',
15735 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15736 (compose-gstring-for-terminal): Remove unused variables `header'
15737 and `nchars'. Use `let', not `let*'.
15739 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15740 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15741 (Custom-buffer-done, custom-buffer-create-internal)
15742 (custom-browse-visibility-action, custom-browse-group-tag-action)
15743 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15744 (widget-magic-mouse-down-action, custom-toggle-parent)
15745 (custom-add-parent-links, custom-toggle-hide-variable)
15746 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15747 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15748 (custom-face-menu-create, custom-variable-menu-create, get)
15749 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15750 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15751 (customize-apropos): Remove unused variable `tests'.
15752 (custom-group-value-create): Remove unused variable `hidden-p'.
15753 (sort-fold-case): Declare.
15755 * cus-theme.el (custom-reset-standard-faces-list)
15756 (custom-reset-standard-variables-list): Declare.
15757 (customize-create-theme, custom-theme-revert, custom-theme-write)
15758 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15759 Mark unused parameters.
15761 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15763 * delim-col.el (delimit-columns-max): Move defvar before first use.
15765 * descr-text.el (describe-char-categories): Don't quote `lambda'.
15766 (describe-char): Don't quote `lambda'. Mark unused parameter.
15768 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15769 (auto-insert): Declare.
15770 (desktop-restore-file-buffer): Rename desktop-* parameters;
15772 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15773 (desktop-buffer): Rename desktop-* parameters.
15775 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15776 (dframe-reposition-frame-xemacs, dframe-help-echo)
15777 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15778 Mark unused parameters.
15780 * dired-aux.el (backup-extract-version-start, overwrite-query)
15781 (overwrite-backup-query, rename-regexp-query)
15782 (rename-non-directory-query): Declare.
15783 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15784 (dired-add-entry): Remove unused variable `orig-file-name'.
15785 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15786 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15787 `dired-copy-preserve-time' directly.
15788 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15789 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15791 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15792 (dired-virtual-revert, dired-make-relative-symlink):
15793 Mark unused parameters.
15794 (manual-program): Declare.
15795 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15796 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15797 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15799 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15801 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15803 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15806 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15808 * electric.el (Electric-command-loop): Rename parameter
15809 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15811 * expand.el (expand-in-literal): Remove unused variable `here'.
15813 * facemenu.el (facemenu-add-new-color):
15814 Remove unused variable `docstring'.
15816 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15817 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15818 (face-attr-construct): Mark unused parameter. Doc fix.
15819 (read-color): Remove unused variable `hex-string'.
15821 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15822 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15823 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15824 (display-buffer-other-frame): Remove unused variable `old-window'.
15825 (kill-buffer-hook): Declare.
15826 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15827 Mark unused parameters.
15828 (after-find-file): Pass 1 to `auto-save-mode', not t.
15830 * files-x.el (auto-insert): Declare.
15831 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15833 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
15834 variable `buf'. Mark unused parameter.
15835 (find-lisp-insert-directory): Mark unused parameter.
15837 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15838 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15839 (format-common-tail): Remove, unused.
15840 (format-deannotate-region): Remove unused variable `loc'.
15841 (format-annotate-region): Remove unused variable `p'.
15842 (format-annotate-single-property-change): Remove unused variables
15843 `default' and `tail'.
15845 * forms.el (read-file-filter): Declare.
15846 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15848 * frame.el (frame-creation-function-alist): Mark unused parameter.
15849 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15851 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15852 Remove unused parameters.
15853 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15854 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15856 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15857 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15858 (hfy-prepare-tag-map): Mark unused parameters.
15859 (htmlfontify-buffer): Use `called-interactively-p'.
15861 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15862 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15863 (ibuffer-do-occur): Mark unused parameters.
15864 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15865 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15867 * ibuffer.el: Don't quote `lambda'.
15868 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15869 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15870 Mark unused parameters.
15872 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15873 (ido-completing-read): Mark unused parameters.
15874 (ido-copy-current-word): Mark unused parameters;
15875 remove unused variable `name'.
15876 (ido-sort-merged-list): Remove unused parameter `dirs'.
15878 * ielm.el (ielm-input-sender): Mark unused parameter.
15879 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15880 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15881 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15882 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15883 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15885 * image-dired.el (image-dired-display-thumbs): Remove unused
15886 variables `curr-file' and `count'.
15887 (image-dired-remove-tag): Remove unused variable `start'.
15888 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15889 variable `curr-file'
15890 (image-dired-rotate-original): Remove unused variable `temp-file'.
15891 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15892 Remove unused variable `file'.
15893 (image-dired-gallery-generate): Remove unused variable `curr'.
15894 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15896 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15898 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15900 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15902 * isearch.el (minibuffer-history-symbol): Declare.
15903 (isearch-edit-string): Remove unused variable `err'.
15904 (isearch-message-prefix, isearch-message-suffix):
15905 Mark unused parameters.
15907 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15909 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15911 * makesum.el (double-column): Remove unused variable `cnt'.
15913 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15914 (ido-ignore-item-temp-list): Declare.
15916 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15917 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15918 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15919 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15922 * mouse-sel.el (mouse-extend-internal):
15923 Remove unused variable `orig-window-frame'.
15925 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15926 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15927 Move declarations before first use.
15928 (pcomplete-opt): Mark unused parameters; doc fix.
15930 * proced.el (proced-revert): Mark unused parameter.
15931 (proced-send-signal): Remove unused variable `err'.
15933 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15934 Rename parameter PREFIX-ARG to ARG.
15935 (ps-basic-plot-string, ps-basic-plot-whitespace):
15936 Mark unused parameters.
15938 * replace.el (replace-count): Define.
15939 (occur-revert-function): Mark unused parameters.
15940 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15941 (isearch-case-fold-search, isearch-string): Declare.
15942 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15943 bind `case-fold-search'. Remove unused variables `beg' and `end',
15945 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15946 COUNT and bind `replace-count'.
15947 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15950 * savehist.el (print-readably, print-string-length): Declare.
15952 * shadowfile.el (shadow-expand-cluster-in-file-name):
15953 Remove unused variable `cluster'.
15954 (shadow-copy-file): Remove unused variable `i'.
15955 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15956 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15957 (shadow-define-literal-group, shadow-define-regexp-group)
15958 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15960 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15961 (shell): Use `called-interactively-p'.
15962 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15964 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15965 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15966 (delete-backward-char): Remove unused variable `ocol'.
15967 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15968 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15969 (event-apply-hyper-modifier, event-apply-shift-modifier)
15970 (event-apply-control-modifier, event-apply-meta-modifier):
15971 Mark unused parameters.
15972 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15973 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15975 * speedbar.el (speedbar-ignored-directory-expressions)
15976 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15977 (speedbar-find-file, speedbar-dir-follow)
15978 (speedbar-directory-buttons-follow, speedbar-tag-find)
15979 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15980 (speedbar-buffers-line-directory, speedbar-buffer-click):
15981 Mark unused parameters.
15982 (speedbar-tag-file): Remove unused variable `mode'.
15983 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15985 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15987 * talk.el (talk): Remove unused variable `display'.
15989 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15990 (tar-write-region-annotate): Mark unused parameter.
15992 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15993 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15994 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15995 warning by another.
15997 * time-stamp.el (time-stamp-string-preprocess):
15998 Remove unused variable `require-padding'.
16000 * tree-widget.el (widget-glyph-enable): Declare.
16001 (tree-widget-action): Mark unused parameter.
16003 * w32-fns.el (x-get-selection): Mark unused parameter.
16004 (autoload-make-program, generated-autoload-file): Declare.
16006 * wdired.el (wdired-revert): Mark unused parameters.
16007 (wdired-xcase-word): Remove unused variable `err'.
16009 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16010 (whitespace-help-scroll): Remove unused variable `data-help'.
16012 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16013 (widget-image-insert, widget-after-change, default)
16014 (widget-default-format-handler, widget-default-notify)
16015 (widget-default-prompt-value, widget-info-link-action)
16016 (widget-url-link-action, widget-function-link-action)
16017 (widget-variable-link-action, widget-file-link-action)
16018 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16019 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16020 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16021 (widget-insert-button-action, widget-delete-button-action, visibility)
16022 (widget-documentation-link-action, widget-documentation-string-action)
16023 (widget-const-prompt-value, widget-regexp-match, symbol)
16024 (widget-coding-system-prompt-value)
16025 (widget-key-sequence-value-to-external, sexp)
16026 (widget-sexp-value-to-internal, character, vector, cons)
16027 (widget-choice-prompt-value, widget-boolean-prompt-value)
16028 (widget-color--choose-action): Mark unused parameters.
16029 (widget-item-match-inline, widget-choice-match-inline)
16030 (widget-checklist-match, widget-checklist-match-inline)
16031 (widget-group-match): Rename parameter VALUES to VALS.
16032 (widget-field-value-set): Remove unused variable `size'.
16033 (widget-color-action): Remove unused variables `value' and `start'.
16035 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
16036 variable `dir'. Doc fix.
16037 (windmove-find-other-window): Don't pass it.
16039 * window.el (count-windows): Mark unused parameter.
16040 (bw-adjust-window): Remove unused variable `err'.
16042 * woman.el (woman-file-name): Remove unused variable `default'.
16043 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16044 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16045 (global-font-lock-mode): Declare.
16046 (woman-decode-region): Mark unused parameter.
16047 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16049 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16050 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16051 (x-dnd-handle-moz-url): Remove unused variable `title'.
16052 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16054 * xml.el (xml-parse-tag, xml-parse-attlist):
16055 Remove unused variable `pos'.
16057 2011-04-19 Glenn Morris <rgm@gnu.org>
16059 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16060 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16061 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16062 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16063 * calendar/cal-html.el (cal-html-insert-minical):
16064 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16065 (calendar-mark-date-pattern):
16066 Prefix "unused" locals.
16068 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16069 optional argument `style'.
16071 * calendar/appt.el (appt-make-list):
16072 * calendar/cal-china.el (calendar-chinese-date-string):
16073 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16074 (diary-hebrew-yahrzeit):
16075 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16076 * calendar/calendar.el (calendar-generate-window):
16077 * calendar/time-date.el (time-to-days):
16078 Remove unused local variables.
16080 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
16082 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16083 glyphless-char-display table.
16084 (tabulated-list-glyphless-char-display): New var.
16086 2011-04-18 Sam Steingold <sds@gnu.org>
16088 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16089 to acknowledgments.
16091 2011-04-17 Glenn Morris <rgm@gnu.org>
16093 * calendar/diary-lib.el (diary-sexp-entry):
16094 * calendar/holidays.el (holiday-sexp):
16095 Set debug-on-error rather than the removed stack-trace-on-error.
16097 2011-04-16 Glenn Morris <rgm@gnu.org>
16099 * progmodes/f90.el: Use lexical-binding.
16100 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16102 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16104 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16105 (mail-mode): Setup mailalias completion here instead.
16106 * mail/mailalias.el: Use lexical-binding.
16107 (pattern, mailalias-done): Declare dynamic.
16108 (mail-completion-at-point-function): New function, from mail-complete.
16109 (mail-complete): Use it.
16110 (mail-completion-expand): New function.
16111 (mail-get-names): Use it.
16112 (mail-directory, mail-directory-process, mail-directory-stream):
16113 Don't use `pattern' for lexically bound arg.
16115 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16117 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16118 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16119 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16121 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16122 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16123 (byte-interactive-p): Define them again, for use when inlining
16126 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
16128 * loadup.el: Use `string-to-number', not `string-to-int'.
16130 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16132 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16133 gud-gdb-complete-command.
16134 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16135 (gud-gdb-completion-at-point): New function.
16136 (gud-gdb-completions): Remove.
16138 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
16140 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16141 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16142 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16143 whether `executable-find' is bound.
16145 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16147 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16149 * minibuffer.el (completion-in-region-mode-predicate)
16150 (completion-in-region-mode--predicate): New vars.
16151 (completion-in-region, completion-in-region--postch)
16152 (completion-in-region-mode): Use them.
16153 (completion--capf-wrapper): Also return the hook function.
16154 (completion-at-point, completion-help-at-point):
16155 Adjust and provide a predicate.
16157 Preserve arg names for advice of subr and lexical functions (bug#8457).
16158 * help-fns.el (help-function-arglist): Consolidate the subr and
16159 new-byte-code cases. Add argument `preserve-names' to extract names
16160 from the docstring when needed.
16161 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16162 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16163 (ad-arglist): Use help-function-arglist's new arg.
16164 (ad-definition-type): Use cond.
16166 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
16168 * autorevert.el (auto-revert-handler):
16169 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16170 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16171 Don't quote lambda.
16173 * image-mode.el (image-transform-set-scale):
16174 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16176 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16178 * net/network-stream.el (network-stream-open-starttls): Only do
16179 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
16180 Upgrades via gnutls-cli are too slow to be done opportunistically.
16182 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
16184 * dframe.el (dframe-current-frame): Remove spurious quote.
16186 2011-04-12 Glenn Morris <rgm@gnu.org>
16188 * calendar/cal-tex.el (cal-tex-end-document):
16189 Try to automatically use latin1 input if needed.
16191 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16192 Don't try to cons a mark onto an empty element.
16194 2011-04-11 Leo Liu <sdl.web@gmail.com>
16196 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16198 (ido-kill-buffer-at-head): Support killing virtual buffers.
16200 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
16202 * minibuffer.el (completion-show-inline-help): New var.
16203 (completion--do-completion, minibuffer-complete)
16204 (minibuffer-force-complete, minibuffer-complete-word):
16205 Inhibit minibuffer messages if completion-show-inline-help is nil.
16207 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16208 to avoid interference from inline help (Bug#5849).
16210 2011-04-10 Leo Liu <sdl.web@gmail.com>
16212 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16215 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
16217 * image-mode.el (image-toggle-display-image): Signal an error if
16219 (image-transform-mode, image-transform-resize)
16220 (image-transform-set-rotation): Doc fix.
16221 (image-transform-set-resize): Delete.
16222 (image-transform-set-scale, image-transform-fit-to-height)
16223 (image-transform-fit-to-width): Handle image-toggle-display-image
16224 and image-transform-resize directly.
16226 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
16228 * doc-view.el (doc-view-fit-width-to-window)
16229 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16230 New functions for fitting the shown image to the Emacs window size.
16231 (doc-view-mode-map): Add bindings for the new functions.
16233 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
16235 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
16236 Fix typo in docstring.
16238 2011-04-08 Eli Zaretskii <eliz@gnu.org>
16240 * files.el (file-size-human-readable): Produce one digit after
16241 decimal, like "ls -lh" does.
16243 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16244 the file size representation.
16246 * simple.el (list-processes): If async subprocesses are not
16247 available, error out with a clear error message.
16249 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
16251 * help.el (help-form-show): New function, to be called from C.
16252 Put help-form output in a buffer named differently than *Help*.
16254 2011-04-08 Eli Zaretskii <eliz@gnu.org>
16256 * files.el (file-size-human-readable): New function.
16258 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16259 computing the representation inline. Don't require `cl'.
16261 2011-04-08 Glenn Morris <rgm@gnu.org>
16263 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16265 * net/browse-url.el (browse-url-firefox):
16266 Test system-type, not system-configuration.
16268 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16269 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16270 Use log-edit-empty-buffer-p. (Bug#7598)
16272 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16273 (rlogin-mode-map): Initialize in the defvar.
16274 (rlogin): Use ignore-errors.
16276 * replace.el (occur-mode-map): Some fixes for menu items.
16278 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16280 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16282 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
16284 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16285 issuing unused warnings.
16287 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16290 * simple.el: Lisp reimplement of list-processes. Based on an
16291 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16292 (process-menu-mode): New major mode.
16293 (list-processes--refresh, list-processes):
16294 (process-menu-visit-buffer): New functions.
16296 * files.el (save-buffers-kill-emacs): Don't assume any return
16297 value of list-processes, which is undocumented anyway.
16299 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
16301 * emacs-lisp/tabulated-list.el: New file.
16303 * emacs-lisp/package.el: Use Tabulated List mode.
16304 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16305 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16306 table format using Tabulated List mode variables.
16307 (package--push): New macro, replacing package-list-maybe-add.
16308 (package-menu--generate): Use package--push. Renamed from
16309 package--generate-package-list.
16310 (package-menu-refresh, list-packages): Use it.
16311 (package-menu--print-info): Rename from package-print-package.
16312 Return insertion data instead of inserting it directly.
16313 (package-menu-describe-package, package-menu-execute):
16314 Use tabulated-list-get-id.
16315 (package-menu-mark-delete, package-menu-mark-install)
16316 (package-menu-mark-unmark, package-menu-backup-unmark)
16317 (package-menu-mark-obsolete-for-deletion):
16318 Use tabulated-list-put-tag.
16319 (package--list-packages, package-menu-revert)
16320 (package-menu-get-package, package-menu-get-version)
16321 (package-menu-sort-by-column): Functions deleted.
16322 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16323 (package-menu--status-predicate, package-menu--version-predicate)
16324 (package-menu--name-predicate)
16325 (package-menu--description-predicate): Handle arguments in the
16326 Tabulated List format.
16327 (package-list-packages-no-fetch): Call list-packages.
16329 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
16331 * files.el (after-find-file-from-revert-buffer): Remove variable.
16332 (after-find-file): Don't bind it.
16333 (revert-buffer-in-progress-p): New variable.
16334 (revert-buffer): Bind it.
16335 Pass nil for `after-find-file-from-revert-buffer'.
16337 * saveplace.el (save-place-find-file-hook): Use new variable
16338 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16340 2011-04-06 Glenn Morris <rgm@gnu.org>
16342 * Makefile.in (AUTOGEN_VCS): New variable.
16343 (autoloads): Use $AUTOGEN_VCS.
16345 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16346 * calendar/calendar.el (calendar-mode-map):
16347 Check for toolkit scroll bars. (Bug#8305)
16349 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16351 * minibuffer.el (completion-in-region--postch)
16352 (completion-in-region-mode): Remove unnecessary messages.
16354 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
16356 * font-lock.el (font-lock-refresh-defaults):
16357 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16358 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16360 * info.el (Info-directory-list, Info-read-node-name-2)
16361 (Info-split-parameter-string): Doc fixes.
16362 (Info-virtual-nodes): Reflow docstring.
16363 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16364 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16365 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16366 Fix typos in docstrings.
16367 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16368 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16369 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16370 (Info-restore-desktop-buffer): Mark unused parameters.
16371 (Info-directory-find-file, Info-directory-find-node)
16372 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16373 (Info-virtual-index-find-node, Info-apropos-find-file)
16374 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
16375 Mark unused parameters; fix typos in docstrings.
16376 (Info-virtual-index): Remove unused local variable `nodename'.
16378 2011-04-05 Deniz Dogan <deniz@dogan.se>
16380 * net/rcirc.el: Update my e-mail address.
16381 (rcirc-mode-map): Remove M-o binding.
16383 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16385 * startup.el (command-line): Save the cursor's theme-face
16386 directly, instead of using face-override-spec.
16388 * custom.el (load-theme): Minor optimization in assigning faces.
16390 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16392 * help-fns.el (describe-variable): Complete all variables having
16393 documentation, including keywords.
16394 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16396 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16398 Convert to lexical-binding.
16400 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16401 (bs--get-marked-string, bs--get-modified-string)
16402 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16403 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16404 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16406 * ehelp.el (electric-help-execute-extended)
16407 (electric-help-ctrl-x-prefix):
16408 * hexl.el (hexl-revert-buffer-function):
16409 * linum.el (linum-after-change, linum-after-scroll):
16410 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16412 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16414 2011-04-04 Daiki Ueno <ueno@unixuser.org>
16421 * epg.el: Use lexical binding.
16423 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
16425 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16427 * textmodes/flyspell.el (flyspell-word): Recognize default
16428 dictionary case for flyspell-mark-duplications-exceptions.
16429 Use regexp matching for languages.
16430 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16431 default dictionary (Bug#7926).
16433 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
16435 * emacs-lisp/package.el (package--with-work-buffer):
16436 Recognize https URLs.
16438 * net/network-stream.el: Move from gnus/proto-stream.el.
16439 Change prefix to network-stream throughout.
16440 (open-protocol-stream): Merge into open-network-stream, leaving
16441 open-protocol-stream as an alias. Handle nil BUFFER args.
16443 * subr.el (open-network-stream): Move to net/network-stream.el.
16445 2011-04-02 Glenn Morris <rgm@gnu.org>
16447 * find-dired.el (find-exec-terminator): New option.
16448 (find-ls-option): Test for -ls support.
16449 (find-ls-subdir-switches): Test for -b in find-ls-option.
16450 (find-dired, find-grep-dired): Doc fixes.
16451 (find-dired): Use find-exec-terminator.
16453 * find-dired.el (find-ls-option, find-ls-subdir-switches)
16454 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16455 (find-name-arg): Remove purecopy.
16457 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16458 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16459 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16460 accordingly. Don't add the null-device if not needed.
16462 * files.el (save-some-buffers): Doc fix.
16464 2011-04-02 Eli Zaretskii <eliz@gnu.org>
16466 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16468 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
16470 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16471 Use `dolist' rather than `mapcar'.
16473 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16475 Add lexical binding.
16477 * subr.el (apply-partially): Use new closures rather than CL.
16478 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16479 (dolist, dotimes): Use slightly different expansion for lexical code.
16480 (functionp): Move to C.
16481 (letrec): New macro.
16482 (with-wrapper-hook): Use it and apply-partially instead of CL.
16483 (eval-after-load): Preserve lexical-binding.
16484 (save-window-excursion, with-output-to-temp-buffer): Turn them
16487 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16489 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16491 (help-add-fundoc-usage): Don't add `Not documented'.
16492 (help-function-arglist): Handle closures, subroutines, and new
16493 byte-code-functions.
16494 (help-make-usage): Remove leading underscores.
16495 (describe-function-1): Handle closures.
16496 (describe-variable): Use special-variable-p for completion.
16498 * files.el (lexical-binding): Declare safe.
16500 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16501 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16502 (pcase): Add `let' pattern.
16503 Change memoization so it actually works.
16504 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16505 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16508 * emacs-lisp/macroexp.el: Use lexical binding.
16509 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16510 Don't convert ' to #' without checking that it's indeed quoting
16513 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
16514 Use eval-sexp-add-defvars.
16515 (eval-sexp-add-defvars): New fun.
16517 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16519 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16521 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16522 than the internal `byte-compile-lambda'.
16523 (defmethod): Don't hide code under quotes.
16524 (eieio-defmethod): New `code' argument.
16526 * emacs-lisp/eieio-comp.el: Remove.
16528 * emacs-lisp/edebug.el (edebug-eval-defun)
16529 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16530 (edebug-toggle): Avoid `eval'.
16532 * emacs-lisp/disass.el (disassemble-internal): Handle new
16534 (disassemble-1): Handle new byte codes.
16536 * emacs-lisp/cl.el (pushnew): Silence warning.
16538 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16539 (cl-byte-compile-throw): Remove.
16540 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16542 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16545 * emacs-lisp/cconv.el: New file.
16547 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16548 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16549 (byte-compile-initial-macro-environment):
16550 Handle declare-function here.
16551 (byte-compile--lexical-environment): New var.
16552 (byte-stack-ref, byte-stack-set, byte-discardN)
16553 (byte-discardN-preserve-tos): New lap codes.
16554 (byte-interactive-p): Don't use any more.
16555 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16557 (byte-compile-lapcode): Use them and handle new lap codes.
16558 (byte-compile-obsolete): Remove.
16559 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16560 (byte-compile-arglist-warn): Check late def of inlinable funs.
16561 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16562 since they should have been expanded by now.
16563 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16564 (byte-compile-from-buffer): Remove unused second arg.
16565 (byte-compile-preprocess): New function.
16566 (byte-compile-toplevel-file-form): New function to distinguish
16567 file-form calls from outside from file-form calls from hunk-handlers.
16568 (byte-compile-file-form): Simplify.
16569 (byte-compile-file-form-defsubst): Remove.
16570 (byte-compile-file-form-defmumble): Simplify now that
16571 byte-compile-lambda always returns a byte-code-function.
16572 (byte-compile): Preprocess.
16573 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16574 Remove, not used any more.
16575 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16576 (byte-compile-make-args-desc): New funs.
16577 (byte-compile-lambda): Handle lexical functions. Always return
16578 a byte-code-function.
16579 (byte-compile-reserved-constants): New var, to make up room for
16580 closed-over variables.
16581 (byte-compile-constants-vector): Obey it.
16582 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16583 (byte-compile-macroexpand-declare-function): New function.
16584 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16585 byte-code-functions.
16586 (byte-compile-form): Check obsolescence here.
16587 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16588 (byte-compile-variable-ref): Remove.
16589 (byte-compile-dynamic-variable-op): New fun.
16590 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16591 (byte-compile-variable-set): New funs.
16592 (byte-compile-discard): Add 2 args.
16593 (byte-compile-stack-ref, byte-compile-stack-set)
16594 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16595 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16596 macroexpand-all instead.
16597 (byte-compile-quote-form): Remove.
16598 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16599 (byte-compile-bind, byte-compile-unbind): New funs.
16600 (byte-compile-let): Handle let* and lexical binding.
16601 (byte-compile-let*): Remove.
16602 (byte-compile-catch, byte-compile-unwind-protect)
16603 (byte-compile-track-mouse, byte-compile-condition-case):
16604 Handle a new :fun-body form, used for lexical scoping.
16605 (byte-compile-save-window-excursion)
16606 (byte-compile-with-output-to-temp-buffer): Remove.
16607 (byte-compile-defun): Simplify.
16608 (byte-compile-stack-adjustment): New fun.
16609 (byte-compile-out): Use it.
16610 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16612 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16615 * emacs-lisp/byte-opt.el: Use lexical binding.
16616 (byte-inline-lapcode): Remove (to bytecomp).
16617 (byte-compile-inline-expand): Pay attention to inlining to/from
16618 lexically bound code.
16619 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16621 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16622 any more and don't call compiler-macros.
16623 (byte-compile-splice-in-already-compiled-code): Remove.
16624 (byte-code): Don't inline any more.
16625 (disassemble-offset): Receive `bytes' as argument rather than via
16627 (byte-compile-tag-number): Declare before first use.
16628 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16629 `return' even if make-spliceable.
16630 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16631 obsolete interactive-p.
16632 (byte-optimize-lapcode): Optimize new lap-codes.
16633 Don't trip up on new form of `byte-constant' lap code.
16635 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16637 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16639 * custom.el (custom-initialize-default, custom-declare-variable):
16642 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16644 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16645 (COMPILE_FIRST): Add macroexp and cconv.
16646 * makefile.w32-in: Mirror changes in Makefile.in.
16648 * vc/cvs-status.el:
16652 * vc/smerge-mode.el:
16653 * textmodes/bibtex-style.el:
16654 * textmodes/css-mode.el:
16662 * emacs-lisp/smie.el:
16665 * abbrev.el: Use lexical binding.
16667 2011-04-01 Eli Zaretskii <eliz@gnu.org>
16669 * info.el (info-display-manual): New function.
16671 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16673 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16675 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16677 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
16678 an entry for that server in rcirc-authinfo. (Bug#8385)
16680 2011-03-31 Glenn Morris <rgm@gnu.org>
16682 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16684 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16686 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16688 * progmodes/python.el (python-default-interpreter)
16689 (python-python-command-args, python-jython-command-args)
16690 (python-which-shell, python-which-args, python-which-bufname)
16691 (python-file-queue, python-comint-output-filter-function)
16692 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16693 variables and functions.
16695 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16697 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16698 (completion-in-region-mode): New minor mode.
16699 (completion-in-region): Use it.
16700 (completion-in-region--data, completion-in-region-mode-map): New vars.
16701 (completion-in-region--postch): New function.
16702 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16704 (completion--capf-wrapper): New function.
16705 (completion-at-point): Use it to track well-behavedness of
16707 (completion-help-at-point): New command.
16709 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16711 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16712 syntax class to search for whitespace on a single line
16713 (Message-ID: <4D938140.4030905@redhat.com>).
16715 2011-03-30 Leo Liu <sdl.web@gmail.com>
16717 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16719 (edit-abbrevs-map): Bind them here.
16720 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16722 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16724 * allout.el (allout-hide-by-annotation, allout-flag-region):
16725 Reduce possibility of overlay leakage by making them volatile.
16727 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16728 hash is not shared between buffers. Mode initialization is
16729 responsible for giving it a useful starting value.
16730 (allout-item-span): Reduce possibility of overlay leakage by
16731 making them volatile.
16732 (allout-widgets-count-buttons-in-region): Add diagnostic function
16733 for tracking down button overlay leaks.
16735 2011-03-29 Leo Liu <sdl.web@gmail.com>
16737 * ido.el (ido-read-internal): Use the default history var
16738 minibuffer-history if no HISTORY is specified.
16740 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16742 * net/imap.el (imap-shell-open, imap-process-connection-type):
16743 Use imap-process-connection-type for 'shell' streams as well as
16744 Kerberos, SSL, other subprocesses.
16746 2011-03-28 Leo Liu <sdl.web@gmail.com>
16748 * abbrev.el (abbrev-table-empty-p): New function.
16749 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16750 nonempty ones. (Bug#5937)
16752 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16754 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16756 2011-03-27 Leo Liu <sdl.web@gmail.com>
16758 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16759 for foreground and background colors.
16760 (ansi-color-make-color-map): Adapt.
16762 2011-03-25 Leo Liu <sdl.web@gmail.com>
16764 * midnight.el (midnight-time-float): Remove. Note it calculates
16765 the microsecond component incorrectly and seconds-to-time does the
16767 Remove redundant (require 'timer).
16769 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16770 (ido-completions): Remove unused arguments. (Bug#8329)
16772 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16774 * minibuffer.el (completion--flush-all-sorted-completions):
16775 Remove itself from hook.
16776 (completion-at-point): Let the functions perform the completion
16777 immediately and return nil or t.
16778 * comint.el (comint-dynamic-complete-functions): Now identical to
16779 completion-at-point-functions.
16780 (comint-dynamic-list-input-ring): Remove unused var `index'.
16781 (comint--match-partial-filename, comint--unquote&expand-filename):
16782 New funs, split from comint-match-partial-filename.
16783 (comint-dynamic-complete): Use completion-at-point.
16784 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16786 2011-03-24 Drew Adams <drew.adams@oracle.com>
16788 * thingatpt.el: Support `defun'.
16790 2011-03-23 Leo Liu <sdl.web@gmail.com>
16792 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16794 * help-mode.el (help-mode-finish): Tweak regexp.
16796 2011-03-23 Glenn Morris <rgm@gnu.org>
16798 * eshell/esh-opt.el (eshell-eval-using-options):
16799 Do not bind unused local variable `eshell-option-stub'.
16801 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16803 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16805 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16806 keymap variable in `with-no-warnings' to avoid a warning when the
16807 keymap has been already `defconst'ed.
16809 2011-03-22 Leo Liu <sdl.web@gmail.com>
16811 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16812 encode all chars in abbrevs; otherwise use emacs-mule or
16813 utf-8-emacs. (Bug#8308)
16815 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16817 * simple.el (backward-delete-char-untabify):
16818 Avoid warning about using `delete-backward-char'.
16820 * image.el (image-type-file-name-regexps): Make it variable.
16821 `imagemagick-register-types' modifies it, and the user may want
16822 to add new extensions for known image types.
16823 (imagemagick-register-types): Throw error if not using ImageMagick.
16825 2011-03-22 Leo Liu <sdl.web@gmail.com>
16827 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16828 located before rcirc-prompt-end-marker.
16829 (rcirc-complete): Error if point is not after rcirc prompt.
16830 Handle the case when table is nil.
16831 (rcirc-user-authenticated): Define to fix compiler warning.
16833 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
16835 * custom.el (custom--inhibit-theme-enable): Make it affect only
16836 custom-theme-set-variables and custom-theme-set-faces.
16837 (provide-theme): Ignore custom--inhibit-theme-enable.
16838 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16839 (custom-enabling-themes): Delete variable.
16840 (enable-theme): Accept only loaded themes as arguments.
16841 Ignore the special custom-enabled-themes variable.
16842 (custom-enabled-themes): Forbid themes from setting this.
16843 Eliminate use of custom-enabling-themes.
16844 (custom-push-theme): Quote "changed" custom var entry.
16846 2011-03-21 Leo Liu <sdl.web@gmail.com>
16848 * ido.el (ido-read-internal): Add ido-selected to history instead
16851 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16853 * subr.el (deferred-action-list, deferred-action-function):
16856 2011-03-21 Leo Liu <sdl.web@gmail.com>
16858 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16859 change on 2011-02-13 (bug#8309).
16861 * minibuffer.el (read-file-name-function): Change default value.
16862 (read-file-name--defaults): Rename from read-file-name-defaults.
16863 (read-file-name-default): Rename from read-file-name.
16864 (read-file-name): Call read-file-name-function.
16866 2011-03-21 Glenn Morris <rgm@gnu.org>
16868 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16871 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
16873 * cus-theme.el: Add missing provide statement.
16874 (customize-create-theme): Extract theme value correctly.
16875 (custom-theme-visit-theme): Autoload.
16876 (customize-create-theme): Prompt before inserting default faces.
16878 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16880 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16881 units and musical notes.
16883 2011-03-20 Leo Liu <sdl.web@gmail.com>
16885 * ido.el (ido-read-internal): Use completing-read-default.
16886 (ido-completing-read): Fix compatibility with completing-read.
16888 2011-03-20 Christian Ohler <ohler@gnu.org>
16890 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16891 (ert-delete-all-tests): Use `called-interactively-p' rather than
16893 (ert--make-xrefs-region): Respect END.
16895 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16897 * dired-aux.el (dired-create-directory): Signal an error if the
16898 directory already exists (Bug#8246).
16900 * facemenu.el (list-colors-display): Call list-faces-display
16901 inside with-help-window.
16902 (list-colors-print): Use display property to align the final
16903 column, instead of checking window-width.
16905 2011-03-19 Eli Zaretskii <eliz@gnu.org>
16907 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
16908 windows-nt systems.
16909 (emerge-protect-metachars): Quote correctly for ms-dos and
16910 windows-nt systems.
16912 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
16914 * info.el (info-initialize): Replace all uses of `:' with
16915 path-separator for compatibility with non-Unix systems.
16916 Cache quoting of path-separator. (Bug#8258)
16918 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
16920 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16921 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16922 (mouse-avoidance-mode): Fix typos in docstrings.
16924 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16926 * startup.el (package-subdirectory-regexp): Move from package.el.
16927 Omit \\` and \\', and let callers add them.
16929 * emacs-lisp/package.el (package-strip-version)
16930 (package-load-all-descriptors): Add \\` and \\' to
16931 package-subdirectory-regexp before using it.
16932 (package-untar-buffer): New arg DIR; ensure that file untars only
16933 into this expected directory. Remove superfluous delete-region.
16934 (package-unpack): Caller changed.
16935 (package-tar-file-info): Use package-subdirectory-regexp.
16937 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16939 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16940 diff-mode-shared-map (bug#8284).
16941 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
16943 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16945 * calendar/time-date.el (format-seconds): Use assoc instead of
16946 assoc-string, since assoc-string doesn't exist in XEmacs.
16948 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
16950 * custom.el (custom-known-themes): Reflow docstring.
16951 (custom-theme-load-path): Fix typo in docstring.
16952 (load-theme): Fix typo in error message.
16953 (custom-available-themes, custom-variable-theme-value):
16954 Use `let', not `let*'.
16956 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16958 * calc/README: Mention inclusion of musical notes.
16960 * calc/calc-units.el (calc-lu-quant): Rename from
16961 `calc-logunits-quantity'.
16962 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16963 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16964 (calc-db): Rename from `calc-dblevel'.
16965 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16966 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16967 (calc-np): Rename from `calc-nplevel'.
16968 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16969 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16970 (calc-lu-plus): Rename from `calc-logunits-add'.
16971 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16972 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16973 (calc-lu-minus): Rename from `calc-logunits-sub'.
16974 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16975 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16976 (calc-lu-times): Rename from `calc-logunits-mul'.
16977 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16978 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16979 (calc-lu-divide): Rename from `calc-logunits-div'.
16980 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16981 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16983 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16984 functions being autoloaded.
16986 * calc/calc.el (calc-lu-power-reference): Rename from
16987 `calc-logunits-power-reference'.
16988 (calc-lu-field-reference): Rename from
16989 `calc-logunits-field-reference'.
16991 * calc/calc-help.el (calc-l-prefix-help):
16992 Mention musical note functions.
16994 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16996 * minibuffer.el (completion-all-sorted-completions):
16997 Use :completion-cycle-penalty text property if present.
16999 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17001 * allout.el (allout-yank-processing): Adjust for new rebulleting
17002 regime so bullet being yanked is used without prompting the user
17005 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
17007 * startup.el (command-line): Warn the user that _emacs is deprecated.
17009 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
17011 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17012 (delphi-verbose, delphi-comment-face, delphi-string-face)
17013 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17014 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17015 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17016 (delphi-new-comment-line, delphi-font-lock-defaults)
17017 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17018 Fix typos in docstrings.
17020 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17022 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
17023 Invert the roles of character and string values for INSTEAD, so a
17024 string is used for the more common case of a defaulting prompt.
17026 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17028 * progmodes/ruby-mode.el (ruby-backward-sexp):
17029 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17030 * play/gamegrid.el (gamegrid-make-face):
17031 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17032 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17033 * notifications.el (notifications-notify):
17034 * net/xesam.el (xesam-search-engines):
17035 * net/quickurl.el (quickurl-list-insert):
17036 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17038 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
17040 * startup.el (command-line): Update package subdirectory regexp.
17042 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17044 * allout.el (allout-abbreviate-flattened-numbering)
17045 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17047 * subr.el (read-char-choice): Only show the cursor after the prompt,
17048 not after the answer.
17050 2011-03-15 Kevin Ryde <user42@zip.com.au>
17052 * help-fns.el (variable-at-point): Skip leading quotes, if any
17055 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17057 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17060 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
17062 * shell.el (shell): When called interactively, offer to change the
17063 shell file name on remote hosts.
17065 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17067 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17068 integration for LDAP parameters. The host, base, user or binddn,
17069 and secret tokens can be specified in a netrc file, for instance.
17070 This is optional because an `auth-source' parameter must be
17071 specified in the search attributes.
17073 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
17075 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17077 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17079 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17080 into declaration. Remove redundant and harmful binding.
17082 2011-03-12 Eli Zaretskii <eliz@gnu.org>
17084 * files.el (file-ownership-preserved-p): Pass `integer' as an
17085 explicit 2nd argument to `file-attributes'. If the file's owner
17086 is the Administrators group on Windows, and the current user is
17087 Administrator, consider that a match.
17089 * server.el (server-ensure-safe-dir): Consider server directory
17090 safe on MS-Windows if its owner is the Administrators group while
17091 the current Emacs user is Administrator. Use `=' to compare
17092 numerical UIDs, since they could be integers or floats.
17094 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
17096 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17098 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
17100 Sync with Tramp 2.2.1.
17102 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17104 * net/trampver.el: Update release number.
17106 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17108 * progmodes/compile.el (compilation--previous-directory): Fix up
17109 various nil/dead-marker mismatches (bug#8014).
17110 (compilation-directory-properties, compilation-error-properties):
17111 Don't call it at a position past the one we're about to change.
17113 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17114 Disable obsolescence warnings in the file that declares it.
17116 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17118 * allout-widgets.el (allout-widgets-tally):
17119 Initialize allout-widgets-tally as a hash table rather than nil to
17120 prevent mode-line redisplay warnings. Also, clarify the module
17121 description and fix a comment typo.
17123 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
17125 * help-fns.el (describe-variable): Don't complete keywords.
17126 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17128 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
17130 * emacs-lisp/package.el (package-version-join): Impose a standard
17131 string representation for pre/alpha/beta version lists.
17132 (package-unpack-single): Standardize the directory name by passing
17133 it through package-version-join.
17134 (package-strip-rcs-id): Accept any version string that does not
17135 signal an error in version-to-list.
17137 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
17139 * simple.el (delete-trailing-whitespace): Return nil for the
17140 benefit of `write-file-functions'.
17142 2011-03-10 Glenn Morris <rgm@gnu.org>
17144 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17146 * vc/vc-git.el (vc-git-program): New option.
17147 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17148 (vc-git--call): Use it.
17150 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17152 * cus-edit.el (Custom-newline): If no button at point, look
17153 for a subgroup button at start-of-line. (Bug#2298)
17155 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17157 2011-03-10 Julien Danjou <julien@danjou.info>
17159 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17160 `cursor-type' is nil.
17162 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17164 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17166 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17168 * allout.el: Change so yank of distinctive-bullet items
17169 preserves the existing header prefix, rebulleting it if necessary,
17170 rather than replacing it. This is necessary for proper operation
17171 of cooperative addons like allout-widgets.
17172 (allout-make-topic-prefix, allout-rebullet-heading):
17173 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17174 value as alternate bullet to be used, instead of prompting the user
17175 for a bullet character.
17177 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
17179 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17180 Do not use `tramp-file-name-port', because this returns also
17181 `tramp-default-port'.
17183 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17185 * net/rcirc.el (rcirc-handler-001): Remove useless
17186 with-rcirc-process-buffer.
17187 (rcirc-check-auth-status): Swap arguments to string-match.
17189 2011-03-09 Glenn Morris <rgm@gnu.org>
17191 * shell.el (shell-mode):
17192 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17194 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17195 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17197 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
17199 * emacs-lisp/package.el (package-refresh-contents)
17200 (package-menu-execute): Use condition-case-no-debug.
17202 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
17204 * simple.el (shell-command-to-string): Use `process-file'.
17206 * emacs-lisp/package.el (package-tar-file-info): Handle also
17209 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17210 Use `equal' for upload base check.
17212 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17214 * textmodes/texinfo.el (texinfo-environments):
17215 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17217 2011-03-08 Glenn Morris <rgm@gnu.org>
17219 * cus-start.el (cursor-in-non-selected-windows):
17220 Fix :set quoting oddness. (Bug#8192)
17222 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17223 in some setf expressions. (Bug#2159)
17225 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
17227 * custom.el (custom-available-themes): Return themes in
17228 alphabetical order.
17230 See ChangeLog.15 for earlier changes.
17232 ;; Local Variables:
17236 Copyright (C) 2011-2012 Free Software Foundation, Inc.
17238 This file is part of GNU Emacs.
17240 GNU Emacs is free software: you can redistribute it and/or modify
17241 it under the terms of the GNU General Public License as published by
17242 the Free Software Foundation, either version 3 of the License, or
17243 (at your option) any later version.
17245 GNU Emacs is distributed in the hope that it will be useful,
17246 but WITHOUT ANY WARRANTY; without even the implied warranty of
17247 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17248 GNU General Public License for more details.
17250 You should have received a copy of the GNU General Public License
17251 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.