1 2012-08-08 Juri Linkov <juri@jurta.org>
3 * info.el (Info-isearch-search): Doc fix.
4 (Info-search): Change search-failed message from "initial node" to
5 "end of node" (bug#12078).
6 (Info-isearch-search): Change `isearch-string-state' to
7 `isearch--state-string'.
9 2012-08-08 Glenn Morris <rgm@gnu.org>
11 * language/persian.el: Remove file.
12 * language/misc-lang.el: Move non-unique part of persian.el here.
13 * loadup.el: Remove language/persian.
15 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
17 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
19 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
21 * progmodes/python.el Fixed defsubst warning.
22 (python-syntax-context) Rename from python-info-ppss-context.
23 (python-syntax-context-type): Rename from
24 python-info-ppss-context-type.
25 (python-syntax-comment-or-string-p): Rename from
26 python-info-ppss-comment-or-string-p.
28 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
30 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
32 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
34 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
35 a defcustom that is quoted with backquote.
37 * calc/calc-prog.el (math-do-defmath): Use backquote forms. Fix
38 handling of interactive spec when the body uses return.
39 (math-do-arg-check, math-define-function-body): Use backquote forms.
40 * calc/calc-ext.el (math-defcache): Likewise.
41 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
42 * allout.el (allout-new-exposure): Likewise.
43 * calc/calcalg2.el (math-tracing-integral): Likewise.
44 * info.el (Info-last-menu-item): Likewise.
45 * emulation/vip.el (vip-loop): Likewise.
46 * textmodes/artist.el (artist-funcall): Likewise.
47 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
48 Construct menu-item directly.
50 * progmodes/autoconf.el (font-lock-syntactic-keywords): Don't
53 2012-08-07 Chong Yidong <cyd@gnu.org>
55 * simple.el (deactivate-mark): Preserve text properties when
56 saving the primary selection (Bug#8384).
58 2012-08-07 Kevin Ryde <user42@zip.com.au>
60 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
61 (woman-parse-numeric-value): On a bad .IP line, issue a warning
62 and continue processing (Bug#12110).
64 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
66 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
67 syntax-propertize-function (bug#10095).
69 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
71 * help-fns.el (help-fns--key-bindings, help-fns--signature)
72 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
74 (describe-function-1): Use them. Move compiler macro after sig.
75 (help-fns--compiler-macro): Use function-get. Assume we're already in
76 standard-output. Adjust layout to new call order.
78 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
79 re-binding a symbol that has a symbol-macro (bug#12119).
81 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
83 * language/persian.el: New file. (Bug#11812)
84 * loadup.el: Add language/persian.el.
86 2012-08-06 Chong Yidong <cyd@gnu.org>
88 * window.el (window--maybe-raise-frame): New function.
89 (window--display-buffer): Split off from here.
90 (display-buffer-reuse-window, display-buffer-pop-up-frame)
91 (display-buffer-pop-up-window, display-buffer-use-some-window):
92 Obey an inhibit-switch-frame action alist entry.
93 (display-buffer): Update doc.
95 * replace.el (occur-after-change-function): Avoid losing focus by
96 using the inhibit-switch-frame display parameter (Bug#12139).
98 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
100 Make internal shell process buffer names start with space.
101 * progmodes/python.el (python-shell-make-comint): Add optional
103 (run-python-internal): Use it.
104 (python-shell-internal-get-or-create-process): Check for new
105 internal buffer names.
107 2012-08-06 Glenn Morris <rgm@gnu.org>
109 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
110 Do less getting and setting of environment variables.
112 2012-08-05 Chong Yidong <cyd@gnu.org>
114 * proced.el (proced): Add substitution string to docstring to
115 trigger autoloading of the proced library on C-h f (Bug#1768).
117 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
118 show defvars which have no second argument (Bug#8638).
120 * imenu.el (imenu-generic-expression): Move documentation here
121 from imenu--generic-function.
122 (imenu--generic-function): Refer to imenu-generic-expression.
124 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
126 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
127 indentation declaration.
128 (viper-loop): Add indentation declaration (Bug#7025).
130 2012-08-05 Chong Yidong <cyd@gnu.org>
132 * help-fns.el (describe-variable): Add hyperlink for
133 directory-local variables files. Improve buffer-local and
134 permanent-local reporting; suggested by MON KEY (Bug#6644).
136 * help-mode.el (help-dir-local-var-def): New button type.
138 * files.el (kill-buffer-hook): Provide a defvar.
140 2012-08-05 Glenn Morris <rgm@gnu.org>
142 * eshell/esh-ext.el (eshell/addpath):
143 Also update eshell-path-env. (Bug#12013)
145 2012-08-05 Chong Yidong <cyd@gnu.org>
147 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
149 * fringe.el (fringe-styles): Add docstring.
150 (fringe--check-mode): New function.
151 (set-fringe-mode, set-fringe-style): Use it.
152 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
154 * files.el (set-auto-mode): Fix invalid setq call.
156 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
158 * isearch.el: Misc simplification; use defstruct.
159 (isearch-mode-map): Dense maps now work like sparse ones.
160 (isearch--state): New defstruct.
161 (isearch-string-state, isearch-message-state, isearch-point-state)
162 (isearch-success-state, isearch-forward-state)
163 (isearch-other-end-state, isearch-word-state, isearch-error-state)
164 (isearch-wrapped-state, isearch-barrier-state)
165 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
166 replaced by defstruct's accessors.
167 (isearch--set-state): Rename from isearch-top-state and change
169 (isearch-push-state): Use new isearch--get-state.
170 (isearch-toggle-word): Disable regexp when enabling word.
171 (isearch-message-prefix): Remove unused arg _c-q-hack.
172 (isearch-message-suffix): Remove unused arg _ellipsis.
174 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
176 * simple.el (list-processes--refresh): For a server use :host or
177 :local as the address.
178 (list-processes): Doc fix.
180 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
182 * lisp/mpc.el: Support password in host argument.
183 (mpc--proc-connect): Parse and use new password element.
184 Set mpc-proc variable instead of returning process.
185 (mpc-proc): Adjust accordingly.
187 2012-08-03 Eli Zaretskii <eliz@gnu.org>
189 * whitespace.el (whitespace-display-mappings): Use Unicode
190 codepoints, instead of emacs-mule codepoints. See
191 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
194 * files.el (file-truename): Don't skip symlink-chasing part on
195 windows-nt. Incorporate the resolution of 8+3 short aliases on
196 Windows into the loop that recursively chases symlinks. Compare
197 directory and its parent case-insensitively on MS-Windows and
200 2012-08-03 Chong Yidong <cyd@gnu.org>
202 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
204 * sort.el (sort-regexp-fields): Doc fix.
206 2012-08-03 Tassilo Horn <tsdh@gnu.org>
208 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
209 labels regex position point at the expected place.
211 2012-08-03 MON KEY <monkey@sandpframing.com>
213 * net/imap.el (imap-interactive-login, imap-authenticate)
214 (imap-mailbox-lsub, imap-mailbox-list)
215 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
216 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
217 (imap-parse-response): Doc fix.
219 2012-08-03 João Távora <joaotavora@gmail.com>
221 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
222 if sexp scanning does not move point (Bug#5734).
224 2012-08-02 Tassilo Horn <tsdh@gnu.org>
226 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
227 Add listings, minted, and ctable packages.
228 (reftex-label-alist-builtin): Move listings, minted, and ctable
229 entries before LaTeX.
230 (reftex-label-alist): Docfix.
232 2012-08-02 Bastien Guerry <bzg@gnu.org>
234 * replace.el (occur): Fix docstring (bug#12122).
236 2012-08-02 Glenn Morris <rgm@gnu.org>
238 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
240 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
242 Obsolete alias inactivate-current-input-method-function (Bug#10150).
243 * international/mule-cmds.el: Create
244 inactivate-current-input-method-function as an obsolete alias for
245 deactivate-current-input-method-function. See Katsumi Yamaoka in
246 <http://bugs.gnu.org/10150#46>.
248 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
250 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
253 2012-08-01 Glenn Morris <rgm@gnu.org>
255 * progmodes/autoconf.el (autoconf-definition-regexp):
256 Add AH_TEMPLATE, adjust submatch numbering.
257 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
258 (autoconf-current-defun-function): Update for above change.
259 (autoconf-current-defun-function): First skip to end of current word.
261 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
263 * calendar/cal-html.el (cal-html-insert-agenda-days):
264 Fix typo. (Bug#12018)
266 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
268 Shell processes: enhancements to startup and CEDET compatibility.
269 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
270 (python-shell-make-comint): accept-process-output at startup.
271 (run-python-internal): Set inferior-python-mode-hook to nil.
272 (python-shell-internal-get-or-create-process): call sit-for.
273 (python-preoutput-result): Add obsolete alias.
274 (python-shell-internal-send-string): Use it.
275 (python-shell-send-setup-code): Remove call to
276 accept-process-output.
278 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
280 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
283 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
285 * calc-mode.el (calc-basic-simplification-mode): Rename from
286 `calc-limited-simplification-mode'.
287 (calc-alg-simplification-mode): New function.
288 (calc-set-simplify-mode): Adjust message.
290 * calc.el (calc-set-mode-line): Adjust mode line display for
291 basic simplification mode.
293 * calc-help.el (calc-m-prefix-help): Update help message.
295 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
296 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
298 2012-07-31 Bastien Guerry <bzg@gnu.org>
300 * man.el (man): Fix comment. (bug#12101)
302 2012-07-31 Martin Rudalics <rudalics@gmx.at>
304 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
305 Don't return a non-nil value when no suitable buffer was found.
307 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
309 * progmodes/python.el (run-python-internal): Disable font lock for
312 2012-07-30 Stefan Merten <smerten@oekonux.de>
314 * rst.el: Silence `checkdoc-ispell'.
315 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
316 (rst-official-version, rst-official-cvs-rev)
317 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
318 (rst-mode-map): New key binding.
320 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
322 Update .PHONY listings in makefiles.
323 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
324 autoloads, update-subdirs, updates, bzr-update, update-authors,
325 compile-onefile, compile-calc, backup-compiled-files,
326 compile-after-backup, compile-one-process, mh-autoloads,
327 bootstrap-clean, distclean, maintainer-clean.
329 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
331 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
332 (calc-set-mode-line): Don't display "AlgSimp ".
334 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
335 (calc-lim-simplify-mode): New function.
336 (calc-set-simplify-mode): Default to 'alg.
337 (calc-default-simplify-mode): Make algebraic simplifications
340 * calc/calc-ext.el (calc-init-extensions): Remove binding for
341 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
343 * calc/calc-help.el (calc-m-prefix-help): Change messages to
344 indicate new simplification modes.
346 * calc/README: Mention new default simplification mode.
348 * calc/calc.el (math-normalize-error): New variable.
349 (math-normalize): Set `math-normalize-error' to t
350 when there's an error.
352 * calc/calc-alg.el (math-simplify): Don't simplify when
353 `math-normalize' returns an error.
355 2012-07-29 Eli Zaretskii <eliz@gnu.org>
357 * international/mule-cmds.el (set-locale-environment): Revert last
358 change, since display-graphic-p returns nil when this function is
359 called during startup. Instead...
361 * term/w32console.el (terminal-init-w32console): ...setup the
362 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
364 2012-07-29 Juri Linkov <juri@jurta.org>
366 * simple.el (goto-line): Don't display default line number in the
367 prompt because it should be displayed by `read-number' (bug#9952).
368 Add the current line number to the defaults of `goto-line' to
369 allow its easier modification by users with `M-n' (bug#9201).
371 * subr.el (read-number): Support multiple default values like in
372 other minibuffer reading functions. Replace `read' with
373 `string-to-number' for consistency with `number-to-string'.
375 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
377 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
378 * emulation/viper-init.el (viper-deactivate-input-method-action):
379 Rename from viper-inactivate-input-method-action.
380 (viper-deactivate-input-method):
381 Rename from viper-inactivate-input-method.
382 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
383 * international/mule-cmds.el (deactivate-input-method):
384 Rename from inactivate-input-method.
385 Also run input-method-deactivate-hook.
386 (deactivate-current-input-method-function):
387 Rename from inactivate-current-input-method-function.
388 (input-method-deactivate-hook): New hook.
389 (input-method-inactivate-hook): Mark obsolete.
390 (inactivate-input-method): Mark obsolete.
392 * international/quail.el (quail-activate):
393 Also run quail-deactivate-hook.
394 (quail-deactivate): Rename from quail-inactivate.
395 * international/robin.el (robin-activate):
396 Also run robin-deactivate-hook.
397 (robin-deactivate): Rename from robin-inactivate.
399 2012-07-29 Chong Yidong <cyd@gnu.org>
401 * simple.el (indicate-copied-region): New function.
402 (kill-ring-save): Split off from here.
404 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
405 (kill-rectangle): Set deactivate-mark to t on read-only error.
407 * register.el (copy-to-register, copy-rectangle-to-register):
408 Deactivate the mark, and use indicate-copied-region (Bug#10056).
409 (append-to-register, prepend-to-register): Call
411 2012-07-29 Juri Linkov <juri@jurta.org>
413 * simple.el (async-shell-command-buffer): New defcustom.
414 (shell-command): Use it. (Bug#4719)
416 2012-07-28 Eli Zaretskii <eliz@gnu.org>
418 * international/mule-cmds.el (set-locale-environment): In a
419 console session on MS-Windows, set up keyboard and terminal
420 encoding from the OEM codepage, not the ANSI codepage.
423 2012-07-28 Chong Yidong <cyd@gnu.org>
425 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
428 2012-07-25 Leo Liu <sdl.web@gmail.com>
430 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
431 the alist (bug#12029).
433 2012-07-28 Eli Zaretskii <eliz@gnu.org>
435 * makefile.w32-in (custom-deps, finder-data, updates, compile)
436 (compile-always, compile-first)
437 ($(lisp)/calendar/cal-loaddefs.el)
438 ($(lisp)/calendar/diary-loaddefs.el)
439 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
440 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
441 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
442 instead of on update-subdirs.
443 (bootstrap-clean): Delete $(lisp)/subdirs.el.
445 2012-07-28 Chong Yidong <cyd@gnu.org>
447 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
448 directory if vc-deduce-backend returns nil (Bug#7350).
450 * simple.el (delete-trailing-lines): New option.
451 (delete-trailing-whitespace): Obey it (Bug#11879).
453 2012-07-28 David Engster <deng@randomsample.de>
455 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
456 Explanation of new 'symbol-qnames feature in doc-strings.
457 (xml-maybe-do-ns): Return expanded names as plain symbols if
458 'symbol-qnames was provided in XML-NS argument (Bug#11916).
459 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
461 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
463 Consistent completion in inferior python with emacs -nw.
464 * progmodes/python.el (inferior-python-mode): replace "<tab>"
465 binding in inferior-python-mode-map with "\t".
466 (python-shell-completion-complete-at-point)
467 (python-completion-complete-at-point): Remove interactive spec.
469 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
471 * calc/calccomp.el (math-compose-expr): Undo previous change.
473 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
475 * progmodes/python.el (python-mode-map): Added keybinding for
477 (python-shell-make-comint): Fix pop-to-buffer call.
478 (run-python): Autoload. New arg SHOW.
479 (python-shell-get-or-create-process): Do not pop python process
482 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
484 * notifications.el (notifications-on-action-signal)
485 (notifications-on-closed-signal): Use also the bus address for the map.
486 (notifications-notify, notifications-close-notification)
487 (notifications-get-capabilities): Add optional argument BUS.
489 2012-07-27 Tassilo Horn <tsdh@gnu.org>
491 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
492 support for the lstlisting and minted environments, and for the
494 * textmodes/reftex.el (reftex-compile-variables): Also recognize
495 labels written in keyvals syntax.
497 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
499 * calc/calccomp.el (math-compose-expr): Use parentheses when
500 there is a product in the denominator of a fraction.
502 2012-07-26 Eli Zaretskii <eliz@gnu.org>
504 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
505 ($(lisp)/calendar/diary-loaddefs.el)
506 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
507 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
508 failures in parallel bootstrap because subdirs.el is being
509 rewritten while the autoload files are built at the same time,
510 which needs to load subdirs.el.
512 2012-07-26 Martin Rudalics <rudalics@gmx.at>
514 * mouse.el (popup-menu): Fix doc-string and re-indent code.
515 (mouse-drag-line): Don't exit tracking when a switch-frame or
516 switch-window event occurs (Bug#12006).
518 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
520 * mouse.el (popup-menu): Fix last change.
522 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
524 Autoload from Lisp with more care. Follow aliases when looking for
526 * subr.el (autoloadp): New function.
527 (symbol-file): Use it.
528 (function-get): New function.
529 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
531 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
532 (lisp-indent-function):
533 * emacs-lisp/gv.el (gv-get):
534 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
535 * emacs-lisp/byte-opt.el (byte-optimize-form):
536 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
537 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
539 * emacs-lisp/cl.el: Don't propagate function properties any more.
541 * speedbar.el (speedbar-add-localized-speedbar-support):
542 * emacs-lisp/disass.el (disassemble-internal):
543 * desktop.el (desktop-load-file):
544 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
545 (describe-function-1):
546 * emacs-lisp/find-func.el (find-function-noselect):
547 * emacs-lisp/elp.el (elp-instrument-function):
548 * emacs-lisp/advice.el (ad-has-proper-definition):
549 * apropos.el (apropos-safe-documentation, apropos-macrop):
550 * emacs-lisp/debug.el (debug-on-entry):
551 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
552 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
553 * calc/calc.el (name): Use autoloadp & autoload-do-load.
555 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
557 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
558 function, not an obsolete variable (Bug#12046).
560 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
562 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
564 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
566 * emacs-lisp/pp.el (pp-display-expression): Select old selected
567 window only if it is still live (Bug#12034).
569 2012-07-25 Martin Rudalics <rudalics@gmx.at>
571 * subr.el (redirect-frame-focus): Add advertised calling
572 convention (Bug#12030).
574 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
576 Prefer typical American spelling for "acknowledgment".
577 * vc/add-log.el (change-log-acknowledgment): Rename from
578 change-log-acknowledgement, with an alias for the old name.
580 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
582 * calc-alg.el (math-simplify-divide): Don't cross multiply
583 in an equation when the lhs is a variable.
585 2012-07-24 Julien Danjou <julien@danjou.info>
587 * net/netrc.el (netrc-find-service-number, netrc-store-data):
590 2012-07-23 Eli Zaretskii <eliz@gnu.org>
592 * startup.el (command-line): Don't display an empty user name in
593 the error message about non-existent home directory, when
594 init-file-user was set to an empty string. See
595 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
596 for the details and context.
598 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
600 * ses.el (ses-cell-formula-aset): New macro.
601 (ses-cell-references-aset): New macro.
602 (ses-cell-p): New function.
603 (ses-rename-cell): Do no longer rely on complex operations like
604 ses-cell-set-formula or ses-set-cell to change the cell and handle
605 the undo at the same time, but rather use lower level new macros
606 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
607 the undo directly. Refresh the mode line.
609 2012-07-21 Leo Liu <sdl.web@gmail.com>
611 * progmodes/cc-cmds.el (c-defun-name):
612 Use match-string-no-properties instead for consistency.
614 2012-07-20 Leo Liu <sdl.web@gmail.com>
616 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
619 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
621 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
623 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
624 * progmodes/bug-reference.el, misearch.el: Provide themselves
627 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
628 of narrowed buffer (bug#11966).
630 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
632 * ses.el (ses-rename-cell): Set new name also in reference list of
633 cells of which the renamed cell depends.
635 2012-07-20 Masatake YAMATO <yamato@redhat.com>
637 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
638 to check whether menu-bar is shown or not. If not shown,
639 show the menu-bar as a popup menu instead of using tmm.
640 * mouse.el (popup-menu): Accept `point' as `position' argument.
642 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
644 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
645 up inside string symbol literal (bug#11923).
647 2012-07-20 Eli Zaretskii <eliz@gnu.org>
649 * startup.el (fancy-startup-text): Read the whole tutorial, not
650 just its first 256 bytes. Prevents gibberish in display of the
653 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
655 Drop idle buffer compaction due to an absence of the
657 * compact.el: Remove.
659 2012-07-19 Sam Steingold <sds@gnu.org>
661 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
662 vc-bzr-pull & vc-bzr-merge-branch.
663 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
664 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
665 for consistency with compilation-error-regexp-alist.
666 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
667 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
668 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
669 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
671 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
673 * emacs-lisp/chart.el: Use lexical-binding.
674 (chart-emacs-storage): Don't hardcode the list of entries.
676 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
678 Next round of tweaks caused by Fgarbage_collect changes.
679 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
681 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
683 Compact buffers when idle.
684 * compact.el: New file.
686 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
688 * subr.el (eventp): Presume that if it looks vaguely like an event,
689 it's an event (bug#10190).
691 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
693 Enhancements to ppss related code (thanks Stefan).
694 * progmodes/python.el (python-indent-context)
695 (python-indent-calculate-indentation, python-indent-dedent-line)
696 (python-indent-electric-colon, python-nav-forward-block)
697 (python-mode-abbrev-table)
698 (python-info-assignment-continuation-line-p): Simplify checks
700 (python-info-continuation-line-p): Cleanup.
701 (python-info-ppss-context): Do not catch 'quote.
702 (python-info-ppss-context-type)
703 (python-info-ppss-comment-or-string-p): Simplify.
705 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
707 * progmodes/python.el: Enhancements to eldoc support.
708 (python-info-current-symbol): New function.
709 (python-eldoc-at-point): Use python-info-current-symbol.
710 (python-info-current-defun): Fix cornercase on first defun scan.
711 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
712 and signal error when no inferior python process is available.
714 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
716 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
717 assume it's always t.
718 (vc-git-registered): Remove caching, the function is only called
720 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
722 2012-07-18 Chong Yidong <cyd@gnu.org>
724 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
726 * simple.el (count-words): Report on narrowing (Bug#9959).
728 * bindings.el: Bind M-= to count-words.
730 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
732 2012-07-18 Masatake YAMATO <yamato@redhat.com>
734 * progmodes/sh-script.el (sh-imenu-generic-expression):
735 Capture a function with `function' keyword and without parentheses
736 like "function FOO" (bug#11856).
738 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
740 * window.el (split-window-sensibly): Make WINDOW argument
743 2012-07-18 Chong Yidong <cyd@gnu.org>
745 * subr.el (keyboard-translate): Doc fix (Bug#7261).
747 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
748 and make C-x 8 RET exit isearch (Bug#11439).
750 * international/iso-transl.el: Move isearch-mode-map key
751 definitions to isearch.el.
753 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
755 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
756 (eieio-defclass): Use gv-define-setter when possible.
758 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
760 Reflect recent changes in Fgarbage_collect.
761 * emacs-lisp/chart.el (chart-emacs-storage): Change to
762 reflect new format of data returned by Fgarbage_collect.
764 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
766 New utility functions + python-info-ppss-context fix (Bug#11910).
767 * progmodes/python.el (python-info-beginning-of-block-statement-p)
768 (python-info-ppss-comment-or-string-p): New functions.
769 (python-info-ppss-context): Small fix for string check.
771 2012-07-17 Juri Linkov <juri@jurta.org>
773 * dired-aux.el (dired-do-async-shell-command): Doc fix.
774 (dired-do-async-shell-command): Don't add `*' at the end of the
776 (dired-do-shell-command): Doc fix.
777 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
778 Join the individual commands using either "&" or ";" as the
779 separator depending on the values of these trailing characters.
780 At the end re-add the trailing "&". (Bug#10598)
782 * simple.el (async-shell-command): Sync the interactive spec with
783 `shell-command'. Doc fix.
784 (shell-command): Doc fix.
786 2012-07-17 Juri Linkov <juri@jurta.org>
788 * descr-text.el (describe-char): Fix format args. (Bug#10129)
790 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
792 Final renames and doc fixes for movement commands (bug#11899).
793 * progmodes/python.el (python-nav-beginning-of-statement):
794 Rename from python-nav-statement-start.
795 (python-nav-end-of-statement): Rename from
796 python-nav-statement-end.
797 (python-nav-beginning-of-block): Rename from
798 python-nav-block-start.
799 (python-nav-end-of-block): Rename from python-nav-block-end.
801 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
803 * progmodes/python.el (python-shell-send-string-no-output):
804 Allow accept-process-output to quit, keeping shell process ready for
805 future interactions (Bug#11868).
807 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
809 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
811 * emacs-lisp/elint.el (elint-find-args-in-code):
812 Use help-function-arglist, so as to handle lexical byte-code.
814 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
817 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
819 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
820 Avoid spuriously marking the buffer as modified because of c-is-sws.
822 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
823 as not-a-comment (bug#11946).
825 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
828 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
829 Use read-event since we don't really want to read chars but bytes.
831 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
832 $$..$$ but also $..$ using regexps (bug#11953).
833 Use tex-verbatim for \url and \path.
834 (tex-font-lock-keywords): Define as defconst like the others.
835 (tex-common-initialization): Don't use font-lock-syntax-table any more.
837 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
839 * international/mule-cmds.el (ucs-insert): Make it an obsolete
840 alias for insert-char.
842 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
844 * progmodes/python.el: Simplified imenu implementation.
845 (python-nav-jump-to-defun): Remove command.
846 (python-mode-map): Use `imenu' instead.
847 (python-nav-list-defun-positions-cache)
848 (python-imenu-include-defun-type, python-imenu-make-tree)
849 (python-imenu-subtree-root-label, python-imenu-index-alist):
851 (python-nav-list-defun-positions, python-nav-read-defun)
852 (python-imenu-tree-assoc, python-imenu-make-element-tree)
853 (python-imenu-make-tree, python-imenu-create-index):
855 (python-mode): Update to interact with imenu by setting
856 `imenu-extract-index-name-function' only.
858 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
860 * progmodes/python.el: Enhancements to navigation commands.
861 (python-nav-backward-sentence)
862 (python-nav-forward-sentence): Remove.
863 (python-nav-backward-statement, python-nav-forward-statement)
864 (python-nav-statement-start, python-nav-statement-end)
865 (python-nav-backward-block, python-nav-forward-block)
866 (python-nav-block-start, python-nav-block-end)
867 (python-nav-forward-sexp-function)
868 (python-info-current-line-comment-p)
869 (python-info-current-line-empty-p): New functions.
870 (python-indent-context): Use `python-nav-statement-start'.
872 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
874 * eshell/em-ls.el (eshell/ls): Use `apply'.
876 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
877 multi-hops, instead of Tramp internals.
879 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
881 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
882 when F1 and F2 are located on different hosts.
884 2012-07-14 Chong Yidong <cyd@gnu.org>
886 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
887 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
888 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
889 (xterm-mouse--read-event-sequence-1000)
890 (xterm-mouse--read-event-sequence-1006): New functions. For old
891 mouse protocol, handle M-mouse-X events correctly.
892 (xterm-mouse-event): New arg specifying mouse protocol.
893 (turn-on-xterm-mouse-tracking-on-terminal)
894 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
895 sequence to toggle extended coordinates on newer XTerms.
896 This appears to be harmless on terminals which do not support this.
898 2012-07-14 Leo Liu <sdl.web@gmail.com>
900 Add fringe bitmap indicators for flymake. (Bug#11253)
901 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
902 (flymake-make-overlay): New arg BITMAP.
903 (flymake-error-bitmap, flymake-warning-bitmap)
904 (flymake-fringe-indicator-position): New user variables.
906 * fringe.el: New bitmap exclamation-mark.
908 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
910 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
913 2012-07-14 Chong Yidong <cyd@gnu.org>
915 * electric.el (electric-pair-post-self-insert-function): Fix pair
916 insertion in empty-region case (Bug#11520).
918 2012-07-14 Chong Yidong <cyd@gnu.org>
920 * bindings.el: Consolidate ctl-x-r-map bindings.
921 Bind copy-rectangle-as-kill to C-x r w.
923 * rect.el, register.el: Move bindings to bindings.el.
925 2012-07-14 Reuben Thomas <rrt@sc3d.org>
927 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
929 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
931 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
933 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
935 * bindings.el (top): Use `mapc' instead of `mapcar'.
937 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
939 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
941 * progmodes/sql.el (sql-comint): Suppress the check for program on
942 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
945 2012-07-13 Chong Yidong <cyd@gnu.org>
947 * bindings.el: Assign a non-nil permanent-local property to
948 per-buffer variables which lack a default value (Bug#11930).
950 * help-fns.el (describe-variable): In the "automatically becomes
951 local" notice, take note of permanent-local variables.
953 2012-07-13 Chong Yidong <cyd@gnu.org>
955 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
956 to allow printing the message when called from Lisp.
958 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
959 Remove toggle-read-only.
961 * bs.el (bs-toggle-readonly):
962 * buff-menu.el (Buffer-menu-toggle-read-only):
963 Remove with-no-warnings around toggle-read-only.
965 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
966 Remove with-no-warnings around toggle-read-only.
967 (ffap-read-only, ffap-read-only-other-window)
968 (ffap-read-only-other-frame): Callers changed.
970 * help-mode.el: Don't require view package.
971 (help-mode-finish): Set buffer-read-only instead of calling
974 * bindings.el (mode-line-toggle-read-only):
975 * dired.el (dired-toggle-read-only):
976 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
977 with non-nil second arg.
979 * emacs-lisp/eieio-custom.el (eieio-customize-object):
980 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
983 2012-07-12 Eli Zaretskii <eliz@gnu.org>
985 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
988 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
990 More CL cleanups and reduction of use of cl.el.
991 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
992 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
993 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
994 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
995 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
996 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
997 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
998 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
999 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1000 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1001 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1002 * eshell/em-cmpl.el, eshell/em-banner.el:
1003 * calendar/parse-time.el: Use cl-lib.
1004 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1005 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1006 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1007 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1008 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1009 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1010 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1011 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1012 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1013 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1014 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1015 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1016 `lambda' rather than with `quote'.
1017 (eshell-do-opt): Adjust accordingly.
1018 (eshell-process-option): Simplify.
1019 * eshell/esh-var.el:
1020 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1021 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1022 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1023 to `pcase--dontcare'.
1024 * emacs-lisp/cl.el (labels): Mark obsolete.
1025 (cl--letf, letf): Move to cl-lib.
1026 (cl--letf*, letf*): Remove.
1027 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1028 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1029 (cl-progv): Rewrite.
1030 (cl--letf, cl-letf): Move from cl.el.
1031 (cl-letf*): New macro.
1032 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1034 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
1036 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1038 2012-07-11 Chong Yidong <cyd@gnu.org>
1040 * vc/log-edit.el (log-edit-vc-backend): New variable.
1041 (log-edit): Doc fix.
1043 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1044 argument of log-edit to set up all local variables.
1045 (vc-start-logentry): New optional arg specifying VC backend.
1047 * vc/vc.el (vc-checkin): Use it.
1048 (vc-deduce-fileset): Handle Log Edit buffers.
1049 (vc-diff): Make first argument optional too.
1051 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1053 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
1055 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1056 command, just in case. The function is not needed anymore.
1057 (eshell-external-command): Do not call `eshell-remote-command'.
1059 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1061 Reduce use of (require 'cl).
1062 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1063 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1064 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1065 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1066 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1067 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1068 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1069 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1070 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1071 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1072 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1073 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1074 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1075 (byte-compile-unfold-bcf, byte-compile-check-variable):
1076 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1077 (byte-compile-nilconstp):
1078 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1079 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1081 * emacs-lisp/gv.el (cond): Make it a valid place.
1082 (if): Simplify slightly.
1084 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1085 (pcase--self-quoting-p): New function.
1086 (pcase--u1): Use it.
1088 2012-07-10 Glenn Morris <rgm@gnu.org>
1090 * emacs-lisp/authors.el (authors-fixed-entries):
1091 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1093 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1095 Rename configure.in to configure.ac (Bug#11603).
1096 * emacs-lisp/authors.el (authors-canonical-file-name):
1097 * progmodes/autoconf.el (autoconf-mode):
1098 Prefer configure.ac to configure.in.
1100 2012-07-08 Chong Yidong <cyd@gnu.org>
1102 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1103 Implement the mouse-1-click-follows-link handling properly.
1105 * info.el (Info-link-keymap): Use follow-link mechanism for
1106 header-line links (Bug#374).
1108 * simple.el (deactivate-mark): Do not set the primary selection
1109 if another program has acquired it (Bug#11772).
1111 2012-07-07 Kevin Ryde <user42@zip.com.au>
1113 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1114 (woman-decode-region): Replace escaped-escapes without destroying
1115 bold or underline (Bug#11552).
1116 (woman2-process-escapes): Handle nofill regions (Bug#11591).
1118 2012-07-07 Chong Yidong <cyd@gnu.org>
1120 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
1121 (interprogram-cut-function, interprogram-paste-function):
1122 Mention that we typically mean the clipboard.
1124 2012-07-06 Glenn Morris <rgm@gnu.org>
1126 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1128 * files.el (toggle-read-only): Restrict message to interactive use.
1130 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
1132 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1134 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1136 2012-07-06 Glenn Morris <rgm@gnu.org>
1138 * Makefile.in (compile-one-process): Rename from "recompile".
1140 * Makefile.in (bzr-update): "compile" is the same as "recompile
1141 autoloads", but parallelizable, so use that instead.
1143 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1145 * window.el (quit-window): Always restore window height when
1146 it's saved in quit-restore parameter (Bug#11810).
1148 2012-07-06 Glenn Morris <rgm@gnu.org>
1150 * simple.el (kill-whole-line): Doc tweak.
1152 2012-07-06 Eli Zaretskii <eliz@gnu.org>
1154 * files.el (file-relative-name): Compare file names
1155 case-insensitively if on MS-Windows or MS-DOS, or if
1156 read-file-name-completion-ignore-case is non-nil. Don't use
1157 case-fold-search for this purpose. (Bug#11827)
1159 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1161 * calendar/cal-dst.el (calendar-current-time-zone):
1162 Return calendar-current-time-zone-cache if non-nil.
1164 2012-07-17 Masatake YAMATO <yamato@redhat.com>
1165 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1167 * calendar/cal-dst.el (calendar-current-time-zone):
1168 Return calendar-current-time-zone-cache if non-nil.
1170 2012-07-06 Glenn Morris <rgm@gnu.org>
1172 * Makefile.in (cvs-update): Remove old alias.
1174 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
1176 Sync with Tramp 2.2.6-pre.
1178 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1179 compatible declaration.
1181 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1182 Protect `list-load-path-shadows' call.
1184 * net/tramp-compat.el (top): Require packages, which aren't
1185 autoloaded anymore for XEmacs. Protect call of
1186 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1187 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1188 it hurts at least for SXEmacs.
1189 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1190 standard-value for `temporary-file-directory'.
1192 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1193 Redirect stderr to /dev/null.
1194 (tramp-sh-handle-write-region): uid and gid can be floats.
1195 Reported by Russell Sim <russell.sim@gmail.com>.
1196 (tramp-sh-handle-vc-registered): Hide errors.
1197 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1198 and `start-file-process'.
1199 (tramp-maybe-open-connection): Check also whether `non-essential'
1202 2012-07-04 Chong Yidong <cyd@gnu.org>
1204 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1205 (xml-parse-tag): Likewise, and avoid changing entity tables.
1206 (xml-syntax-table): Define from scratch, making sure not to give
1207 x2000 and other Unicode spaces whitespace syntax, since those are
1209 (xml-parse-fragment): Delete unused function.
1210 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1211 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1212 (xml-entity-ref, xml-pe-reference-re)
1213 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1214 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1215 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1216 (xml-entity-value-re): Use syntax references in regexps where
1217 possible; no need to define inside a let-binding.
1218 (xml-parse-dtd): Use xml-pe-reference-re.
1219 (xml-entity-or-char-ref-re): New defconst.
1220 (xml-parse-string, xml-substitute-special): Use it.
1222 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1224 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1225 (find-file--read-only): New function.
1226 (find-file-read-only, find-file-read-only-other-window)
1227 (find-file-read-only-other-frame): Use it.
1228 (insert-file-contents-literally): Don't `fset'.
1229 (get-free-disk-space): Use locate-dominating-file.
1231 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1232 function is already compiled.
1234 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1236 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
1238 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1239 files on the same host.
1241 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1243 * help-fns.el (describe-function-1): Only call
1244 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1246 2012-07-03 Chong Yidong <cyd@gnu.org>
1248 * xml.el: Protect parser against XML bombs.
1249 (xml-entity-expansion-limit): New variable.
1250 (xml-parse-string, xml-substitute-special): Use it.
1251 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1253 2012-07-03 Glenn Morris <rgm@gnu.org>
1255 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1256 Allow linking to specific messages in debbugs reports (eg 123#5).
1258 2012-07-02 Chong Yidong <cyd@gnu.org>
1260 * xml.el: Fix entity and character reference expansion, allowing
1261 them to expand into markup as per XML spec.
1262 (xml-default-ns): New variable.
1263 (xml-entity-alist): Use XML spec definitions for lt and amp.
1264 (xml-parse-region): Make first two arguments optional.
1265 Discard text properties.
1266 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1267 All callers changed.
1268 (xml-parse-tag): Call xml-parse-tag-1. For backward
1269 compatibility, this function should not modify buffer contents.
1270 (xml-parse-tag-1): Fix opening-tag regexp.
1271 (xml-parse-string): Rewrite, handling entity and character
1272 references properly.
1273 (xml--entity-replacement-text): Signal an error if a parameter
1274 entity is undefined.
1276 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1278 * comint.el (comint-output-filter): Filter out repeated prompts.
1280 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1281 and file-name-absolute-p.
1282 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1285 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1288 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1289 Rename from byte-compile--refiy-function. All uses changed.
1291 2012-07-01 Chong Yidong <cyd@gnu.org>
1293 * xml.el (xml--parse-buffer): New function. Move most of
1294 xml-parse-region here.
1295 (xml-parse-region): Copy region into a temporary buffer, since
1296 parameter entity substitution requires changing buffer contents.
1297 Use xml--parse-buffer.
1298 (xml-parse-file): Use xml--parse-buffer.
1299 (xml-parse-dtd): Make parameter entity substitution work right.
1300 Use proper regexps for ELEMENT declarations (Bug#7172).
1302 2012-06-30 Glenn Morris <rgm@gnu.org>
1304 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1306 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1307 Remove outdated and unnecessary dbus declarations.
1309 2012-06-30 Eli Zaretskii <eliz@gnu.org>
1311 * emacs-lisp/timer.el (timer-until): Subtract results of
1312 float-time, instead of taking float-time of the result of
1313 time-subtract, since float-time signals an error for negative time
1316 2012-06-30 Chong Yidong <cyd@gnu.org>
1318 * xml.el (xml-*-re): Convert defvars into defconsts, and
1319 eval-and-compile them so eval-and-compile works on derivatives.
1320 (xml--entity-replacement-text): Use eval-and-comple.
1322 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
1324 * vc/vc-git.el (vc-git-registered): Use cache property
1326 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1327 `vc-git-working-revision' in order to benefit from the cache.
1328 (vc-git-root): Use cache property `git-root'. (Bug#11757)
1330 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1332 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
1333 removed (likely outside Emacs). (Bug#11757)
1335 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1337 * emacs-lisp/cl-lib.el: Require macroexp.
1339 2012-06-30 Chong Yidong <cyd@gnu.org>
1341 * xml.el: Implement XML parameter entities.
1342 (xml-parameter-entity-alist): New variable.
1343 (xml-parse-region, xml-parse-fragment): Preserve previous values
1344 of xml-entity-alist and xml-parameter-entity-alist, so that
1345 repeated calls on different documents do not change them.
1346 (xml-parse-tag): Fix doctype regexp.
1347 (xml--entity-replacement-text): New function.
1348 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1349 properly requires url retrieval which is unimplemented.
1350 (xml-escape-string): Doc fix.
1352 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1354 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1356 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1358 * fringe.el (fringe-mode): Doc fix.
1360 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
1362 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1364 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1365 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1367 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
1369 * calendar/cal-dst.el (calendar-current-time-zone):
1370 Return calendar-current-time-zone-cache if non-nil.
1372 2012-06-29 Masatake YAMATO <yamato@redhat.com>
1374 * progmodes/which-func.el (which-func-format):
1375 Add mouse-face. (Bug#11698)
1377 2012-06-29 Leo Liu <sdl.web@gmail.com>
1379 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1381 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1383 * minibuffer.el (minibuffer-confirm-exit-commands):
1384 Add completion-at-point (bug#11725).
1386 2012-06-29 Glenn Morris <rgm@gnu.org>
1388 * progmodes/f90.el (f90-font-lock-keywords-2):
1389 Add some preprocessor elements. (Bug#10499)
1391 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1393 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1394 Use syntax-propertize (bug#11739).
1396 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
1398 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1400 2012-06-28 Julien Danjou <julien@danjou.info>
1402 * term.el (term-handle-colors-array): Use a set of new faces to
1403 color the terminal. Also uses :inverse-video property.
1404 (term-default-fg-color): Set to nil by default, deprecate in favor
1406 (term-default-bg-color): Set to nil by default, deprecate in favor
1408 (term-current-face): Use `term-face' by default.
1409 (term-bold-attribute): Variable deleted.
1411 2012-06-28 Glenn Morris <rgm@gnu.org>
1413 * simple.el (completion-list-mode-finish):
1414 Don't use toggle-read-only. (Since completion-list-mode has
1415 a special mode-class, it wasn't doing anything extra anyway.)
1417 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1419 Make inlining of other-mode interpreted functions work (bug#11799).
1420 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1421 (byte-compile): Use it to fix compilation of lexical-binding closures.
1422 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1423 function, if needed.
1425 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1427 * help-mode.el (help-make-xrefs): Don't just withstand
1428 cyclic-variable-indirection but any error in documentation-property.
1430 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1432 * bindings.el (bindings--define-key): New function.
1433 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1434 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1435 * bindings.el: Use it to purecopy define-key bindings.
1437 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1439 * emacs-lisp/cl.el (flet): Mark obsolete.
1440 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1441 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1442 * progmodes/js.el (js-c-fill-paragraph):
1443 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1444 (ebrowse-switch-member-buffer-to-derived-class):
1445 * play/5x5.el (5x5-solver): Use cl-flet.
1447 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1448 (cl--symbol-function): New macro.
1449 (cl--letf, cl--letf*): Use it.
1451 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1452 Strip "toggle-" if any.
1454 2012-06-27 Glenn Morris <rgm@gnu.org>
1456 * info.el (Info-default-directory-list): Move here from paths.el.
1457 * paths.el: Remove file, which is now empty.
1458 * loadup.el: No longer load "paths".
1460 * custom.el (custom-initialize-delay): Doc fix.
1462 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1463 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1464 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1465 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1466 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1467 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1468 * eshell/eshell.el (eshell-defgroup): Remove alias.
1470 2012-06-27 Chong Yidong <cyd@gnu.org>
1472 * help.el (help-enable-auto-load): New variable.
1474 * help-fns.el (help-fns--autoloaded-p): New function.
1475 (describe-function-1): Refer to a function as "autoloaded" if it
1476 was autoloaded at any time in the past. Perform autoloading if
1477 help-enable-auto-load is non-nil.
1479 2012-06-26 Eli Zaretskii <eliz@gnu.org>
1481 * makefile.w32-in (compile, compile-always): Depend on
1482 update-subdirs, not on subdirs.el. Otherwise, several different
1483 sub-targets of 'bootstrap' running in parallel could
1484 simultaneously write to subdirs.el, producing a garbled file.
1486 2012-06-26 Sam Steingold <sds@gnu.org>
1488 * files.el (file-name-base): New convenience function.
1489 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1490 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1491 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1492 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1493 * textmodes/ispell.el, textmodes/reftex-ref.el:
1494 * textmodes/tex-mode.el: Use it.
1495 Did not touch cedet and org because they are maintained elsewhere.
1497 2012-06-26 Martin Rudalics <rudalics@gmx.at>
1499 * calendar/calendar.el (calendar-exit): Don't try to delete or
1500 iconify last frame. See:
1501 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1503 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1505 * server.el (server-process-filter): Remember dir in the
1506 process's `server-client-directory' properties.
1508 2012-06-24 Chong Yidong <cyd@gnu.org>
1510 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1513 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
1515 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1517 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1519 * help-fns.el (describe-variable): Don't croak when doc is not found.
1520 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1521 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1522 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1523 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1524 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1526 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1528 2012-06-23 Chong Yidong <cyd@gnu.org>
1530 * info.el (Info-mouse-follow-link): Accept symbol values of
1531 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
1532 (Info-fontify-node): Use Info-link-keymap for all navigation
1533 buttons, with link-args property to perform the desired action.
1534 (Info-link-keymap): Doc fix.
1535 (Info-next-link-keymap, Info-prev-link-keymap)
1536 (Info-up-link-keymap): Delete now-unused keymaps.
1538 2012-06-23 Chong Yidong <cyd@gnu.org>
1540 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1542 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1545 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1547 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1549 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1552 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1553 the requote function doesn't work properly (bug#11714).
1555 2012-06-23 Glenn Morris <rgm@gnu.org>
1557 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1559 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1561 Further GV/CL cleanups.
1562 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1564 (gv--defun-declaration): New function.
1565 (defun-declarations-alist): Use it.
1566 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1567 (gv-place): Autoload.
1568 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1569 original definition of dotimes and dolist.
1570 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1571 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1572 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1573 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1574 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1575 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1576 to the function's definition.
1577 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1581 * env.el: Don't use CL.
1583 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1585 Support higher-resolution time stamps (Bug#9000).
1587 * calendar/time-date.el (with-decoded-time-value): New arg
1588 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1589 (encode-time-value): New optional arg PICO. New type 3.
1590 (time-to-seconds) [!float-time]: Support the new picoseconds
1591 component if it's used.
1592 (seconds-to-time, time-subtract, time-add):
1593 Support ps-resolution time stamps as well.
1595 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1596 (timerp): Timer vectors now have length 9, not 8.
1597 (timer--time): Support new-style (4-part) time stamps.
1598 (timer-next-integral-multiple-of-time): Time stamps now have
1599 picosecond resolution, so take a bit more care about rounding.
1600 (timer-relative-time, timer-inc-time): New optional arg psecs.
1601 (timer-set-time-with-usecs): Set psecs to 0.
1602 (timer--activate): Check psecs component, too.
1604 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1606 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1608 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1609 Move the non-essential binding to the post/pre-command-hook where it is
1610 more obviously correct.
1612 * subr.el (read-passwd): Don't use a history at all.
1613 * savehist.el (savehist-save): Remove password saved accidentally
1614 because of the above bug.
1616 2012-06-22 Bastien Guerry <bzg@gnu.org>
1618 * files.el (toggle-read-only): Display a message telling whether
1619 the buffer is read-only or not (bug#11726).
1621 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1623 * emacs-lisp/gv.el: New file.
1624 * subr.el (push, pop): Extend to generalized variables.
1625 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1626 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1627 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1628 gv-define-simple-setter, and gv-define-expander.
1629 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1630 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1631 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1632 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1633 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1635 (cl-defstruct): Don't define setf-method any more.
1636 * emacs-lisp/cl.el (flet): Don't autoload.
1637 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1638 (define-setf-expander, defsetf, define-modify-macro)
1639 (cl-struct-setf-expander): Move from cl-lib.el.
1640 * emacs-lisp/syntax.el:
1641 * emacs-lisp/ewoc.el:
1642 * emacs-lisp/smie.el:
1643 * emacs-lisp/cconv.el:
1644 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1645 (timer--time): Use gv-define-simple-setter.
1646 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1647 to avoid coding-system problems in subr.el. Adjust all users.
1648 (macroexp--maxsize, macroexp-small-p): New functions.
1649 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1650 * scroll-bar.el (scroll-bar-mode):
1651 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1652 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1653 * winner.el (winner-configuration, winner-make-point-alist)
1654 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1655 * files.el (locate-file-completion-table): Avoid list*.
1657 2012-06-22 Chong Yidong <cyd@gnu.org>
1659 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1660 (dired-create-files): Doc fix (Bug#11329).
1661 (dired-do-copy): Doc fix (Bug#11334).
1662 (dired-mark-read-string): Doc fix (Bug#11553).
1664 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1665 Doc fix (Bug#11326).
1666 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1667 (dired-dwim-target): Doc fix.
1669 * wdired.el (wdired-mode): Doc fix.
1671 2012-06-22 Glenn Morris <rgm@gnu.org>
1673 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1674 (pcmpl-rpm-cache-stamp-file): New constant.
1675 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1676 (pcmpl-rpm-packages): Optionally cache list of packages.
1678 * pcmpl-rpm.el (pcmpl-rpm): New group.
1679 (pcmpl-rpm-query-options): New option.
1680 (pcmpl-rpm-packages): No need to inline it.
1681 Use pcmpl-rpm-query-options.
1683 * calendar/calendar.el (calendar-in-read-only-buffer):
1684 Avoid some needless mode changes.
1686 2012-06-21 Chong Yidong <cyd@gnu.org>
1688 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1689 (desktop-path): Remove . from the default value (Bug#10977).
1690 (desktop-read): Use user-emacs-directory if desktop-path is nil.
1692 2012-06-20 Chong Yidong <cyd@gnu.org>
1694 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1696 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1698 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1701 2012-06-20 Chong Yidong <cyd@gnu.org>
1703 * term.el (term-window-width): Handle the case of a missing right
1705 (term-check-size): Use window-text-height (Bug#5445).
1706 (term-mode): Use define-derived-mode. Minor cleanups.
1707 Set font-lock-defaults (Bug#7692).
1708 (term-move-columns, term-insert-char, term-emulate-terminal)
1709 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
1711 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
1713 * net/ange-ftp.el (ange-ftp-get-passwd):
1714 Bind `enable-recursive-minibuffers'.
1715 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1717 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1719 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1721 2012-06-19 Glenn Morris <rgm@gnu.org>
1723 * progmodes/python.el (python-mode): Derive from prog-mode.
1725 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1727 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1728 (edt-user-menu-bar-update-buffers): New functions.
1729 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1731 2012-06-19 Chong Yidong <cyd@gnu.org>
1733 * subr.el (with-selected-window): Preserve the selected window's
1734 terminal's top-frame (Bug#4702).
1736 * window.el (save-selected-window): Likewise.
1738 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1740 * progmodes/python.el (python-rx-constituents): Move backquote.
1741 (python-skeleton-define, python-define-auxiliary-skeleton):
1744 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
1746 * minibuffer.el (read-file-name-default): Revert the patch from
1749 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1751 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1752 (pcase--u1, pcase--q1): Don't use apply-partially.
1754 2012-06-18 Glenn Morris <rgm@gnu.org>
1756 * progmodes/python.el (python-proc, python-buffer)
1757 (python-send-receive, python-send-string): Fix obsolete versions.
1759 2012-06-18 Martin Rudalics <rudalics@gmx.at>
1761 * window.el (special-display-p): Completely remove stringp
1762 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1764 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
1766 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1768 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1770 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1771 * net/tramp-sh.el (tramp-maybe-open-connection):
1772 Throw if `non-essential' is non-nil.
1774 2012-06-17 Martin Rudalics <rudalics@gmx.at>
1776 * window.el (special-display-p): Signal an error if BUFFER-NAME
1777 is not a string (Bug#11713).
1779 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1781 * progmodes/python.el (python-info-beginning-of-backslash):
1782 Rename from python-info-beginning-of-backlash, as a spelling fix.
1784 2012-06-17 Chong Yidong <cyd@gnu.org>
1786 * term.el (term-emulate-terminal): If term-check-size is called,
1787 move point to the process mark without resetting point (Bug#4635).
1789 2012-06-17 Glenn Morris <rgm@gnu.org>
1791 * international/mule-cmds.el (mule-menu-keymap)
1792 (set-language-environment, set-locale-environment): Doc tweaks.
1794 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1796 * cus-face.el (custom-face-attributes): Add wave-style underline
1798 * faces.el (set-face-attribute): Update docstring to describe
1799 wave-style underline attribute.
1801 2012-06-16 Chong Yidong <cyd@gnu.org>
1803 * term/xterm.el (terminal-init-xterm): Discard input before
1804 querying background mode (Bug#10959).
1806 2012-06-16 Stefan Merten <smerten@oekonux.de>
1808 * textmodes/rst.el: Added and corrected some comments.
1809 (rst-re-alist-def): Improve symbol syntax.
1810 (rst-mode-syntax-table): Correct syntax entries.
1811 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1812 (rst-official-version, rst-official-cvs-rev): Update version
1815 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
1817 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1818 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1820 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1822 * progmodes/python.el: New python.el merge.
1823 (python-guess-indent): Obsolete var.
1824 (python-indent-guess-indent-offset): New defcustom.
1825 (python-indent): Obsolete var.
1826 (python-indent-offset): New defcustom.
1827 (python-python-command, python-jython-command): Delete var.
1828 (python-shell-interpreter): New defcustom.
1829 (python-pdbtrack-do-tracking-p): Delete var.
1830 (python-pdbtrack-activate): New defcustom.
1831 (python-use-skeletons): Obsolete var.
1832 (python-skeleton-autoinsert): New defcustom.
1833 (inferior-python-filter-regexp, python-continuation-offset)
1834 (python-honour-comment-indentation, python-indent-string-contents)
1835 (python-jython-packages, python-mode-hook)
1836 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1837 (python-shell-prompt-alist)
1838 (python-source-modes): Delete defcustoms.
1839 (python-check-buffer-name, python-eldoc-setup-code)
1840 (python-eldoc-string-code, python-ffap-setup-code)
1841 (python-ffap-string-code, python-fill-comment-function)
1842 (python-fill-decorator-function, python-fill-paren-function)
1843 (python-fill-string-function, python-imenu-include-defun-type)
1844 (python-imenu-make-tree, python-imenu-subtree-root-label)
1845 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1846 (python-shell-compilation-regexp-alist)
1847 (python-shell-completion-module-string-code)
1848 (python-shell-completion-pdb-string-code)
1849 (python-shell-completion-setup-code)
1850 (python-shell-completion-string-code)
1851 (python-shell-enable-font-lock, python-shell-exec-path)
1852 (python-shell-extra-pythonpaths)
1853 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1854 (python-shell-process-environment)
1855 (python-shell-prompt-block-regexp)
1856 (python-shell-prompt-output-regexp)
1857 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1858 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1859 (python-shell-virtualenv-path): New defcustoms.
1860 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1861 (inferior-python-mode-syntax-table, python--prompt-regexp)
1862 (python-buffer, python-command python-python-command)
1863 (python-default-template, python-imports, python-indent-index)
1864 (python-indent-list, python-indent-list-length)
1865 (python-mode-running, python-pdbtrack-is-tracking-p)
1866 (python-preoutput-continuation, python-preoutput-leftover)
1867 (python-preoutput-result, python-preoutput-skip-next-prompt)
1868 (python-prev-dir/file, python-recursing)
1869 (python-saved-check-command, python-version-checked)
1870 (python-which-func-length-limit)
1871 (view-return-to-alist): Delete vars.
1872 (python-check-custom-command, python-dotty-syntax-table)
1873 (python-imenu-index-alist, python-indent-current-level)
1874 (python-indent-dedenters, python-indent-levels)
1875 (python-nav-beginning-of-defun-regexp)
1876 (python-nav-list-defun-positions-cache)
1877 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1878 (python-shell-internal-buffer)
1879 (python-skeleton-available): New vars.
1880 (def-python-skeleton): Delete macro.
1881 (python-skeleton-define): New macro.
1882 (python-define-auxiliary-skeleton, python-rx): New macros.
1883 (python-insert-class): Delete command.
1884 (python-skeleton-class): New command.
1885 (python-insert-def): Delete command.
1886 (python-skeleton-def): New command.
1887 (python-insert-for): Delete command.
1888 (python-skeleton-for): New command.
1889 (python-insert-if): Delete command.
1890 (python-skeleton-if): New command.
1891 (python-insert-try/except, python-insert-try/finally): Delete commands.
1892 (python-skeleton-try): New command.
1893 (python-insert-while): Delete command.
1894 (python-skeleton-while): New command.
1895 (python-backspace): Delete command.
1896 (python-indent-dedent-line-backspace): New command.
1897 (python-electric-colon): Delete command.
1898 (python-indent-electric-colon): New command.
1899 (python-guess-indent): Delete command.
1900 (python-indent-guess-indent-offset): New command.
1901 (python-shift-left): Delete command.
1902 (python-indent-shift-left): New command.
1903 (python-shift-right): Delete command.
1904 (python-indent-shift-right): New command.
1905 (python-find-function): Delete command.
1906 (python-nav-jump-to-defun): New command.
1907 (python-next-statement): Delete command.
1908 (python-nav-forward-sentence): New command.
1909 (python-previous-statement): Delete command.
1910 (python-nav-backward-sentence): New command.
1911 (python-fill-paragraph): Delete command.
1912 (python-fill-paragraph-function): New command.
1913 (python-send-buffer): Delete command.
1914 (python-shell-send-buffer): New command.
1915 (python-send-defun): Delete command.
1916 (python-shell-send-defun): New command.
1917 (python-send-region, python-send-region-and-go): Delete commands.
1918 (python-shell-send-region)
1919 (python-shell-switch-to-shell): New commands.
1920 (python-send-string): Delete command.
1921 (python-shell-send-string): New command.
1922 (python-switch-to-python): Delete command.
1923 (python-shell-switch-to-shell): New command.
1924 (python-describe-symbol): Delete command.
1925 (python-eldoc-at-point): New command.
1926 (python--set-prompt-regexp, python-args-to-list)
1927 (python-after-info-look, python-check-version)
1928 (python-check-comint-prompt, python-find-imports)
1929 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1930 (python-unload-function, python-expand-template)
1931 (python-maybe-jython, python-preoutput-filter)
1932 (python-pdbtrack-get-source-buffer)
1933 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1934 (python-pdbtrack-toggle-stack-tracking)
1935 (python-pdbtrack-track-stack-file, python-initial-text)
1936 (python-first-word, python-comment-line-p, python-send-command)
1937 (python-setup-brm, python-sentinel, python-set-proc)
1938 (python-skip-out, python-input-filter, python-outdent-p)
1939 (python-outline-level, python-backslash-continuation-line-p)
1940 (python-end-of-block, python-end-of-statement, python-mark-block)
1941 (python-beginning-of-block, python-beginning-of-statement)
1942 (python-blank-line-p, python-beginning-of-string)
1943 (python-open-block-statement-p): Delete functions.
1944 (python-indent-line, python-indent-line-1): Delete functions.
1945 (python-indent-line): New function.
1946 (python-indentation-levels): Delete function.
1947 (python-indent-calculate-levels): New function.
1948 (python-proc): Delete function.
1949 (python-shell-get-process): New function.
1950 (python-send-receive): Delete function.
1951 (python-shell-send-string-no-output): New function.
1952 (python-module-path): Delete function.
1953 (python-ffap-module-path): New function.
1954 (python-completion-at-point)
1955 (python-symbol-completions): Delete functions.
1956 (python-completion-complete-at-point): New function.
1957 (python-load-file): Delete function.
1958 (python-shell-send-file): New function.
1959 (python-calculate-indentation): Delete function.
1960 (python-indent-calculate-indentation): New function.
1961 (python-skip-comments/blanks): Delete function.
1962 (python-util-forward-comment): New function.
1963 (python-continuation-line-p): Delete function.
1964 (python-info-continuation-line-p): New function.
1965 (python-which-func, python-current-defun): Delete function.
1966 (python-info-current-defun): New function.
1967 (python-beginning-of-defun): Delete function.
1968 (python-nav-beginning-of-defun): New function.
1969 (python-close-block-statement-p)
1970 (python-block-end-p): Delete function.
1971 (python-info-closing-block): New function.
1972 (python-comint-output-filter-function)
1973 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1974 (python-fill-comment, python-fill-decorator, python-fill-paren)
1975 (python-fill-string, python-imenu-make-element-tree)
1976 (python-imenu-make-tree, python-imenu-tree-assoc)
1977 (python-indent-context, python-indent-dedent-line)
1978 (python-indent-line-function)
1979 (python-indent-post-self-insert-function)
1980 (python-indent-toggle-levels)
1981 (python-info-assignment-continuation-line-p)
1982 (python-info-beginning-of-backlash)
1983 (python-info-block-continuation-line-p)
1984 (python-info-closing-block-message)
1985 (python-info-line-ends-backslash-p)
1986 (python-info-looking-at-beginning-of-defun)
1987 (python-info-ppss-context, python-info-ppss-context-type)
1988 (python-nav-list-defun-positions, python-nav-read-defun)
1989 (python-nav-sentence-end, python-nav-sentence-start)
1990 (python-pdbtrack-comint-output-filter-function)
1991 (python-pdbtrack-set-tracked-buffer)
1992 (python-shell-calculate-exec-path)
1993 (python-shell-calculate-process-environment)
1994 (python-shell-completion--do-completion-at-point)
1995 (python-shell-completion--get-completions)
1996 (python-shell-completion-complete-at-point)
1997 (python-shell-completion-complete-or-indent)
1998 (python-shell-get-or-create-process)
1999 (python-shell-get-process-name)
2000 (python-shell-internal-get-or-create-process)
2001 (python-shell-internal-get-process-name)
2002 (python-shell-internal-send-string, python-shell-make-comint)
2003 (python-shell-parse-command, python-shell-send-setup-code)
2004 (python-skeleton-add-menu-items)
2005 (python-util-clone-local-variables, python-util-position)
2006 (run-python-internal, python-indentation-levels)
2007 (python-nav-beginning-of-defun)
2008 (python-completion-complete-at-point): New functions.
2009 (run-python): Change arguments. New API requirements.
2011 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2013 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2016 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2017 (macroexp--expand-all): Use it.
2019 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2020 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2021 Use `cl-function' instead.
2023 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
2025 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2026 Suggested by Stefan Monnier while discussing bug#11657.
2028 2012-06-14 Sam Steingold <sds@gnu.org>
2030 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2032 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2034 * play/doctor.el (doctor-doc): Remove parameter and use
2035 doctor-sent instead of sent.
2036 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2038 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2040 * files.el: Require cl-lib.
2041 (file-name-non-special): Replace case -> cl-case.
2043 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2045 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2046 mapping from #' to function*.
2048 2012-06-13 Chong Yidong <cyd@gnu.org>
2050 * mouse.el (mouse-drag-track): Do not set the mark if the user
2051 releases the mouse without selecting anything (Bug#11588).
2053 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2055 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2056 as well (bug#11646).
2058 * loadup.el: Count byte-code functions as well.
2060 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2061 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2063 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2064 (bug#11649). Add cl-defun and cl-defmacro.
2066 2012-06-13 Drew Adams <drew.adams@oracle.com>
2068 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2071 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
2073 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2074 Otherwise, it blocks in batch mode.
2076 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
2078 * help-mode.el (bookmark-make-record-default): Declare.
2080 2012-06-13 Chong Yidong <cyd@gnu.org>
2082 * emacs-lisp/package.el (list-packages): Compute a list of
2083 packages that are newly-available since the last list-packages
2085 (package-menu--new-package-list): New var.
2086 (package-menu--generate, package-menu--print-info)
2087 (package-menu--status-predicate, package-menu-mark-install):
2088 Handle new status label "new".
2090 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2092 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2093 conversion to backquotes.
2095 2012-06-12 Chong Yidong <cyd@gnu.org>
2097 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2098 Rename from gud-inhibit-global-bindings.
2100 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2102 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2103 hook from nxml-glyph-set-hook.
2105 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2108 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2110 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2111 Convert to defcustom.
2113 2012-06-12 Drew Adams <drew.adams@oracle.com>
2115 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2117 (help-mode): Use them.
2119 2012-06-11 Glenn Morris <rgm@gnu.org>
2121 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2122 Use preprocessor face for directives.
2123 (fortran-directive-re): Doc fix.
2125 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2127 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2128 conversion to backquotes (bug#11652).
2130 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2131 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2132 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2133 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2134 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2135 (cl-ninth, cl-tenth): Mark them as inlinable.
2136 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2137 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2138 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2139 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2140 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2141 (cl-list*, cl-adjoin): Don't put an autoload manually.
2142 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2143 (cl--compiler-macro-list*): Add autoload cookie.
2144 (cl--compiler-macro-cXXr): New function.
2146 * help-fns.el (help-fns--compiler-macro): New function extracted from
2147 describe-function-1; follow aliases and use `compiler-macro' property.
2148 (describe-function-1): Use it.
2150 2012-06-11 Chong Yidong <cyd@gnu.org>
2152 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2153 is uninstalled, if imagemagick is installed.
2155 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2157 * emacs-lisp/cl-lib.el: Use lexical-binding.
2158 (cl-map-extents, cl-maclisp-member): Remove.
2159 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2160 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2161 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2162 * emacs-lisp/cl-extra.el: Use lexical-binding.
2163 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2164 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2165 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2166 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2167 * emacs-lisp/cl-seq.el: Use lexical-binding.
2168 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2169 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2170 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2171 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2172 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2175 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
2177 Sync with Tramp 2.2.6-pre.
2179 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2180 `print-length' and `print-level' to nil, in order to avoid
2181 truncation. Reported by Christopher Schmidt
2182 <christopher@ristopher.com>.
2184 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2186 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2188 (tramp-compat-copy-directory): Add optional argument
2189 COPY-CONTENTS. It is not handled yet.
2191 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2192 (tramp-ftp-file-name-p): Simplify.
2194 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2195 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2198 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2199 (tramp-methods): Do not use `tramp-password-end-of-line'.
2200 (tramp-completion-function-alist-putty): Handle UNIX case.
2201 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2202 (tramp-do-file-attributes-with-stat)
2203 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2204 gid as real numbers. They could run out of integer range on cygwin.
2205 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2206 (tramp-sh-handle-expand-file-name): Handle hops.
2207 (tramp-open-connection-setup-interactive-shell):
2208 Use `tramp-cleanup'. Move check for busyboxes ...
2209 (tramp-find-shell): ... here. Simplify implementation.
2210 Set "remote-shell" property also for alternative shells.
2211 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2212 If failing, a regular file would be written otherwise.
2213 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2214 (tramp-find-inline-encoding): Cache the coding commands in the
2215 process cache. Apply test command on the remote side, if defined.
2216 (tramp-find-inline-compress): Cache the compress commands in the
2218 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2219 when requested. Handle hops.
2220 (tramp-current-connection): New defvar.
2221 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2222 Throw `suppress', if there was a failed connection shortly before.
2223 Handle user interrupt. (Bug#10187)
2224 (tramp-get-inline-compress, tramp-get-inline-coding):
2225 Read connection properties from the process cache.
2227 * net/tramp-smb.el (tramp-smb-server-version)
2228 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2230 (tramp-smb-prompt): Extend for powershell prompt.
2231 (tramp-smb-file-name-handler-alist): Add handlers for
2232 `process-file', `shell-command' and `start-file-process'.
2233 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2234 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2235 (tramp-smb-file-name-p): Simplify.
2236 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2237 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2238 (tramp-smb-shell-quote-argument): New defuns.
2239 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2240 Implement using "tar". By this, time-stamps are preserved.
2241 (tramp-smb-handle-copy-file): Handle also the case of directories.
2242 (tramp-smb-do-file-attributes-with-stat)
2243 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2244 Use `tramp-get-connection-buffer').
2245 (tramp-smb-handle-rename-file): Use "rename", when source and
2246 target are on the same share.
2247 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2248 Use `tramp-smb-server-version'.
2249 (tramp-smb-wait-for-output): Remove prompt.
2251 * net/tramp.el (top): Require 'cl.
2252 (tramp-methods, tramp-rsh-end-of-line):
2253 Remove `tramp-password-end-of-line' from docstring.
2254 (tramp-save-ad-hoc-proxies): New defcustom.
2255 (tramp-completion-function-alist): Adapt docstring.
2256 (tramp-default-password-end-of-line): Remove defcustom.
2257 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2258 (tramp-user-regexp, tramp-file-name-regexp-unified)
2259 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2260 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2261 (tramp-remote-file-name-spec-regexp): New defconst.
2262 (tramp-file-name-structure): Extend structure for hops.
2263 (tramp-get-method-parameter): Move up.
2264 (tramp-file-name-p, tramp-dissect-file-name)
2265 (with-parsed-tramp-file-name): Handle hops.
2266 (tramp-file-name-hop): New defun.
2267 (tramp-make-tramp-file-name): New optional arg HOP.
2268 (tramp-message-show-progress-reporter-message): New defvar.
2269 (tramp-with-progress-reporter): Use it. We cannot use
2270 `tramp-message-show-message' here, because this suppresses also
2272 (tramp-error-with-buffer): Suppress buffer view, if
2273 `tramp-message-show-message' is nil.
2274 Use `tramp-get-connection-buffer'.
2275 (tramp-cleanup): New defun.
2276 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2277 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2279 (tramp-completion-handle-file-name-all-completions): Handle hops.
2280 Fix an error when called from ido.
2281 (tramp-completion-dissect-file-name): Use better local variable
2282 name. Add hop to the vector.
2283 (tramp-handle-insert-file-contents): Use progress-reporter for the
2285 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2287 (tramp-check-for-regexp): Simplify search.
2288 (tramp-enter-password): Remove it. Move implementation ...
2289 (tramp-action-password): ... here.
2290 (tramp-mode-string-to-int, tramp-local-host-p)
2291 (tramp-make-tramp-temp-file, tramp-read-passwd)
2292 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2293 Set tramp-autoload cookie.
2295 * net/trampver.el: Update release number.
2297 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2298 Michael Albinus <michael.albinus@gmx.de>
2300 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2301 (tramp-parse-group, tramp-parse-file)
2302 (tramp-parse-shostkeys-sknownhosts): New defuns.
2303 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2304 (tramp-parse-shosts-group, tramp-parse-sconfig)
2305 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2306 (tramp-parse-sknownhosts, tramp-parse-hosts)
2307 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2309 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2310 (tramp-parse-putty-group): Don't narrow.
2311 (tramp-parse-putty): Make a loop.
2312 (tramp-file-name-handler): Catch the `suppress' signal.
2314 2012-06-11 Chong Yidong <cyd@gnu.org>
2316 * image.el (imagemagick-register-types): Put the ImageMagick entry
2317 at the end of image-type-file-name-regexps.
2319 2012-06-11 Johan Bockgård <bojohan@gnu.org>
2321 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2322 (pcase, pcase-let*, pcase-dolist): Use them.
2324 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2326 * emacs-lisp/pcase.el (pcase--let*): New function.
2327 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2328 (pcase--expand): Use macroexp-let².
2330 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2332 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2333 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2334 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2335 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2336 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2337 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2339 2012-06-10 Glenn Morris <rgm@gnu.org>
2341 * mail/rmail.el (rmail-yank-current-message): Leave point at
2342 correct position. (Bug#11660)
2344 2012-06-10 Chong Yidong <cyd@gnu.org>
2346 * allout-widgets.el: Fix code header.
2348 2012-06-10 Chong Yidong <cyd@gnu.org>
2350 * cus-edit.el (customize-changed-options-previous-release):
2353 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2355 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2357 2012-06-09 Chong Yidong <cyd@gnu.org>
2359 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2361 2012-06-09 Martin Rudalics <rudalics@gmx.at>
2363 * window.el (special-display-popup-frame): Don't use
2364 window--display-buffer (Bug#11651).
2366 2012-06-09 Eli Zaretskii <eliz@gnu.org>
2368 Fix parallel builds: make sure loaddefs.el is not being written
2369 while Lisp files are compiled.
2370 (compile): Don't depend on 'mh-autoloads'.
2371 (compile-CMD, compile-SH): Depend on 'autoloads'.
2372 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2374 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2376 2012-06-09 Chong Yidong <cyd@gnu.org>
2378 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2379 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2380 Doc fixes (Bug#11225).
2382 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2384 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2385 a function if there's a clear indication that it has a compiler-macro.
2386 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2387 (macro-declarations-alist): Add arglist to declaration functions.
2388 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2389 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2390 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2391 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2392 Also add autoload to find the compiler macro.
2393 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2394 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2395 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2396 (cl--compiler-macro-get): New functions, replacing calls to
2397 cl-define-compiler-macro.
2398 (cl-typep) [compiler-macro]: Use macroexp-let².
2400 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
2402 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2403 string properly, fixes Bug#11473.
2405 2012-06-08 Chong Yidong <cyd@gnu.org>
2407 * faces.el (set-face-attribute): Doc fix.
2408 (modify-face): Don't use :bold and :italic.
2409 (error, warning, success): Tweak definitions.
2411 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2412 (custom-modified, custom-set, custom-changed, custom-themed)
2413 (custom-saved, custom-button, custom-button-mouse)
2414 (custom-button-pressed, custom-state, custom-comment-tag)
2415 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2416 (custom-group-subtitle): Use new-style face specs.
2417 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2418 (custom-set-face, custom-changed-face, custom-saved-face)
2419 (custom-button-face, custom-button-pressed-face)
2420 (custom-documentation-face, custom-state-face)
2421 (custom-comment-face, custom-comment-tag-face)
2422 (custom-variable-tag-face, custom-variable-button-face)
2423 (custom-face-tag-face, custom-group-tag-face-1)
2424 (custom-group-tag-face): Remove obsolete face alias.
2426 * epa.el (epa-validity-high, epa-validity-medium)
2427 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2428 (epa-field-name, epa-field-body):
2429 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2430 (font-lock-keyword-face, font-lock-builtin-face)
2431 (font-lock-function-name-face, font-lock-variable-name-face)
2432 (font-lock-type-face, font-lock-constant-face):
2433 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2434 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2435 * speedbar.el (speedbar-button-face, speedbar-file-face)
2436 (speedbar-directory-face, speedbar-tag-face)
2437 (speedbar-selected-face, speedbar-highlight-face)
2438 (speedbar-separator-face):
2439 * whitespace.el (whitespace-newline, whitespace-space)
2440 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2441 (whitespace-line, whitespace-space-before-tab)
2442 (whitespace-space-after-tab, whitespace-indentation)
2444 * emulation/cua-base.el (cua-global-mark):
2445 * eshell/em-prompt.el (eshell-prompt):
2446 * net/newst-plainview.el (newsticker-new-item-face)
2447 (newsticker-old-item-face, newsticker-immortal-item-face)
2448 (newsticker-obsolete-item-face, newsticker-date-face)
2449 (newsticker-statistics-face, newsticker-default-face):
2450 * net/newst-reader.el (newsticker-feed-face)
2451 (newsticker-extra-face, newsticker-enclosure-face):
2452 * net/newst-treeview.el (newsticker-treeview-face)
2453 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2454 (newsticker-treeview-immortal-face)
2455 (newsticker-treeview-obsolete-face)
2456 (newsticker-treeview-selection-face):
2457 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2458 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2459 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2460 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2461 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2462 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2463 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2465 * progmodes/vera-mode.el (vera-font-lock-number)
2466 (vera-font-lock-function, vera-font-lock-interface):
2467 * textmodes/table.el (table-cell): Use new-style face specs, and
2468 don't use the old :bold and :italic attributes.
2470 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2471 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2472 (ebrowse-member-class, ebrowse-progress): Likewise.
2473 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2474 (ebrowse-file-name-face, ebrowse-default-face)
2475 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2476 (ebrowse-progress-face): Remove obsolete faces.
2478 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2479 Inherit from error and warning faces respectively.
2481 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2483 (flyspell-incorrect-face, flyspell-duplicate-face):
2484 Remove obsolete aliases.
2486 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
2488 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2491 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2493 * startup.el (argv, argi): Make lexically scoped.
2494 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2495 * emacs-lisp/cl-macs.el: Use lexical-binding.
2496 Rename cl-bind-* to cl--bind-*.
2497 * files.el: Don't require `cl' since it doesn't use it.
2498 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2500 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
2502 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2503 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2504 instead of calling external sort utility.
2505 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2507 2012-06-08 Eli Zaretskii <eliz@gnu.org>
2509 * descr-text.el (describe-char): Mention how to insert the
2510 character, if the current input method doesn't support it.
2511 See the discussion in this thread for the details:
2512 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2514 2012-06-08 Sam Steingold <sds@gnu.org>
2516 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2517 XF86Back to previous-buffer.
2518 (minibuffer-local-map): Bind them to next-history-element and
2519 previous-history-element respectively.
2520 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2521 help-go-back respectively.
2522 * info.el (Info-mode-map): Bind them to Info-history-forward and
2523 Info-history-back respectively.
2524 These are the keys next to Up on the ThinkPad keyboard.
2526 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2528 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2529 * emacs-lisp/cl-macs.el: Provide itself.
2530 (cl--labels-convert-cache): New var.
2531 (cl--labels-convert): New function.
2532 (cl-flet, cl-labels): New implementation with new semantics, relying on
2534 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2535 (cl-closure-vars, cl--function-convert-cache)
2536 (cl--function-convert): Move from cl-macs.el.
2537 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2538 rename by removing the "cl-" prefix.
2539 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2541 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2543 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2544 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2545 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2546 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2547 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2548 (cl-hash-table-count): Add old compatibility aliases.
2550 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2551 Use macroexpand-all-environment instead.
2552 (cl--old-macroexpand): New var.
2553 (cl--sm-macroexpand): New function.
2554 (cl-symbol-macrolet): Use it during macro expansion.
2555 (cl--function-convert-cache): New var.
2556 (cl--function-convert): New function, extracted from
2558 (cl-lexical-let): Use it.
2560 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2561 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2562 (cl-member): Remove old alias.
2564 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2565 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2566 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2567 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2568 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2569 (cl-macroexpand-cmacs): Remove var.
2570 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2571 Use macroexpand-all instead.
2573 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2575 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2576 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2577 (macroexp-copyable-p): New functions and macros.
2578 * emacs-lisp/edebug.el (edebug-unwrap):
2579 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2580 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2581 (pcase--let*): Remove.
2582 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2583 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2584 macroexp-const-p instead.
2585 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2587 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2588 instead of "cl-" for internal definitions. Use macroexp-const-p.
2589 (cl-old-bc-file-form): Remove var.
2590 (cl-const-exprs-p): Remove fun.
2591 (cl-labels, cl-macrolet): Use backquote.
2592 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2593 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2594 (cl-define-setf-expander): Rename from cl-define-setf-method.
2595 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2597 * international/mule-cmds.el: Don't require CL.
2598 (view-hello-file): Don't use `letf'.
2600 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2602 * tmm.el (tmm-prompt): Use string-prefix-p.
2603 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2604 (tmm-add-prompt): Use minibuffer-completion-help.
2605 (tmm-delete-map): Remove.
2607 * subr.el (kbd): Make it its own function.
2609 2012-06-07 Stefan Merten <smerten@oekonux.de>
2611 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2612 Silence compiler warnings. Fix versions.
2613 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
2614 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
2615 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
2616 (rst-package-emacs-version-alist): Correct Emacs version to
2617 represent major merge with upstream.
2618 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
2620 2012-06-06 Glenn Morris <rgm@gnu.org>
2622 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2623 Only print environment variables if set.
2625 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2627 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2628 (macroexp--cons): Rename from maybe-cons.
2629 (macroexp--accumulate): Rename from macroexp-accumulate.
2630 (macroexp--all-forms): Rename from macroexpand-all-forms.
2631 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2632 (macroexp--expand-all): Rename from macroexpand-all-1.
2634 2012-06-06 Sam Steingold <sds@gnu.org>
2636 * calendar/calendar.el (calendar-in-read-only-buffer):
2637 Call `special-mode' to enable the standard read-only keybindings.
2639 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2641 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2642 with "loading" messages (bug#11635).
2644 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
2646 * files.el (enable-remote-dir-locals): New option.
2647 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2649 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2650 Ensure, that the temp directory is local.
2652 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2653 `temporary-file-directory'.
2655 * progmodes/python.el (python-send-region): Ensure, that the
2656 temporary file is created also in the remote case.
2658 2012-06-06 Glenn Morris <rgm@gnu.org>
2660 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2661 (vc-rcs-update-changelog): Use it.
2663 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
2665 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2666 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2667 (vc-sccs-diff): Replace use of the external vcdiff script.
2669 2012-06-05 Glenn Morris <rgm@gnu.org>
2671 * ledit.el: Move to obsolete/.
2673 2012-06-05 Sam Steingold <sds@gnu.org>
2675 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
2678 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2680 * emacs-lisp/cust-print.el: Move to obsolete.
2682 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2683 compiler-macro expansion.
2685 Add native compiler-macro support.
2686 * emacs-lisp/macroexp.el (macroexpand-all-1):
2687 Support compiler-macros directly. Properly follow aliases and apply
2688 the compiler macros more thoroughly.
2689 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2690 macroexpand now properly follows aliases.
2691 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2692 (cl-compiler-macroexpand): Use new prop.
2693 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2695 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2697 2012-06-05 Martin Rudalics <rudalics@gmx.at>
2699 * window.el (get-lru-window, get-mru-window, get-largest-window):
2700 New argument NOT-SELECTED to avoid picking the selected window.
2701 (window--display-buffer-1, window--display-buffer-2): Replace by
2702 new function window--display-buffer
2703 (display-buffer-same-window, display-buffer-reuse-window)
2704 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2705 Use window--display-buffer.
2706 (display-buffer-use-some-window): Remove temporary dedication
2707 hack by calling get-lru-window and get-largest-window with
2708 NOT-SELECTED argument non-nil. Call window--display-buffer.
2710 2012-06-05 Glenn Morris <rgm@gnu.org>
2712 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2713 Replace external vcdiff script.
2715 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2717 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2719 2012-06-04 Chong Yidong <cyd@gnu.org>
2721 * image.el (imagemagick-types-inhibit): Revert last change.
2723 (imagemagick-enabled-types): Remove CIN and EPS*.
2725 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2727 * emacs-lisp/cl-lib.el: Rename from cl.el.
2728 * emacs-lisp/cl.el: New compatibility file.
2729 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2730 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2731 to obey the "cl-" prefix.
2732 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2734 2012-06-03 Glenn Morris <rgm@gnu.org>
2736 * emacs-lisp/authors.el (authors-aliases): Addition.
2738 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2741 2012-06-03 Stefan Merten <smerten@oekonux.de>
2743 * textmodes/rst.el: Add comments.
2744 (rst-transition, rst-adornment): New faces.
2745 (rst-adornment-faces-alist): Make default safe to reevaluate.
2747 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2748 Improve customization tags.
2749 (rst-define-level-faces): Clarify meaning.
2751 2012-06-03 Chong Yidong <cyd@gnu.org>
2753 * progmodes/compile.el (compilation-mode-line-fail)
2754 (compilation-mode-line-run, compilation-mode-line-exit):
2756 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2758 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2760 * progmodes/which-func.el (which-func-update-ediff-windows):
2761 New function. Use it in ediff-select-hook (Bug#11478).
2763 2012-06-03 Chong Yidong <cyd@gnu.org>
2765 * bindings.el: Remove explicit help text from format-mode-line.
2766 It is now supplied by mode-line-default-help-echo.
2767 (mode-line-front-space, mode-line-end-spaces)
2768 (mode-line-misc-info): New variables.
2769 (mode-line-modes, mode-line-position): Move the default value to
2770 the variable definition.
2771 (mode-line-default-help-echo): New defcustom.
2772 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2773 (mode-line-modified-help-echo): New functions.
2774 (mode-line-mule-info, mode-line-modified): Use them.
2775 (mode-line-eol-desc, propertized-buffer-identification):
2776 Consistency fixes for help text.
2777 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2778 set-buffer-file-coding-system (Bug#289).
2779 (mode-line-mule-info-help-echo): Update help text.
2781 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2783 * simple.el (execute-extended-command): Set real-this-command
2786 2012-06-02 Chong Yidong <cyd@gnu.org>
2788 Remove incorrect uses of "modeline" in comments, docstrings, and
2789 function/variable names (Bug#10329).
2791 * cus-edit.el (mode-line):
2792 * dframe.el (dframe-mouse-hscroll):
2793 * emacs-lisp/re-builder.el:
2794 * emacs-lisp/easy-mmode.el (define-minor-mode):
2795 * frame.el (set-frame-name):
2796 * help.el (lookup-minor-mode-from-indicator):
2797 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2798 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2799 (c-toggle-hungry-state):
2800 * progmodes/antlr-mode.el (antlr-language-alist):
2801 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2802 * progmodes/vhdl-mode.el (vhdl-mode):
2803 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2804 * term/ns-win.el (ns-face-at-pos):
2805 * term/sup-mouse.el (sup-mouse-report):
2806 * textmodes/flyspell.el (flyspell-mode-line-string):
2807 * textmodes/ispell.el (ispell-highlight-face):
2808 * textmodes/reftex-global.el:
2809 * vc/vc-arch.el (vc-arch-mode-line-string):
2810 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2811 * vc/vc-git.el (vc-git-mode-line-string):
2812 * vc/vc-hooks.el (vc-display-status)
2813 (vc-default-mode-line-string):
2814 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2816 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2818 * dired.el (dired-sort-set-mode-line): Rename from
2819 dired-sort-set-modeline. All callers changed.
2821 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2822 eshell-status-in-modeline.
2824 * foldout.el (foldout-mode-line-string): Rename from
2825 foldout-modeline-string. All callers changed.
2826 (foldout-update-mode-line): Rename from foldout-update-modeline.
2828 * subr.el (redraw-modeline): Make into obsolete alias.
2830 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2831 timeclock-modeline-display. Make old name an alias.
2832 (timeclock-update-mode-line): Likewise. All callers changed.
2833 (timeclock-mode-line-display): No need to check before using
2835 (timeclock-relative, timeclock-day-over-hook)
2836 (timeclock-use-elapsed, timeclock-mode-string)
2837 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2839 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2840 crisp-mode-modeline-string.
2842 * play/solitaire.el (solitaire-build-mode-line): Rename from
2843 solitaire-build-modeline. All callers changed.
2845 * play/zone.el (zone-hiding-mode-line): Rename from
2846 zone-hiding-modeline. All callers changed.
2847 (zone): Remove unusued `modeline-hidden-level' property.
2849 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2850 xscheme-modeline-initialize. All callers changed.
2852 * strokes.el (strokes-lighter): Rename from
2853 strokes-modeline-string.
2855 * textmodes/sgml-mode.el (html-face-tag-alist)
2856 (html-tag-face-alist): Use mode-line face instead of obsolete
2859 2012-06-02 Stefan Merten <smerten@oekonux.de>
2861 * textmodes/rst.el: Always require `cl'.
2862 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
2864 2012-06-02 Chong Yidong <cyd@gnu.org>
2866 * image.el (imagemagick-enabled-types): Rename from
2867 imagemagick-types-enable. Add many more types.
2868 (imagemagick-types-inhibit): Change default to nil.
2869 (imagemagick-filter-types): Caller changed.
2871 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2873 * emacs-lisp/cl-macs.el: Use backquotes.
2874 (cl-transform-function-property): Use eval-and-compile rather than
2876 (defstruct): Use declare-function instead of with-no-warnings.
2878 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2879 (byte-compile-output-docform): Re-add the print-circle bindings.
2880 (byte-compile-fix-header): Use #$ just because it's shorter.
2881 (byte-compile-output-file-form): Remove defun/defmacro.
2883 2012-06-01 Martin Rudalics <rudalics@gmx.at>
2885 * simple.el (choose-completion): Remove now obsolete binding for
2888 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
2890 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2891 in order to avoid "Stack overflow in regexp matcher".
2893 2012-05-31 Glenn Morris <rgm@gnu.org>
2895 * image.el: For clarity, call imagemagick-register-types at
2896 top-level, rather than relying on a custom :initialize.
2897 (imagemagick-types-enable): New option. (Bug#11557)
2898 (imagemagick-filter-types): New function. (Bug#7406)
2899 (imagemagick-register-types): Use imagemagick-filter-types.
2900 If disabling support, remove elements altogether rather
2901 than using an impossible regexp.
2902 (imagemagick-types-inhibit): Give it the default init function.
2904 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2906 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2907 Handle arbitrary file name lengths (Bug#11585).
2909 2012-05-31 Martin Rudalics <rudalics@gmx.at>
2911 * desktop.el (desktop-read): Clear previous and next buffers for
2912 all windows and bury *Messages* buffer (bug#11556).
2914 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2916 Add `declare' for `defun'. Align `defmacro's with it.
2917 * emacs-lisp/easy-mmode.el (define-minor-mode)
2918 (define-globalized-minor-mode): Don't autoload the var definitions.
2919 * emacs-lisp/byte-run.el: Use lexical-binding.
2920 (defun-declarations-alist, macro-declarations-alist): New vars.
2921 (defmacro, defun): Use them.
2922 (make-obsolete, define-obsolete-function-alias)
2923 (make-obsolete-variable, define-obsolete-variable-alias):
2925 (macro-declaration-function): Mark obsolete.
2926 * emacs-lisp/autoload.el: Use lexical-binding.
2927 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2929 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2931 * textmodes/ispell.el (ispell-with-no-warnings):
2933 (ispell-kill-ispell, ispell-change-dictionary):
2934 Use `called-interactively-p' for Emacs instead of obsolete
2937 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2939 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2940 (macro-declaration-function): Move var from C code.
2941 (macro-declaration-function): Define function with defalias.
2942 * emacs-lisp/macroexp.el (macroexpand-all-1):
2943 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2944 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2945 defun/defmacro any more.
2946 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2947 Provide fallback for unknown arglist.
2948 (byte-compile-arglist-warn): Change calling convention.
2949 (byte-compile-output-file-form): Move print-vars binding.
2950 (byte-compile-output-docform): Simplify accordingly.
2951 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2952 (byte-compile-defmacro-declaration): Remove.
2953 (byte-compile-file-form-defmumble): Generalize to defalias.
2954 (byte-compile-output-as-comment): Return byte-positions.
2955 Simplify callers accordingly.
2956 (byte-compile-lambda): Use `assert'.
2957 (byte-compile-defun, byte-compile-defmacro): Remove.
2958 (byte-compile-file-form-defalias):
2959 Use byte-compile-file-form-defmumble.
2960 (byte-compile-defalias-warn): Remove.
2962 2012-05-29 Stefan Merten <smerten@oekonux.de>
2964 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
2965 possible. Fix authors. Improve comments. Improve loading of `cl'.
2967 (rst-mode-abbrev-table): Merge definition.
2968 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2969 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2971 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
2973 * calendar/icalendar.el
2974 (icalendar-export-region): Export UID properly.
2976 2012-05-29 Leo Liu <sdl.web@gmail.com>
2977 * calendar/icalendar.el (icalendar-import-format):
2978 Add `icalendar-import-format-uid' (Bug#11525).
2979 (icalendar-import-format-uid): New.
2980 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2983 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2985 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2986 different alternative patterns.
2987 (pcase-codegen): Be more careful to preserve identity.
2988 (pcase--u1): Don't forget to mark vars as used.
2990 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2991 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2992 (byte-compile-from-buffer): ...rather than here.
2994 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2995 functions from byte-compile-function-environment.
2997 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
2999 * window.el (window-deletable-p): Avoid deleting the root window
3000 of a frame with an active minibuffer.
3002 2012-05-29 Martin Rudalics <rudalics@gmx.at>
3004 * simple.el (choose-completion): Use quit-window (Bug#11567).
3006 2012-05-29 Chong Yidong <cyd@gnu.org>
3008 * whitespace.el (whitespace-cleanup): Fix usage of
3009 whitespace-empty-at-bob-regexp (Bug#11492).
3011 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3013 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3016 2012-05-29 Juri Linkov <juri@jurta.org>
3018 * isearch.el (isearch-mode-map): Bind `M-s _' to
3019 `isearch-toggle-symbol'. Bind `M-s c' to
3020 `isearch-toggle-case-fold'.
3021 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3022 (isearch-forward): Add `M-s _' to the docstring.
3023 (isearch-forward-symbol, isearch-toggle-case-fold)
3024 (isearch-symbol-regexp): New functions. (Bug#11381)
3026 2012-05-29 Juri Linkov <juri@jurta.org>
3028 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3029 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3030 a function, call it to get the regexp.
3031 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3032 property `isearch-message-prefix' instead of the string "word ".
3033 (isearch-search-fun-default): For the case of `isearch-word',
3034 return a lambda that calls re-search-forward/re-search-backward
3035 with a regexp returned by `word-search-regexp' or by the function
3038 2012-05-29 Juri Linkov <juri@jurta.org>
3040 * isearch.el (isearch-search-fun-default): New function.
3041 (isearch-search-fun): Move default part to the new function
3042 `isearch-search-fun-default'.
3043 (isearch-search-fun-function): Set the default value to
3044 `isearch-search-fun-default'. (Bug#11381)
3046 * comint.el (comint-history-isearch-end):
3047 Use `isearch-search-fun-default'.
3048 (comint-history-isearch-search): Use `isearch-search-fun-default'
3049 and remove spacial case for `isearch-word'.
3050 (comint-history-isearch-wrap): Remove spacial case for
3053 * hexl.el (hexl-isearch-search-function):
3054 Use `isearch-search-fun-default'.
3056 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3057 Use `word-search-regexp' for `isearch-word'.
3059 * misearch.el (multi-isearch-search-fun):
3060 Use `isearch-search-fun-default'.
3062 * simple.el (minibuffer-history-isearch-search):
3063 Use `isearch-search-fun-default' and remove spacial case for
3065 (minibuffer-history-isearch-wrap): Remove spacial case for
3068 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3069 Remove spacial case for `isearch-word'.
3070 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3072 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3074 Decrease XEmacs incompatibilities.
3075 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3077 (flyspell-delete-region-overlays): Use alternative definition for
3079 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3080 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3081 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3082 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3083 `define-obsolete-face-alias' under XEmacs, but old method.
3085 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3086 `with-no-warnings' definition or Emacs alias.
3087 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3088 (ispell-word): Do not use `region-p' if XEmacs.
3090 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3092 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3093 Check for `ispell-dictionary-base-alist' instead of full
3094 `ispell-dictionary-alist'.
3095 (ispell-init-process): Show spellchecker when starting new Ispell
3098 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3100 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3101 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3103 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
3105 * version.el (motif-version-string, gtk-version-string)
3106 (ns-version-string): Declare.
3108 2012-05-27 Juri Linkov <juri@jurta.org>
3110 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3111 after the `eval-defun-1' specialcaseing
3112 like in `edebug-eval-defun' (bug#10181).
3114 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3115 like in `eval-defun-1'.
3117 2012-05-27 Eli Zaretskii <eliz@gnu.org>
3119 * mail/sendmail.el (mail-yank-region):
3120 Recognize rmail-yank-current-message in addition to insert-buffer.
3121 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
3122 a *mail* buffer created through rmail-start-mail with sendmail as
3125 2012-05-27 Chong Yidong <cyd@gnu.org>
3127 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3128 Default to 256 (Bug#11267).
3130 * help.el (describe-mode): Doc fix.
3132 2012-05-26 Glenn Morris <rgm@gnu.org>
3134 * w32-fns.el (w32-init-info): Remove.
3135 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3137 * info.el (info-initialize): For self-contained NS builds, put the
3138 included info/ directory at the front. (Bug#2791)
3140 * paths.el (Info-default-directory-list): Make it a defcustom,
3141 mainly so that we can use custom-initialize-delay.
3143 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3145 * subr.el (buffer-has-markers-at): Mark obsolete.
3147 * subr.el (lambda): Use declare.
3149 * emacs-lisp/lisp-mode.el (lambda):
3150 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3152 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3154 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3156 2012-05-26 Glenn Morris <rgm@gnu.org>
3158 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3160 2012-05-25 Glenn Morris <rgm@gnu.org>
3162 * paths.el: Remove no-byte-compile.
3163 * loadup.el: No need to load paths.el uncompiled.
3165 * image.el (imagemagick-types-inhibit): Doc fix.
3167 * version.el: Remove no-byte-compile and associated formatting.
3168 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3169 is ancient code from when there was an "inc-vers.el".
3171 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3173 * progmodes/gdb-mi.el: Minor style changes.
3174 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3175 Turn into minor modes.
3176 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3177 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3178 (gdb-shell): Remove unneeded let-binding.
3179 (gdb-get-many-fields): Eliminate O(n²) behavior.
3181 2012-05-25 Eli Zaretskii <eliz@gnu.org>
3183 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3184 platforms that don't link in fontset.c.
3186 2012-05-25 Juri Linkov <juri@jurta.org>
3188 Use the same diff color scheme as in modern VCSes (bug#10181).
3190 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3191 to avoid confusion with `diff-added' that now uses green colors.
3192 (diff-removed): Use shades of red.
3193 (diff-added): Use shades of green.
3194 (diff-changed): Leave just the yellow color.
3195 (diff-use-changed-face): New variable.
3196 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3197 how to highlight context diff changes.
3198 (diff-refine-change): Use shades of yellow.
3199 (diff-refine-removed): New face that uses shades of red.
3200 (diff-refine-added): New face that uses shades of green.
3201 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3202 `diff-refine-removed' in the call to `smerge-refine-subst'
3203 depending on the value of `diff-use-changed-face'.
3205 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3206 (smerge-other): Use shades of green.
3207 (smerge-base): Use shades of yellow.
3208 (smerge-refined-change): Empty face.
3209 (smerge-refined-removed): New face that uses shades of red.
3210 (smerge-refined-added): New face that uses shades of green.
3211 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3212 args `props-r' and `props-a', and use them. Doc fix.
3213 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3214 on its value use different faces `smerge-refined-change',
3215 `smerge-refined-removed', `smerge-refined-added' in the call to
3216 `smerge-refine-subst'.
3218 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3219 Add face condition `min-colors 88' with shades of red.
3220 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3221 `min-colors 88' with shades of green.
3222 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3223 `min-colors 88' with shades of yellow.
3225 2012-05-24 Glenn Morris <rgm@gnu.org>
3227 * paths.el (prune-directory-list, remote-shell-program): Move to...
3228 * files.el (prune-directory-list, remote-shell-program): ...here.
3229 For the latter, delay initialization, prefer ssh, just search PATH.
3231 * paths.el (term-file-prefix): Move to faces.el (the only user).
3232 * faces.el (term-file-prefix): Move here, make it a defcustom.
3234 * paths.el (news-directory, news-path, news-inews-program):
3235 Move to gnus/nnspool.el.
3237 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3239 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3240 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3241 Make the latter a defcustom, with a delayed initialization.
3243 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3244 These were deleted from Gnus itself late 2010.
3246 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
3248 * progmodes/which-func.el (which-func-ff-hook):
3249 Check against user-error, not error.
3251 * emacs-lisp/edebug.el (top): Do not load or set up loading of
3252 cl-specs.el, which no longer exists.
3254 2012-05-22 Glenn Morris <rgm@gnu.org>
3256 * info.el (info-emacs-bug): New command.
3257 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3258 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3260 2012-05-21 Glenn Morris <rgm@gnu.org>
3262 * makefile.w32-in (update-subdirs-SH):
3263 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3265 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3267 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3269 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3270 Simplify Maven regexp, and make sure the file can't start with a space
3273 2012-05-21 Glenn Morris <rgm@gnu.org>
3275 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3276 Scrap superfluous subshells.
3278 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3280 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3281 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3283 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3285 * calc/calc.el (calc-ensure-consistent-units): New variable.
3287 * calc/calc-units.el (math-consistent-units-p)
3288 (math-check-unit-consistency): New functions.
3289 (calc-quick-units, calc-convert-units):
3290 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3292 (calc-extract-units): Fix typo.
3294 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3296 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3298 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3299 (flyspell-default-deplacement-commands): Don't spell check after
3300 repeated window/frame switches (e.g. triggered by mouse-movement).
3301 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3302 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3303 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3304 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3306 (flyspell-get-casechars, flyspell-get-not-casechars):
3307 Simplify; Don't bother removing a ] just to add it back.
3308 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3310 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3312 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3314 (math-function-table): Add support for more C functions.
3316 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3318 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3319 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3320 Protect delay handling for otherchars against empty otherchars.
3322 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3324 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3325 their respective macro declarations.
3326 * skeleton.el (define-skeleton):
3327 * progmodes/compile.el (define-compilation-mode):
3328 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3329 (define-ibuffer-filter):
3330 * emacs-lisp/generic.el (define-generic-mode):
3331 * emacs-lisp/easy-mmode.el (define-minor-mode)
3332 (define-globalized-minor-mode):
3333 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3334 * emacs-lisp/byte-run.el (defsubst):
3335 * custom.el (deftheme): Add doc-string metadata.
3337 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3339 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3341 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3343 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3345 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3346 * emacs-lisp/cl-macs.el: Idem.
3347 * emacs-lisp/cl-specs.el: Remove.
3349 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3351 Minor renaming of internal CL functions and variables.
3352 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3353 (cl--position): Rename from cl-position.
3354 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3355 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3356 (cl--random-state): Rename from *random-state*.
3358 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3360 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3361 parens around the arg list (bug#11499).
3363 2012-05-17 Juri Linkov <juri@jurta.org>
3365 * isearch.el (word-search-regexp, word-search-backward)
3366 (word-search-forward, word-search-backward-lax)
3367 (word-search-forward-lax): Move functions from search.c
3368 (bug#10145, bug#11381).
3370 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3372 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3373 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3374 Delay for otherchars as for normal word components.
3376 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3378 * minibuffer.el (completion--sifn-requote): Fix last change.
3379 (minibuffer-local-must-match-filename-map):
3380 Move define-obsolete-variable-alias before its var.
3382 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3384 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3386 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3388 (completion--string-equal-p): New function.
3389 (completion--twq-all): Use it to get better assertion failure data.
3391 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3392 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3393 (shell--requote-argument): New functions.
3394 (shell-completion-vars): Use them.
3395 (shell--parse-pcomplete-arguments): Rename from
3396 shell-parse-pcomplete-arguments.
3397 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3398 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3399 Obey comint-file-name-quote-list.
3401 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3402 (smie-indent-keyword): Use it.
3404 2012-05-14 Stefan Merten <smerten@oekonux.de>
3406 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3408 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3410 * net/rlogin.el (rlogin-mode-map): Fix last change.
3412 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
3414 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3415 the following \r\n using a single `process-send-string', since the
3416 Lotus SMTP server refuses to accept any commands if they are sent
3417 with two `process-send-string's (Bug#11444).
3419 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3421 * shell.el (shell-parse-pcomplete-arguments):
3422 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
3424 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3426 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
3427 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3428 (image-transform-width, image-transform-fit-width): New functions.
3429 (image-transform-properties): Use them.
3430 (image-transform-check-size): New function.
3431 (image-toggle-display-image): Use it (for testing).
3432 (image-transform-set-rotation): Reduce angle mod 360.
3433 Delete obsolete comment.
3435 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3437 * image-mode.el: Fix scaling (bug#11399).
3438 (image-transform-resize): Doc fix.
3439 (image-transform-properties): Default scale is 1 and height should
3442 2012-05-13 Johan Bockgård <bojohan@gnu.org>
3444 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3445 than hard-coding `car', to fix misbehavior when moving forward.
3447 2012-05-13 Chong Yidong <cyd@gnu.org>
3449 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3450 (tabulated-list-entries, tabulated-list-padding)
3451 (tabulated-list-sort-key): Make permanent-local.
3453 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3454 (electric-buffer-list): Put electric buffer menu
3455 command descriptions in this docstring, instead of the docstring
3456 of electric-buffer-menu-mode. Code cleanups.
3457 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3458 Electric-buffer-menu-mode.
3459 (electric-buffer-update-highlight): Minor code cleanup.
3461 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
3463 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3466 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3468 Move define-obsolete-variable-alias before the var's definition.
3469 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3470 * tooltip.el (tooltip-hook):
3471 * textmodes/reftex-toc.el (reftex-toc-map):
3472 * textmodes/reftex-sel.el (reftex-select-label-map)
3473 (reftex-select-bib-map):
3474 * textmodes/reftex-index.el (reftex-index-map)
3475 (reftex-index-phrases-map):
3476 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3477 * progmodes/meta-mode.el (meta-mode-map):
3478 * novice.el (disabled-command-hook):
3479 * loadhist.el (unload-hook-features-list):
3480 * frame.el (blink-cursor):
3481 * files.el (find-file-not-found-hooks, write-file-hooks)
3482 (write-contents-hooks):
3483 * emulation/tpu-edt.el (GOLD-map):
3484 * emacs-lock.el (emacs-lock-from-exiting):
3485 * emacs-lisp/generic.el (generic-font-lock-defaults):
3486 * emacs-lisp/chart.el (chart-map):
3487 * dos-fns.el (register-name-alist):
3488 * dired-x.el (dired-omit-files-p):
3489 * desktop.el (desktop-enable):
3490 * cus-edit.el (custom-mode-hook):
3491 * buff-menu.el (buffer-menu-mode-hook):
3492 * bookmark.el (bookmark-read-annotation-text-func)
3493 (bookmark-exit-hooks):
3494 * allout.el (allout-mode-deactivate-hook)
3495 (allout-exposure-change-hook, allout-structure-added-hook)
3496 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3497 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3498 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3499 comes before the corresponding variable's definition.
3501 2012-05-12 Chong Yidong <cyd@gnu.org>
3503 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
3504 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3505 (Buffer-menu-mode-map): Bind it.
3506 (Buffer-menu--pretty-name): Add a mouse-face property.
3508 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3510 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3511 (prolog-upper-case-string, prolog-lower-case-string)
3512 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3513 (prolog-use-smie, prolog-smie-grammar): New vars.
3514 (prolog-smie-forward-token, prolog-smie-backward-token)
3515 (prolog-smie-rules): New funs.
3516 (prolog-comment-indent): Remove.
3517 (prolog-mode-variables): Use default comment indentation instead.
3519 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3520 (prolog-mode): Don't call them any more.
3521 (prolog-electric-colon, prolog-electric-dash)
3522 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3524 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3526 * minibuffer.el (completion--twq-all): Again, allow case differences.
3528 * term.el: Move keymap initialization code to be more idiomatic.
3529 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3530 (term-terminal-menu): Move initialization into declaration.
3531 (term-escape-char): Let the user set it in her .emacs.
3533 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3534 Provide SMIE-based indentation (not enabled by default yet).
3535 (sh-mode-map): Don't bind electric keys.
3536 Use electric-pair-mode instead of skeleton-pair.
3537 (sh-assignment-regexp): Fit within 80 columns.
3538 (sh-indent-supported): Specify actual shell name instead of boolean.
3539 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3540 (sh-maybe-here-document): Use it. Make obsolete.
3541 (sh-electric-here-document-mode) New minor mode.
3542 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3543 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3544 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3545 (sh-smie-rc-grammar, sh-use-smie): New vars.
3546 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3547 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3548 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3549 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3550 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3551 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3552 (sh-set-shell): Use smie-setup if requested.
3554 * term.el (term-set-escape-char): Properly set term-escape-char.
3555 See http://stackoverflow.com/questions/10524656.
3557 2012-05-10 Chong Yidong <cyd@gnu.org>
3559 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3560 Use url-generic-parse-url, and handle host names and Windows
3562 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3563 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3564 URL schemes to work on.
3565 (ffap--toggle-read-only): New function.
3566 (ffap-read-only, ffap-read-only-other-window)
3567 (ffap-read-only-other-frame): Use it.
3568 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3569 necessary for ffap-url-unwrap-remote.
3571 2012-05-10 Dave Abrahams <dave@boostpro.com>
3573 * cus-start.el (create-lockfiles): Add it.
3575 2012-05-09 Chong Yidong <cyd@gnu.org>
3577 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3578 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3580 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3582 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3584 2012-05-09 Chong Yidong <cyd@gnu.org>
3586 * ansi-color.el (ansi-color-process-output): Check for validity of
3587 comint-last-output-start before using it. This avoids a bad
3588 interaction with gdb-mi's input/output buffer.
3590 2012-05-09 Glenn Morris <rgm@gnu.org>
3592 * files.el (dir-locals-read-from-file):
3593 Mention dir-locals in any error message.
3595 2012-05-09 Chong Yidong <cyd@gnu.org>
3597 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3598 package (Bug#11410).
3600 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3601 variables into description.
3603 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3605 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3606 shell-delimiter-argument-list (bug#11348).
3607 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3609 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
3611 * textmodes/rst.el: Silence byte-compiler warnings.
3612 (rst-re-alist, rst-reset-section-caches): Move around.
3613 (rst-re): Use `characterp', not `char-valid-p'.
3614 (font-lock-beg, font-lock-end): Declare.
3616 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3617 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3619 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3621 2012-05-08 Glenn Morris <rgm@gnu.org>
3623 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3625 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3627 * vc/log-edit.el: Add GNU coding standards highlighting.
3628 (log-edit-font-lock-gnu-style)
3629 (log-edit-font-lock-gnu-keywords): New vars.
3630 (log-edit-font-lock-keywords): New fun.
3631 (log-edit-mode): Don't fold case in font-lock.
3632 (log-edit-font-lock-keywords): Do not assume case-folding.
3634 * imenu.el: Misc cleanup. Make docstrings out of comments.
3635 Use lexical-binding.
3636 (imenu--index-alist, imenu--last-menubar-index-alist)
3637 (imenu-menubar-modified-tick): Use defvar-local.
3638 (imenu--split-menu): Remove unused var.
3639 (imenu--cleanup-seen): Declare as global.
3640 (imenu--cleanup): Use dolist.
3642 * subr.el (defvar-local): Add debug spec and doc-string position.
3644 2012-05-08 Glenn Morris <rgm@gnu.org>
3646 * language/burmese.el, language/cham.el, language/czech.el:
3647 * language/english.el, language/georgian.el, language/greek.el:
3648 * language/japanese.el, language/khmer.el, language/korean.el:
3649 * language/lao.el, language/misc-lang.el, language/romanian.el:
3650 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3651 * language/thai.el, language/utf-8-lang.el:
3652 Remove no-byte-compile setting.
3654 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3656 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3658 * progmodes/make-mode.el (makefile-browse):
3659 Remove unnecessary interactive. (Bug#11324)
3661 2012-05-07 Glenn Morris <rgm@gnu.org>
3663 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3665 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3667 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3669 * loadup.el: Preload newcomment.el.
3670 * newcomment.el: Move autoload-only code to toplevel.
3672 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3673 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3674 Handle new :right-align column property.
3675 (tabulated-list-print-col): Idem, plus use `display' text-property to
3676 try and preserve alignment for variable pitch fonts.
3678 2012-05-07 Chong Yidong <cyd@gnu.org>
3680 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3681 (tabulated-list-use-header-line): New var.
3682 (tabulated-list-init-header): Use it.
3683 (tabulated-list-print-fake-header): New function.
3684 (tabulated-list-print): Use it.
3685 (tabulated-list-sort-button-map): Add non-header-line commands.
3686 (tabulated-list-init-header): Add column name property to basic
3688 (tabulated-list-col-sort): Handle non-header-line button case.
3689 (tabulated-list--sort-by-column-name): Fix a corner case.
3691 * buff-menu.el (list-buffers--refresh):
3692 Handle Buffer-menu-use-header-line.
3694 2012-05-06 Chong Yidong <cyd@gnu.org>
3696 * buff-menu.el: Convert to Tabulated List mode.
3697 (Buffer-menu-buffer+size-width): Make obsolete.
3698 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3699 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3700 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3701 documentation into docstring of buffer-menu.
3702 (Buffer-menu-toggle-files-only): Add an informative message.
3703 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3704 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3705 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3706 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3707 (Buffer-menu-execute, Buffer-menu-select)
3708 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3709 (Buffer-menu-bury): Use Tabulated List machinery.
3710 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3711 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
3713 (list-buffers--refresh): New function.
3714 (list-buffers-noselect): Use it.
3715 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3716 (Buffer-menu--pretty-file-name): New helper functions.
3718 * loadup.el: Preload tabulated-list.
3720 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3721 tabulated-list-sort-column.
3722 (tabulated-list-init-header): Add the initial aligning space even
3723 if tabulated-list-padding is zero.
3725 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3727 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3728 whose cdr is not a cons cell correctly (bug#11038).
3730 2012-05-06 Chong Yidong <cyd@gnu.org>
3732 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3733 Accept additional plist in column descriptors.
3734 (tabulated-list-init-header): Obey it.
3735 (tabulated-list-get-entry): New function.
3736 (tabulated-list-put-tag): Use it. Use string-width instead of
3738 (tabulated-list--column-number): New function.
3739 (tabulated-list-print): Use it.
3740 (tabulated-list-print-col): New function.
3741 Set `tabulated-list-column-name' property on each column's text.
3742 (tabulated-list-print-entry): Use it.
3743 (tabulated-list-delete-entry, tabulated-list-set-col):
3745 (tabulated-list-sort-column): New command (Bug#11337).
3747 * buff-menu.el (list-buffers): Move C-x C-b binding from
3748 buff-menu.el to bindings.el.
3750 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3751 :advertised-binding feature.
3753 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3755 * progmodes/compile.el (compilation-internal-error-properties):
3756 Calculate start position correctly when end-col is set but
3757 end-line is not (Bug#11382).
3759 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3761 * man.el (Man-unindent): Use text-property-default-nonsticky to
3762 prevent untabify from inheriting face properties (Bug#11408).
3764 2012-05-05 Stefan Merten <smerten@oekonux.de>
3766 * textmodes/rst.el: Major merge with upstream development up to
3767 Docutils SVN r7399 / rst.el V1.2.1.
3769 Clarify maintainership and authors.
3771 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3772 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3773 (rst-official-version, rst-official-cvs-rev, rst-version)
3774 (rst-package-emacs-version-alist): New functions and variables
3775 for version information.
3777 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3778 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3779 (rst-mode-syntax-table, rst-mode): New and corrected functions
3780 and variables representing reStructuredText features.
3782 (rst-re): New function for reStructuredText regexes. Use in
3785 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3786 (rst-mode-map): Rebind keys.
3788 (rst-mode-lazy, rst-font-lock-keywords)
3789 (rst-font-lock-extend-region)
3790 (rst-font-lock-extend-region-internal)
3791 (rst-font-lock-extend-region-extend)
3792 (rst-font-lock-find-unindented-line-limit)
3793 (rst-font-lock-find-unindented-line-match)
3794 (rst-adornment-level, rst-font-lock-adornment-level)
3795 (rst-font-lock-adornment-match)
3796 (rst-font-lock-handle-adornment-pre-match-form)
3797 (rst-font-lock-handle-adornment-matcher): Major revision of
3798 font-locking. Integrate with other code. Use `jit-lock-mode'.
3800 (rst-preferred-adornments, rst-adjust-hook)
3801 (rst-new-adornment-down, rst-preferred-bullets)
3802 (rst-preferred-bullets, rst-indent, rst-indent-width)
3803 (rst-indent-field, rst-indent-literal-normal)
3804 (rst-indent-literal-minimized, rst-indent-comment): Change,
3805 extend and improve customization.
3807 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3808 (rst-normalize-cursor-position, rst-get-decoration)
3809 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3810 (rst-rstrip, rst-toc-insert-find-delete-contents)
3811 (rst-shift-fill-region, rst-compute-bullet-tabs)
3812 (rst-debug-print-tabs, rst-debug-mark-found)
3813 (rst-shift-region-guts, rst-shift-region-right)
3814 (rst-shift-region-left, rst-use-char-classes)
3815 (rst-font-lock-keywords-function)
3816 (rst-font-lock-indentation-point)
3817 (rst-font-lock-find-unindented-line-begin)
3818 (rst-font-lock-find-unindented-line-end)
3819 (rst-font-lock-find-unindented-line)
3820 (rst-font-lock-adornment-point, rst-font-lock-level)
3821 (rst-adornment-level-alist): Remove functions and variables.
3823 (rst-compare-adornments, rst-get-adornment-match)
3824 (rst-suggest-new-adornment, rst-get-adornments-around)
3825 (rst-adornment-complete-p, rst-get-next-adornment)
3826 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3827 (rst-straighten-adornments): Standardize function names to
3828 use "adornment" instead of "decoration". Correct callers.
3829 Similar standardizing in many places.
3831 (rst-update-section, rst-adjust, rst-promote-region)
3832 (rst-enumerate-region, rst-bullet-list-region)
3833 (rst-repeat-last-character): Correct use of `interactive'.
3835 (rst-classify-adornment, rst-find-all-adornments)
3836 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3837 (rst-find-leftmost-column, rst-repeat-last-character):
3840 (rst-find-title-line, rst-reset-section-caches)
3841 (rst-get-adornments-around, rst-adjust-adornment-work)
3842 (rst-arabic-to-roman, rst-roman-to-arabic)
3843 (rst-insert-list-pos, rst-insert-list-new-item)
3844 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3847 (rst-all-sections, rst-section-hierarchy)
3848 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3851 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3852 configuration instead of only buffer. Change where necessary.
3854 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3855 (rst-shift-region, rst-adaptive-fill): New functions for
3856 indentation and filling.
3858 (rst-comment-line-break, rst-comment-indent)
3859 (rst-comment-insert-comment, rst-comment-region)
3860 (rst-uncomment-region): New functions for handling comments.
3862 (rst-compile): Quote shell arguments.
3864 (rst-compile-pdf-preview, rst-compile-slides-preview):
3865 Delete temporary files after use.
3867 2012-05-05 Glenn Morris <rgm@gnu.org>
3869 * calendar/cal-html.el: Optionally include holidays in the output.
3870 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3871 (cal-html-holidays): New option.
3872 (cal-html-css-default): Add holiday entry.
3873 (holiday-in-range): Autoload it.
3874 (cal-html-htmlify-entry): Add optional class argument.
3875 (cal-html-htmlify-list): Add optional holidays argument.
3876 (cal-html-insert-agenda-days): Include holidays in the output.
3877 (cal-html-one-month): Maybe include holidays.
3879 * calendar/holidays.el (holiday-in-range):
3880 Move here from cal-tex-list-holidays.
3881 * calendar/cal-tex.el (cal-tex-list-holidays):
3882 Make it an obsolete alias for holiday-in-range. Update all callers.
3884 2012-05-05 Chong Yidong <cyd@gnu.org>
3886 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3889 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3891 * files.el (file-auto-mode-skip): New var.
3892 (set-auto-mode-1): Use it.
3894 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3896 * repeat.el: Use lexical-binding.
3897 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3898 (repeat-undo-count): Remove.
3900 * progmodes/octave-mod.el (octave-abbrev-start):
3901 * progmodes/f90.el (f90-abbrev-start):
3902 * face-remap.el (text-scale-adjust):
3903 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3905 * emacs-lisp/pcase.el (pcase--let*): New function.
3906 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3908 (pcase--split-pred): Be more clever about ruling out overlap between
3909 a predicate and some constant pattern.
3910 (pcase--q1): Use `null' instead of (eq foo nil).
3912 * subr.el (setq-local, defvar-local): New macros.
3913 (kbd): Redefine as an alias.
3914 (with-selected-window): Leave unrelated frames alone.
3915 (set-temporary-overlay-map): New function.
3917 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3919 * subr.el (user-error): New function.
3920 * window.el (switch-to-buffer):
3921 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3922 (smerge-match-conflict):
3923 * simple.el (previous-matching-history-element)
3924 (next-matching-history-element, goto-history-element, undo-more)
3926 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3927 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3928 (next-file, tags-loop-scan, list-tags, complete-tag):
3929 * progmodes/compile.el (compilation-loop):
3930 * mouse.el (mouse-minibuffer-check):
3931 * man.el (Man-bgproc-sentinel, Man-goto-page):
3932 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3933 (Info-history-forward, Info-follow-reference, Info-menu)
3934 (Info-extract-menu-item, Info-extract-menu-counting)
3935 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3936 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3937 (Info-next-reference, Info-prev-reference, Info-index)
3938 (Info-index-next, Info-follow-nearest-node)
3939 (Info-copy-current-node-name):
3940 * imenu.el (imenu--make-index-alist)
3941 (imenu-default-create-index-function, imenu-add-to-menubar):
3942 * files.el (basic-save-buffer, recover-file):
3943 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3944 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3945 (checkdoc-message-text, checkdoc-defun):
3946 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3947 * cus-edit.el (customize-changed-options, customize-rogue)
3948 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3949 (custom-variable-mark-to-reset-standard)
3950 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3952 * completion.el (check-completion-length):
3953 * comint.el (comint-search-arg)
3954 (comint-previous-matching-input-string-position)
3955 (comint-previous-matching-input)
3956 (comint-replace-by-expanded-history-before-point, comint-send-input)
3957 (comint-copy-old-input, comint-backward-matching-input)
3958 (comint-goto-process-mark, comint-set-process-mark):
3959 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3960 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3962 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3964 * dabbrev.el (dabbrev--ignore-case-p): New function.
3965 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3968 * files.el (automount-dir-prefix): Mark as obsolete.
3970 2012-05-04 Glenn Morris <rgm@gnu.org>
3972 * patcomp.el, play/bruce.el: Move to obsolete/.
3974 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3976 Fix minor Y10k bugs.
3977 * arc-mode.el (archive-unixdate):
3978 * autoinsert.el (auto-insert-alist):
3979 * calc/calc-forms.el (math-this-year):
3980 * emacs-lisp/copyright.el (copyright-current-year)
3981 (copyright-update-year, copyright):
3982 * tar-mode.el (tar-clip-time-string):
3983 * time.el (display-time-update):
3984 Don't assume years have 4 digits.
3986 2012-05-04 Chong Yidong <cyd@gnu.org>
3988 * dos-w32.el (file-name-buffer-file-type-alist)
3989 (direct-print-region-use-command-dot-com):
3990 * ffap.el (ffap-menu-regexp):
3991 * find-file.el (ff-special-constructs):
3992 * follow.el (follow-debug):
3993 * forms.el (forms--debug):
3994 * iswitchb.el (iswitchb-all-frames):
3995 * ido.el (ido-all-frames):
3996 * emacs-lisp/timer.el (timer-max-repeats):
3997 * mail/feedmail.el (feedmail-mail-send-hook)
3998 (feedmail-mail-send-hook-queued):
3999 * mail/footnote.el (footnote-signature-separator):
4000 * mail/mailabbrev.el (mail-alias-separator-string)
4001 (mail-abbrev-mode-regexp):
4002 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4003 * progmodes/idlwave.el (idlwave-libinfo-file)
4004 (idlwave-default-completion-case-is-down)
4005 (idlwave-library-routines): Convert defvars to defcustoms.
4007 * mail/rmail.el (rmail-decode-mime-charset):
4008 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4009 (idlwave-shell-fix-inserted-breaks)
4010 (idlwave-shell-activate-alt-keybindings)
4011 (idlwave-shell-use-breakpoint-glyph):
4012 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4014 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4016 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4018 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4020 * progmodes/verilog-mode.el (font-lock-keywords):
4021 Fix mis-highligting auto. Reported by Craig Barner.
4022 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4023 defines from global name space. Reported by Dan Dever.
4024 (verilog-auto-reset, verilog-auto-reset-widths)
4025 (verilog-auto-tieoff): Support using unbased numbers for
4026 AUTORESET and AUTOTIEOFF.
4027 (verilog-submit-bug-report): Update variable list.
4028 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4029 parenthesis from not matching. Reported by Michael Rytting.
4030 (verilog-auto-template-lint): Fix hash error when linting modules
4031 with no used templates.
4032 (verilog-warn, verilog-warn-error)
4033 (verilog-warn-fatal): When non-interactive report multiple
4034 warnings before exiting. Suggested by Brad Dobbie.
4035 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4036 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4037 to report unused template errors. Reported by Brad Dobbie.
4038 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4039 nets, bug438. Reported by Vns Blore.
4040 (verilog-auto-inout-module, verilog-auto-reg)
4041 (verilog-read-decls, verilog-read-sub-decls-sig)
4042 (verilog-signals-edit-wire-reg, verilog-signals-with):
4043 Fix passing of Verilog data types in ANSI input/output ports
4044 such as "output logic" into the AUTOs. Special case "wire" and
4045 "reg" for backwards compatibility presuming Verilog 2001.
4046 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4047 (verilog-preprocess): Fix replication of preprocess output.
4048 Reported by Brad Dobbie.
4049 (verilog-auto-inst-interfaced-ports):
4050 Create verilog-auto-inst-interfaced-ports, bug429.
4051 Reported by Julian Gorfajn.
4052 (verilog-after-save-font-hook)
4053 (verilog-before-save-font-hook): New variable.
4054 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4055 (verilog-save-font-mods): Wrap disabling fontification, reported
4057 (verilog-do-indent, verilog-pretty-declarations-auto)
4058 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4059 Reported by Pierre-David Pfister.
4060 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4061 of class declarations, bug292. Reported by Kevin Heilman.
4062 (verilog-read-decls): Fix 'parameter type' not appearing in
4063 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4064 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4065 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4066 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4067 Reported by David Kravitz.
4069 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
4071 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4072 assignment with tests in ifs and for loops.
4073 (verilog-extended-complete-re, verilog-complete-reg): Change so
4074 that DPI inport functions don't look like fuction declarations.
4075 (verilog-pretty-expr): Don't line up assignment
4076 operations to the test and increment in if and for loops
4077 (verilog-extended-complete-re, verilog-complete-reg): Change so
4078 that DPI inport functions don't look like fuction declarations.
4080 2012-05-03 Kenichi Handa <handa@m17n.org>
4082 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
4083 decoding, and show a warning message without signaling an error
4086 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4088 * emacs-lisp/bytecomp.el
4089 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4090 since cconv.el might have introduced :fun-body, internal-make-closure,
4091 and friends for bytecomp to handle (bug#11391).
4092 * custom.el (defcustom): Avoid ((λ ..) ..).
4094 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4096 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4098 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
4100 * notifications.el (dbus-debug):
4101 * term/linux.el (gpm-mouse-enable):
4102 * term/screen.el (xterm-register-default-colors): Declare.
4104 2012-05-02 Chong Yidong <cyd@gnu.org>
4106 * cus-start.el (gc-cons-percentage, exec-suffixes)
4107 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4108 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4109 (make-cursor-line-fully-visible, void-text-area-pointer)
4110 (font-list-limit): Add customization data.
4112 * allout.el (allout-exposure-change-functions)
4113 (allout-structure-added-functions)
4114 (allout-structure-deleted-functions)
4115 (allout-structure-shifted-functions): Rename abnormal hooks from
4116 *-hook, and convert to defcustoms.
4117 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4118 Convert to defcustoms.
4119 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4121 * allout-widgets.el: Hook callers changed.
4123 2012-05-02 Eli Zaretskii <eliz@gnu.org>
4125 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4126 the yanked message in preference to the default value of
4127 buffer-file-coding-system.
4129 2012-05-02 Martin Rudalics <rudalics@gmx.at>
4131 * window.el (display-buffer--action-function-custom-type):
4134 2012-05-02 Alan Mackenzie <acm@muc.de>
4136 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4138 2012-05-01 Glenn Morris <rgm@gnu.org>
4140 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4142 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4144 * cus-edit.el (custom-variable-documentation): Simplify with format.
4146 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4147 Stefan Monnier <monnier@iro.umontreal.ca>
4149 * simple.el (suggest-key-bindings, execute-extended-command):
4150 Move from keyboard.c.
4152 2012-05-01 Chong Yidong <cyd@gnu.org>
4154 * follow.el: Eliminate advice.
4155 (set-process-filter, process-filter, sit-for): Advice deleted.
4156 (follow-mode-off-hook): Obsolete hook removed.
4157 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4159 (follow-auto): Use a :set function.
4160 (follow-mode): Rewritten. Don't advise process filters.
4161 (follow-switch-to-current-buffer-all, follow-scroll-up)
4162 (follow-scroll-down): Assume follow-mode is bound.
4163 (follow-comint-scroll-to-bottom)
4164 (follow-align-compilation-windows): New functions.
4165 (follow--window-sorter): New function.
4166 (follow-all-followers): Use it to explicitly sort windows by their
4167 positions; don't make assumptions about next-window order.
4168 (follow-windows-start-end, follow-delete-other-windows-and-split)
4169 (follow-calc-win-start): Doc fix.
4170 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4171 vertical-motion unnecessarily.
4172 (follow-adjust-window): New function.
4173 (follow-post-command-hook): Use it.
4174 (follow-call-set-process-filter, follow-call-process-filter)
4175 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4176 (follow-stop-intercept-process-output, follow-generic-filter):
4178 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
4179 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4180 New functions, replacing advice on scroll-bar-* commands.
4181 (follow-mwheel-scroll): New function (Bug#4112).
4183 * comint.el (comint-adjust-point): New function.
4184 (comint-postoutput-scroll-to-bottom): Use it.
4185 Call follow-comint-scroll-to-bottom for Follow mode buffers.
4187 2012-05-01 Glenn Morris <rgm@gnu.org>
4189 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4190 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4191 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4192 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4193 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4194 Remove no-byte-compile setting.
4196 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4198 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4199 all-completions code to not return a number in the last cdr.
4201 2012-04-30 Leo Liu <sdl.web@gmail.com>
4203 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4206 2012-04-29 Chong Yidong <cyd@gnu.org>
4208 * follow.el (follow-calc-win-end): Rewrite to handle partial
4209 screen lines correctly (Bug#8390).
4210 (follow-avoid-tail-recenter): Minor cleanup.
4212 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4214 Avoid the obsolete `assoc' package.
4215 * speedbar.el (speedbar-refresh): Avoid adelete.
4216 (speedbar-file-lists): Simplify and avoid aput.
4217 * man.el (Man--sections, Man--refpages): New vars, replacing
4218 Man-sections-alist and Man-refpages-alist.
4219 (Man-build-section-alist, Man-build-references-alist):
4220 Use them; avoid aput.
4221 (Man--last-section, Man--last-refpage): New vars.
4222 (Man-follow-manual-reference): Use them.
4223 Use the `default' arg of completing-read.
4224 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4226 2012-04-27 Chong Yidong <cyd@gnu.org>
4228 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4230 * startup.el (x-apply-session-resources): New function.
4232 * term/ns-win.el (ns-initialize-window-system):
4233 * term/w32-win.el (w32-initialize-window-system):
4234 * term/x-win.el (x-initialize-window-system): Use it to properly
4235 set menu-bar-mode and other vars from X resources, even if the
4236 initial frame is not a window-system frame (Bug#2299).
4238 * subr.el (read-key): Avoid running filter function when setting
4239 up temporary tool bar entries (Bug#9922).
4241 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
4243 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4246 2012-04-27 Chong Yidong <cyd@gnu.org>
4248 * select.el (xselect--encode-string): New function, split from
4249 xselect-convert-to-string.
4250 (xselect-convert-to-string): Use it.
4251 (xselect-convert-to-filename, xselect-convert-to-os)
4252 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4253 returned strings are properly encoded (Bug#11315).
4255 2012-04-27 Chong Yidong <cyd@gnu.org>
4257 * simple.el (delete-active-region): Move to killing custom group.
4259 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
4261 * progmodes/which-func.el (which-func-current): Quote %
4262 characters for mode-line processing.
4264 2012-04-27 Chong Yidong <cyd@gnu.org>
4266 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4267 reaching eob (Bug#11286).
4269 2012-04-27 Eli Zaretskii <eliz@gnu.org>
4271 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4272 (gdb): Make it buffer-local and init to zero.
4273 (gdb-control-commands-regexp): New variable.
4274 (gdb-send): Don't wrap in "-interpreter-exec console" if
4275 gdb-control-level is positive. Increment gdb-control-level
4276 whenever the command matches gdb-control-commands-regexp, and
4277 decrement it each time the command is "end". (Bug#11279)
4279 2012-04-27 Martin Rudalics <rudalics@gmx.at>
4281 * window.el (adjust-window-trailing-edge, enlarge-window)
4282 (shrink-window, window-resize):
4283 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4284 windows (Bug#11276).
4286 2012-04-27 Chong Yidong <cyd@gnu.org>
4288 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
4289 fix "missing prefix" warning. All callers changed.
4291 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4293 * emacs-lisp/assoc.el: Move to obsolete/.
4295 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4297 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
4299 * term/ns-win.el (ns-define-service):
4300 * progmodes/pascal.el (pascal-goto-defun):
4301 * progmodes/js.el (js--read-tab):
4302 * progmodes/etags.el (tags-lazy-completion-table):
4303 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4304 * emacs-lisp/ewoc.el (ewoc--wrap):
4305 * emacs-lisp/assoc.el (aput, adelete, amake):
4306 * doc-view.el (doc-view-convert-current-doc):
4307 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4309 2012-04-26 Chong Yidong <cyd@gnu.org>
4311 * image.el (image-type-from-buffer): Only return supported image
4314 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4315 value, for symmetry with diff-end-of-hunk.
4316 (diff-split-hunk, diff-find-source-location)
4317 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4318 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4319 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4320 compute the relevant hunk or file properly (Bug#6005).
4321 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4323 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4332 * vc/vc.el: Replace lexical-let by lexical-binding.
4333 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4334 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4335 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4337 2012-04-26 Chong Yidong <cyd@gnu.org>
4339 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4340 (diff-mode-shared-map): Bind it to / and [remap undo].
4342 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4343 (ediff-window-setup-function): Use it as the default, to set up
4344 windows based on whether the current frame is graphical (Bug#2138).
4345 (ediff-choose-window-setup-function-automatically): Make obsolete.
4347 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4349 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4351 * ffap.el: Remove old code for obsolete package.
4352 (ffap-complete-as-file-p): Remove.
4354 Use completion-table-with-quoting for comint and pcomplete.
4355 * comint.el (comint--unquote&requote-argument)
4356 (comint--unquote-argument, comint--requote-argument): New functions.
4357 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4358 (comint-quote-filename): Use regexp-opt-charset.
4359 (comint--common-suffix, comint--common-quoted-suffix)
4360 (comint--table-subvert): Remove.
4361 (comint-unquote-function, comint-requote-function): New vars.
4362 (comint--complete-file-name-data): Use them with
4363 completion-table-with-quoting.
4364 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4365 * pcomplete.el (pcomplete-arg-quote-list)
4366 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4367 (pcomplete-unquote-argument-function): Default to non-nil.
4368 (pcomplete-unquote-argument): Simplify.
4369 (pcomplete--common-quoted-suffix): Remove.
4370 (pcomplete-requote-argument-function): New var.
4371 (pcomplete--common-suffix): New function.
4372 (pcomplete-completions-at-point): Use completion-table-with-quoting
4373 and completion-table-subvert.
4375 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4376 (minibuffer--double-dollars): Preserve properties.
4377 (completion--sifn-requote): New function.
4378 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4380 * minibuffer.el: Add support for completion of quoted/escaped data.
4381 (completion-table-with-quoting, completion-table-subvert): New funs.
4382 (completion--twq-try, completion--twq-all): New functions.
4383 (completion--nth-completion): New function.
4384 (completion-try-completion, completion-all-completions): Use it.
4386 2012-04-25 Leo Liu <sdl.web@gmail.com>
4388 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4389 Use compilation-message if available to find real filename.
4391 2012-04-25 Chong Yidong <cyd@gnu.org>
4393 * vc/diff-mode.el (diff-setup-whitespace): New function.
4394 (diff-mode): Use it.
4396 * vc/diff.el (diff-sentinel):
4397 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4398 Whitespace mode variables based on diff style (Bug#8612).
4400 2012-04-25 Leo Liu <sdl.web@gmail.com>
4402 * progmodes/python.el (python-send-region): Add suffix .py to the
4405 * files.el (auto-mode-alist): Use javascript-mode instead.
4407 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4409 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
4411 * net/soap-client.el (soap-resolve-references-for-sequence-type)
4412 (soap-resolve-references-for-array-type): Hack to prevent self
4413 references, see Bug#9.
4414 (soap-parse-envelope): Report the contents of the 'detail' node
4415 when receiving a fault reply.
4416 (soap-parse-envelope): Report the contents of the entire 'detail' node.
4418 * net/soap-inspect.el (soap-sample-value-for-simple-type)
4419 (soap-inspect-simple-type): New function.
4421 * net/soap-client.el (soap-simple-type): New struct.
4422 (soap-default-xsd-types, soap-default-soapenc-types)
4423 (soap-decode-basic-type, soap-encode-basic-type):
4424 support unsignedInt and double basic types.
4425 (soap-resolve-references-for-simple-type)
4426 (soap-parse-simple-type, soap-encode-simple-type): New function.
4427 (soap-parse-schema): Parse xsd:simpleType declarations.
4429 * net/soap-client.el (soap-default-xsd-types)
4430 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4431 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4432 the local name of "soapenc:Array".
4433 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
4434 decoding integer, byte and anyURI xsd types.
4436 2012-04-25 Chong Yidong <cyd@gnu.org>
4438 * cus-edit.el (custom-buffer-create-internal): Update header text.
4440 2012-04-25 Eli Zaretskii <eliz@gnu.org>
4442 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4443 settings on 'system-type', not on 'window-system'. On MS-Windows,
4444 set interactive-mode on in GDB.
4446 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4448 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4449 (ruby-syntax-propertize-regexp): Remove.
4450 (ruby-syntax-propertize-function): Split regexp into chunks.
4451 Match following code directly.
4453 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4455 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4456 (ruby-syntax-propertize-regexp): New function.
4457 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4458 by a special keyword.
4460 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4461 (ruby-syntax-general-delimiters-goto-beg)
4462 (ruby-syntax-propertize-general-delimiters): New functions.
4463 (ruby-syntax-propertize-function): Use them to handle GDL.
4464 (ruby-font-lock-keywords): Move old handling of GDL...
4465 (ruby-font-lock-syntactic-keywords): .. to here.
4466 (ruby-calculate-indent): Adjust indentation for GDL.
4468 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
4470 * notifications.el (top): Remove unneeded declarations.
4471 (notifications-specification-version): Change to "1.2".
4472 (notifications-interface, notifications-notify-method)
4473 (notifications-close-notification-method): Fix docstring.
4474 (notifications-get-capabilities-method): New defconst.
4475 (notifications-notify): Add :action-items, :resident and
4476 :transient hints. Change "image_data" to "image-data" and
4477 "image_path" to "image-path".
4478 (notifications-get-capabilities): New defun.
4480 2012-04-24 Leo Liu <sdl.web@gmail.com>
4482 * progmodes/python.el: Move hideshow setup to the end.
4484 2012-04-24 Martin Rudalics <rudalics@gmx.at>
4486 * window.el (handle-select-window): Clear echo area since this is
4487 no more done by read_char (Bug#11304).
4489 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4491 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4492 and `/ M' to filter-derived-mode.
4493 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4494 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4495 (ibuffer-mark-by-mode): Use default rather than initial-input.
4496 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4498 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4500 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4501 (ibuffer-filter-by-derived-mode): New filter.
4502 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4504 2012-04-23 Andreas Politz <politza@fh-trier.de>
4506 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4508 2012-04-23 Chong Yidong <cyd@gnu.org>
4510 * cus-edit.el (customize-apropos, customize-apropos-options):
4511 Disable matching of non-option variables (Bug#11176).
4512 (customize-option, customize-option-other-window)
4513 (customize-changed-options): Doc fix.
4514 (customize-apropos-options, customize-apropos-faces)
4515 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4517 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
4518 Fix word list splitting (Bug#11132).
4519 (apropos-symbol, apropos-keybinding, apropos-label)
4520 (apropos-property, apropos-function-button)
4521 (apropos-variable-button, apropos-misc-button): New faces.
4522 (apropos-symbol-face, apropos-keybinding-face)
4523 (apropos-label-face, apropos-property-face, apropos-match-face):
4524 Variables removed (Bug#8396).
4525 (apropos-library-button, apropos-format-plist, apropos-print)
4526 (apropos-print-doc, apropos-describe-plist): Callers changed.
4528 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
4530 * net/xesam.el (xesam-mode-map): Use let-bound map in
4531 initialization. (Bug#11292)
4533 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4535 Preserve ispell session localwords when switching back to
4538 * textmodes/ispell.el (ispell-buffer-session-localwords):
4539 New buffer-local variable to hold buffer session localwords.
4540 (ispell-kill-ispell): Add option 'clear to delete session
4542 (ispell-command-loop, ispell-change-dictionary)
4543 (ispell-buffer-local-words): Preserve session localwords when
4546 * textmodes/flyspell.el (flyspell-process-localwords)
4547 (flyspell-do-correct): Preserve session localwords when needed.
4549 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4551 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4552 using obsolete `translation-table-for-input'.
4553 (ispell-word, ispell-process-line, ispell-complete-word):
4554 Use plain `insert' instead of removed `ispell-insert-word'.
4556 2012-04-22 Chong Yidong <cyd@gnu.org>
4558 * cus-edit.el (custom-variable-menu)
4559 (custom-variable-reset-saved, custom-face-menu)
4560 (custom-face-reset-saved): If there is no saved value, make the
4561 "reset-saved" operation bring back the default (Bug#9509).
4562 (custom-face-state): Properly detect themed faces.
4564 * faces.el (face-spec-set): Stop supporting deprecated form of
4567 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
4569 Move functions from C to Lisp. Make non-blocking method calls
4570 the default. Implement further D-Bus standard interfaces.
4572 * net/dbus.el (dbus-message-internal): Declare function.
4573 Remove unneeded function declarations.
4574 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4575 (dbus-message-type-method-return, dbus-message-type-error)
4576 (dbus-message-type-signal): Declare variables. Remove local
4578 (dbus-interface-dbus, dbus-interface-peer)
4579 (dbus-interface-introspectable, dbus-interface-properties)
4580 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4582 (dbus-interface-objectmanager): New defconst.
4583 (dbus-call-method, dbus-call-method-asynchronously)
4584 (dbus-send-signal, dbus-method-return-internal)
4585 (dbus-method-error-internal, dbus-register-service)
4586 (dbus-register-signal, dbus-register-method): New defuns, moved
4588 (dbus-call-method-handler, dbus-setenv)
4589 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4591 (dbus-call-method-non-blocking): Make it an obsolete function.
4592 (dbus-unregister-object, dbus-unregister-service)
4593 (dbus-handle-event, dbus-register-property)
4594 (dbus-property-handler): Obey the new structure of
4595 `bus-registered-objects'.
4596 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4597 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4598 Use `dbus-call-method'.
4600 2012-04-22 Chong Yidong <cyd@gnu.org>
4602 * cus-edit.el (custom-commands, custom-reset-menu)
4603 (Custom-reset-standard): Tweak labels.
4604 (custom-reset-button-menu): Change default to t.
4605 (custom-buffer-create-internal): For the custom-reset-button-menu
4606 case, put the revert button first.
4607 (custom-group-subtitle): New face.
4608 (custom-group-value-create): Align docstring to a specific column.
4610 * wid-edit.el (widget-documentation-link-add): Don't handle
4611 indentation in this function.
4612 (widget-documentation-string-indent-to): New function.
4613 (widget-documentation-string-value-create): Use it.
4615 * autorevert.el (auto-revert):
4616 * epg-config.el (epg):
4617 * ibuffer.el (ibuffer):
4620 * eshell/eshell.el (eshell):
4621 * net/ange-ftp.el (ange-ftp):
4622 * progmodes/ebnf2ps.el (postscript):
4623 * progmodes/flymake.el (flymake):
4624 * progmodes/prolog.el (prolog):
4625 * progmodes/verilog-mode.el (verilog-mode):
4626 * progmodes/which-func.el (which-func):
4627 * term/xterm.el (xterm):
4628 * textmodes/picture.el (picture):
4629 * textmodes/tildify.el (tildify):
4630 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4631 customization buffers.
4633 2012-04-22 Alan Mackenzie <acm@muc.de>
4635 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4636 Adding a ) can hide the resulting (..) from searches. Fix it.
4637 Bound the backward search to the position of the existing (.
4639 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
4641 * progmodes/verilog-mode.el (verilog-mode): Check whether
4642 which-func-modes is t before adding verilog-mode.
4643 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4645 2012-04-21 Leo Liu <sdl.web@gmail.com>
4647 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
4649 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4651 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4652 filling of the last column of a table (Bug#5635).
4653 (woman-find-next-control-line): New arg, specifying an additional
4654 regexp component for the control line.
4655 (woman2-roff-buffer): Use it.
4656 (woman-break-table): New function.
4657 (woman2-TS): Use it.
4659 2012-04-21 Chong Yidong <cyd@gnu.org>
4661 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4662 (woman-horizontal-escapes, woman-negative-vertical-space)
4663 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4664 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4666 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4668 * minibuffer.el (completion-file-name-table): Complete user names.
4670 2012-04-20 Leo Liu <sdl.web@gmail.com>
4672 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4675 2012-04-20 Chong Yidong <cyd@gnu.org>
4677 * server.el (server-execute): Respect initial-buffer-choice if it
4678 is a string and there are no files to open (Bug#2825).
4679 (server-create-window-system-frame, server-create-tty-frame):
4680 Don't switch buffers here.
4681 (server-process-filter): Only try to open a window system frame if
4682 compiled with graphical support (Bug#8314).
4684 2012-04-20 Dan Nicolaescu <dann@gnu.org>
4686 * battery.el (battery-echo-area-format): Display remaining time
4687 for sysfs backend too (Bug#11269).
4688 (battery-linux-sysfs): Fix conditional for the charge.
4690 2012-04-20 Chong Yidong <cyd@gnu.org>
4692 * progmodes/gdb-mi.el (gdb): Revert previous change.
4693 (gdb-inferior-io--init-proc): New function.
4694 (gdb-init-1): Use it.
4695 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4696 responsible for allocating a new pty and hooking it to gdb when
4697 the old pty gets an EIO due to process exit.
4698 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4699 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4700 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4702 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4704 * window.el (window-min-size, window-sizable, window-min-delta)
4705 (window-max-delta, window--resizable, window-resizable)
4706 (window-total-size, window-full-height-p, window-full-width-p)
4707 (window-in-direction, window--resize-mini-window, window-resize)
4708 (window--resize-child-windows-normal)
4709 (window--resize-child-windows, window--resize-siblings)
4710 (window--resize-this-window, adjust-window-trailing-edge)
4711 (enlarge-window, shrink-window): Doc fixes.
4713 2012-04-20 Chong Yidong <cyd@gnu.org>
4715 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4716 New function to call delete-process on the gdb-inferior buffer's pty.
4717 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4718 pty process (Bug#11273).
4719 (gdb-update): New arg to suppress talking to the gdb process.
4720 (gdb-done-or-error): Use it.
4721 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4722 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4723 sentinel not being called.
4725 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4727 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4729 2012-04-20 Glenn Morris <rgm@gnu.org>
4731 * net/network-stream.el (open-network-stream): Doc fix.
4733 2012-04-20 Chong Yidong <cyd@gnu.org>
4735 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4737 2012-04-20 Alan Mackenzie <acm@muc.de>
4739 Ensure searching for keywords is case sensitive.
4741 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4742 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4743 (c-defun-name, c-mark-function, c-cpp-define-name)
4744 (c-comment-indent, c-scan-conditionals, c-indent-defun)
4745 (c-context-line-break): Bind case-fold-search to nil.
4747 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4748 Bind case-fold-search to nil.
4750 2012-04-20 Chong Yidong <cyd@gnu.org>
4752 * mail/sendmail.el (mail-bury): Call return action with the right
4753 Rmail buffer (Bug#11242).
4755 * server.el (server-process-filter): Handle corner case where both
4756 tty and nowait options are present (Bug#11102).
4758 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4760 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
4761 (top level): Put into the executable the ident-style '$Id:' tag on
4764 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4766 * electric.el (electric-indent-post-self-insert-function): Check that
4767 electric-indent-mode is enabled in current buffer.
4769 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4771 * imenu.el (imenu-progress-message): Restore; it is "used" in
4772 erc/erc-imenu.el and net/snmp-mode.el.
4774 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4776 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4777 (mouse-avoidance-nudge-mouse): Remove unused binding.
4779 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4781 * descr-text.el (describe-char):
4782 * progmodes/python.el (python-describe-symbol):
4783 Don't call `toggle-read-only', set `buffer-read-only'.
4785 * imenu.el (imenu-default-goto-function): Mark unused args.
4786 (imenu-progress-message): Remove obsolete macro; all callers changed.
4788 * subr.el (keymap-canonicalize): Remove unused binding.
4789 (read-passwd): Mark unused arg.
4791 * tutorial.el (tutorial--display-changes): Remove unused binding.
4792 (tutorial--save-tutorial-to): Remove unused variable.
4794 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4795 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4796 (package-generate-autoloads, package-menu--generate)
4797 (package-menu--find-upgrades): Remove unused bindings.
4799 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4800 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4801 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4802 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4803 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4804 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4805 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4806 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4807 (cua-delete-char-rectangle): Mark unused args.
4808 (cua-align-rectangle): Remove unused binding.
4810 * mail/rmail.el (compilation--message->loc)
4811 (epa--find-coding-system-for-mime-charset): Declare.
4813 * net/dbus.el (dbus-register-service): Declare.
4814 (dbus-name-owner-changed-handler): Remove unused binding.
4816 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4817 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4818 (nxml-scan-backward-within): Mark unused arg.
4819 (nxml-dynamic-markup-word): Remove unused binding.
4821 * mouse.el (mouse-menu-major-mode-map):
4822 * emacs-lisp/authors.el (authors-scan-change-log)
4823 (authors-add-to-author-list):
4824 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4825 * emacs-lisp/smie.el (smie-auto-fill):
4826 * mail/sendmail.el (mail-bury):
4827 * mail/unrmail.el (unrmail):
4828 * net/tls.el (open-tls-stream):
4829 * textmodes/picture.el (picture-mouse-set-point):
4830 Remove unused bindings.
4832 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
4834 * net/tramp.el (tramp-action-password): Let-bind
4835 `enable-recursive-minibuffers' to t.
4837 2012-04-18 Sam Steingold <sds@gnu.org>
4839 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4840 instead of 'string to accommodate values like [f11].
4841 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4842 * progmodes/gdb-mi.el: Likewise.
4844 2012-04-18 Leo Liu <sdl.web@gmail.com>
4846 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4848 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4851 2012-04-18 Chong Yidong <cyd@gnu.org>
4853 * simple.el (line-move): Use forward-line if in batch mode
4856 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4858 * files.el (after-find-file): Do not try to add a final newline if
4859 the buffer is read-only (Bug#11156).
4861 2012-04-17 Richard Stallman <rms@gnu.org>
4863 * mail/rmail.el (rmail-start-mail):
4864 Pass (rmail-mail-return...) for the return-action.
4865 Pass (rmail-yank-current-message...) for the yank-action.
4866 (rmail-yank-current-message): New function.
4867 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4868 (rmail-reply): Likewise.
4869 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4871 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
4872 buffer, not the last. Reject temp buffers. Use the rmail-mode
4875 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
4877 * server.el (server-ensure-safe-dir): Simplify.
4879 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4881 * emacs-lisp/smie.el: Provide smarter auto-filling.
4882 (smie-auto-fill): New function.
4883 (smie-setup): Use it.
4885 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4887 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
4889 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4890 (comment-indent): Use it.
4892 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4894 * ses.el: The overall change is to add cell renaming, that is
4895 setting fancy names for cell symbols other than name matching
4896 "\\`[A-Z]+[0-9]+\\'" regexp .
4897 (ses-localvars): Add ses--renamed-cell-symb-list.
4898 (ses-create-cell-variable): New defun.
4899 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4900 (ses-relocate-formula): Relocate formulas only for cells the
4901 symbols of which are not renamed, i.e. symbols whose names do not
4902 match regexp "\\`[A-Z]+[0-9]+\\'".
4903 (ses-relocate-all): Relocate values only for cells the symbols of
4904 which are not renamed.
4905 (ses-load): Create cells variables as the (ses-cell ...) are read,
4906 in order to check row col consistency with cell symbol name only
4907 for cells that are not renamed.
4908 (ses-replace-name-in-formula): New defun.
4909 (ses-rename-cell): New defun.
4911 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4913 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4914 New option (bug#11118).
4915 (perl-calculate-indent): Respect it.
4917 2012-04-17 Glenn Morris <rgm@gnu.org>
4919 * dired-aux.el (dired-mark-read-string): Doc fix.
4921 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4923 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4924 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4926 2012-04-17 Glenn Morris <rgm@gnu.org>
4928 * mouse.el (mouse-drag-track):
4929 * speedbar.el (speedbar-frame-mode):
4930 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4932 2012-04-16 Leo Liu <sdl.web@gmail.com>
4934 * progmodes/python.el: Trivial cleanup.
4936 2012-04-16 Glenn Morris <rgm@gnu.org>
4938 * vc/vc.el (vc-string-prefix-p):
4939 * vc/pcvs-util.el (cvs-string-prefix-p):
4940 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4941 * mpc.el (mpc-string-prefix-p):
4942 Make all of these into obsolete aliases for string-prefix-p.
4944 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4946 * textmodes/two-column.el: Move custom options to the start.
4947 (frame-width): Remove compat definition.
4948 (2C-associate-buffer, 2C-dissociate):
4949 Use with-current-buffer rather than save-excursion.
4950 (2C-dissociate): Force a mode-line update.
4951 (2C-autoscroll): Use ignore-errors.
4953 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4956 * emacs-lisp/cl-extra.el (*random-state*):
4957 Remove unnecessary declaration.
4959 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4961 * play/cookie1.el (cookie-snarf):
4962 Give an explicit error if input file cannot be read.
4964 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4966 * progmodes/perl-mode.el (c-macro-expand):
4967 Remove unnecessary autoload (it is in loaddefs.el).
4969 * textmodes/picture.el (picture-desired-column)
4970 (picture-update-desired-column): Convert comments to doc-strings.
4971 (picture-substitute): Remove function.
4972 (picture-mode-map): Initialize in the defvar.
4974 * woman.el: Remove eval-after-load for tar-mode.
4975 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4976 (woman-tar-extract-file): Autoload it.
4978 * frame.el (automatic-hscrolling): Make this alias obsolete.
4980 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4982 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4983 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
4984 (ispell-dictionary-base-alist): Revert to original XEmacs
4985 friendly version for default. [:alpha:] will be added in
4986 `ispell-set-spellchecker-params' if needed.
4988 2012-04-16 Chong Yidong <cyd@gnu.org>
4990 * image.el (imagemagick--file-regexp): New variable.
4991 (imagemagick-register-types): Use it.
4992 (imagemagick-types-inhibit): Add :set function. Allow new value
4993 of t to inhibit all types.
4995 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4996 so we can preload it.
4998 * loadup.el (fboundp): Preload regexp-opt, needed by
4999 imagemagick-register-types.
5001 2012-04-15 Chong Yidong <cyd@gnu.org>
5003 * frame.el (scrolling): Remove nearly unused customization group.
5005 * scroll-all.el (scroll-all-mode): Move to windows group.
5007 2012-04-15 Chong Yidong <cyd@gnu.org>
5009 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5011 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5013 Avoid the use of ((lambda ...) ...) in lexical-binding code.
5014 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
5016 2012-04-15 Glenn Morris <rgm@gnu.org>
5018 * simple.el (process-file-side-effects): Doc fix.
5020 2012-04-15 Glenn Morris <rgm@gnu.org>
5022 * international/mule-cmds.el (set-language-environment): Doc fix.
5024 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
5026 * server.el (server-auth-key, server-generate-key): Doc fixes.
5027 (server-get-auth-key): Doc fix. Use `string-match-p'.
5028 (server-start): Reflow docstring.
5030 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5032 * server.el (server-generate-key): `called-interactively-p'
5033 requires a parameter.
5035 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
5037 * server.el (server-auth-key): New variable.
5038 (server-generate-key, server-get-auth-key): New function.
5039 (server-start): Use the new variable and functions to allow
5040 setting a permanent server key (bug#9423).
5042 2012-04-14 Leo Liu <sdl.web@gmail.com>
5044 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5046 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5049 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5050 Emacs uses American spelling.
5052 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
5054 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5055 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5056 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5057 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5059 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5061 * progmodes/which-func.el (which-func-modes): Change default.
5063 2012-04-14 Kim F. Storm <storm@cua.dk>
5065 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5066 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5068 2012-04-14 Chong Yidong <cyd@gnu.org>
5070 * custom.el (custom-theme-set-variables): Doc fix.
5072 2012-04-14 Glenn Morris <rgm@gnu.org>
5074 * international/mule.el (set-auto-coding-for-load): Doc fix.
5076 2012-04-14 Alan Mackenzie <acm@muc.de>
5078 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5079 imenu work again for Objective C Mode. Correct the *-index values,
5080 these having been disturbed by a previous change in 2011-08.
5082 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5083 Correct two search limits.
5085 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5087 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5089 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
5091 * international/characters.el: Fix sorting.
5093 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5095 * international/characters.el: Add more missing Latin case pairs.
5097 2012-04-14 Glenn Morris <rgm@gnu.org>
5099 * files.el (dir-locals-set-class-variables): Doc fix.
5101 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5103 * international/characters.el: Add set-case-syntax-pair call for
5104 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5105 counterpart. (Bug#11209)
5107 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5109 2012-04-14 Glenn Morris <rgm@gnu.org>
5111 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5113 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5115 * textmodes/ispell.el (ispell-dictionary-base-alist):
5116 Add data for Hebrew.
5118 2012-04-14 Chong Yidong <cyd@gnu.org>
5120 * net/rcirc.el (rcirc-cmd-quit):
5121 Revert 2012-03-18 change (Bug#11192).
5123 2012-04-14 Glenn Morris <rgm@gnu.org>
5125 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5127 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5129 * minibuffer.el (completion-in-region-mode-map):
5130 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
5132 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5134 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5136 2012-04-13 Masatake YAMATO <yamato@redhat.com>
5138 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5139 to allow `C-M-f' and `C-M-b' to move to the nearest path
5140 separator (bug#9511).
5142 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5144 * avoid.el: Require cl when compiling. And also move the
5145 `provide' to the end.
5147 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5149 * avoid.el (mouse-avoidance-banish-position): New variable.
5150 (mouse-avoidance-banish-destination): Use it (bug#10165).
5152 2012-04-13 Leo Liu <sdl.web@gmail.com>
5154 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5156 2012-04-13 Ken Brown <kbrown@cornell.edu>
5158 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
5159 this is no longer needed now that cygstart understands file:// URLs.
5160 (browse-url-filename-alist): For the same reason, don't modify
5161 file:// URLs on Cygwin.
5163 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5165 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5166 the region on shift if the binding is already shifted (bug#11221).
5168 2012-04-12 Glenn Morris <rgm@gnu.org>
5170 * mail/mailpost.el: Move to obsolete/.
5172 2012-04-12 Drew Adams <drew.adams@oracle.com>
5174 * imenu.el (imenu--generic-function): Ignore invisible definitions
5177 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5179 * hexl.el (hexl-bits): New variable.
5180 (hexl-options): Mention the variable in the doc string.
5181 (hexl-rulerise, hexl-line-displen): New functions.
5182 (hexl-mode): Mention the new variable.
5183 (hexl-mode, hexl-current-address, hexl-current-address):
5185 (hexl-ascii-start-column): New function.
5186 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5187 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5189 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5191 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5192 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5193 the encoding, as expected by hunspell.
5195 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5197 * battery.el (battery--linux-sysfs-regexp): New const.
5198 (battery-status-function): Use it. Remove yeeloong special case.
5199 (battery-yeeloong-sysfs): Remove.
5200 (battery-echo-area-format): Remove yeeloong special case.
5202 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5204 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5205 Reported by Noah Friedman.
5207 * subr.el (read-passwd): Use read-string.
5209 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5211 * vcursor.el (vcursor-move): Increase the priority of the overlay
5214 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5216 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5217 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5219 2012-04-11 William Stevenson <yhvh2000@gmail.com>
5221 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5222 define-minor-mode (bug#10760).
5224 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5226 * progmodes/grep.el (rgrep): Tweak the find command line so
5227 that directories matching `grep-find-ignored-files' won't be
5230 2012-04-11 Chong Yidong <cyd@gnu.org>
5232 * startup.el (command-line): Remove support for long-obsolete
5233 variable font-lock-face-attributes.
5235 2012-04-11 Glenn Morris <rgm@gnu.org>
5237 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5239 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5241 * window.el (window--state-get-1): Obey window-point-insertion-type.
5243 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5245 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5246 to previous function when point is on the first character of a
5247 function. Take care of that in `narrow-to-defun' (bug#6157).
5249 2012-04-11 Glenn Morris <rgm@gnu.org>
5251 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5252 not just file-errors.
5254 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5255 (vc-bzr-sha1): Use internal sha1.
5257 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5259 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5261 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5263 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5264 that start in the middle of the line (bug#10496).
5266 2012-04-10 Dan Nicolaescu <dann@gnu.org>
5268 * battery.el (battery-linux-proc-acpi): Only one battery is
5269 discharged at a time, but that seems to confuse battery.el when
5270 computing `rate-type' for the battery not being discharged
5273 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5275 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5277 * international/quail.el: Use dolist and simplify.
5278 (quail-define-package, quail-update-keyboard-layout)
5279 (quail-define-rules): Use dolist.
5280 (quail-insert-kbd-layout, quail-get-translation): CSE.
5282 * tmm.el: Use dolist, remove left over hook.
5283 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5285 (calendar-load-hook): Don't mess with it.
5287 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5288 Use derived-mode-p. Run the diff asynchronously.
5290 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5292 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5294 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
5296 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5297 (list-dynamic-libraries--loaded): New function.
5298 (list-dynamic-libraries--refresh): Use it.
5300 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
5302 * progmodes/python.el (python-fill-paragraph):
5303 Make python-fill-region in a multiline string work when font-lock is
5304 disabled (bug#7018).
5306 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5308 * language/european.el (cp775): Add oem/legacy (en)coding on
5309 DOS/MS Windows for the Baltic languages. There are still plenty
5310 of texts written in this encoding/codepage (bug#6519).
5312 2012-04-10 Glenn Morris <rgm@gnu.org>
5314 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5315 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5317 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5319 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
5320 next-line "n" and previous-line "p" in order to make recentf more
5321 consistent with ibuffer, dired or org-mode (bug#9387).
5323 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5325 * image.el (put-image): Return the overlay created instead of the
5326 optional input string (bug#7834). Note that this may break code
5327 that is (for some reason or other) depending on `put-image'
5328 returning the string.
5330 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5332 * simple.el (zap-to-char): Allow zapping using input methods
5335 * textmodes/fill.el (fill-region): Leave point and mark where they
5336 were before filling (bug#5399).
5338 2012-04-09 Glenn Morris <rgm@gnu.org>
5340 * version.el (emacs-bzr-get-version):
5341 Handle lightweight checkouts of local branches.
5343 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5345 * international/characters.el: Recover lost case pairs. (Bug#11209)
5347 2012-04-09 Chong Yidong <cyd@gnu.org>
5349 * custom.el (custom-variable-p): Return nil for non-symbol
5350 arguments instead of signaling an error.
5351 (user-variable-p): Obsolete alias for custom-variable-p.
5353 * apropos.el (apropos-variable):
5354 * files-x.el (read-file-local-variable):
5355 * simple.el (set-variable):
5356 * woman.el (woman-mini-help):
5357 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5359 2012-04-09 Glenn Morris <rgm@gnu.org>
5361 * startup.el (normal-top-level): Don't look for leim-list.el
5362 in places where it will not be found. (Bug#910)
5364 * international/mule-cmds.el (set-default-coding-systems):
5365 * files.el (normal-mode):
5366 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5367 This function was removed with ucs-tables.el in 2008.
5369 2012-04-08 Eli Zaretskii <eliz@gnu.org>
5371 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5372 ispell-encoding8-command to "-i", without a trailing space.
5373 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5374 separate command-line arguments, to specify the encoding, since
5375 that's how hunspell expects it.
5377 2012-04-08 Glenn Morris <rgm@gnu.org>
5379 * loadup.el: Load bindings before cus-start.
5380 This reduces somewhat the number of "rogue" settings in emacs -Q.
5382 2012-04-07 Glenn Morris <rgm@gnu.org>
5384 * version.el (emacs-bzr-get-version): New function.
5385 (emacs-bzr-version): New variable.
5386 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5387 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5389 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5391 * international/uni-bidi.el, international/uni-category.el:
5392 * international/uni-combining.el, international/uni-decimal.el:
5393 * international/uni-decomposition.el, international/uni-digit.el:
5394 * international/uni-lowercase.el, international/uni-mirrored.el:
5395 * international/uni-name.el, international/uni-numeric.el:
5396 * international/uni-titlecase.el, international/uni-uppercase.el:
5397 Update for Unicode 6.1.
5399 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5401 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5403 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5405 * window.el (shrink-window): Mention the `window-min-height'
5406 variable in the doc string.
5408 2012-04-05 Bastien Guerry <bzg@altern.org>
5410 * color.el (color-lighten-name): Fix typo.
5412 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5414 * server.el (server--on-display-p): New function.
5415 (server--on-display-p): Use it.
5417 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5419 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5422 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5424 * comint.el (comint--common-quoted-suffix): Check string boundary
5425 before comparing (bug#11158).
5426 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5428 2012-04-04 Chong Yidong <cyd@gnu.org>
5430 * minibuffer.el (completion-extra-properties): Doc fix.
5432 * subr.el (delayed-warnings-hook): Doc fix.
5434 2012-04-04 Daiki Ueno <ueno@unixuser.org>
5436 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5437 selection (Bug#11159).
5438 (epa-insert-keys): Inform that the default public key will be
5439 exported if no key is selected.
5441 2012-04-04 Richard Stallman <rms@gnu.org>
5443 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5445 2012-04-03 Chong Yidong <cyd@gnu.org>
5447 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5448 mail-insert-file, not its obsolete alias mail-attach-file.
5450 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
5452 * notifications.el (notifications-notify): Fix docstring.
5454 2012-04-02 Glenn Morris <rgm@gnu.org>
5456 * emacs-lisp/authors.el (authors-aliases): Another addition.
5458 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
5460 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5461 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5462 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5464 2012-04-01 Chong Yidong <cyd@gnu.org>
5466 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5467 Handle root directory properly.
5468 (copy-directory): Caller changed.
5470 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5471 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5473 2012-03-31 Glenn Morris <rgm@gnu.org>
5475 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5477 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5479 * calendar/calendar.el (calendar-window-list)
5480 (calendar-hide-window): Restore. (Bug#11140)
5481 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5483 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5485 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5487 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5488 Check if file is a symlink (Bug#10489).
5490 * files.el (copy-directory): Likewise.
5492 2012-03-30 Chong Yidong <cyd@gnu.org>
5494 * image.el (imagemagick-types-inhibit)
5495 (imagemagick-register-types): Doc fix.
5497 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5499 * textmodes/ispell.el (ispell-get-extended-character-mode):
5500 Disable extended-char-mode for hunspell. hunspell does not support it
5501 and treats ~word as ordinary words in pipe mode.
5503 2012-03-30 Glenn Morris <rgm@gnu.org>
5505 * tutorial.el (help-with-tutorial): Ensure local variables don't
5506 happen to make the buffer read-only. (Bug#11127)
5508 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5510 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5511 (perl-calculate-indent): Return `noindent' in strings.
5513 2012-03-28 Sam Steingold <sds@gnu.org>
5515 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5516 instead of the broken adhockery which does not prevent calendar
5517 buffers from being displayed at random after exit.
5518 (calendar-window-list, calendar-hide-window): Remove the broken
5521 2012-03-28 Glenn Morris <rgm@gnu.org>
5523 * replace.el (query-replace-map): Doc fix.
5525 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5527 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5528 contents. (Bug#11109)
5530 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5532 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5534 (avl-tree--check, avl-tree--check-node): New funs.
5536 2012-03-27 Martin Rudalics <rudalics@gmx.at>
5538 * window.el (switch-to-visible-buffer): New option.
5539 (switch-to-prev-buffer, switch-to-next-buffer):
5540 Observe switch-to-visible-buffer. Make sure that checking for a window
5541 showing a buffer already is done on the same frame.
5543 2012-03-27 Glenn Morris <rgm@gnu.org>
5545 * startup.el (mail-host-address): Doc fix.
5547 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5549 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5552 2012-03-26 Ami Fischman <ami@fischman.org>
5554 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5556 2012-03-26 Glenn Morris <rgm@gnu.org>
5558 * files.el (save-buffers-kill-emacs): Doc fix.
5560 * startup.el (normal-top-level, command-line, command-line-1):
5561 Give them doc strings.
5563 2012-03-25 Eli Zaretskii <eliz@gnu.org>
5565 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
5566 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
5568 2012-03-25 Chong Yidong <cyd@gnu.org>
5570 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5571 theme if it was previously enabled before (Bug#11031).
5573 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5574 spec with custom-face-get-current-spec if its :shown-value is not
5575 determined yet (Bug#9337).
5576 (customize-create-theme, custom-theme-revert): Doc fixes.
5578 * button.el (button-at): Minor addition to docstring.
5580 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
5582 * vc/vc.el (vc-merge): Fix a prompt.
5584 2012-03-24 Chong Yidong <cyd@gnu.org>
5586 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5589 * button.el (button-at): Minor addition to docstring.
5591 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5593 * newcomment.el (comment-choose-indent): No space after BOL.
5595 2012-03-22 Sam Steingold <sds@gnu.org>
5597 * window.el (switch-to-prev-buffer): Revert last patch because the
5598 bug turned out to be an advertised feature (Elisp manual 28.14).
5600 2012-03-22 Glenn Morris <rgm@gnu.org>
5602 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5603 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5605 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5607 * net/network-stream.el (network-stream-open-starttls): Make error
5608 message under Windows be less misleading.
5610 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5612 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5613 understands (bug#9942).
5615 2012-03-22 Chong Yidong <cyd@gnu.org>
5617 * simple.el (end-of-visible-line): Handle return value of
5618 next-single-property-change properly (Bug#9371).
5620 2012-03-22 Kenichi Handa <handa@m17n.org>
5622 * international/quail.el (quail-insert-kbd-layout): Fix previous
5623 change. To avoid unwanted bidi reordering, use
5624 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5626 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5628 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5629 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5630 (ruby-beginning-of-indent): Be more careful with the difference
5631 between word-boundary and symbol boundary.
5632 (ruby-mode-syntax-table): Make : a symbol constituent.
5634 2012-03-21 Andreas Politz <politza@fh-trier.de>
5636 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5638 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5640 * progmodes/etags.el (tags-completion-at-point-function):
5643 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5645 2012-03-21 Sam Steingold <sds@gnu.org>
5647 * progmodes/etags.el (tags-completion-at-point-function):
5648 Avoid the error when point is inside the pattern.
5650 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5652 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5655 2012-03-21 Drew Adams <drew.adams@oracle.com>
5657 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5659 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5661 * ido.el (ido-set-current-directory, ido-read-internal)
5662 (ido-choose-completion-string, ido-completion-help): Handle nil
5663 value of ido-completion-buffer (Bug#11008).
5665 2012-03-21 Sam Steingold <sds@gnu.org>
5667 * window.el (switch-to-prev-buffer): Do not switch to a visible
5668 window previous buffer, just like with the frame previous buffers.
5670 2012-03-21 Chong Yidong <cyd@gnu.org>
5672 * faces.el (make-face, make-empty-face, copy-face):
5673 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5676 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5678 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5679 (widget-complete): Remove broken use of it.
5681 2012-03-20 Chong Yidong <cyd@gnu.org>
5683 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5684 Use string-width and truncate-string-width to handle arbitrary
5687 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5689 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5690 to draw rectangles, not squares. (Regression introduced by revno
5691 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5693 2012-03-18 Chong Yidong <cyd@gnu.org>
5695 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5696 it is not yet defined (for temacs).
5698 2012-03-18 Leo Liu <sdl.web@gmail.com>
5700 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
5702 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5704 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5705 (ispell-choices-win-default-height, ispell-silently-savep)
5706 (ispell-dictionary-alist, ispell-encoding8-command)
5707 (ispell-check-version, ispell-aspell-find-dictionary)
5708 (ispell-valid-dictionary-list, ispell-words-keyword)
5709 (ispell-get-word, ispell-internal-change-dictionary)
5710 (ispell-region, ispell-skip-region-list)
5711 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5712 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5713 (ispell-message-text-end, ispell-message)
5714 (ispell-buffer-local-parsing): Doc fix.
5716 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
5718 * htmlfontify.el: Add support for code block fontification for ODT
5720 (hfy-optimisations): Define new option
5722 (hfy-fontify-buffer): Honor above setting.
5723 (hfy-begin-span, hfy-end-span): New routines factored out form
5724 `hfy-fontify-buffer'.
5725 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5726 that permit insertion of custom tags.
5727 (hfy-fontify-buffer): Use above handlers.
5728 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5729 (hfy-face-to-css): Re-defined to be a variable.
5730 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
5731 over multiple runs. This is made possible by having the caller let
5732 bind a special variable `hfy-user-sheet-assoc'.
5733 (htmlfontify-string): New defun.
5734 (hfy-compile-face-map): Make sure that the last char in the
5735 buffer is correctly fontified.
5736 (hfy-face-resolve-face): Whitespace only change.
5738 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5740 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5743 2012-03-16 Leo Liu <sdl.web@gmail.com>
5745 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5747 2012-03-16 Alan Mackenzie <acm@muc.de>
5749 Further optimise the handling of large macros.
5751 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5752 limit to a call of `c-literal-limits'.
5753 (c-determine-+ve-limit): New function.
5754 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5755 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
5756 In CASE 5B, restrict a search limit to 500.
5757 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5759 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5760 Restrict macro bounds to +-500 from after-change's BEG END.
5762 2012-03-16 Leo Liu <sdl.web@gmail.com>
5764 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5766 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5768 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
5769 `special-mode' setting of `buffer-read-only'. (Bug#11010)
5771 2012-03-16 Glenn Morris <rgm@gnu.org>
5773 * view.el (view-buffer, view-buffer-other-window)
5774 (view-buffer-other-frame): Doc fixes re special mode-class.
5776 * subr.el (eval-after-load): If named feature is provided not from
5777 a file, run after-load forms. (Bug#10946)
5779 * calendar/calendar.el (calendar-insert-at-column):
5780 Handle non-unit-width characters a bit better. (Bug#10978)
5782 2012-03-15 Chong Yidong <cyd@gnu.org>
5784 * emacs-lisp/ring.el (ring-extend): New function.
5785 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5787 * comint.el (comint-read-input-ring)
5788 (comint-add-to-input-history): Grow comint-input-ring lazily.
5790 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5792 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5793 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5795 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5796 (imenu-add-to-menubar): Don't add a redundant index.
5797 (imenu-update-menubar): Handle a dynamically composed keymap.
5799 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5801 * mail/sendmail.el (mail-encode-header):
5802 Bind rfc2047-encode-encoded-words to nil.
5804 2012-03-13 Glenn Morris <rgm@gnu.org>
5806 * calendar/calendar.el (calendar-string-spread):
5807 Handle non-unit-width characters a bit better. (Bug#10978)
5809 2012-03-13 Leo Liu <sdl.web@gmail.com>
5811 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5812 directory and file as argument (Bug#10822).
5814 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5816 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5817 For dynamically generated code, follow $PC.
5818 (gdb-disassembly-handler-custom): Handle no function name case.
5820 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5822 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5823 * emulation/ws-mode.el (ws-query-replace):
5824 * sort.el (sort-regexp-fields):
5825 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5827 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5829 * dabbrev.el: Fix cycle completion order (bug#10963).
5830 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5831 (dabbrev-completion): Don't use an obarray; provide
5832 a cycle-sort-function.
5834 2012-03-12 Leo Liu <sdl.web@gmail.com>
5836 * simple.el (kill-new): Use equal-including-properties for comparison.
5837 (kill-do-not-save-duplicates): Doc fix.
5839 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5841 * dabbrev.el: Fix cycle completion (bug#10963).
5842 Use lexical binding and wrap to 80 columns.
5843 (dabbrev-completion): Delay computing the list of completions.
5845 2012-03-12 Kenichi Handa <handa@m17n.org>
5847 * international/quail.el (quail-insert-kbd-layout): Surround each
5848 row by LRO and PDF instead of inserting many LRMs. Pad the left
5849 and right of each non-spacing marks. Insert invisible space
5850 between lower and upper characters to prevent composition.
5852 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5854 * minibuffer.el (minibuffer-complete): Don't get confused when the
5855 function is run twice via different commands (bug#10958).
5856 (complete-with-action): Fix docstring.
5858 2012-03-12 Chong Yidong <cyd@gnu.org>
5860 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5861 (nxml-completion-at-point-function): New function.
5862 (nxml-mode): Use it.
5863 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5865 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5866 Load generated autoloads file before byte compiling (Bug#10970).
5867 (package--make-autoloads-and-compile): New helper fun.
5869 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5871 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5873 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
5875 * autorevert.el (auto-revert-handler): Ensure, that
5876 file-readable-p is applied only for local files or in
5877 auto-revert-tail-mode.
5879 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5881 * server.el (server-eval-at): Handle non-tcp connections.
5882 Decode result string.
5884 * server.el (server-msg-size): New constant.
5885 (server-reply-print): New function.
5886 (server-eval-and-print): Use it.
5887 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5890 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5892 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5895 2012-03-11 Chong Yidong <cyd@gnu.org>
5897 * simple.el (goto-line): Doc fix (Bug#9938).
5899 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5901 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5902 when finished (Bug#10963).
5904 2012-03-11 Martin Rudalics <rudalics@gmx.at>
5906 * window.el (split-window-below): Fix bug in case where
5907 split-window-keep-point is nil (Bug#10971).
5909 2012-03-11 Juri Linkov <juri@jurta.org>
5911 * replace.el (replace-highlight): Set isearch-word to nil
5912 unconditionally. (Bug#10887)
5914 2012-03-10 Eli Zaretskii <eliz@gnu.org>
5916 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5917 mairix-replace-illegal-chars; all callers changed. Don't remove
5918 ^, ~, and = characters: they are meaningful in mairix search specs.
5919 (mairix-widget-create-query): Add usage information about mairix
5920 search forms: negating words, searching for substrings, etc.
5922 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5924 * international/fontset.el (font-encoding-alist): Add an entry for
5927 2012-03-10 Richard Stallman <rms@gnu.org>
5929 * mail/sendmail.el (mail-encode-header):
5930 Set rfc2047-encode-encoded-words.
5932 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5934 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5935 view buffer means not swapped.
5936 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5937 (rmail-write-region-annotate): Error if real text has disappeared.
5939 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5941 2012-03-10 Chong Yidong <cyd@gnu.org>
5943 * emulation/cua-rect.el (cua--init-rectangles):
5944 * emulation/cua-base.el (cua--init-keymaps):
5945 Add delete-forward-char to remappings (Bug#9666).
5947 2012-03-10 Martin Rudalics <rudalics@gmx.at>
5949 * speedbar.el (speedbar-unhighlight-one-tag-line):
5950 Avoid unhighlighting due to frame switching (Bug#10275).
5952 2012-03-10 Chong Yidong <cyd@gnu.org>
5954 * minibuffer.el (completion-in-region, completion-help-at-point):
5955 Give the completion field overlay a high priority (Bug#6830).
5957 * dired.el (dired-goto-file): Recognize absolute file name
5958 listings (Bug#7126).
5959 (dired-goto-file-1): New helper function.
5960 (dired-toggle-read-only): Inhibit warnings.
5962 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
5964 * net/dbus.el (dbus-property-handler): Return empty array if
5965 there are no properties.
5967 2012-03-09 Leo Liu <sdl.web@gmail.com>
5969 * savehist.el (savehist-printable): Stricter check for string
5972 2012-03-09 Eli Zaretskii <eliz@gnu.org>
5974 * mail/smtpmail.el (smtpmail-send-it):
5975 Bind coding-system-for-write to *-unix, so that FCC files are kept in
5978 2012-03-09 Glenn Morris <rgm@gnu.org>
5980 * files.el (dir-locals-find-file):
5981 Don't check result is regular, readable.
5982 (dir-locals-read-from-file): Demote errors.
5984 2012-03-08 Eli Zaretskii <eliz@gnu.org>
5986 * international/quail.el (quail-insert-kbd-layout):
5987 Insert invisible LRM characters before each character in a keyboard
5988 layout cell, to prevent their reordering by bidi display engine.
5989 For details, see the discussion in
5990 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5992 2012-03-08 Alan Mackenzie <acm@muc.de>
5994 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5995 the starting position; make it extend the marked region when
5996 invoked repeatedly - all under appropriate circumstances.
5997 Fixes bugs #5525, #10906.
5999 2012-03-08 Glenn Morris <rgm@gnu.org>
6001 * files.el (locate-dominating-file, dir-locals-find-file):
6002 Undo 2012-03-06 change.
6004 2012-03-07 Eli Zaretskii <eliz@gnu.org>
6006 * international/quail.el (quail-help):
6007 Force bidi-paragraph-direction be left-to-right. See discussion in
6008 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6011 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
6013 Avoid superfluous registering of signals. (Bug#10807)
6015 * notifications.el (notifications-on-action-object)
6016 (notifications-on-close-object): New defvars.
6017 (notifications-on-action-signal, notifications-on-closed-signal):
6018 Unregister the signal if not needed any longer.
6019 (notifications-notify): Register `notifications-action-signal' or
6020 `notifications-closed-signal', if :on-action or :on-close has been
6023 2012-03-07 Chong Yidong <cyd@gnu.org>
6025 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6028 2012-03-06 Glenn Morris <rgm@gnu.org>
6030 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6031 (x-disown-selection-internal, x-get-selection-internal):
6032 Doc fix (add arglist signatures). (Bug#10783)
6034 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6036 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6037 Handle breakpoints with no "type".
6039 2012-03-06 Glenn Morris <rgm@gnu.org>
6041 * files.el (locate-dominating-file): Add optional predicate argument.
6042 (dir-locals-find-file): Make use of above change.
6044 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6046 * info.el (Info-insert-dir): Also try "dir.gz".
6048 2012-03-06 Glenn Morris <rgm@gnu.org>
6050 * files.el (dir-locals-find-file):
6051 Ignore non-readable or non-regular files. (Bug#10928)
6053 * files.el (locate-dominating-file): Doc fix.
6055 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6057 * calendar/calendar.el (calendar-set-mode-line):
6058 `getenv' returns a string. (Bug#10951)
6060 2012-03-05 Leo Liu <sdl.web@gmail.com>
6062 * simple.el (backward-delete-char-untabify): Constrain point to
6065 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6067 2012-03-05 Chong Yidong <cyd@gnu.org>
6069 * simple.el (count-words): If called from Lisp, return the word
6070 count, for symmetry with `count-lines'. Arglist changed.
6071 (count-words--message): Args changed. Consolidate counting code
6072 from count-words and count-words-region.
6073 (count-words-region): Caller changed.
6074 (count-lines-region): Make it an obsolete alias.
6076 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6078 * saveplace.el (save-place-to-alist)
6079 (save-place-ignore-files-regexp): Allow value nil to disable this
6082 2012-03-04 Chong Yidong <cyd@gnu.org>
6084 * faces.el (face-spec-reset-face): For the default face, reset the
6085 attributes to default values (Bug#10748).
6087 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6089 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6090 previous patch: Check `message-send-mail-function', and not the
6091 default function (bug#10897).
6093 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
6095 * notifications.el (notifications-on-action-signal)
6096 (notifications-on-closed-signal): Check for unique service name of
6097 incoming event. Fix error in removing entry.
6098 (top): Register for signals with wildcard service name.
6099 (notifications-notify): Use daemon unique service name for map entries.
6101 2012-03-04 Chong Yidong <cyd@gnu.org>
6103 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
6105 2012-03-04 Glenn Morris <rgm@gnu.org>
6107 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6108 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6109 (expand-abbrev, define-abbrev-table): Doc fixes.
6111 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6113 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6114 `message-default-send-mail-function' and not `send-mail-function'
6115 when doing the prompting for `sendmail-query-once' before sending
6116 in Message buffers (bug#10897).
6118 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6119 This is inconsistent with all the other stream functions, which leave
6120 the setting up to the higher levels (if so wanted) (bug#10931).
6122 2012-03-02 Alan Mackenzie <acm@muc.de>
6124 Depessimize the handling of very large macros.
6126 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6127 (c-macro-cache-syntactic): New variables to implement a one
6128 element macro cache.
6129 (c-invalidate-macro-cache): New function.
6130 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6131 Adapt to use the new cache.
6132 (c-state-safe-place): Use better the cache of safe positions.
6133 (c-state-semi-nonlit-pos-cache)
6134 (c-state-semi-nonlit-pos-cache-limit):
6135 New variables for...
6136 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6137 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
6138 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6139 Use c-state-semi-safe-place.
6141 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6142 Add c-invalidate-macro-cache to the C, C++, Obj entries.
6144 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
6146 * jka-compr.el (jka-compr-call-process):
6147 Apply `file-accessible-directory-p' only when the default directory is
6150 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
6152 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6153 access of FILE2, if FILE1 does not exist.
6155 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6156 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6158 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6159 Add "PAGER=" to `process-environment'.
6161 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6163 * progmodes/sql.el: Bug fix
6164 (sql-get-login-ext): Save login values in globals.
6165 (sql-get-login): Use new version of `sql-get-login-ext'.
6166 (sql-interactive-mode): Set global `sql-connection' to nil.
6167 (sql-connect): Set global values for connection.
6168 (sql-product-interactive): Save global values as buffer local.
6170 2012-02-29 Leo Liu <sdl.web@gmail.com>
6172 * abbrev.el (define-abbrevs): Reset sys to nil.
6174 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6176 * files.el (file-equal-p): Rename from `files-equal-p'.
6177 Return nil when one or both files don't exist.
6178 (file-subdir-of-p): Now only top directory must exists,
6179 return nil if it doesn't.
6180 (copy-directory): No need to test with `file-subdir-of-p' after
6182 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6185 2012-02-28 Glenn Morris <rgm@gnu.org>
6187 * shell.el (shell-mode):
6188 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6189 * play/landmark.el (landmark-font-lock-face-O):
6190 * play/handwrite.el (handwrite):
6191 * play/gomoku.el (gomoku-O):
6192 * net/browse-url.el (browse-url-browser-display):
6193 * international/mule.el (define-charset):
6194 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6195 * filesets.el (filesets-find-file-delay):
6196 * eshell/em-xtra.el (eshell-xtra):
6197 * eshell/em-unix.el (eshell-grep):
6198 * emulation/viper.el (viper-mode):
6199 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6200 * emacs-lisp/easymenu.el (easy-menu-define):
6201 * calendar/timeclock.el (timeclock-use-display-time):
6203 * bookmark.el (bookmark-save-flag):
6204 Doc fix (standardize possessive apostrophe usage).
6206 2012-02-27 Chong Yidong <cyd@gnu.org>
6208 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6209 Fix key-binding lookup for ESC key (Bug#9146).
6211 * font-lock.el (font-lock-specified-p): Rename from
6212 font-lock-spec-present. Callers changed.
6214 2012-02-27 Daniel Hackney <dan@haxney.org>
6216 * emacs-lisp/package.el (package-compute-transaction):
6217 Handle holding a package version to t in package-load-list.
6219 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
6221 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6222 (tramp-get-inode, tramp-get-device): Use cached values.
6224 2012-02-26 Alan Mackenzie <acm@muc.de>
6226 Check there is a font-lock specification before doing initial
6229 * font-core.el (font-lock-mode): Move the conditional from
6230 :after-hook to font-lock-initial-fontify.
6231 (font-lock-default-function): Move the check for a specification
6232 to font-lock-spec-present.
6234 * font-lock.el (font-lock-initial-fontify): Call ...
6235 (font-lock-spec-present): New function.
6237 2012-02-26 Jim Blandy <jimb@red-bean.com>
6239 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6240 (gdb-send): Apply it to the operand of the '-interpreter-exec
6241 console' command, so that we can pass arguments with (say) quotes
6242 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6244 2012-02-26 Chong Yidong <cyd@gnu.org>
6246 * help-fns.el (describe-function-1): Clarify description of
6247 remapping (Bug#10844).
6249 * files.el (files-equal-p): Doc fix.
6250 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6251 and quit the loop once a mismatch is found.
6253 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
6255 * bs.el (bs--show-with-configuration): Don't throw an error
6256 if the window cannot be split; otherwise, subsequent calls to
6257 bs-show fail, restoring a stale window config. (Bug#10882)
6259 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6261 * term/ns-win.el (global-map): Bind ns-drag-file to
6262 ns-find-file (Bug#5855, Bug#10050).
6264 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6266 * calendar/parse-time.el (parse-time-string): Allow extractor to
6269 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
6271 * net/tramp.el (tramp-file-name-for-operation):
6272 Add `files-equal-p' and `file-subdir-of-p'.
6274 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6275 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6276 Add COPY-CONTENTS argument.
6278 2012-02-25 Chong Yidong <cyd@gnu.org>
6280 Add custom groups for VC backends, for consistency with vc-bzr.
6282 * vc/vc-arch.el (vc-arch):
6283 * vc/vc-cvs.el (vc-cvs):
6284 * vc/vc-git.el (vc-git):
6285 * vc/vc-hg.el (vc-hg):
6286 * vc/vc-mtn.el (vc-mtn):
6287 * vc/vc-rcs.el (vc-rcs):
6288 * vc/vc-sccs.el (vc-sccs):
6289 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6290 All relevant defcustoms reassigned.
6292 2012-02-25 Chong Yidong <cyd@gnu.org>
6294 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6296 * term/x-win.el (x-initialize-window-system): Reduce default for
6297 x-selection-timeout to 5 seconds (Bug#8869).
6299 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6301 * files.el (files-equal-p, file-subdir-of-p): New functions.
6302 (copy-directory): Error when trying to copy a directory on itself.
6303 Add missing copy-contents arg to tramp handler.
6304 * dired-aux.el (dired-copy-file-recursive): Same.
6305 (dired-create-files): Modify destination when source is equal to
6306 dest when copying files.
6307 Return also when dest is a subdir of source. (Bug#10489)
6309 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
6311 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6314 2012-02-23 Alan Mackenzie <acm@muc.de>
6316 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6317 parameter "after-hook:" to allow the expansion to run code after
6318 the execution of the mode hooks.
6320 * font-lock.el (font-lock-initial-fontify): New function extracted
6321 from font-lock-mode-internal.
6323 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
6326 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6328 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6329 (completion--cache-all-sorted-completions): New function.
6330 (completion-all-sorted-completions): Use it.
6331 (completion--do-completion, minibuffer-force-complete):
6332 Use it to re-instate the flush hook.
6334 * icomplete.el (icomplete-completions): Replace last fix with a better
6337 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6339 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6340 when it might call us back infinitely (bug#10797).
6342 2012-02-23 Glenn Morris <rgm@gnu.org>
6344 * minibuffer.el (completion-category-overrides): Doc fix.
6346 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6348 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6349 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6351 2012-02-23 Glenn Morris <rgm@gnu.org>
6353 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
6354 (authors-obsolete-files-regexps, authors-ignored-files)
6355 (authors-ambiguous-files, authors-renamed-files-alist):
6358 2012-02-23 Juri Linkov <juri@jurta.org>
6360 * isearch.el (isearch-occur): Sync interactive spec with occur's
6361 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6363 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6365 2012-02-22 Juri Linkov <juri@jurta.org>
6367 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6368 (ucs-insert): Doc fix. Check for hex digits in the string.
6369 Don't display `nil' in the error message. (Bug#10857)
6371 2012-02-22 Alan Mackenzie <acm@muc.de>
6373 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
6375 2012-02-22 Glenn Morris <rgm@gnu.org>
6377 * ffap.el (ffap-c-path):
6378 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6380 2012-02-22 Chong Yidong <cyd@gnu.org>
6382 * custom.el (load-theme): Doc fix.
6384 2012-02-22 Glenn Morris <rgm@gnu.org>
6386 * dired-x.el (dired-guess-shell-alist-default):
6387 Remove escape sequences from nroff output. (Bug#172)
6389 2012-02-21 Glenn Morris <rgm@gnu.org>
6391 * vc/emerge.el (emerge-defvar-local):
6392 Set `permanent-local' property rather than unused `preserved'.
6394 * textmodes/picture.el (picture-delete-char): New alias.
6395 (picture-mode-map): Use it. (Bug#10860)
6396 (picture-mode): Doc fix.
6398 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
6400 * newcomment.el (uncomment-region-default): Remove unused binding.
6402 2012-02-21 Glenn Morris <rgm@gnu.org>
6404 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6405 (picture-self-insert, picture-tab-chars): Doc fix.
6406 (picture-mode-map): Fix C-a, C-e.
6408 2012-02-20 Glenn Morris <rgm@gnu.org>
6410 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6412 2012-02-20 Leo Liu <sdl.web@gmail.com>
6414 * icomplete.el (icomplete-completions): Check FROM arg before
6415 passing to substring (Bug#10850).
6417 2012-02-19 Chong Yidong <cyd@gnu.org>
6419 * comint.el: Require ansi-color.
6420 (comint-output-filter-functions): Add ansi-color-process-output.
6422 * ansi-color.el: Don't set comint-output-filter-functions; it is
6423 now in the initial value defined in comint.el.
6424 (ansi-color-apply-face-function): New variable.
6425 (ansi-color-apply-on-region): Use it.
6426 (ansi-color-apply-overlay-face): New function.
6428 * shell.el (shell): No need to require ansi-color.
6429 (shell-mode): Use ansi-color-apply-face-function to highlight
6430 color escapes using font-lock-face property (Bug#10835).
6432 2012-02-19 Chong Yidong <cyd@gnu.org>
6434 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6435 mode-line formats (Bug#10839).
6437 2012-02-18 Glenn Morris <rgm@gnu.org>
6439 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6441 * mail/undigest.el (unforward-rmail-message): Doc fix.
6443 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6445 2012-02-18 Eli Zaretskii <eliz@gnu.org>
6447 * international/characters.el (script-list): Sync with the latest
6448 Unicode Character Database.
6450 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6452 * international/titdic-cnv.el: Remove duplicate coding tag.
6453 * language/cham.el: Likewise.
6454 * language/tai-viet.el: Likewise.
6456 2012-02-18 Glenn Morris <rgm@gnu.org>
6458 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6459 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6460 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6461 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6462 * calendar/holidays.el (holiday-bahai-holidays)
6463 (calendar-holidays, list-holidays):
6464 Use utf-8 Bahá'í in doc-strings, menus, etc.
6466 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6468 * saveplace.el (save-place-ignore-files-regexp): New variable
6469 allowing for excluding files from saving their location of point.
6470 The default value matches the temporary commit message editing
6471 files from Git, SVN, Bazaar, and Mercurial.
6472 (save-place-to-alist): Use it.
6474 2012-02-17 Lawrence Mitchell <wence@gmx.li>
6475 Stefan Monnier <monnier@iro.umontreal.ca>
6477 * newcomment.el (uncomment-region-default): Don't leave extra space
6478 when an arg is provided (bug#8150).
6480 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6482 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
6484 2012-02-17 Glenn Morris <rgm@gnu.org>
6486 * net/socks.el: Require network-stream. (Bug#10599)
6488 2012-02-17 Kenichi Handa <handa@m17n.org>
6490 * international/charprop.el:
6491 * international/uni-name.el:
6492 * international/uni-old-name.el:
6493 * international/uni-comment.el: Regenerate.
6495 2012-02-16 Glenn Morris <rgm@gnu.org>
6497 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6498 Interactively in calendar buffer, give an error if not on a date.
6500 2012-02-15 Glenn Morris <rgm@gnu.org>
6502 * shell.el (shell-delimiter-argument-list):
6503 Revert 2011-02-17 change. (Bug#8027)
6505 2012-02-15 Chong Yidong <cyd@gnu.org>
6507 * minibuffer.el (completion-at-point-functions): Doc fix.
6509 * custom.el (defcustom): Doc fix; note use of defvar.
6511 2012-02-15 Glenn Morris <rgm@gnu.org>
6513 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6516 2012-02-14 Glenn Morris <rgm@gnu.org>
6518 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6520 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6522 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6523 way the ports list is computed.
6524 (smtpmail-query-smtp-server): Prompt the user for a port number if
6525 we can't connect to any of the standard ports (bug#10810).
6527 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6529 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6531 2012-02-13 Glenn Morris <rgm@gnu.org>
6533 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6535 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6537 * net/gnutls.el (gnutls-trustfiles): New variable.
6538 (gnutls-negotiate): Use it.
6540 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6542 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6543 does its stuff if Gnus is running.
6545 2012-02-13 Alan Mackenzie <acm@muc.de>
6547 Fix a loop in c-set-fl-decl-start.
6549 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
6550 c-backward-syntactic-ws actually moves backwards.
6552 2012-02-13 Leo Liu <sdl.web@gmail.com>
6554 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6555 beginning so that all \C-o chars are removed.
6557 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6559 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
6561 2012-02-12 Alan Mackenzie <acm@muc.de>
6563 Fix infinite loop with long macros.
6564 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
6566 2012-02-12 Chong Yidong <cyd@gnu.org>
6568 * window.el (display-buffer): Doc fix (Bug#10785).
6570 2012-02-12 Glenn Morris <rgm@gnu.org>
6572 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6573 (x-disown-selection-internal, x-get-selection-internal):
6574 Sync docs with the xselect.c versions.
6576 * allout-widgets.el: Add missing license notice.
6578 2012-02-11 Glenn Morris <rgm@gnu.org>
6580 * select.el (x-get-selection-internal, x-own-selection-internal)
6581 (x-disown-selection-internal):
6582 * x-dnd.el (x-get-selection-internal): Update declarations.
6584 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6586 * window.el (window-sides-slots):
6587 * tool-bar.el (tool-bar-position):
6588 * term/xterm.el (xterm-extra-capabilities):
6589 * ses.el (ses-self-reference-early-detection):
6590 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6591 (verilog-auto-wire-type)
6592 (verilog-auto-delete-trailing-whitespace)
6593 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6594 (verilog-auto-tieoff-declaration):
6595 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6596 (sql-oracle-statement-starters, sql-oracle-scan-on):
6597 * progmodes/prolog.el (prolog-align-comments-flag)
6598 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6599 (prolog-left-indent-regexp, prolog-paren-indent-p)
6600 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6601 (prolog-types, prolog-mode-specificators)
6602 (prolog-determinism-specificators, prolog-directives)
6603 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6604 (prolog-electric-dot-flag)
6605 (prolog-electric-dot-full-predicate-template)
6606 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6607 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6608 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6609 (prolog-program-switches, prolog-prompt-regexp)
6610 (prolog-debug-on-string, prolog-debug-off-string)
6611 (prolog-trace-on-string, prolog-trace-off-string)
6612 (prolog-zip-on-string, prolog-zip-off-string)
6613 (prolog-use-standard-consult-compile-method-flag)
6614 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6615 (prolog-imenu-max-lines, prolog-info-predicate-index)
6616 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6617 (prolog-char-quote-workaround):
6618 * progmodes/cc-vars.el (c-defun-tactic):
6619 * net/tramp.el (tramp-encoding-command-interactive)
6620 (tramp-local-end-of-line):
6621 * net/soap-client.el (soap-client):
6622 * net/netrc.el (netrc-file):
6623 * net/gnutls.el (gnutls):
6624 * minibuffer.el (completion-category-overrides)
6625 (completion-cycle-threshold)
6626 (completion-pcm-complete-word-inserts-delimiters):
6627 * man.el (Man-name-local-regexp):
6628 * mail/feedmail.el (feedmail-display-full-frame):
6629 * international/characters.el (glyphless-char-display-control):
6630 * eshell/em-ls.el (eshell-ls-date-format):
6631 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6632 (lisp-lambda-list-keyword-parameter-indentation)
6633 (lisp-lambda-list-keyword-parameter-alignment):
6634 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6635 * dired-x.el (dired-omit-verbose):
6636 * cus-theme.el (custom-theme-allow-multiple-selections):
6637 * calc/calc.el (calc-highlight-selections-with-faces)
6638 (calc-lu-field-reference, calc-lu-power-reference)
6639 (calc-note-threshold):
6640 * battery.el (battery-mode-line-limit):
6641 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6642 (archive-7z-update):
6643 * allout.el (allout-prefixed-keybindings)
6644 (allout-unprefixed-keybindings)
6645 (allout-inhibit-auto-fill-on-headline)
6646 (allout-flattened-numbering-abbreviation):
6647 * allout-widgets.el (allout-widgets-auto-activation)
6648 (allout-widgets-icons-dark-subdir)
6649 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6650 (allout-widgets-theme-dark-background)
6651 (allout-widgets-theme-light-background)
6652 (allout-widgets-item-image-properties-emacs)
6653 (allout-widgets-item-image-properties-xemacs)
6654 (allout-widgets-run-unit-tests-on-load)
6655 (allout-widgets-time-decoration-activity)
6656 (allout-widgets-hook-error-post-time)
6657 (allout-widgets-track-decoration):
6658 Add missing :version tags to new defcustoms and defgroups.
6660 * progmodes/sql.el (sql-ansi-statement-starters)
6661 (sql-oracle-statement-starters): Add custom type.
6663 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6664 (prolog-system-version): Give it a type.
6666 2012-02-11 Eli Zaretskii <eliz@gnu.org>
6668 * term/pc-win.el (x-select-text, x-selection-owner-p)
6669 (x-own-selection-internal, x-disown-selection-internal)
6670 (x-get-selection-internal): Sync doc strings and argument lists
6671 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6673 2012-02-11 Leo Liu <sdl.web@gmail.com>
6675 * progmodes/python.el (python-end-of-statement): Fix infinite
6678 2012-02-10 Glenn Morris <rgm@gnu.org>
6680 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6681 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6683 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6685 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6686 about SMTP before checking the From header.
6688 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
6689 into own function for reuse by emacsbug.el.
6691 2012-02-10 Leo Liu <sdl.web@gmail.com>
6693 * subr.el (condition-case-unless-debug): Rename from
6694 condition-case-no-debug. All callers changed.
6695 (with-demoted-errors): Fix caller.
6697 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6698 * nxml/rng-valid.el (rng-do-some-validation):
6699 * emacs-lisp/package.el (package-refresh-contents)
6700 (package-menu-execute):
6701 * desktop.el (desktop-create-buffer):
6702 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
6704 2012-02-10 Glenn Morris <rgm@gnu.org>
6706 * textmodes/bibtex.el:
6707 Add missing :version tags for new/changed defcustoms.
6709 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6711 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
6713 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6714 (smtpmail-via-smtp): Use it, or fall back on the From address.
6715 (smtpmail-send-it): Ditto.
6717 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6719 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6720 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6721 (byte-compile-tmp-var): New const.
6722 (byte-compile-defvar): Use it to minimize .elc size.
6723 Just use `defvar' rather than simulate it (bug#10761).
6725 2012-02-09 Glenn Morris <rgm@gnu.org>
6727 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6729 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6732 * progmodes/compile.el (compilation-error-screen-columns)
6733 (compilation-first-column, compilation-filter-start): Doc fixes.
6735 * vc/log-view.el (log-view-toggle-entry-display):
6736 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6738 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6739 (report-emacs-bug-can-use-xdg-email):
6740 (report-emacs-bug-insert-to-mailer): Doc fixes.
6741 (report-emacs-bug): Message fix.
6743 * net/browse-url.el (browse-url-can-use-xdg-open)
6744 (browse-url-xdg-open): Doc fixes.
6746 * electric.el (electric-indent-mode, electric-pair-mode)
6747 (electric-layout-rules, electric-layout-mode): Doc fixes.
6748 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6750 2012-02-08 Martin Rudalics <rudalics@gmx.at>
6752 * server.el (server-unselect-display): Don't inadvertently kill
6753 the current buffer. (Bug#10729)
6755 2012-02-08 Glenn Morris <rgm@gnu.org>
6757 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6758 (sql-list-table): Doc fixes.
6760 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6761 Comment out (does nothing).
6763 * completion.el (dynamic-completion-mode):
6764 * dirtrack.el (dirtrack-debug-mode):
6765 * electric.el (electric-layout-mode):
6766 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6767 * face-remap.el (text-scale-mode, buffer-face-mode):
6768 * iimage.el (iimage-mode):
6769 * image-mode.el (image-transform-mode):
6770 * minibuffer.el (completion-in-region-mode):
6771 * scroll-lock.el (scroll-lock-mode):
6772 * simple.el (next-error-follow-minor-mode):
6773 * tar-mode.el (tar-subfile-mode):
6774 * tooltip.el (tooltip-mode):
6775 * vcursor.el (vcursor-use-vcursor-map):
6776 * wid-browse.el (widget-minor-mode):
6777 * emulation/tpu-edt.el (tpu-edt-mode):
6778 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6779 * international/iso-ascii.el (iso-ascii-mode):
6780 * language/thai-util.el (thai-word-mode):
6781 * mail/supercite.el (sc-minor-mode):
6782 * net/goto-addr.el (goto-address-mode):
6783 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6784 * progmodes/cwarn.el (cwarn-mode):
6785 * progmodes/flymake.el (flymake-mode):
6786 * progmodes/glasses.el (glasses-mode):
6787 * progmodes/hideshow.el (hs-minor-mode):
6788 * progmodes/pascal.el (pascal-outline-mode):
6789 * textmodes/enriched.el (enriched-mode):
6790 * vc/smerge-mode.el (smerge-mode):
6791 Doc fixes (minor mode argument).
6793 2012-02-07 Eli Zaretskii <eliz@gnu.org>
6795 * ls-lisp.el (ls-lisp-sanitize): New function.
6796 (ls-lisp-insert-directory): Use it to fix or remove any elements
6797 in file-alist with missing attributes. (Bug#4673)
6799 2012-02-07 Alan Mackenzie <acm@muc.de>
6801 Fix spurious recognition of c-in-knr-argdecl.
6803 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6804 putative K&R region.
6806 2012-02-07 Alan Mackenzie <acm@muc.de>
6808 * progmodes/cc-engine.el (c-forward-objc-directive):
6809 Prevent looping in "#pragma mark @implementation".
6811 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
6813 * notifications.el (notifications-on-closed-signal): Make `reason'
6814 optional. (Bug#10744)
6816 2012-02-07 Glenn Morris <rgm@gnu.org>
6818 * emacs-lisp/easy-mmode.el (define-minor-mode):
6819 Doc fixes for the macro and the mode it defines.
6821 * image.el (imagemagick-types-inhibit): Doc fix.
6823 * cus-start.el (imagemagick-render-type): Add it.
6825 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6827 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6828 Set the default at load time, too, so that `font-lock-fontify-buffer'
6829 can be called without setting up the entire mode first. This fixes
6830 a bug in `mm-inline-text' with C MIME parts.
6832 2012-02-06 Chong Yidong <cyd@gnu.org>
6834 * simple.el (list-processes--refresh): Delete exited processes
6837 * comint.el (comint-next-prompt): next-single-char-property-change
6838 and prev-single-char-property-change never return nil (Bug#8657).
6840 * custom.el (defcustom): Doc fix (Bug#9711).
6842 2012-02-05 Chong Yidong <cyd@gnu.org>
6844 * cus-edit.el (custom-variable-reset-backup): Quote the value
6845 before storing it in the customized-value property (Bug#6712).
6846 (custom-display): Add a customization type tag.
6847 (custom-buffer-create-internal): Improve tooltip message.
6849 * wid-edit.el (widget-field-value-get): New optional arg to
6850 suppress trailing whitespace truncation.
6851 (character): Use it (Bug#2689).
6853 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6855 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6856 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6858 2012-02-05 Chong Yidong <cyd@gnu.org>
6860 * cus-edit.el (custom-variable-value-create): For mismatched
6861 types, show the current value (Bug#7600).
6863 * custom.el (defcustom): Doc fix.
6865 2012-02-05 Glenn Morris <rgm@gnu.org>
6867 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6869 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
6871 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6872 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6873 (pp-last-sexp): Use `looking-at-p'.
6875 2012-02-04 Glenn Morris <rgm@gnu.org>
6877 * files.el (revert-buffer):
6878 Doc fix (mention revert-buffer-in-progress-p).
6880 * emacs-lisp/ert-x.el (ert-simulate-command):
6881 Check deferred-action-list (which is obsolete) is bound.
6883 * subr.el (with-wrapper-hook): Doc fixes.
6885 * simple.el (filter-buffer-substring-functions)
6886 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6888 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6890 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6891 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6893 2012-02-04 Leo Liu <sdl.web@gmail.com>
6895 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6897 2012-02-04 Glenn Morris <rgm@gnu.org>
6899 * image.el (image-extension-data): Add obsolete alias.
6901 * isearch.el (isearch-update): Doc fix.
6903 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6905 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6907 2012-02-03 Glenn Morris <rgm@gnu.org>
6909 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6910 (image-animate-timeout): Doc fix.
6912 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6914 2012-02-02 Glenn Morris <rgm@gnu.org>
6916 * server.el (server-auth-dir): Doc fix.
6917 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6919 * subr.el (run-mode-hooks): Doc fix.
6921 2012-02-02 Juri Linkov <juri@jurta.org>
6923 * image-mode.el (image-toggle-display-image): Remove tautological
6924 `major-mode' from the `derived-mode-p' test.
6926 2012-02-02 Kenichi Handa <handa@m17n.org>
6928 * composite.el (compose-region): Cancel previous change.
6930 2012-02-02 Kenichi Handa <handa@m17n.org>
6932 * composite.el (compose-region, compose-string): Signal error for
6933 a null string component (Bug#6988).
6935 2012-02-01 Chong Yidong <cyd@gnu.org>
6937 * view.el (view-buffer-other-window, view-buffer-other-frame):
6938 Handle special modes like view-buffer (Bug#10650).
6939 (view-buffer): Simplify.
6941 * frame.el (set-frame-font): Tweak meaning of third argument.
6943 * dynamic-setting.el (font-setting-change-default-font):
6944 Use set-frame-font (Bug#9982).
6946 2012-02-01 Glenn Morris <rgm@gnu.org>
6948 * progmodes/compile.el (compilation-internal-error-properties):
6949 Respect compilation-first-column in the "*compilation*" buffer.
6951 * emacs-lisp/easy-mmode.el (define-minor-mode):
6952 Relax :variable's test for a named function.
6954 2012-01-31 Alan Mackenzie <acm@muc.de>
6956 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6959 2012-01-31 Chong Yidong <cyd@gnu.org>
6961 * frame.el (set-frame-font): New arg ALL-FRAMES.
6963 * menu-bar.el (menu-set-font): Use set-frame-font.
6965 * faces.el (face-spec-reset-face): Don't apply unspecified
6966 attribute values to the default face.
6968 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
6970 * progmodes/cwarn.el (cwarn): Remove dead link.
6971 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6972 Remove * from defcustom docstrings.
6973 (turn-on-cwarn-mode): Make obsolete.
6974 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6975 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6977 2012-01-31 Glenn Morris <rgm@gnu.org>
6979 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6980 Fix :variable handling of mode a symbol not equal to modefun.
6981 Allow named functions to be used as the cdr of :variable.
6983 2012-01-30 Glenn Morris <rgm@gnu.org>
6985 * emacs-lisp/authors.el (authors-fixed-entries):
6986 Remove reference to deleted file rnewspost.el.
6988 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
6990 * window.el (window-with-parameter): Remove unused variable `windows'.
6991 (window--side-check): Remove unused variable `code'.
6992 (window--resize-siblings): Remove unused variable `first'.
6993 (adjust-window-trailing-edge): Remove unused variable `failed'.
6994 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6995 Use `let', not `let*'.
6996 (balance-windows-2): Remove unused variable `found'.
6997 (window--state-put-2): Remove unused variable `splits'.
6998 (window-state-put): Remove unused variable `selected'.
6999 (same-window-p): Use `string-match-p'.
7000 (display-buffer-assq-regexp): Remove unused variable `value'.
7001 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7002 Mark argument ALIST as ignored.
7003 (pop-to-buffer): Remove unused variable `old-window'.
7005 2012-01-29 Eli Zaretskii <eliz@gnu.org>
7007 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7008 and .lzma compressed files.
7010 2012-01-29 Chong Yidong <cyd@gnu.org>
7012 * frame.el (window-system-default-frame-alist): Doc fix.
7014 * dynamic-setting.el (font-setting-change-default-font): Don't
7015 change the default face if SET-FONT argument is non-nil (Bug#9982).
7017 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7019 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7021 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
7023 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7024 breakpoints in files outside current directory (Bug#6098).
7026 2012-01-29 Chong Yidong <cyd@gnu.org>
7028 * progmodes/python.el: Require ansi-color at top-level.
7030 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7031 Define and use in Emacs Lisp mode (Bug#9360).
7032 (lisp-mode-abbrev-table): Add doc.
7033 (lisp-mode-variables): Don't set local-abbrev-table.
7034 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7036 2012-01-28 Roland Winkler <winkler@gnu.org>
7038 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7040 2012-01-28 Roland Winkler <winkler@gnu.org>
7042 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7043 (bibtex-set-dialect): Use it. Either set global values of
7044 dialect-dependent variables or bind these variables buffer-locally
7046 (bibtex-mode): Call bibtex-set-dialect via
7047 hack-local-variables-hook.
7048 (bibtex-dialect): Update docstring.
7049 Add safe-local-variable predicate.
7050 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7052 (bibtex-mode-map): Define menu for each dialect.
7053 (bibtex-entry): Fix docstring.
7055 2012-01-28 Chong Yidong <cyd@gnu.org>
7057 * eshell/esh-arg.el (eshell-quote-argument): New function.
7059 * eshell/esh-ext.el (eshell-invoke-batch-file):
7060 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7061 first arg to eshell-parse-command (Bug#10523).
7063 2012-01-28 Drew Adams <drew.adams@oracle.com>
7065 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7066 `default-directory' is non-nil.
7068 2012-01-28 Eli Zaretskii <eliz@gnu.org>
7070 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7071 line that displays system-configuration-options. (Bug#9924)
7073 2012-01-28 Drew Adams <drew.adams@oracle.com>
7075 * descr-text.el (describe-char): Show information about POS, in
7076 addition to information about the character at POS. Improve and
7077 update the doc string. Change "code point" to "code point in
7078 charset", to avoid confusion with the character's Unicode code
7079 point shown above that. (Bug#10129)
7081 2012-01-28 Eli Zaretskii <eliz@gnu.org>
7083 * descr-text.el (describe-char): Show the raw character, not only
7084 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7085 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7088 2012-01-28 Phil Hagelberg <phil@hagelb.org>
7090 * emacs-lisp/package.el (package-install):
7091 Run package-refresh-contents if there is no archive yet (Bug#9798).
7093 2012-01-28 Chong Yidong <cyd@gnu.org>
7095 * emacs-lisp/package.el (package-maybe-load-descriptor):
7096 New function, split from package-maybe-load-descriptor.
7097 (package-maybe-load-descriptor): Use it.
7098 (package-download-transaction): Fully load required packages
7099 inside the loop, so that `require' calls work (Bug#10593).
7100 (package-install): No need to call package-initialize now.
7102 2012-01-28 Chong Yidong <cyd@gnu.org>
7104 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7106 * tooltip.el (tooltip-mode): Doc fix.
7107 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7109 * frame.el (set-cursor-color): Doc fix (Bug#352).
7111 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7112 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7114 * cus-edit.el (custom-buffer-create-internal): Fix search button
7116 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
7118 2012-01-27 Eduard Wiebe <usenet@pusto.de>
7120 * dired.el (dired-mark-files-regexp):
7121 Include any subdirectory components. (Bug#10445)
7123 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7125 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7126 Handle [host]:port syntax. (Bug#10533)
7128 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
7130 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7132 2012-01-26 Glenn Morris <rgm@gnu.org>
7134 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7135 * term.el (term-raw-escape-map): Use Control-X-prefix.
7136 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7138 2012-01-25 Martin Rudalics <rudalics@gmx.at>
7140 * window.el (window-state-get, window--state-get-1): Don't deal
7141 with fixed-sizeness of windows. Simplify code.
7143 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7145 * window.el (window--state-get-1, window--state-put-2):
7146 Don't save and restore the mark.
7148 2012-01-25 Chong Yidong <cyd@gnu.org>
7150 * custom.el (custom-variable-p): Doc fix.
7152 2012-01-25 Glenn Morris <rgm@gnu.org>
7154 * dired.el (dired-goto-file): Handle some of the more common
7155 characters that `ls -b' escapes. (Bug#10596)
7157 * progmodes/compile.el (compilation-next-error-function):
7158 Respect compilation-first-column in the "*compilation*" buffer.
7159 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7161 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7163 2012-01-24 Glenn Morris <rgm@gnu.org>
7165 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7167 2012-01-24 Julien Danjou <julien@danjou.info>
7169 * color.el (color-rgb-to-hsl): Fix value computing.
7170 (color-hue-to-rgb): New function.
7171 (color-hsl-to-rgb): New function.
7172 (color-clamp, color-saturate-hsl, color-saturate-name)
7173 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7174 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7176 2012-01-24 Glenn Morris <rgm@gnu.org>
7178 * vc/vc-rcs.el (vc-rcs-create-tag):
7179 * vc/vc-sccs.el (vc-sccs-create-tag):
7180 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7182 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7184 * eshell/esh-util.el (eshell-read-hosts-file):
7185 Skip comment lines. (Bug#10549)
7187 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7189 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
7191 * subr.el (display-delayed-warnings): Doc fix.
7192 (collapse-delayed-warnings): New function to collapse identical
7194 (delayed-warnings-hook): Add it.
7196 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
7198 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7200 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7201 (tramp-default-user-alist): Don't add "pscp".
7202 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7203 property "login-as", if set. (Bug#10530)
7205 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
7207 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7208 "plink1" and "psftp". (Bug#10530)
7210 2012-01-21 Kenichi Handa <handa@m17n.org>
7212 * international/mule-cmds.el (prefer-coding-system): Show a
7213 warning message if the default value of file-name-coding-system
7216 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7218 * windmove.el (windmove-reference-loc):
7219 Fix windmove-reference-loc miscalculation.
7221 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7223 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7226 2012-01-21 Glenn Morris <rgm@gnu.org>
7228 * international/mule.el (auto-coding-alist): Add .tbz.
7230 * files.el (local-enable-local-variables): Doc fix.
7231 (inhibit-local-variables-regexps): Rename from
7232 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7233 Doc fix. Add some extensions from auto-coding-alist.
7234 (inhibit-local-variables-suffixes):
7235 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7236 (inhibit-local-variables-p):
7237 New function, extracted from set-auto-mode-1.
7238 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7239 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7240 (hack-local-variables): Doc fix. Make the mode-only case
7241 respect enable-local-variables and friends.
7242 Respect inhibit-local-variables-regexps for file-locals, but
7243 not for directory-locals.
7244 (set-visited-file-name):
7245 Take account of inhibit-local-variables-regexps.
7246 Whether it applies may change as the file name is changed.
7247 * jka-cmpr-hook.el (jka-compr-install):
7248 * jka-compr.el (jka-compr-uninstall):
7249 Update for inhibit-first-line-modes-suffixes name change.
7251 2012-01-20 Martin Rudalics <rudalics@gmx.at>
7253 * help-macro.el (make-help-screen): Temporarily restore original
7254 binding for minor-mode-map-alist (Bug#10454).
7256 2012-01-19 Julien Danjou <julien@danjou.info>
7258 * color.el (color-name-to-rgb): Use the white color to find the max
7259 color component value and return correctly computed values.
7260 (color-name-to-rgb): Add missing float conversion for max value.
7262 2012-01-19 Martin Rudalics <rudalics@gmx.at>
7264 * window.el (window--state-get-1, window-state-get): Do not use
7265 special state value for window-persistent-parameters.
7266 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
7267 (window--state-put-2): Reset all window parameters to nil before
7268 assigning values of persistent parameters.
7270 2012-01-18 Alan Mackenzie <acm@muc.de>
7272 Eliminate sluggishness and hangs in fontification of "semicolon
7275 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7276 Change value 10000 -> 3000.
7277 (c-state-safe-place): Reformulate so it doesn't stack up an
7278 infinite number of wrong entries in c-state-nonlit-pos-cache.
7279 (c-determine-limit-get-base, c-determine-limit): New functions to
7280 determine backward search limits disregarding literals.
7281 (c-find-decl-spots): Amend commenting.
7282 (c-cheap-inside-bracelist-p): New function which detects "={".
7284 * progmodes/cc-fonts.el
7285 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7287 (c-font-lock-declarations): Fix an occurrence of point being
7288 undefined. Check additionally for point being in a bracelist or
7289 near a macro invocation without a semicolon so as to avoid a
7290 fruitless time consuming search for a declarator. Give a more
7291 precise search limit for declarators using the new
7294 2012-01-18 Glenn Morris <rgm@gnu.org>
7296 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7297 (set-auto-mode): Doc fixes.
7299 2012-01-17 Glenn Morris <rgm@gnu.org>
7301 * isearch.el (search-nonincremental-instead): Fix doc typo.
7303 * dired.el (dired-insert-directory): Handle newlines in directory name.
7304 (dired-build-subdir-alist): Unescape newlines in directory name.
7306 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
7308 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7309 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7310 (tramp-action-terminal): Use it. (Bug#10530)
7312 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7314 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7316 2012-01-16 Martin Rudalics <rudalics@gmx.at>
7318 * window.el (window-state-ignored-parameters): Remove variable.
7319 (window--state-get-1): Rename argument MARKERS to IGNORE.
7320 Handle persistent window parameters. Make copy of clone-of
7321 parameter only if requested. (Bug#10348)
7322 (window--state-put-2): Install a window parameter only if it has
7323 a non-nil value or an existing parameter shall be overwritten.
7325 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
7327 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7329 2012-01-14 Eli Zaretskii <eliz@gnu.org>
7331 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7332 don't pass the (nil) value of `upnode' to string-match.
7334 2012-01-14 Chong Yidong <cyd@gnu.org>
7336 * startup.el (command-line): Fix X resource class for cursorColor.
7337 Fix values recognized by the cursorBlink resource.
7339 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7341 * epg.el (epg--make-temp-file): Avoid permission race condition
7342 when running on old Emacs versions (bug#10403).
7344 2012-01-14 Glenn Morris <rgm@gnu.org>
7346 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7348 2012-01-13 Alan Mackenzie <acm@muc.de>
7350 Fix filling for when filladapt mode is enabled.
7352 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7353 c-mask-paragraph, pass in `fill-paragraph' rather than
7354 `fill-region-as-paragraph'. (This is a reversion of a previous
7356 * progmodes/cc-mode.el (c-basic-common-init):
7357 Make fill-paragraph-handle-comment buffer local and set it to nil.
7359 2012-01-13 Glenn Morris <rgm@gnu.org>
7361 * dired.el (dired-switches-escape-p): New function.
7362 (dired-insert-directory): Use dired-switches-escape-p.
7363 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7365 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7367 2012-01-12 Glenn Morris <rgm@gnu.org>
7369 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7370 changes in adaptive-fill-regexp. (Bug#10276)
7372 2012-01-11 Alan Mackenzie <acm@muc.de>
7374 Fix Emacs bug #10463 - put `widen's around the critical spots.
7376 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
7377 widen around each invocation of c-state-pp-to-literal. Remove an
7378 unused let variable.
7380 2012-01-11 Glenn Morris <rgm@gnu.org>
7382 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
7385 2012-01-10 Chong Yidong <cyd@gnu.org>
7387 * net/network-stream.el (network-stream-open-starttls):
7388 Avoid emitting a confusing error message when the server gives a bad
7389 response to the capability command.
7391 2012-01-10 Glenn Morris <rgm@gnu.org>
7393 * mail/unrmail.el (unrmail): Tweak previous change.
7395 2012-01-09 Chong Yidong <cyd@gnu.org>
7397 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7399 2012-01-08 Alan Mackenzie <acm@muc.de>
7401 Optimise font locking in long enum definitions.
7403 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7404 arm to a cond form to handle enums.
7405 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7406 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7408 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
7410 * files.el (move-file-to-trash): Preserve default file modes on error.
7413 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7415 * faces.el (set-face-attribute): Clarify the meaning of the nil
7418 * subr.el (with-selected-frame): Mention that the selected frame
7419 is restored (bug#9980).
7421 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7424 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
7425 (password-read): Don't autoload unused function.
7427 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
7429 * progmodes/which-func.el (which-func-mode): Turn into a
7430 non-interactive function and mark as obsolete (bug#10428).
7432 2012-01-06 Chong Yidong <cyd@gnu.org>
7434 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7435 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7436 functions, along with 1 and -1.
7438 2012-01-06 Eli Zaretskii <eliz@gnu.org>
7440 * time.el (display-time-load-average)
7441 (display-time-default-load-average): Doc fixes. See the thread
7443 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7446 2012-01-06 Glenn Morris <rgm@gnu.org>
7448 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7449 has no messages. (Bug#10377)
7451 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7452 than Info-edit. (Bug#10385)
7454 * time.el (display-time-load-average, display-time-next-load-average):
7457 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7458 local setting of buffer-read-only to the input buffer. (Bug#10419)
7460 * calendar/calendar.el (calendar-mode):
7461 Locally set scroll-margin to 0. (Bug#10379)
7463 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
7465 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7467 2012-01-05 Glenn Morris <rgm@gnu.org>
7469 * eshell/em-unix.el (diff-no-select): Autoload it.
7470 (eshell/diff): Use diff-no-select. (Bug#10420)
7472 2012-01-05 Chong Yidong <cyd@gnu.org>
7474 * shell.el (shell-dynamic-complete-functions): Revert last change.
7475 (shell-command-completion-function): New function.
7476 (shell-completion-vars): Use it to implement
7477 shell-completion-execonly (Bug#10417).
7479 * custom.el (enable-theme): Don't set custom-safe-themes.
7481 * cus-theme.el (custom-theme-merge-theme):
7482 Ignore custom-enabled-themes and custom-safe-themes.
7484 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7486 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7487 first prompt in `sql-interacive-mode'.
7488 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
7490 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
7491 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7492 context of original buffer. Invoke `sql-login-hook'.
7494 2012-01-04 Eli Zaretskii <eliz@gnu.org>
7496 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7497 letters in cite-prefix.
7499 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7501 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7503 2012-01-03 Chong Yidong <cyd@gnu.org>
7505 * shell.el (shell-dynamic-complete-functions):
7506 Put pcomplete-completions-at-point, so as to try
7507 comint-filename-completion first (Bug#10417).
7509 2012-01-02 Richard Stallman <rms@gnu.org>
7511 * battery.el (battery-status-function):
7512 Detect when to use battery-yeeloong-sysfs.
7513 (battery-echo-area-format): Add string for Yeeloong.
7514 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7515 (battery-yeeloong-sysfs): New function.
7517 2012-01-02 Chong Yidong <cyd@gnu.org>
7519 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7520 (dirtrack): Merge code for handling relative filenames in prompt
7521 from shell-dir-cookie-watcher.
7522 (dirtrack-debug-message): New arg to avoid excess format calls.
7524 * shell.el (shell-dir-cookie-re): Variable deleted.
7525 (shell-dir-cookie-watcher): Function deleted.
7526 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7529 2012-01-01 Eli Zaretskii <eliz@gnu.org>
7531 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7532 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
7535 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7537 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7539 2011-12-31 Eli Zaretskii <eliz@gnu.org>
7541 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7542 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7544 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
7546 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7547 also for alternative shells.
7548 (tramp-open-connection-setup-interactive-shell): Check, whether
7549 the shell is a busybox.
7550 (tramp-send-command): Don't suppress multiple prompts for
7551 busyboxes, it hurts.
7553 2011-12-28 Chong Yidong <cyd@gnu.org>
7555 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7556 (gdb-get-source-file): Move mode line update to
7557 gdb-get-source-file (Bug#10087).
7559 2011-12-25 Chong Yidong <cyd@gnu.org>
7561 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7562 gud-gdb-marker-filter without taking it as an argument.
7563 (gud-gdb-run-command-fetch-lines): Caller changed.
7564 (gud-gdb-completion-function): New variable.
7565 (gud-gdb-completion-at-point): Use it.
7566 (gud-gdb-completions-1): Split from gud-gdb-completions.
7568 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7569 function as separate arguments.
7570 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7571 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7572 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7573 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7574 (gdb-stopped, def-gdb-auto-update-trigger)
7575 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
7576 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7578 (gud-gdbmi-completions): New function.
7579 (gdb): Use it for generating the completion table.
7581 2011-12-24 Alan Mackenzie <acm@muc.de>
7583 Introduce a mechanism to widen the region used in context font
7584 locking. Use this to protect declarations from losing their contexts.
7586 * progmodes/cc-langs.el (c-before-font-lock-functions):
7587 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
7588 (c-before-context-fontification-functions): New defvar, a list of
7589 functions to be run just before context (etc.) font locking.
7591 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
7592 New, functionality extracted from
7593 c-neutralize-syntax-in-and-mark-CPP.
7594 (c-in-after-change-fontification): New variable.
7595 (c-after-change): Set c-in-after-change-fontification.
7596 (c-set-fl-decl-start): Rejig its interface, so it can be called
7597 from both after-change and context fontifying.
7598 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7600 (c-standard-font-lock-fontify-region-function): New variable.
7601 (c-font-lock-fontify-region): New function.
7603 2011-12-24 Juri Linkov <juri@jurta.org>
7605 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7608 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
7610 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7611 existence of source file. (Bug#10325)
7613 2011-12-23 Alan Mackenzie <acm@muc.de>
7615 Fix unstable fontification inside templates.
7617 * progmodes/cc-langs.el (c-before-font-lock-functions):
7618 Newly created from the singular version. The (c c++ objc) entry now
7619 additionally has c-set-fl-decl-start. The other languages (apart
7620 from AWK) have that as a single entry.
7622 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7623 The functionality for "local" declarations has been extracted to
7624 c-set-fl-decl-start.
7626 * progmodes/cc-mode.el (c-common-init, c-after-change):
7627 Changes due to pluralisation of c-before-font-lock-functions.
7628 (c-set-fl-decl-start): New function, extracted from
7629 c-font-lock-enclosing-decls and enhanced.
7631 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
7633 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7635 2011-12-22 Juri Linkov <juri@jurta.org>
7637 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7639 2011-12-22 Chong Yidong <cyd@gnu.org>
7641 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7643 2011-12-21 Drew Adams <drew.adams@oracle.com>
7645 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7647 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7649 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7651 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7653 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7654 highlighting and support. Fix up comments for capitalization.
7655 (cfengine-mode-debug): New var.
7656 (cfengine3-mode): Change the modeline indicator to "CFE3".
7657 (cfengine3-font-lock-keywords): Improve defun highlighting.
7658 (cfengine2-actions): Rename from `cfengine-actions'.
7659 (cfengine2-font-lock-keywords): Rename from
7660 `cfengine-font-lock-keywords'.
7661 (cfengine2-imenu-expression): Rename from
7662 `cfengine-imenu-expression'.
7663 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7664 (cfengine2-beginning-of-defun): Rename from
7665 `cfengine-beginning-of-defun'.
7666 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7667 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7668 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7669 modeline indicator to "CFE2".
7670 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7671 (cfengine-mode-abbrevs): Mark obsolete.
7673 2011-12-21 Chong Yidong <cyd@gnu.org>
7675 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7678 2011-12-20 Martin Rudalics <rudalics@gmx.at>
7680 * window.el (window-normalize-buffer-to-display): Remove.
7681 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7683 2011-12-19 Chong Yidong <cyd@gnu.org>
7685 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7686 Don't signal an error in a predicate function; return non-nil.
7687 (vc-dir-mark-file): Move the error here.
7688 (vc-dir-mark-unmark): If acting on the region, keep going if one
7689 of the entries cannot be marked/unmarked.
7690 (vc-dir-mark-all-files): If current entry is a directory, mark
7691 only child files, as documented.
7693 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7695 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7696 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7699 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7701 * term/ns-win.el (ns-get-selection-internal)
7702 (ns-store-selection-internal): Declare.
7703 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7704 Declare as obsolete.
7705 (ns-get-pasteboard, ns-paste-secondary):
7706 Use ns-get-selection-internal.
7707 (ns-set-pasteboard, ns-copy-including-secondary):
7708 Use ns-store-selection-internal.
7710 2011-12-17 Chong Yidong <cyd@gnu.org>
7712 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
7713 (vc-deduce-fileset): Doc fix.
7715 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7717 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7719 2011-12-13 Sam Steingold <sds@gnu.org>
7721 * man.el (Man-getpage-in-background): When running under a
7722 window-system, ignore $MANWIDTH and $COLUMNS.
7724 2011-12-15 Kenichi Handa <handa@m17n.org>
7726 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7727 (setup-ethiopic-environment-internal): Comment out key-binding for
7728 ethio-toggle-punctuation.
7730 2011-12-13 Alan Mackenzie <acm@muc.de>
7732 Add the switch statement to AWK Mode.
7734 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
7735 "default" to the keywords regexp.
7737 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
7738 expression as the rest.
7739 (c-nonlabel-token-key): Allow string literals for AWK.
7740 Refactor for the other modes.
7742 Large brace-block initialisation makes CC Mode slow: Fix.
7743 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
7744 routines. Limit backward searching in c-font-lock-enclosing.decl.
7746 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7747 pp-state and literal type in addition to the limits.
7748 (c-state-safe-place): New defun, extracted from c-state-literal-at.
7749 (c-state-literal-at): Use the above new defun.
7750 (c-slow-in-literal, c-fast-in-literal): Remove.
7751 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
7753 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7754 being in a literal. Add a limit for backward searching.
7756 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7759 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7761 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7763 2011-12-13 Martin Rudalics <rudalics@gmx.at>
7765 * window.el (delete-other-windows): Use correct frame in call to
7766 window-with-parameter.
7768 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7770 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7771 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7772 (makefile-gmake-statements, makefile-makepp-statements):
7773 Use it and add new makepp keywords.
7774 (makefile-makepp-font-lock-keywords): Add new patterns.
7775 (makefile-match-function-end): Match new [...] and [[...]].
7777 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
7779 * ses.el (ses-call-printer-return, ses-cell-property-get)
7780 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7781 (ses-create-cell-variable, ses-reset-header-string)
7782 (ses-cell-set-formula, ses-repair-cell-reference-all)
7783 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7784 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7785 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7786 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7787 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7788 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7789 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7790 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7791 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7792 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7793 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7794 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7796 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7798 * ses.el: The overall change is to add cell renaming, that is
7799 setting fancy names for cell symbols other than name matching
7800 "\\`[A-Z]+[0-9]+\\'" regexp .
7801 (ses-create-cell-variable): New defun.
7802 (ses-relocate-formula): Relocate formulas only for cells the
7803 symbols of which are not renamed, i.e. symbols whose names do not
7804 match regexp "\\`[A-Z]+[0-9]+\\'".
7805 (ses-relocate-all): Relocate values only for cells the symbols of
7806 which are not renamed.
7807 (ses-load): Create cells variables as the (ses-cell ...) are read,
7808 in order to check row col consistency with cell symbol name only
7809 for cells that are not renamed.
7810 (ses-replace-name-in-formula): New defun.
7811 (ses-rename-cell): New defun.
7813 2011-12-11 Chong Yidong <cyd@gnu.org>
7815 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7816 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7818 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7820 * window.el (other-window): Fix docstring.
7822 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7824 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
7825 `from' or `to' address before taking its substring.
7826 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
7827 encoded name is chopped in the middle of the encoded string, and
7828 thus displayed encoded.
7830 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
7832 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7834 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7836 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7837 to use texinfo-update-node and commands that call it if the
7838 Texinfo file uses @node lines without next/prev/up pointers.
7839 Correct outdated description about texinfo-master-menu.
7840 (texinfo-all-menus-update, texinfo-master-menu)
7841 (texinfo-update-node, texinfo-every-node-update)
7842 (texinfo-multiple-files-update): Doc fix. Warn against updating
7843 all the @node lines.
7844 (texinfo-master-menu): Only call texinfo-update-node if the prefix
7845 argument is numeric. Explain better in the doc string what the
7846 function really does.
7847 (texinfo-insert-master-menu-list): Improve the error message
7848 displayed if there's no menu in the Top node.
7849 (Bug#2975) See also this thread:
7850 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7852 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7854 * speedbar.el (speedbar-supported-extension-expressions):
7855 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7857 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
7859 * printing.el (pr-mode-alist):
7860 * simple.el (filter-buffer-substring-functions)
7861 (completion-list-insert-choice-function):
7862 * window.el (window-with-parameter, window-atom-root)
7863 (window-sides-slots, window-size-fixed, window-min-delta)
7864 (window-max-delta, window--resize-mini-window)
7865 (window--resize-child-windows-normal, window-tree)
7866 (delete-other-windows, quit-window, split-window)
7867 (display-buffer-record-window, special-display-buffer-names)
7868 (special-display-regexps, special-display-popup-frame)
7869 (same-window-p, split-window-sensibly)
7870 (display-buffer-overriding-action, display-buffer-alist)
7871 (display-buffer-base-action, display-buffer, switch-to-buffer)
7872 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7873 (fit-window-to-buffer, recenter-positions)
7874 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7875 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7876 and remove unneeded backslashes in docstrings.
7878 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7880 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7882 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7883 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7885 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7886 when reading the makefile (bug#10116).
7888 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7890 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7893 2011-12-06 Glenn Morris <rgm@gnu.org>
7895 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7897 2011-12-06 Chong Yidong <cyd@gnu.org>
7899 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7901 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
7903 * textmodes/table.el (table-shorten-cell): Fix typo.
7905 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7907 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7909 2011-12-05 Eli Zaretskii <eliz@gnu.org>
7911 * descr-text.el (describe-char): Fix display of strong
7912 right-to-left characters and directional embeddings and overrides.
7914 * simple.el (what-cursor-position): Fix display of codepoints of
7915 strong right-to-left characters.
7917 2011-12-05 Chong Yidong <cyd@gnu.org>
7919 * faces.el (read-color): Doc fix.
7921 2011-12-05 Glenn Morris <rgm@gnu.org>
7923 * align.el (align--set-marker): Add doc-string.
7924 Don't try to move something that is not a marker. (Bug#10216)
7926 2011-12-04 Glenn Morris <rgm@gnu.org>
7928 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7929 overly zealous deletion of trailing whitespace.
7931 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
7933 * server.el (server-delete-client): On Windows, do not try to delete
7935 (server-process-filter): On Windows, treat requests for a tty frame as
7936 if they were for a GUI frame if the running server is in GUI mode.
7938 2011-12-03 Glenn Morris <rgm@gnu.org>
7940 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7942 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7944 * electric.el: Streamline electric-indent's hook.
7945 (electric-indent-chars): Revert to simple list.
7946 (electric-indent-functions): New var.
7947 (electric-indent-post-self-insert-function): Use it.
7949 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7950 there's no inferior buffer (bug#10196).
7951 (prolog-consult-compile): Don't use toggle-read-only.
7953 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
7955 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7956 interrupt. (Bug#10187)
7958 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7960 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7963 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7966 2011-12-02 Juri Linkov <juri@jurta.org>
7968 * info.el (Info-search): Display "end of manual" when Isearch
7969 reaches the end of single-file Info manual. (Bug#9918)
7971 2011-12-02 Eli Zaretskii <eliz@gnu.org>
7973 * isearch.el (isearch-message-prefix): Run the input method part
7974 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7976 2011-12-02 Juri Linkov <juri@jurta.org>
7978 * isearch.el (isearch-occur): Use `word-search-regexp' for
7980 (isearch-search-and-update): Add condition for `isearch-word' and
7981 call `word-search-regexp'. (Bug#10145)
7983 2011-12-01 Glenn Morris <rgm@gnu.org>
7985 * eshell/em-hist.el (eshell-hist-initialize):
7986 Handle eshell-history-size nil and HISTSIZE set or unset.
7987 (eshell-history-file-name, eshell-history-size): Fix custom type.
7989 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7991 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7993 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
7995 * progmodes/verilog-mode.el (verilog-pretty-expr):
7996 Rework verilog-pretty-expr to handle new assignment operators in system
7997 verilog, such as += *= and the like.
7998 (verilog-assignment-operator-re): Regular expression to find the
7999 assigment operator in a verilog assignment.
8000 (verilog-assignment-operation-re): Regular expression to find an
8001 assignment statement for pretty-expr.
8002 (verilog-in-attribute-p): Query returns true if point is in an
8003 attribute context; used to skip these for expression line up from
8005 (verilog-in-parameter-p): Query returns true if point is in an
8006 parameter definition context; used to skip these for expression
8007 line up from pretty-expr.
8008 (verilog-in-parenthesis-p): Query returns true if point is in a
8009 parenthetical expression, specifically ( ) but not [ ] or { };
8010 used by pretty-expr.
8011 (verilog-just-one-space): If there is no space, don't add one.
8012 (verilog-get-lineup-indent-2): Specifically skip just attribute
8013 contexts for expression lineup, rather than skipping all
8014 parenthetical expressions.
8015 (verilog-calculate-indent): Fix comment, and fix indent.
8016 (verilog-do-indent): Indent declarations in lists (suggested by
8018 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8020 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8023 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
8025 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8026 parameters with embedded comments. Reported by Ray Stevens.
8027 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8028 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8029 Reported by Tim Holt.
8030 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8031 instantiated by upper module causing wrong expansion until AUTOed a
8032 second time. Reported by K C Buckenmaier.
8033 (verilog-diff-auto): Fix showing .* as a difference when
8034 `verilog-auto-star-save' off. Reported by Dan Dever.
8035 (verilog-auto-reset, verilog-read-always-signals)
8036 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8037 temporary signals in reset list if
8038 verilog-auto-reset-blocking-in-non is nil, and match assignment
8039 style to each signal's assignment type, bug381.
8040 Reported by Thomas Esposito.
8041 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8042 (verilog-uvm-statement-re): Support UVM indentation and
8043 highlighting, with old OVM keywords only.
8044 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
8045 Support AUTOTIEOFF creating non-wire data types.
8046 Suggested by Jonathan Greenlaw.
8047 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8048 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8049 (verilog-inject-sense, verilog-read-inst-pins)
8050 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8051 Fix mismatching parenthesis inside commented out code when deleting
8052 AUTOINST, bug383. Reported by Jonathan Greenlaw.
8053 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8054 non-numeric vector width. Reported by Alex Reed.
8055 (verilog-auto-ascii-enum): Add "onehot" option to work around not
8056 detecting signals with parameter widths. Reported by Alex Reed.
8057 (verilog-auto-delete-trailing-whitespace):
8058 With `verilog-auto-delete-trailing-whitespace' remove trailing
8059 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8060 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8061 Fix verilog-scan-cache corruption when running user AUTO expansion
8062 hooks that call indentation routines.
8063 (verilog-simplify-range-expression): Fix typo ignoring lower case
8065 (verilog-delete-auto): Fix delete-autos to also remove user created
8066 automatics, as long as they start with AUTO.
8067 (verilog-batch-diff-auto, verilog-diff-auto)
8068 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8069 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8070 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8071 (verilog-in-paren-quick, verilog-re-search-backward-quick)
8072 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8073 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
8074 is disabled and its cache will get corrupt, causing AUTOS not to
8075 expand. Instead use only -quick functions.
8076 (verilog-scan-region): Fix scanning over escaped quotes.
8077 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8078 (verilog-re-search-backward-quick)
8079 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8080 related functions now ignore strings, to fix misparsing of strings
8081 with magic comments embedded in them.
8082 (verilog-read-auto-template):
8083 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8084 Reported by Brad Dobbie.
8085 (verilog-read-auto-template):
8086 Fix 'verilog-auto-inst-template-numbers' with comments.
8087 Reported by Brad Dobbie.
8088 (verilog-auto-inst, verilog-auto-inst-param)
8089 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8090 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8091 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
8092 debugging templates without merge conflicts, bug357.
8093 Reported by Brad Dobbie.
8094 (verilog-read-auto-template):
8095 Fix verilog-auto-inst-template-numbers with multiple templates.
8096 Reported by Brad Dobbie.
8097 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8098 abbrevs so user won't be asked to save.
8099 (verilog-read-auto-lisp-present): Fix to start at beginning of
8100 buffer in case called outside of verilog-auto.
8101 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8102 to "X-2". Reported by Matthew Myers.
8103 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8104 all inputs from module templates. Reported by Leith Johnson.
8105 (verilog-module-inside-filename-p): Fix locating programs as with
8107 (verilog-auto-inst-port): Fix vl-width expressions when using
8108 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8109 (verilog-decls-get-regs, verilog-decls-get-signals,
8110 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8111 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8112 verilog-read-decls): Combine reg and wire structures into one var
8113 structure to represent SystemVerilog concepts.
8114 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8115 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
8116 (verilog-auto-wire-type, verilog-insert-definition):
8117 Add verilog-auto-wire-type and AUTOLOGIC to support using
8118 SystemVerilog "logic" keyword instead of "wire"/"reg".
8119 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8120 to declares outputs that also have assignments (presumably in an
8121 ifdef or generate if so there's not a driver conflict).
8122 Reported by Matthew Myers.
8123 (verilog-auto-declare-nettype, verilog-insert-definition):
8124 Add verilog-auto-declare-nettype to fix declarations using
8125 `default_nettype none. Reported by Julian Gorfajn.
8126 (verilog-read-always-signals-recurse, verilog-read-decls)
8127 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8128 malformed end statement, bug325. Reported by Joshua Wise and
8130 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8131 (verilog-inst-comment-re): Fix not deleting Interfaced comment
8132 when expanding .* in interfaces, bug320.
8133 Reported by Pierre-David Pfister.
8134 (verilog-read-module-name): Fix import statements between module
8135 name and open parenthesis, bug317.
8136 Reported by Pierre-David Pfister.
8137 (verilog-simplify-range-expression): Fix simplification of
8138 multiplications inside AUTOWIRE connections, bug303.
8139 (verilog-auto-inst-port): Support parameter expansion in
8140 multidimensional arrays.
8141 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8142 after "assert property". Reported by Julian Gorfajn.
8143 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8144 with multiplication, bug303.
8145 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8146 Reported by Jan Frode Lonnum.
8148 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
8150 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8151 (hfy-shell-file-name, hfy-shell):
8152 * international/fontset.el (x-decompose-font-name): Fix typos.
8154 2011-11-29 Ken Brown <kbrown@cornell.edu>
8156 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8157 (gdb-version): Remove defvar.
8158 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8159 (gdb-gud-context-command, gdb-non-stop-handler)
8160 (gdb-current-context-command, gdb-stopped): Use it.
8161 (gdb-init-1): Enable pretty printing here.
8162 (gdb-non-stop-handler): Don't enable pretty-printing here.
8163 Check to see if the target supports non-stop mode; if not, turn off
8164 non-stop mode. Use the following.
8165 (gdb-check-target-async): New defun.
8166 (gud-watch, gdb-stopped): Fix whitespace.
8167 (gdb-get-source-file): Don't try to display the source file if
8168 `gdb-main-file' is nil.
8170 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8172 * align.el: Try to generate fewer markers (bug#10047).
8173 (align--set-marker): New macro.
8174 (align-region): Use it.
8176 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8178 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8180 2011-11-29 Chong Yidong <cyd@gnu.org>
8182 * indent.el (indent-for-tab-command, indent-according-to-mode):
8184 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8186 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
8188 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8189 aware of remote file names. (Bug#10124)
8191 2011-11-29 Chong Yidong <cyd@gnu.org>
8193 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8195 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8197 * files.el (find-file): Don't use force-same-window (bug#10144).
8198 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8199 use pop-to-buffer if the selected window can't be used.
8200 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8202 2011-11-28 Eli Zaretskii <eliz@gnu.org>
8204 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8207 2011-11-28 Chong Yidong <cyd@gnu.org>
8209 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8211 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
8213 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8214 gdb-get-source-file-list on gdb-create-source-file-list.
8216 2011-11-26 Eli Zaretskii <eliz@gnu.org>
8218 * whitespace.el (whitespace-newline): Use a different foreground
8219 color for 16-color light-background displays.
8221 2011-11-24 Chong Yidong <cyd@gnu.org>
8223 * window.el (display-buffer--special-action): Doc fix.
8225 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
8227 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8228 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8229 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8230 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8231 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8232 (avl-tree-stack-first):
8233 * emacs-lisp/cconv.el (cconv--analyse-use):
8234 * net/gnutls.el (gnutls-negotiate): Fix typos.
8236 2011-11-24 Glenn Morris <rgm@gnu.org>
8238 * lpr.el (lpr-windows-system, lpr-lp-system):
8239 * mail/binhex.el (binhex-begin-line):
8240 * progmodes/grep.el (grep-history, grep-find-history):
8241 * textmodes/flyspell.el:
8242 * vc/pcvs-defs.el (cvs-global-menu):
8243 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8244 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8245 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8247 * net/tls.el: Fix case of "GnuTLS".
8249 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8251 * version.el (emacs-build-system): Give it a doc-string.
8253 2011-11-24 Juri Linkov <juri@jurta.org>
8255 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8257 2011-11-24 Glenn Morris <rgm@gnu.org>
8259 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8260 if called on a non-mime message just toggle the headers. (Bug#8006)
8262 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
8264 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8265 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8266 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8267 (allout-rebullet-heading, allout-open-sibtopic)
8268 (allout-toggle-current-subtree-encryption)
8269 (allout-toggle-subtree-encryption, allout-encrypt-string)
8270 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8271 (allout-distinctive-bullets-string, allout-auto-activation):
8272 * window.el (window-normalize-buffer-to-display):
8273 * progmodes/verilog-mode.el (verilog-batch-indent):
8274 * textmodes/bibtex.el (bibtex-field-braces-opt)
8275 (bibtex-field-strings-opt):
8276 * vc/cvs-status.el (cvs-tree-merge):
8279 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
8281 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8282 `non-essential' to t, in order to avoid remote connections.
8284 2011-11-23 Eli Zaretskii <eliz@gnu.org>
8286 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8287 On MS-DOS and MS-Windows, compare with loaddefs.el
8290 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8292 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8294 2011-11-23 Glenn Morris <rgm@gnu.org>
8296 * paths.el (rmail-file-name): Reformat the doc-string so that it
8299 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8300 (rmail-auto-file): Ignore case in the "special" field names,
8301 as mail-fetch-field does for all others.
8303 * mail/rmail.el (rmail-forward):
8304 * mail/rmailkwd.el (rmail-set-label):
8305 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8306 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8308 * mail/rmail.el (rmail-current-message): Doc fix.
8310 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8312 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8314 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8316 2011-11-22 Glenn Morris <rgm@gnu.org>
8318 * mail/rmailmm.el (test-rmail-mime-handler)
8319 (test-rmail-mime-bulk-handler)
8320 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8322 2011-11-21 Juri Linkov <juri@jurta.org>
8324 * calc/calc.el (calc-read-key-sequence):
8325 Let-bind `input-method-function' to nil. (Bug#10018)
8327 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8329 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8330 Tell the caller that the next line needs recomputation, even
8331 though it doesn't start a sexp (bug#10094).
8333 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8335 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8337 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8339 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8340 Use force-same-window.
8342 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
8344 * descr-text.el (describe-char-unicode-data):
8345 * json.el (json-string-escape):
8346 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8347 (Footnote-unicode, Footnote-style-p):
8348 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8350 2011-11-20 Chong Yidong <cyd@gnu.org>
8352 * window.el (replace-buffer-in-windows): Restore interactive spec.
8354 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8356 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8358 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8359 (byte-compile-global-not-obsolete-vars): New var.
8360 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8362 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8364 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
8366 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8367 * progmodes/pascal.el (electric-pascal-equal):
8368 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8369 * xml.el (xml-substitute-special): Fix typos.
8371 2011-11-20 Glenn Morris <rgm@gnu.org>
8373 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8374 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8376 (rmail-decode-mime-charset): Mark as obsolete.
8378 * mail/rmailsum.el (rmail-message-regexp-p-1):
8379 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8380 Before using mime functions, check they are set. (Bug#10077)
8382 2011-11-19 Juri Linkov <juri@jurta.org>
8384 * info.el (Info-finder-find-node): Use `package--builtins' instead
8385 of `package-alist'. Use node names formed by the pattern "Keyword "
8386 and the keyword name.
8388 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8390 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
8392 2011-11-19 Juri Linkov <juri@jurta.org>
8394 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8395 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8396 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8397 `old-history', `old-history-forward'. Add let-binding
8398 `window-selected'. Remove calls to `kill-buffer',
8399 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8400 before calling `Info-find-node', so `Info-find-node-2' will reread
8401 the Info file. Restore window positions only when `window-selected'
8404 2011-11-19 Juri Linkov <juri@jurta.org>
8406 * isearch.el (isearch-lazy-highlight-new-loop):
8407 Remove condition `(not isearch-error)'. (Bug#9918)
8409 * misearch.el (multi-isearch-search-fun): Add condition
8410 `(not bound)' to ignore lazy-highlighting search.
8411 Add the search-failed message "end of multi" when the end of
8412 multi-sequence is reached. Uncapitalize the search-failed
8413 message "Repeat for next buffer".
8415 * info.el (Info-search): Add the search-failed message
8416 "end of the manual" when the end of the manual is reached
8419 2011-11-19 Juri Linkov <juri@jurta.org>
8421 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8422 Use non-destructive `remove' instead of `delete' because
8423 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8424 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8426 2011-11-19 Juri Linkov <juri@jurta.org>
8428 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8429 to nil instead of binding `search-ring' and `regexp-search-ring'.
8432 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8434 * simple.el (line-move): Force movement by logical lines for any
8435 hscrolled window, not only when auto-hscroll-mode is on.
8436 (line-move-visual): Update doc string to that effect. (Bug#10076)
8438 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8440 * language/european.el (macintosh): Define as alias for mac-roman.
8442 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8444 * mail/rmailmm.el (rmail-mime-display-header)
8445 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8446 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8447 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8448 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8449 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8451 (rmail-mime-entity-segment): To get past the tagline, move forward
8452 2 more lines, to account for the 2 empty lines that precede and
8453 follow the line with the buttons.
8454 (rmail-mime-update-tagline): Move one more line, to get past the
8455 empty line that follows the buttons in the tagline. (Bug#9520)
8457 2011-11-19 Martin Rudalics <rudalics@gmx.at>
8459 * window.el (window-max-delta-1, window-min-delta-1)
8460 (window-min-size-1, window-state-get-1, window-state-put-1)
8461 (window-state-put-2): Use "window--" prefix.
8463 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8465 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8466 (smie-warning-count): New var.
8467 (smie-set-prec2tab): Use it.
8468 (smie-bnf->prec2): Improve warnings. Add docstring.
8469 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8470 (smie-bnf--set-class): New function.
8471 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8474 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8475 (compilation-error-properties, compilation-move-to-column):
8476 Handle compilation-first-column while in the target buffer.
8478 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8479 Don't hardcode point-min==1.
8481 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8482 (eshell-rewrite-for-command): Remove workaround.
8483 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8484 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8485 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8487 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8489 2011-11-17 Glenn Morris <rgm@gnu.org>
8491 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8492 Ignore buffer-local generated-autoload-file if it is the same
8493 as the global value. (Bug#10049)
8495 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
8497 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8498 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8499 (reftex-toc-previous-heading, reftex-toc-max-level)
8500 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8501 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8502 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8503 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8504 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8505 (reftex-toc-rename-label, reftex-toc-visit-location)
8506 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8507 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8508 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8509 leaving "*toc*" only for references to the buffer.
8511 2011-11-17 Martin Rudalics <rudalics@gmx.at>
8513 * window.el (window-resize, delete-window, split-window):
8514 Replace window-splits by window-combination-resize.
8515 * cus-start.el (window-splits): Replace by window-combination-resize.
8517 2011-11-17 Glenn Morris <rgm@gnu.org>
8519 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8520 Make bash entry derive from sh entry, not shell entry.
8522 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
8524 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8527 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8529 * menu-bar.el (menu-bar-file-menu):
8530 * printing.el (pr-ps-utility):
8531 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8532 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8533 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8534 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8535 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8536 (icalendar--convert-cyclic-to-ical)
8537 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8538 (icalendar--convert-ical-to-diary)
8539 (icalendar--convert-recurring-to-diary)
8540 (icalendar--convert-non-recurring-all-day-to-diary)
8541 (icalendar-import-format-sample):
8542 * progmodes/idlw-shell.el (idlwave-shell-mode):
8543 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8544 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8545 (vhdl-ps-print-init): Fix typos.
8547 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8549 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8550 FSF and collapse date sequence, obscure author/maintainer email address
8551 better, remove extra version line, track relocation of author's webpage.
8553 * progmodes/python.el (python-pdbtrack-input-prompt)
8554 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8555 regular python pdb prompts. Adjustments shamelessly taken exactly as
8556 suggested in EmacsWiki page (tiny change):
8557 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8559 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8561 * expand.el (expand-pos, expand-index, expand-point):
8562 Remove redundant info from docstring.
8563 (expand-add-abbrevs): Doc fix.
8564 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8565 (expand-sample-perl-mode-expand-list): Fix typos.
8567 * net/dbus.el (dbus-event-member-name):
8568 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8569 * term/pc-win.el (msdos-create-frame-with-faces):
8570 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8572 2011-11-16 Martin Rudalics <rudalics@gmx.at>
8574 * window.el (split-window, window-state-get-1)
8575 (window-state-put-1, window-state-put-2): Rename occurrences of
8576 window-nest to window-combination-limit.
8577 * cus-start.el (window-nest): Rename to window-combination-limit.
8579 2011-11-16 Chong Yidong <cyd@gnu.org>
8581 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8584 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8586 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8587 `completing-read' will remove *Completions* and will preserve
8588 current-buffer for us.
8589 (tmm-add-prompt): Users of *Completions* will always (re)set its
8591 (tmm-old-comp-map): Remove.
8593 2011-11-16 Glenn Morris <rgm@gnu.org>
8595 * mail/rmailedit.el: Require rmailmm when compiling.
8596 (rmail-old-mime-state): New declaration.
8597 (rmail-edit-current-message): If editing a mime message,
8598 edit the "raw" message from the mbox buffer.
8599 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8601 2011-11-15 Glenn Morris <rgm@gnu.org>
8603 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8604 which wasn't being used. Add optional arg to force given state.
8605 (rmail-mime): Add optional arg to force given state.
8607 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8609 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8610 * frame.el (display-mm-dimensions-alist):
8611 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8612 (outline-move-subtree-down):
8613 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8614 (newsticker--treeview-do-get-node):
8615 * net/quickurl.el (quickurl-list-buffer-name):
8616 * progmodes/dcl-mode.el (dcl-mode):
8617 * progmodes/gdb-mi.el (gdb-mapcar*):
8618 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8620 2011-11-15 Glenn Morris <rgm@gnu.org>
8622 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8623 in a boolean sense, so just make it a boolean, and fix the doc.
8624 (rmail-show-mime-function, rmail-mime-feature)
8625 (rmail-require-mime-maybe): Doc fixes.
8626 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8628 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8630 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8632 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8633 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8634 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8635 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8637 2011-11-15 Glenn Morris <rgm@gnu.org>
8639 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8640 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8641 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8642 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8643 (rmail-mime, rmail-show-mime): Doc fixes.
8645 * term/ns-win.el (mode-line-frame-identification):
8646 Leave it alone. (Bug#10051)
8648 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8650 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8651 Handle empty buffers. (Bug#9978)
8653 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
8655 * international/mule.el (define-charset):
8656 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8657 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8658 * progmodes/verilog-mode.el (verilog-backward-token):
8659 * textmodes/ispell.el (lookup-words):
8660 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8662 2011-11-14 Glenn Morris <rgm@gnu.org>
8664 * progmodes/executable.el
8665 (executable-make-buffer-file-executable-if-script-p):
8666 Handle file-modes returning nil.
8668 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8669 message - not necessary, and causes problems. (Bug#9831)
8671 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8673 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8675 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8676 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8677 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8679 2011-11-12 Martin Rudalics <rudalics@gmx.at>
8681 * window.el (window-resize, delete-window): Use window-splits
8682 variable instead of function.
8683 (window-state-get-1, window-state-put-2, window-state-put):
8684 Don't deal with windows' splits status.
8686 2011-11-12 Glenn Morris <rgm@gnu.org>
8688 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8689 (apropos-documentation): Doc fixes.
8691 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
8693 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8694 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8696 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8698 * electric.el (electric-indent-post-self-insert-function): Make it
8699 possible for a char to only indent in some circumstances.
8700 (electric-indent-mode): Simplify.
8702 2011-11-11 Martin Rudalics <rudalics@gmx.at>
8704 * window.el (windows-with-parameter): Remove unused function.
8705 (windows-at-side): Rename to window-at-side-list.
8706 (window-check, window-atom-check, window-atom-check-1)
8707 (window-side-check, window-size-ignore, window-size-fixed-1)
8708 (window-in-direction-2): Prefix with "window--".
8709 (window-tree-1): Rename to window--subtree, fix doc-string.
8711 2011-11-11 Glenn Morris <rgm@gnu.org>
8713 * subr.el (eval-after-load): If FILE is already loaded,
8714 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8716 2011-11-10 Glenn Morris <rgm@gnu.org>
8718 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8719 Call svn via vc-svn-command rather than vc-do-command.
8720 (vc-svn-command): Add --non-interactive. (Bug#9993)
8721 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8723 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8724 Add toggle-read-only. (Bug#7292)
8725 * files.el (toggle-read-only): Mention that it should only
8726 be used interactively. (Bug#10006)
8728 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8730 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8731 Adjust regexp for OCaml warnings.
8733 * electric.el (electric-pair-post-self-insert-function): Let user
8734 turn it off buffer-locally (bug#9932).
8736 * progmodes/python.el (python-beginning-of-statement):
8739 * progmodes/compile.el: Better handle TABs (bug#9749).
8740 (compilation-internal-error-properties)
8741 (compilation-next-error-function): Obey the target buffer's
8742 compilation-error-screen-columns.
8744 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
8746 * progmodes/meta-mode.el: Remove obsolete comments.
8747 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8748 Fix typos in docstrings.
8750 2011-11-09 Martin Rudalics <rudalics@gmx.at>
8752 * window.el (window-size-fixed-p): Rewrite doc-string.
8753 (window-resizable-p): Rename to window--resizable-p. Update callers.
8754 (window--resizable): New function. Make all callers of
8755 window-resizable call window--resizable instead.
8756 (window-resizable): Rewrite in terms of window--resizable.
8758 2011-11-08 Glenn Morris <rgm@gnu.org>
8760 * progmodes/delphi.el (delphi-mode-syntax-table):
8761 Let define-derived-mode define a proper syntax table. (Bug#9994)
8763 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8765 * window.el: Stay away from defsubst.
8766 (window-list-no-nils): Remove.
8767 (window-state-get-1, window-state-get): Use backquote instead.
8769 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8771 * emacs-lisp/find-func.el (find-function-read):
8772 Fix incorrect use of default argument in `completing-read'.
8774 2011-11-08 Martin Rudalics <rudalics@gmx.at>
8776 * window.el (display-buffer-function, special-display-function):
8777 Mention display-buffer-record-window but do not mention
8778 help-setup parameter in doc-strings.
8779 (window-min-delta): Fix doc-string typo.
8781 2011-11-08 Chong Yidong <cyd@gnu.org>
8783 * window.el (window-total-height, window-total-width): Doc fix.
8784 (window-body-size): Move from C.
8785 (window-body-height, window-body-width): Move to C.
8787 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8789 * window.el: Make special-display like display-buffer-alist (bug#9532).
8790 (display-buffer--special-action): New function, morphed
8791 from display-buffer--special.
8792 (display-buffer): Use it to handle special-display-buffers at higher
8793 priority (just after display-buffer-alist).
8794 (display-buffer-fallback-action, display-buffer--other-frame-action)
8795 (pop-to-buffer-same-window): Remove display-buffer--special.
8797 2011-11-07 Glenn Morris <rgm@gnu.org>
8799 * calendar/cal-menu.el (cal-menu-set-date-title):
8800 Do nothing if not in a calendar. (Bug#9976)
8802 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8804 * files.el (find-file): Always use selected-window.
8806 2011-11-07 Martin Rudalics <rudalics@gmx.at>
8808 * window.el (window-combinations): Make WINDOW argument
8809 mandatory. Rewrite doc-string.
8810 (walk-window-subtree, window-atom-check, window-min-delta)
8811 (window-max-delta, window--resize-this-window)
8812 (window--resize-root-window-vertically, window-tree)
8813 (balance-windows, window-state-put): Rewrite doc-strings as to
8814 not mention the term "subwindow".
8815 (window--resize-subwindows-skip-p): Rename to
8816 window--resize-child-windows-skip-p.
8817 (window--resize-subwindows-normal): Rename to
8818 window--resize-child-windows-normal.
8819 (window--resize-subwindows): Rename to
8820 window--resize-child-windows.
8821 (window-or-subwindow-p): Rename to window--in-subtree-p.
8823 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8825 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8826 Ensure that mbox format messages end in two newlines (Bug#9974).
8828 2011-11-06 Chong Yidong <cyd@gnu.org>
8830 * window.el (window-combination-p): Function deleted; its
8831 side-effect is not used in any existing code.
8832 (window-combinations, window-combined-p): Call window-*-child
8835 2011-11-05 Chong Yidong <cyd@gnu.org>
8837 * window.el (window-valid-p): Rename from window-any-p.
8838 (window-size-ignore, window-state-get): Callers changed.
8839 (window-normalize-window): Rename from window-normalize-any-window.
8840 New arg LIVE-ONLY, replacing window-normalize-live-window.
8841 (window-normalize-live-window): Delete.
8842 (window-combination-p, window-combined-p, window-combinations)
8843 (walk-window-subtree, window-atom-root, window-min-size)
8844 (window-sizable, window-sizable-p, window-size-fixed-p)
8845 (window-min-delta, window-max-delta, window-resizable)
8846 (window-resizable-p, window-full-height-p, window-full-width-p)
8847 (window-current-scroll-bars, window-point-1, set-window-point-1)
8848 (window-at-side-p, window-in-direction, window-resize)
8849 (adjust-window-trailing-edge, maximize-window, minimize-window)
8850 (window-deletable-p, delete-window, delete-other-windows)
8851 (record-window-buffer, unrecord-window-buffer)
8852 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8853 (quit-window, split-window, window-state-put)
8854 (set-window-text-height, fit-window-to-buffer)
8855 (shrink-window-if-larger-than-buffer): Callers changed.
8857 2011-11-04 Eli Zaretskii <eliz@gnu.org>
8859 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8860 rfc2047-decode-string.
8861 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8864 * window.el (window-body-height, window-body-width): Mention in
8865 the doc string that the return values are in frame's canonical
8868 2011-11-03 Alan Mackenzie <acm@muc.de>
8870 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8871 change in cc-engine.el.
8873 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8875 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8877 2011-11-02 Martin Rudalics <rudalics@gmx.at>
8879 * window.el (quit-window): Call unrecord-window-buffer after
8880 showing another buffer in the window. (Bug#9937)
8881 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
8883 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
8885 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8886 Accept status with more than 9 shelves. (Bug#9935)
8887 Reported by Colin D Bennett <colin@gibibit.com>.
8889 2011-11-01 Martin Rudalics <rudalics@gmx.at>
8891 * help.el (with-help-window): Don't reference
8892 temp-buffer-show-specifiers in doc-string.
8894 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8896 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8899 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8901 * whitespace.el: New version 13.2.2.
8902 (whitespace-newline-mode): Disable properly. Reported by Sarah
8905 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
8907 * net/newst-treeview.el: Remove "Time-stamp".
8908 (newsticker--group-manage-orphan-feeds): Do not call
8909 newsticker--treeview-tree-update.
8910 (newsticker-treeview-update, newsticker-treeview):
8911 Call newsticker--treeview-tree-update if necessary.
8913 2011-10-30 Martin Rudalics <rudalics@gmx.at>
8915 * window.el (window-iso-combination-p, window-iso-combined-p)
8916 (window-iso-combinations): Remove "iso-" infix.
8917 Suggested by Chong Yidong.
8918 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8919 (window-max-delta-1, window-resize, window--resize-siblings)
8920 (window--resize-this-window, adjust-window-trailing-edge)
8921 (split-window, balance-windows-1)
8922 (shrink-window-if-larger-than-buffer):
8923 * calendar/calendar.el (calendar-generate-window):
8924 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
8926 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8928 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8929 in place (bug#9907).
8930 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8931 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8932 (eshell-structure-basic-command, eshell-rewrite-while-command)
8933 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8934 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8935 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8936 (eshell-do-pipelines-synchronously, eshell-eval-command):
8937 Use backquotes and prefer setq to set.
8938 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8939 (eshell-macrop): Use functionp.
8940 (eshell-do-eval): Handle multiple expressions in `while' body.
8942 2011-10-30 Chong Yidong <cyd@gnu.org>
8944 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8945 instead of set-mark (Bug#9810).
8947 2011-10-30 Chong Yidong <cyd@gnu.org>
8949 * window.el (split-window-below, split-window-right): Rename from
8950 split-window-above-each-other and split-window-side-by-side
8951 respectively. All callers changed.
8952 (split-window-sensibly, split-window-sensibly): Use them.
8953 (split-window-keep-point): Doc fix.
8955 * isearch.el: Add isearch-scroll property to split-window-below
8956 and split-window-right.
8958 * follow.el (follow-mode):
8959 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8960 * progmodes/ada-xref.el (ada-gdb-application):
8961 * emulation/vip.el (vip-buffer-in-two-windows):
8962 * image-dired.el (image-dired-dired-with-window-configuration):
8963 * dired-x.el (dired-do-find-marked-files):
8964 * dired.el (dired-pop-to-buffer):
8965 * bs.el (bs--show-with-configuration):
8966 * vc/emerge.el (emerge-setup-windows):
8967 * textmodes/two-column.el (2C-two-columns):
8968 * textmodes/reftex-toc.el (reftex-toc):
8969 * progmodes/gdb-mi.el (gdb-setup-windows):
8970 * progmodes/fortran.el (fortran-window-create):
8971 * net/newst-treeview.el (newsticker--treeview-window-init):
8972 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8973 * emulation/tpu-edt.el (tpu-gold-map):
8974 * emulation/crisp.el (crisp-mode-map):
8975 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8977 2011-10-29 Chong Yidong <cyd@gnu.org>
8979 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8981 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8983 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8984 forged Ispell output (Bug#7904).
8986 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8988 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8990 * doc-view.el: Avoid ugly errors about not finding nil.
8991 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8992 (doc-view-dvipdf-program, doc-view-unoconv-program)
8993 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8994 Avoid nil or absolute file name as default value.
8995 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8997 2011-10-28 Alan Mackenzie <acm@muc.de>
8999 * progmodes/cc-defs.el (c-version): -> 5.32.2.
9001 2011-10-28 Alan Mackenzie <acm@muc.de>
9003 Amend the handling of c-beginning/end-of-defun in nested declaration
9006 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9007 cc-langs.el. Change it to a defcustom.
9009 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9012 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9013 Prevent "class foo : bar" being spuriously recognized as a label.
9015 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
9016 Add parameter `inclusive' (to include enclosing braces in the region).
9017 (c-widen-to-enclosing-decl-scope): New function.
9018 (c-while-widening-to-decl-block): New macro.
9019 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9020 outward for defun boundaries, and correspondingly change symbol
9021 `respect-enclosure' to `go-outward'.
9022 (c-declaration-limits): Change algorithm to report only the "innermost"
9025 2011-10-28 Deniz Dogan <deniz@dogan.se>
9027 * net/rcirc.el (rcirc-mode): Use hard newlines.
9029 2011-10-28 Alan Mackenzie <acm@muc.de>
9031 Amend to indent and fontify macros "which include their own semicolon"
9032 correctly, using the "virtual semicolon" mechanism.
9034 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
9036 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
9037 Recode to scan one line at a time rather than having \n and \r
9038 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
9039 (c-forward-label): Amend for virtual semicolons.
9040 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
9042 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9043 of the new C macros.
9045 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
9046 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9047 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
9048 (c-opt-cpp-macro-define): Make into a full language variable.
9049 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9050 AWK Mode (including \n, \r) removed, no longer needed.
9052 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9053 Invoke c-make-macro-with-semi-re.
9055 * progmodes/cc-vars.el (c-macro-with-semi-re):
9056 (c-macro-names-with-semicolon): New variables.
9057 (c-make-macro-with-semi-re): New function.
9059 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9061 * vc/log-edit.el: Fill empty field rather than adding new one.
9062 (log-edit-add-field): New function.
9063 (log-edit-insert-changelog): Use it.
9065 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9067 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9069 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9071 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9072 (gdb--check-interpreter): New function.
9075 2011-10-27 Glenn Morris <rgm@gnu.org>
9077 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9078 (least-positive-float, least-negative-float)
9079 (least-positive-normalized-float, least-negative-normalized-float)
9080 (float-epsilon, float-negative-epsilon):
9081 Remove unnecessary declarations.
9083 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9084 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9085 (least-positive-float, least-negative-float)
9086 (least-positive-normalized-float, least-negative-normalized-float)
9087 (float-epsilon, float-negative-epsilon): Add doc-strings,
9088 based on those in cl.texi.
9090 * files.el (set-visited-file-name): If the major-mode changed,
9091 reload the local variables. (Bug#9796)
9093 2011-10-27 Chong Yidong <cyd@gnu.org>
9095 * subr.el (change-major-mode-after-body-hook): New hook.
9096 (run-mode-hooks): Run it.
9098 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9099 Use change-major-mode-before-body-hook.
9101 * simple.el (fundamental-mode):
9102 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9103 change introducing fundamental-mode-hook.
9105 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
9107 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
9109 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
9111 * ido.el (ido-file-name-all-completions-1): Do not require
9112 tramp.el explicitly. (Bug#7583)
9114 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9116 * progmodes/octave-mod.el:
9117 * progmodes/octave-inf.el: Update maintainer.
9119 2011-10-26 Chong Yidong <cyd@gnu.org>
9121 * subr.el (with-wrapper-hook): Rewrite doc.
9123 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
9125 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
9126 filenames "/method:foo:". (Bug#9793)
9128 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9130 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9133 2011-10-24 Glenn Morris <rgm@gnu.org>
9135 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9137 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
9139 * notifications.el: Add the requirement of a running D-Bus session
9140 bus to the Commentary.
9142 2011-10-24 Juri Linkov <juri@jurta.org>
9144 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9145 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9148 2011-10-24 Juri Linkov <juri@jurta.org>
9150 * info.el (Info-following-node-name-re): Add newline to the list
9151 of allowed characters for leading space. (Bug#9824)
9153 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9155 * progmodes/octave-inf.el (inferior-octave-mode-map):
9156 Fix C-c C-h binding.
9157 * progmodes/octave-mod.el (octave-help): Remove.
9159 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
9161 Sync with Tramp 2.2.3.
9163 * net/tramp-cache.el (top): Pacify byte-compiler using
9164 `init-file-user' and `site-run-file'.
9166 * net/trampver.el: Update release number.
9168 2011-10-23 Chong Yidong <cyd@gnu.org>
9170 * files.el (toggle-read-only): Remove obsolete comment about
9173 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9174 for toggle-read-only. Note that this hasn't called vc-next-action
9175 since 2008-05-02, though it wasn't documented at the time.
9177 * vc/ediff-init.el (ediff-toggle-read-only-function):
9178 Use toggle-read-only.
9180 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9182 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9185 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9186 correct faulty logical expression.
9187 (c-parse-state-state, c-record-parse-state-state):
9188 (c-replay-parse-state-state): New defvar/defuns.
9189 (c-debug-parse-state): Use new functions.
9191 2011-10-22 Martin Rudalics <rudalics@gmx.at>
9193 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
9194 last fix. Use window-in-direction correctly.
9196 2011-10-21 Chong Yidong <cyd@gnu.org>
9198 * progmodes/idlwave.el (idlwave-mode):
9199 * progmodes/vera-mode.el (vera-mode): No need to set
9200 require-final-newline; that's done in prog-mode.
9201 Suggested by Stefan Monnier.
9203 2011-10-21 Martin Rudalics <rudalics@gmx.at>
9205 * mouse.el (mouse-drag-window-above)
9206 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9207 (mouse-drag-mode-line-1, mouse-drag-header-line)
9208 (mouse-drag-vertical-line-rightward-window): Remove.
9209 (mouse-drag-line): New function.
9210 (mouse-drag-mode-line, mouse-drag-header-line)
9211 (mouse-drag-vertical-line): Call mouse-drag-line.
9212 * window.el (window-at-side-p, windows-at-side): New functions.
9214 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
9216 * tar-mode.el (tar-grind-file-mode):
9217 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9219 2011-10-21 Chong Yidong <cyd@gnu.org>
9221 * progmodes/idlwave.el (idlwave-mode):
9222 * progmodes/vera-mode.el (vera-mode):
9223 Use mode-require-final-newline.
9225 2011-10-20 Glenn Morris <rgm@gnu.org>
9227 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
9229 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9231 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9233 2011-10-20 Chong Yidong <cyd@gnu.org>
9235 * emulation/cua-base.el (cua-mode):
9236 * mail/footnote.el (footnote-mode):
9237 * mail/mailabbrev.el (mail-abbrevs-mode):
9238 * net/xesam.el (xesam-minor-mode):
9239 * progmodes/bug-reference.el (bug-reference-mode):
9240 * progmodes/cap-words.el (capitalized-words-mode):
9241 * progmodes/compile.el (compilation-minor-mode)
9242 (compilation-shell-minor-mode):
9243 * progmodes/gud.el (gud-tooltip-mode):
9244 * progmodes/hideif.el (hide-ifdef-mode):
9245 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9246 * progmodes/subword.el (subword-mode):
9247 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9248 * progmodes/which-func.el (which-function-mode):
9249 * term/tvi970.el (tvi970-set-keypad-mode):
9250 * term/vt100.el (vt100-wide-mode):
9251 * textmodes/flyspell.el (flyspell-mode):
9252 * textmodes/ispell.el (ispell-minor-mode):
9253 * textmodes/nroff-mode.el (nroff-electric-mode):
9254 * textmodes/paragraphs.el (use-hard-newlines):
9255 * textmodes/refill.el (refill-mode):
9256 * textmodes/reftex.el (reftex-mode):
9257 * textmodes/rst.el (rst-minor-mode):
9258 * textmodes/sgml-mode.el (html-autoview-mode)
9259 (sgml-electric-tag-pair-mode):
9260 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9261 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9262 * emulation/crisp.el (crisp-mode):
9263 * emacs-lisp/eldoc.el (eldoc-mode):
9264 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9265 minor mode behavior.
9267 2011-10-19 Juri Linkov <juri@jurta.org>
9269 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9270 the list of hard-coded chars with escape-glyph face.
9272 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9274 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9276 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
9278 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9281 2011-10-19 Glenn Morris <rgm@gnu.org>
9283 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9284 Ignore ignored files. (Bug#9726)
9286 2011-10-19 Chong Yidong <cyd@gnu.org>
9288 Doc fix for minor modes, stating that an omitted argument enables
9289 the mode unconditionally when called from Lisp.
9291 * abbrev.el (abbrev-mode):
9292 * allout.el (allout-mode):
9293 * autoinsert.el (auto-insert-mode):
9294 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9295 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9296 (global-auto-revert-mode):
9297 * battery.el (display-battery-mode):
9298 * composite.el (global-auto-composition-mode)
9299 (auto-composition-mode):
9300 * delsel.el (delete-selection-mode):
9301 * desktop.el (desktop-save-mode):
9302 * dired-x.el (dired-omit-mode):
9303 * dirtrack.el (dirtrack-mode):
9304 * doc-view.el (doc-view-minor-mode):
9305 * double.el (double-mode):
9306 * electric.el (electric-indent-mode, electric-pair-mode):
9307 * emacs-lock.el (emacs-lock-mode):
9308 * epa-hook.el (auto-encryption-mode):
9309 * follow.el (follow-mode):
9310 * font-core.el (font-lock-mode):
9311 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9312 * help.el (temp-buffer-resize-mode):
9313 * hilit-chg.el (highlight-changes-mode)
9314 (highlight-changes-visible-mode):
9315 * hi-lock.el (hi-lock-mode):
9316 * hl-line.el (hl-line-mode, global-hl-line-mode):
9317 * icomplete.el (icomplete-mode):
9318 * ido.el (ido-everywhere):
9319 * image-file.el (auto-image-file-mode):
9320 * image-mode.el (image-minor-mode):
9321 * iswitchb.el (iswitchb-mode):
9322 * jka-cmpr-hook.el (auto-compression-mode):
9323 * linum.el (linum-mode):
9324 * longlines.el (longlines-mode):
9325 * master.el (master-mode):
9326 * mb-depth.el (minibuffer-depth-indicate-mode):
9327 * menu-bar.el (menu-bar-mode):
9328 * minibuf-eldef.el (minibuffer-electric-default-mode):
9329 * mouse-sel.el (mouse-sel-mode):
9330 * msb.el (msb-mode):
9331 * mwheel.el (mouse-wheel-mode):
9332 * outline.el (outline-minor-mode):
9333 * paren.el (show-paren-mode):
9334 * recentf.el (recentf-mode):
9335 * reveal.el (reveal-mode, global-reveal-mode):
9336 * rfn-eshadow.el (file-name-shadow-mode):
9337 * ruler-mode.el (ruler-mode):
9338 * savehist.el (savehist-mode):
9339 * scroll-all.el (scroll-all-mode):
9340 * scroll-bar.el (scroll-bar-mode):
9341 * server.el (server-mode):
9342 * shell.el (shell-dirtrack-mode):
9343 * simple.el (auto-fill-mode, transient-mark-mode)
9344 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9345 (line-number-mode, column-number-mode, size-indication-mode)
9346 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9347 * strokes.el (strokes-mode):
9348 * time.el (display-time-mode):
9349 * t-mouse.el (gpm-mouse-mode):
9350 * tool-bar.el (tool-bar-mode):
9351 * tooltip.el (tooltip-mode):
9352 * type-break.el (type-break-mode-line-message-mode)
9353 (type-break-query-mode):
9354 * view.el (view-mode):
9355 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9356 (global-whitespace-mode, global-whitespace-newline-mode):
9357 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9359 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9360 Fix autogenerated docstring.
9362 2011-10-19 Juri Linkov <juri@jurta.org>
9364 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9365 by checking environment variables "DESKTOP_SESSION" and
9366 "XDG_CURRENT_DESKTOP". (Bug#9779)
9368 2011-10-19 Juri Linkov <juri@jurta.org>
9370 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9371 (browse-url-chromium-program, browse-url-chromium-arguments):
9373 (browse-url-default-browser): Check for `browse-url-chromium' and
9374 call `browse-url-chromium-program'.
9375 (browse-url-chromium): New command. (Bug#9779)
9377 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
9379 * facemenu.el (list-colors-duplicates): On Windows, detect more
9380 duplicates by assuming that only colors matching "^System" are
9381 special "system colors". (Bug#9722)
9383 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9385 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9386 to distinguish the author from the committer.
9388 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
9390 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9392 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9394 * international/mule.el (sgml-html-meta-auto-coding-function):
9395 Add support for detecting encoding in HTML5 specified only as
9396 <meta charset="UTF-8">. Implementation just makes http-equiv and
9397 content-type parts from HTML4 encoding string optional. (Bug#9716)
9399 2011-10-18 Glenn Morris <rgm@gnu.org>
9401 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9403 2011-10-18 Chong Yidong <cyd@gnu.org>
9405 * faces.el (cursor): Doc fix.
9407 2011-10-17 Chong Yidong <cyd@gnu.org>
9409 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9411 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
9413 * dirtrack.el (dirtrack): Support shell buffers with path
9414 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9416 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9418 * json.el: Bump version to 1.3 and note change in History.
9419 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9421 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9423 * comint.el (comint-insert-input, comint-send-input)
9424 (comint-get-old-input-default, comint-backward-matching-input)
9425 (comint-next-prompt): Use nil instead of `input' for field property of
9426 past user input (bug#114).
9428 * minibuffer.el (completion--replace): Inherit surrounding properties
9430 (minibuffer-complete-and-exit): Use it.
9432 * comint.el (comint--table-subvert): Quote the all-completions output
9435 2011-10-17 Martin Rudalics <rudalics@gmx.at>
9437 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
9439 * menu-bar.el (menu-bar-file-menu): Add entry for making new
9440 window on right of selected. (Bug#9350) Reword other window
9441 entries and separate them from frame entries.
9443 2011-10-15 Glenn Morris <rgm@gnu.org>
9445 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9448 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
9450 * net/network-stream.el (network-stream-open-starttls):
9451 Improve detection of failure due to lack of TLS support.
9453 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9454 putting the input text in front and in bold.
9456 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9458 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9460 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9463 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9464 unread-command-events rather than pushing yet-another event.
9466 2011-10-14 Eli Zaretskii <eliz@gnu.org>
9468 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9469 the explanation of the possible choices. Make the options passed
9470 to completing-read shorter.
9472 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9474 * textmodes/flyspell.el (flyspell-large-region): Make sure
9475 extended character mode is used if defined (Bug#1339).
9477 2011-10-13 Eli Zaretskii <eliz@gnu.org>
9479 * simple.el (what-cursor-position): Fix the display of the
9480 character info for LRE, LRO, RLE, and RLO characters by appending
9483 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9485 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9486 even in case of error; add debug spec; simplify data flow.
9487 (with-timeout-handler): Remove.
9489 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
9491 Fix Bug#6019, Bug#9315.
9493 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9494 complete `buffer-file-name', the local file name part could look
9495 remotely (for example on VMS).
9497 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9498 `tramp-run-real-handler'.
9499 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9500 already quoted by '"'.
9502 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9503 Let `file-name-handler-alist' be nil, the local file name part
9504 could look remotely (for example on VMS).
9506 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9508 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9510 (flyspell-post-command-hook): ...to here.
9512 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9514 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9516 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9517 using completion. Protect against "slow" callers.
9518 Remove the "message hack".
9520 2011-10-11 Juri Linkov <juri@jurta.org>
9522 * isearch.el (isearch-lazy-highlight-word): New variable.
9523 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9526 2011-10-11 Glenn Morris <rgm@gnu.org>
9528 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9529 like f90-previous-statement does.
9531 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9533 * eshell/eshell.el (eshell-command): History should be saved
9534 only in interactive use, to avoid error.
9536 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9538 * minibuffer.el (completion-file-name-table): Fix last change,
9539 i.e. ignore normal errors but not the other ones.
9541 2011-10-10 Martin Rudalics <rudalics@gmx.at>
9543 * window.el (special-display-buffer-names)
9544 (special-display-regexps): Remove some remnants of earlier
9545 changes from doc-strings.
9546 (quit-windows-on): New function.
9548 * vc/vc.el (vc-revert, vc-rollback):
9549 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9550 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9551 (Bug#6183) (Bug#7074) (Bug#7447)
9553 2011-10-09 Martin Rudalics <rudalics@gmx.at>
9555 * window.el (frame-auto-hide-function): Add version tag.
9558 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
9560 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9563 2011-10-09 Leo Liu <sdl.web@gmail.com>
9565 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9568 2011-10-08 Glenn Morris <rgm@gnu.org>
9570 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9571 before the first code statement zero indent. (Bug#9690)
9573 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
9575 * simple.el (count-words-region): Always count in the region.
9576 Report the number of lines and characters too.
9577 (count-words): New command, which counts in the buffer if the
9578 region is inactive, as count-words-region used to.
9579 (count-words--message): New function. Handle plurals.
9580 (count-lines-region): Make it an alias for count-words-region.
9582 * bindings.el (esc-map): Replace count-lines-region with
9585 2011-10-08 Martin Rudalics <rudalics@gmx.at>
9587 * window.el (window--delete): Delete dedicated frame
9588 unconditionally when argument KILL is non-nil. (Bug#9699)
9589 (switch-to-buffer): Fix doc-string typo.
9591 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9593 * eshell/eshell.el (eshell-command): Avoid using hooks.
9595 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
9597 * bindings.el ([M-left],[M-right]): Bind to left-word and
9598 right-word respectively.
9600 2011-10-07 Glenn Morris <rgm@gnu.org>
9602 * cus-start.el (debug-on-quit): Fix custom type.
9604 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9606 * subr.el (define-key-after): Clarify that the function is not
9607 useful for non-menu keymaps.
9609 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9611 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9613 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
9614 in current minibuffer (Fix bug with recursive minibuffers).
9616 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
9618 * progmodes/gdb-mi.el (gdb): Doc fix.
9620 2011-10-05 Martin Rudalics <rudalics@gmx.at>
9622 * window.el (frame-auto-hide-function): New option replacing
9623 frame-auto-delete. Suggested by Stefan Monnier.
9624 (window--delete): Call frame-auto-hide-function instead of
9625 investigating frame-auto-delete.
9626 (window-point-1, set-window-point-1): New functions.
9627 (window-in-direction, record-window-buffer, window-state-get-1)
9628 (display-buffer-record-window): Use window-point-1 instead of
9630 (set-window-buffer-start-and-point): Use set-window-point-1.
9632 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9634 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9636 2011-10-05 Glenn Morris <rgm@gnu.org>
9638 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9639 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9641 2011-10-05 Leo Liu <sdl.web@gmail.com>
9643 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9644 works with buffer object.
9646 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9648 * mpc.el (mpc-tool-bar-map): Add labels.
9650 2011-10-04 Glenn Morris <rgm@gnu.org>
9652 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9654 2011-10-04 Martin Rudalics <rudalics@gmx.at>
9656 * window.el (window--delete): New function.
9657 (frame-auto-delete): Resuscitate option.
9658 (bury-buffer, replace-buffer-in-windows)
9659 (quit-window): Rewrite using window--delete.
9660 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9661 Pass display-buffer-mark-dedicated to window--display-buffer-2
9664 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9666 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9667 returns a list (bug#9554). Add remote file name completion.
9668 * comint.el (comint--table-subvert): Curry and get quote&unquote
9669 functions as arguments.
9670 (comint--complete-file-name-data): Adjust call accordingly.
9671 * pcomplete.el (pcomplete--table-subvert): Remove.
9672 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9674 * minibuffer.el (completion-table-case-fold): Use currying.
9675 (completion--styles-type, completion--cycling-threshold-type):
9677 (completion-styles, completion-category-overrides)
9678 (completion-cycle-threshold): Use them.
9679 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9680 completion-table-case-fold.
9682 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
9684 * minibuffer.el (completion-category-overrides): Fix type of styles
9685 and add more user friendly tags (bug#9660).
9687 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9689 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9690 (mule-input-method-string): New widget.
9691 (default-input-method, language-info-custom-alist): Use it.
9693 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9695 * pcomplete.el: Require comint.
9696 (pcomplete--common-suffix): Remove.
9697 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9698 (pcomplete--table-subvert): Sync with comint--table-subvert.
9699 (pcomplete--entries): Use comint-completion-file-name-table.
9700 * comint.el (comint-unquote-filename): Simplify.
9701 (comint-completion-file-name-table): New function (bug#9616).
9702 (comint--complete-file-name-data): Use it.
9704 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9705 (pcmpl-gnu-tar-buffer): Remove.
9706 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9707 around. Make sure pcomplete-suffix-list is only changed temporarily.
9708 Don't look inside the tar's file if it's too large.
9710 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
9712 * cus-edit.el (custom-mode-map):
9713 * epa.el (epa-key-list-mode-map):
9714 * man.el (Man-mode-map):
9715 * startup.el (splash-screen-keymap):
9716 * simple.el (special-mode-map): Use scroll-up-command and
9717 scroll-down-command.
9719 * progmodes/idlw-help.el (idlwave-help-mode-map):
9720 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9721 * net/newst-plainview.el (newsticker-mode-map):
9722 * emulation/ws-mode.el (wordstar-mode-map):
9723 * emulation/vi.el (vi-com-map):
9724 * calc/calc-graph.el (calc-graph-show-dumb):
9725 * term/sun.el (terminal-init-sun):
9726 * term/ns-win.el (global-map):
9727 * progmodes/grep.el (grep-mode-map):
9728 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9729 * mail/rmail.el (rmail-mode-map):
9730 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9732 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9733 custom-safe-themes as special.
9735 2011-10-01 Julien Danjou <julien@danjou.info>
9737 * notifications.el (notifications-notify): Fix docstring.
9739 2011-10-01 Per Starbäck <per@starback.se>
9741 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9743 2011-09-30 Martin Rudalics <rudalics@gmx.at>
9745 * startup.el (command-line-1): Fix last fix by inserting
9746 initial-scratch-message into *scratch* before displaying it.
9747 (Bug#9605) and (Bug#9636)
9749 2011-09-29 Eli Zaretskii <eliz@gnu.org>
9751 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9752 window is hscrolled, move by logical lines. (Bug#9607)
9753 (line-move-visual): Update the doc string to the above effect.
9755 2011-09-29 Martin Rudalics <rudalics@gmx.at>
9757 * window.el (display-buffer-record-window): When WINDOW is the
9758 selected window use `point' instead of `window-point'. (Bug#9626)
9760 * startup.el (command-line-1): Use insert-before-markers when
9761 inserting initial-scratch-message. (Bug#9605)
9763 * help.el (help-window): Remove variable.
9765 2011-09-29 Glenn Morris <rgm@gnu.org>
9767 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9769 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
9771 * descr-text.el (describe-char-categories): Accept category
9772 descriptions more than one line long.
9774 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9776 * simple.el (delete-trailing-whitespace): Fix last change.
9778 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9779 Don't confuse "y => 3" as the beginning of a `y' operation.
9781 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9782 object has more than 4 slots (bug#9613).
9784 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
9786 * subr.el (with-output-to-temp-buffer):
9787 * net/quickurl.el (quickurl, quickurl-browse-url):
9788 Fix typos in docstrings.
9790 2011-09-27 Eli Zaretskii <eliz@gnu.org>
9792 * minibuffer.el (completion-styles)
9793 (completion-category-overrides): Cross reference each other in doc
9796 2011-09-27 Glenn Morris <rgm@gnu.org>
9798 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9799 to split-string. (Bug#9606)
9801 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9803 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9806 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
9808 * emacs-lisp/package.el (list-packages): Fix echo area message.
9810 2011-09-27 Leo Liu <sdl.web@gmail.com>
9812 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9814 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
9816 * net/dbus.el (dbus-unregister-object): Don't release services for
9817 registered signals. (Bug#9581)
9819 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9821 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9822 function that picks between cfengine 2 and 3 support
9823 automatically. Update docs accordingly.
9825 2011-09-22 Kenichi Handa <handa@m17n.org>
9827 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9829 (indian-itrans-v5-table-for-tamil): New variable.
9830 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9832 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9834 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9835 that's true if the current command involved collapsing of text.
9836 It's reset to false at the beginning of the next command.
9837 (allout-post-command-business): Move the cursor to the beginning
9838 of entry if the cursor is hidden and collapsing activity just
9841 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
9843 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9844 tracking (Bug#9541).
9846 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
9848 * net/newst-reader.el (newsticker-html-renderer)
9849 (newsticker-show-news): Automatically load html rendering package
9850 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9851 because w3m-fill-column is let-bound" and the error "Symbol's value
9852 as variable is void: w3m-fill-column".
9854 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
9856 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9857 Release services only if they are defined. (Bug#9581)
9859 2011-09-23 Richard Stallman <rms@gnu.org>
9861 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9862 distinguish start of paragraph from start of its text.
9864 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9866 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9867 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9868 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9870 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9872 * international/mule-diag.el (mule-diag): Insert a newline after
9873 each fontset description.
9875 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9877 * simple.el (delete-trailing-whitespace):
9878 Document last change; simplify.
9880 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9882 * simple.el (delete-trailing-whitespace): Also delete
9883 extra newlines at the end of the buffer.
9885 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9886 (picture-newline): Use forward-line so as to ignore fields.
9888 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9890 * subr.el (with-wrapper-hook): Fix edebug spec.
9892 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9894 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9897 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
9899 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9900 Fix nasty bug using wrong cached values.
9902 2011-09-23 Alan Mackenzie <acm@muc.de>
9904 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9906 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
9908 * window.el (pop-to-buffer): Ensure right window is selected if we
9909 chose another frame.
9911 2011-09-22 Eli Zaretskii <eliz@gnu.org>
9913 * simple.el (what-cursor-position): Use get-char-property-change
9914 and next-single-char-property-change, to be able to show display
9915 properties that come from overlays as well as text properties.
9917 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
9919 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9921 * cmuscheme.el (run-scheme, switch-to-scheme):
9922 * cus-edit.el (customize-group, custom-buffer-create)
9926 * mail/sendmail.el (mail):
9927 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9929 2011-09-22 Richard Stallman <rms@gnu.org>
9931 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9932 move back only to line beg, don't move back over blank lines.
9934 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
9936 * files.el (copy-directory): Set directory attributes only in case
9937 they could be retrieved from the source directory. (Bug#9565)
9939 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9941 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9942 (hs-find-block-beginning, hs-hide-level-recursive):
9943 Ignore strings as well as comments. (Bug#9502)
9945 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9947 * progmodes/sql.el (sql-comint-postgres):
9948 Convert port number to a string. (Bug#9566)
9950 2011-09-22 Martin Rudalics <rudalics@gmx.at>
9952 * window.el (quit-window): Undedicate window when switching to
9953 previous buffer. Reported by Thierry Volpiatto
9954 <thierry.volpiatto@gmail.com>.
9955 (special-display-popup-frame): When popping up a new frame reset
9956 its previous buffers to nil. Simplify code.
9958 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
9960 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9961 and process filter, as done also in `shell-command'.
9963 2011-09-21 Martin Rudalics <rudalics@gmx.at>
9965 * window.el (set-window-buffer-start-and-point):
9966 Call set-window-start with NOFORCE argument t.
9967 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9968 (quit-window): Reword doc-string. Handle new format of
9969 quit-restore parameter. Don't delete window if it has a
9970 previous buffer we can show instead of the present one.
9971 (display-buffer-record-window): Rewrite using a new format for
9972 the quit-restore window parameter
9973 (special-display-popup-frame, display-buffer-same-window)
9974 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9975 (display-buffer-pop-up-window, display-buffer-use-some-window):
9976 Adapt symbol passed to display-buffer-record-window.
9977 * help.el (help-window-setup): Handle new format of quit-restore
9980 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9982 * faces.el (face-list): Fix docstring (bug#9564).
9984 * window.el (display-buffer--action-function-custom-type):
9985 Don't include internal functions in the Custom interface.
9987 2011-09-20 Juri Linkov <juri@jurta.org>
9989 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9990 (Info-forward-node, Info-backward-node, Info-next-preorder)
9991 (Info-last-preorder): Use it. (Bug#9528)
9993 2011-09-20 Juri Linkov <juri@jurta.org>
9995 * info.el (Info-last-preorder): Visit last menu item only when
9996 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9998 2011-09-20 Julien Danjou <julien@danjou.info>
10000 * password-cache.el (password-cache-remove): Remove entries even if the
10001 value is nil, so that password with a nil value (negative caching) is
10002 possible to invalidate.
10004 2011-09-20 Lawrence Mitchell <wence@gmx.li>
10006 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10007 all whitespace around breakpoint. (Bug#9553)
10008 (f90-find-breakpoint): Only break at whitespace inside a comment.
10010 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10012 * minibuffer.el (completion-file-name-table): Keep track of errors.
10013 (completion-table-with-predicate): Handle the case where pred1 is nil.
10014 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10016 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10018 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10019 (debugger-return-value): Signal an error if the debugging context does
10020 not await any return value.
10022 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10023 * image-mode.el (image-toggle-display-text)
10024 (image-toggle-display-image): Stay away from evil `intangible'.
10026 2011-09-19 Leo Liu <sdl.web@gmail.com>
10028 * replace.el (occur-revert-arguments): Make it permanent-local.
10029 (occur-mode): Don't call font-lock-defontify.
10031 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
10033 * net/ldap.el (ldap-search-internal): Don't push empty search
10036 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10038 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10040 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
10042 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10043 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10045 2011-09-18 Juri Linkov <juri@jurta.org>
10047 * buff-menu.el (Buffer-menu-mode-map):
10048 * dired.el (dired-mode-map):
10049 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10050 (lisp-interaction-mode-map):
10051 * emacs-lisp/package.el (package-menu-mode-map):
10052 * epa.el (epa-key-list-mode-map):
10053 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10054 (menu-bar-options-menu):
10055 * outline.el (outline-mode-menu-bar-map):
10056 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10057 * vc/vc-dir.el (vc-dir-menu-map):
10058 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10059 Capitalize non-function content words in menu item strings.
10061 * dired.el (dired-mode-map): Add menu item for
10062 `image-dired-dired-toggle-marked-thumbs'.
10064 2011-09-18 Juri Linkov <juri@jurta.org>
10066 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10067 to `isearch-case-fold-search' and restore its original value
10068 after the `isearch-mode' call.
10070 2011-09-18 Juri Linkov <juri@jurta.org>
10072 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10073 because `zgrep' returns 1 for successful matches (bug#9226).
10075 2011-09-18 Juri Linkov <juri@jurta.org>
10077 * info.el (Info-extract-menu-node-name): Check the second match
10078 for empty string (second test-case of bug#9528).
10079 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10080 intermediate nodes to the history (first test-case of bug#9528).
10082 2011-09-18 Juri Linkov <juri@jurta.org>
10084 * info.el (Info-mode-syntax-table): New variable.
10085 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
10087 2011-09-18 Juri Linkov <juri@jurta.org>
10089 * info.el (Info-file-supports-index-cookies):
10090 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10091 outputs one more line for long file names (bug#4142).
10093 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
10095 * newcomment.el (comment-normalize-vars): If prompting for
10096 comment-start, set comment-start-skip too (Bug#8424).
10098 2011-09-18 Johan Bockgård <bojohan@gnu.org>
10100 * icomplete.el: Fix previous fix of Bug#5849.
10101 (icomplete-mode): Don't set completion-show-inline-help.
10102 (icomplete-minibuffer-setup): Set completion-show-inline-help
10103 locally during icompletion.
10105 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
10107 * woman.el (woman2-process-escapes): Don't delete unrecognized
10108 escapes (Bug#7843).
10110 * files.el (inhibit-first-line-modes-regexps): Add image files.
10111 (hack-local-variables-prop-line): Return nil for malformed
10112 prop-lines (Bug#9044).
10114 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
10116 * net/tramp.el (top): Don't require 'shell.
10117 (tramp-methods): Fix docstring.
10118 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
10119 Return complete remote file name. Handle "smb" case.
10120 Use `tramp-tmpdir', if defined for the respective method.
10121 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10123 * net/tramp-compat.el (top): Require 'shell.
10125 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10126 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10127 `tramp-current-host'.
10128 (tramp-get-remote-tmpdir): Remove.
10130 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10131 `tramp-tmpdir' entries.
10132 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10133 (tramp-smb-handle-file-attributes): Ignore errors.
10134 (tramp-smb-wait-for-output): Check also for process end.
10136 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10138 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10139 when sending QUIT (bug#9312).
10141 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
10143 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10144 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10145 occur-mode-display-occurrence.
10146 (occur-edit-mode): Add usage message.
10147 (occur-cease-edit): New command.
10148 (occur-after-change-function): Use text properties to find the
10149 position of the prefix text.
10150 (occur-engine): Set stickiness of prefix text properties.
10152 2011-09-17 Glenn Morris <rgm@gnu.org>
10154 * progmodes/etags.el (complete-tag):
10155 Fix call to completion-in-region. (Bug#9526)
10157 2011-09-17 Juri Linkov <juri@jurta.org>
10159 * textmodes/ispell.el (ispell-word): Add to the error message
10160 the word, ispell program name and current dictionary (bug#9121).
10161 (ispell-tex-arg-end): Capitalize "error" in the error message.
10163 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10165 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10168 2011-09-17 Juri Linkov <juri@jurta.org>
10170 * window.el (window-safe-min-height, window-safe-min-width):
10171 Fix typos (followup to bug#9522).
10173 2011-09-17 Sven Joachim <svenjoac@gmx.de>
10175 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10177 2011-09-16 Eli Zaretskii <eliz@gnu.org>
10179 * simple.el (line-move): If goal-column is set, move by logical
10180 lines, not by display lines. (Bug#971)
10181 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10182 to reflect the above change.
10184 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10186 * image.el (imagemagick-register-types): Use regexp-opt.
10188 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
10190 * window.el (display-buffer-base-action): Rename from
10191 display-buffer-default-action. Make default value empty.
10192 (display-buffer-overriding-action): Convert to defvar.
10193 (display-buffer-fallback-action): New var.
10195 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
10197 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10199 (package--add-to-archive-contents): If there is a duplicate entry
10200 with an older version, remove it.
10201 (package-menu-mark-delete, package-menu-mark-install)
10202 (package-menu-mark-unmark): Make unused args optional.
10203 (package-menu-mark-obsolete-for-deletion):
10204 Use package-menu-get-status instead of a regexp search.
10205 (package-menu-get-status): Use tabulated-list-entry.
10206 (package-menu-mark-upgrades): New command.
10207 (package-menu-mode-map): Bind it to U. Add it to menu bar.
10208 (package-menu-execute): Do installation before deletion.
10209 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10210 instead of checking major-mode.
10211 (package-menu--find-upgrades): New function.
10213 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10215 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10216 passwords in the log buffer.
10217 (smtpmail-process-filter): Update the process marker so that the
10218 "broken by peer" status message is inserted in the right place.
10220 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10222 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10223 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10224 bibtex-completion-at-point-function.
10225 (bibtex-completion-at-point-function): Use them.
10227 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10229 * mpc.el (mpc-constraints-tag-lookup): New function.
10230 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10231 also to browser "album|playlist".
10233 2011-09-14 Juri Linkov <juri@jurta.org>
10235 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10236 (isearch-edit-string): Use length of `isearch-string' when
10237 `isearch-fail-pos' returns nil.
10238 (isearch-message): Remove duplicate code and call
10239 `isearch-fail-pos' with arg `t'.
10241 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
10243 * replace.el (occur-mode-goto-occurrence): Don't force using other
10246 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10248 2011-09-14 Martin Rudalics <rudalics@gmx.at>
10250 * window.el (display-buffer-window): Remove.
10251 (display-buffer-record-window): Use help-setup window parameter
10252 instead of variable display-buffer-window.
10253 (display-buffer-function, special-display-buffer-names)
10254 (special-display-function): Mention help-setup parameter instead
10255 of display-buffer-window in doc-string.
10256 * help.el (help-window-setup): New argument help-window.
10257 Use help-window-setup parameter instead of display-buffer-window.
10258 Reword some messages.
10259 (with-help-window): Pass window used for displaying the buffer
10260 to help-window-setup. Don't set display-buffer-window.
10262 2011-09-13 Glenn Morris <rgm@gnu.org>
10264 * emacs-lisp/debug.el (debugger-make-xrefs):
10265 Preserve point. (Bug#9462)
10267 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
10269 * window.el (window-deletable-p): Use next-frame.
10271 2011-09-13 Martin Rudalics <rudalics@gmx.at>
10273 * window.el (window-auto-delete): Remove.
10274 (window-deletable-p): Remove argument FORCE. Don't deal with
10275 dedication and previous buffers.
10276 (switch-to-prev-buffer): Don't delete window.
10277 (delete-windows-on): Delete a window's frame if and only if the
10278 window is dedicated.
10279 (replace-buffer-in-windows): Delete buffer's window or frame if
10280 and only if window is dedicated.
10281 (quit-window): Handle quit-restore as before last change.
10282 (bury-buffer): Delete window only if window-deletable-p returns t.
10284 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
10286 * window.el (window-deletable-p): Never delete the last frame on a
10289 2011-09-13 Glenn Morris <rgm@gnu.org>
10291 * help.el (describe-key-briefly): Copy previous standard-output change.
10293 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
10295 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10297 2011-09-13 Glenn Morris <rgm@gnu.org>
10299 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10300 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10302 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
10304 * dired-aux.el (dired-mark-read-string): Don't return default
10305 value on empty input (Bug#9361).
10306 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10307 Omit initial minibuffer contents.
10308 (dired-do-chmod): Signal an error on empty input.
10309 (dired-mark-read-string): Don't return default on empty input.
10311 * files.el (file-modes-symbolic-to-number): Doc fix.
10313 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10315 * international/mule-cmds.el (ucs-completions): Remove.
10316 (read-char-by-name): Use complete-with-action instead; add metadata.
10318 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
10320 * window.el (display-buffer--action-function-custom-type)
10321 (display-buffer--action-custom-type): New vars.
10322 (display-buffer-alist, display-buffer-default-action)
10323 (display-buffer-overriding-action): Add defcustom types.
10325 * frame.el (delete-other-frames): Doc fix (Bug#276).
10327 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10329 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10331 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
10333 Change modes that used same-window-* vars to use switch-to-buffer.
10335 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10336 Use switch-to-buffer.
10338 * cus-edit.el (customize-group, custom-buffer-create)
10339 (customize-browse, custom-buffer-create-other-window):
10340 Use switch-to-buffer or switch-to-buffer-other-window.
10342 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10343 (Info-prev, Info-up, Info-speedbar-goto-node)
10344 (info-display-manual): Use switch-to-buffer.
10345 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10347 * mail/sendmail.el (mail): Use switch-to-buffer.
10348 (mail-recover): Use switch-to-buffer-other-window.
10350 * cmuscheme.el (run-scheme, switch-to-scheme):
10352 * shell.el (shell):
10353 * net/rlogin.el (rlogin):
10354 * net/telnet.el (telnet, rsh):
10355 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10357 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10359 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10361 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10363 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10364 so don't mention it (bug#9301).
10365 (dired-sort-toggle-or-edit): Clarify string further.
10367 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10368 match `x', `w32' and `ns', like the manual says (bug#9029).
10370 * subr.el (eval-after-load): Doc string clarification (bug#9125).
10371 (process-kill-buffer-query-function): Mention the buffer name in
10374 * image-mode.el (image-next-line): The line parameter is mandatory
10377 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10378 which can be useful (bug#9301).
10380 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10382 * subr.el (match-string): Mention that the current buffer should
10383 be the same as the search was done in (bug#9282).
10385 * facemenu.el: Disable the remove-* commands if the mark isn't
10388 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10390 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10392 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10394 * replace.el (occur-mode-goto-occurrence)
10395 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10396 and display-buffer.
10398 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10401 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10402 special-display and same-window variables.
10403 (mail-other-window): Use switch-to-buffer-other-window.
10404 (mail-other-frame): USe switch-to-buffer-other-frame.
10406 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10407 Use display-buffer-other-frame.
10408 (gdb-display-gdb-buffer): Use pop-to-buffer.
10410 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10412 * progmodes/python.el: Don't set same-window-buffer-names.
10414 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10416 * window.el (display-buffer-alist): Add *Python*.
10418 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10420 * window.el (display-buffer-alist): Add entry for buffers
10421 previously handled same-window-*.
10422 (display-buffer-alist, display-buffer-default-action)
10423 (display-buffer-overriding-action): Mark as risky.
10424 (display-buffer-alist): Document action function changes.
10425 (display-buffer--same-window-action)
10426 (display-buffer--other-frame-action): New variables.
10427 (switch-to-buffer, display-buffer-other-frame): Use them.
10428 (display-buffer): Rename reuse-frame entry to reusable-frames.
10429 (display-buffer-reuse-selected-window): Function deleted.
10430 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10431 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10432 (display-buffer-special): New function.
10433 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10434 display-buffer-reuse-or-pop-window. Split off special-display
10435 part into display-buffer-special.
10436 (display-buffer-use-some-window): Don't perform any special
10437 pop-up-frames handling.
10438 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
10439 (display-buffer--maybe-same-window): Rename from
10440 display-buffer-maybe-same-window.
10442 * info.el: Don't set same-window-regexps.
10443 (info-setup): New function.
10444 (info-other-window, info): Call it.
10446 * cus-edit.el: Don't set same-window-regexps.
10447 (customize-group): New argument.
10448 (customize-group-other-window): Use it.
10449 (customize-face, customize-face-other-window): Likewise.
10450 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10454 * progmodes/gud.el: Don't set same-window-regexps.
10459 * mail/sendmail.el:
10460 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10462 2011-09-10 Juri Linkov <juri@jurta.org>
10464 * isearch.el (isearch-edit-string): Remove obsolete mention of
10465 `C-w' (`isearch-yank-word-or-char') from docstring.
10466 (isearch-query-replace): Fix typo in docstring (bug#9466).
10468 2011-09-10 Juri Linkov <juri@jurta.org>
10470 * paren.el (show-paren-function): Don't show escaped parens.
10471 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10473 2011-09-10 Eli Zaretskii <eliz@gnu.org>
10475 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10476 (mm-default-file-encoding): Remove autoload forms, they are
10477 replaced with autoload cookies in mml.el and mm-encode.el.
10478 (mail-add-attachment): New command.
10479 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10480 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10482 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10484 2011-09-10 Reuben Thomas <rrt@sc3d.org>
10486 * simple.el (count-words-region): Use buffer if there's no region
10489 2011-09-09 Juri Linkov <juri@jurta.org>
10491 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10492 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10493 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10495 2011-09-09 Alan Mackenzie <acm@muc.de>
10497 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10498 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10500 2011-09-09 Eli Zaretskii <eliz@gnu.org>
10502 Fix for Savannah bug#9392.
10503 * simple.el (mail-encode-mml): New defvar.
10505 * mail/rmail.el (mail-encode-mml): Add a defvar.
10506 (rmail-enable-mime-composing): Default to t.
10507 (rmail-forward): Use MIME method of forwarding only if both
10508 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10509 Set mail-encode-mml non-nil if the MIME method was used.
10511 * mail/sendmail.el (mml-to-mime): Add autoload form.
10512 (mail-encode-mml): Add a defvar.
10513 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10515 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10516 message through mml-to-mime, and reset mail-encode-mml to nil.
10518 2011-09-09 Glenn Morris <rgm@gnu.org>
10520 * woman.el (woman-if-body): When processing an .el block,
10521 do not delete the next .el block as well. (Bug#9447)
10522 (woman-special-characters): Add oq, cq, and hy characters.
10524 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10526 * window.el (window-deletable-p): Make sure window is live before
10527 invoking window-prev-buffers.
10529 2011-09-08 Leo Liu <sdl.web@gmail.com>
10531 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10533 2011-09-08 Juri Linkov <juri@jurta.org>
10535 * progmodes/compile.el (compilation-environment): Make it
10536 a defcustom (bug#8340).
10538 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10540 * window.el (frame-auto-delete): Rename to window-auto-delete.
10541 Make it control auto-deletion of windows and/or frames.
10542 (window-deletable-p): New argument FORCE. Rewrite conditions
10543 for deleting window/frame. (Bug#9419)
10544 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10545 Rewrite handling of case when window/frame can be deleted.
10546 (delete-windows-on): Call window-deletable-p with new FORCE
10547 argument t. (Bug#9456)
10549 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
10551 * help-mode.el (help-mode): Restore autoload.
10553 2011-09-07 Juri Linkov <juri@jurta.org>
10555 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10556 `compilation-environment'. Set buffer-local
10557 `compilation-environment' to `thisenv' later after (funcall mode).
10560 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10561 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10562 instead of replacing its value. (Bug#8340)
10564 2011-09-07 Juri Linkov <juri@jurta.org>
10566 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10567 based on text properties put by `grep-filter' instead of matching
10569 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10570 to the value of `grep-error-screen-columns' (bug#9438).
10572 2011-09-07 Juri Linkov <juri@jurta.org>
10574 * simple.el (next-error-highlight, next-error-highlight-no-select):
10575 Doc fix (bug#9432).
10577 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10579 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10580 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10582 2011-09-07 Leo Liu <sdl.web@gmail.com>
10584 * net/rcirc.el (rcirc-mode): Conditionally initialize
10587 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10589 * emacs-lisp/find-func.el (find-function-C-source): Only set
10590 find-function-C-source-directory after checking that we found a source
10591 file there (bug#9440).
10593 2011-09-06 Alan Mackenzie <acm@muc.de>
10595 * isearch.el (isearch-other-meta-char): Wherever a key list is
10596 unread, "unread" the prefix arg, too. This fixes bug #8901.
10598 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10600 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10602 2011-09-05 Juri Linkov <juri@jurta.org>
10604 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10606 2011-09-05 Juri Linkov <juri@jurta.org>
10608 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10609 keeping point where processing of grep matches begins, and
10610 continue to delete remaining escape sequences from the same point.
10611 (grep-filter): Make leading zero optional in "0?1;31m" because
10612 git-grep emits "\033[1;31m" escape sequences unlike expected
10613 "\033[01;31m" as GNU Grep does (bug#9408).
10614 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10616 2011-09-05 Juri Linkov <juri@jurta.org>
10618 * subr.el (y-or-n-p): Capitalize "yes".
10620 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
10622 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10623 `tramp-cache-unload-hook' where appropriate.
10624 (tramp-methods): Rename `tramp-remote-sh' to
10625 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10626 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10628 * net/tramp-sh.el (top): Don't require 'shell.
10629 (tramp-methods): Add `tramp-remote-shell' and
10630 `tramp-remote-shell-args' entries.
10631 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10632 (tramp-sh-handle-shell-command): Remove.
10633 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10634 Use `tramp-remote-shell'.
10636 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
10638 * mail/sendmail.el (sendmail-query-once-function): Delete.
10639 (sendmail-query-once): Save directly to send-mail-function.
10640 Update message-send-mail-function too.
10642 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10644 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10646 * progmodes/python.el (python-mode-map): Use correct function to
10647 start python interpreter from menu-bar (as reported by Geert
10649 (inferior-python-mode-map): Fix typo.
10650 (python-shell-map): Remove.
10652 2011-09-03 Deniz Dogan <deniz@dogan.se>
10654 * net/rcirc.el (rcirc-print): Simplify code for
10655 rcirc-scroll-show-maximum-output. There is no need to walk
10656 through all windows to find the right one.
10658 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10660 * help.el (help-return-method): Doc fix.
10662 2011-09-03 Martin Rudalics <rudalics@gmx.at>
10664 * window.el (window-deletable-p): Don't return a non-nil value
10665 when there's a buffer that was shown in the window before.
10667 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10668 Set window's previous buffers to nil.
10670 2011-09-03 Eli Zaretskii <eliz@gnu.org>
10672 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10673 newline before and after the tag line, so it doesn't interfere
10674 with determining the paragraph direction of bidirectional text.
10676 2011-09-03 Leo Liu <sdl.web@gmail.com>
10678 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10680 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10682 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
10683 (pop-to-buffer): Change interactive spec. Pass second argument
10684 directly to display-buffer.
10685 (display-buffer): Fix interactive spec. Use functionp to
10686 distinguish between a function and a list of functions.
10688 * abbrev.el (edit-abbrevs):
10689 * arc-mode.el (archive-extract):
10690 * autoinsert.el (auto-insert):
10691 * bookmark.el (bookmark-bmenu-list):
10692 * files.el (find-file):
10693 * view.el (view-buffer):
10694 * progmodes/compile.el (compilation-goto-locus):
10695 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10697 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10699 * window.el (display-buffer-alist): Doc fix.
10700 (display-buffer): Add docstring. Don't treat
10701 display-buffer-default specially.
10702 (display-buffer-reuse-selected-window)
10703 (display-buffer-same-window, display-buffer-maybe-same-window)
10704 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10705 (display-buffer-pop-up-window)
10706 (display-buffer-reuse-or-pop-window)
10707 (display-buffer-use-some-window): New functions.
10708 (display-buffer-default-action): Use them.
10709 (display-buffer-default): Delete.
10710 (pop-to-buffer-1): Fix choice of actions.
10712 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10714 * minibuffer.el (completion--insert-strings): Don't get confused by
10715 completion entries that end with an LF char.
10717 2011-09-01 Eli Zaretskii <eliz@gnu.org>
10719 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10721 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
10723 * window.el (display-buffer): Restore interactive spec.
10724 (display-buffer-same-window, display-buffer-other-window):
10726 (pop-to-buffer-1): New function. Use the above.
10727 (pop-to-buffer, pop-to-buffer-same-window): Use it.
10728 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
10730 * view.el (view-buffer-other-window, view-buffer-other-frame):
10731 Just use pop-to-buffer.
10733 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10735 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10737 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10739 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10741 2011-08-31 Richard Stallman <rms@gnu.org>
10743 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10744 of the separation of rmail-view-buffer from rmail-buffer.
10745 If you say no to "replace original", the decrypt is in the
10746 view buffer. If you say yes, the decrypt goes into the
10749 2011-08-31 Martin Rudalics <rudalics@gmx.at>
10751 * window.el (display-buffer-window): Rewrite doc-string.
10752 (display-buffer-record-window): New function.
10753 (display-buffer-macro-specifiers)
10754 (display-buffer-even-window-sizes, display-buffer-set-height)
10755 (display-buffer-set-width, display-buffer-in-window)
10756 (display-buffer-reuse-window, display-buffer-split-specifiers)
10757 (display-buffer-side-specifiers, display-buffer-split-window-1)
10758 (display-buffer-split-window, display-buffer-split-atom-window)
10759 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10760 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10761 (display-buffer-other-window-means-other-frame)
10762 (display-buffer-normalize-special)
10763 (display-buffer-normalize-default)
10764 (display-buffer-normalize-argument)
10765 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10766 (display-buffer-normalize-specifiers, display-buffer-frame)
10767 (display-buffer-same-window, display-buffer-same-frame)
10768 (display-buffer-other-window)
10769 (display-buffer-same-frame-other-window)
10770 (display-buffer-other-frame, pop-to-buffer-same-window)
10771 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10772 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10773 (switch-to-buffer-same-frame)
10774 (switch-to-buffer-other-window-same-frame)
10775 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10776 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10777 (display-buffer-alist-set): Remove.
10778 (display-buffer-function, special-display-buffer-names)
10779 (special-display-regexps, special-display-function):
10780 In doc-string refer to display-buffer-window and quit-restore
10782 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10783 (special-display-frame-alist, special-display-popup-frame)
10784 (same-window-buffer-names, same-window-regexps, same-window-p)
10785 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10786 (split-window-preferred-function, split-height-threshold)
10787 (split-width-threshold, window-splittable-p)
10788 (split-window-sensibly, window--try-to-split-window)
10789 (window--frame-usable-p, even-window-heights)
10790 (window--even-window-heights, window--display-buffer-1)
10791 (window--display-buffer-2, display-buffer-other-frame):
10792 Restore old Emacs 23 code, order and doc-strings where applicable.
10793 (display-buffer-default, display-buffer-assq-regexp): New functions.
10794 (display-buffer-alist): Rewrite doc-string.
10795 (display-buffer-default-action)
10796 (display-buffer-overriding-action): New variables.
10797 (display-buffer, switch-to-buffer): Rewrite.
10798 (pop-to-buffer): Restore Emacs 23 behavior but use
10799 window-normalize-buffer-to-display.
10800 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10801 Restore Emacs 23 behavior but use
10802 window-normalize-buffer-to-switch-to.
10803 (pop-to-buffer-same-window): Rewrite.
10804 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10805 Rewrite using Emacs 23 options.
10807 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
10809 * net/tramp.el (tramp-root-regexp): Remove.
10810 (tramp-completion-file-name-regexp-unified)
10811 (tramp-completion-file-name-regexp-separate)
10812 (tramp-completion-file-name-regexp-url): Don't use leading volume
10813 letter on w32 systems. (Bug#5303, Bug#9311)
10814 (tramp-drop-volume-letter): Simplify definition.
10815 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10817 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10819 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10822 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10824 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
10826 2011-08-29 Juri Linkov <juri@jurta.org>
10828 * isearch.el (isearch-done): Don't display message "Mark saved"
10829 when arg `edit' is non-nil to prevent its flicker in the echo area.
10831 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10833 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10834 obsolete packages for deletion.
10836 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10838 * help-mode.el (help-mode-map): Add special-mode-map to parent.
10839 (help-mode): Derive help-mode from special-mode. Don't invoke
10840 view-mode from help-mode.
10841 (help-xref-override-view-map): Remove.
10842 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10843 view-mode is not used anymore.
10845 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10847 * server.el (server-port): Doc fix.
10849 * cus-theme.el (custom-theme-choose-mode): Inherit from
10850 special-mode (Bug#9124).
10851 (custom-theme-choose-mode-map): Add special-mode to parent.
10853 2011-08-28 Alan Mackenzie <acm@muc.de>
10855 * progmodes/cc-fonts.el
10856 (c-make-font-lock-BO-decl-search-function): New function.
10857 (c-basic-matchers-after - "Fontify the clauses after various
10858 keywords"): Extract the three keyword lists for the 3 erroneous
10859 constructs from the list of four, and use the new function above
10860 in place of an old one.
10862 2011-08-28 Deniz Dogan <deniz@dogan.se>
10864 * net/rcirc.el (rcirc-insert-prev-input)
10865 (rcirc-insert-next-input): Remove unused argument.
10867 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10869 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10871 2011-08-27 Alan Mackenzie <acm@muc.de>
10873 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10874 handle function pointer parameters properly.
10876 2011-08-27 Martin Rudalics <rudalics@gmx.at>
10878 * window.el (display-buffer-reuse-window): Fix case where
10879 selected window was reused with non-nil OTHER-WINDOW argument.
10882 2011-08-27 Deniz Dogan <deniz@dogan.se>
10884 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10885 oftc's NickServ messages.
10887 2011-08-27 Glenn Morris <rgm@gnu.org>
10889 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10891 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
10893 * emacs-lisp/package.el (package-install): Call package-initialize
10894 if called interactively.
10896 2011-08-26 Leo Liu <sdl.web@gmail.com>
10898 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10900 2011-08-25 Juri Linkov <juri@jurta.org>
10902 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10903 `search-whitespace-regexp' (bug#9364).
10905 2011-08-25 Juri Linkov <juri@jurta.org>
10907 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10908 `regexp-search-ring' to their global values to protect from
10909 updating by `read-from-minibuffer' (bug#9185).
10911 2011-08-25 Juri Linkov <juri@jurta.org>
10913 * textmodes/ispell.el (ispell-command-loop): Add newline
10914 at the end of the "Use option `i'..." line.
10916 2011-08-25 Juri Linkov <juri@jurta.org>
10918 * battery.el (display-battery-mode): If `battery-status-function'
10919 or `battery-mode-line-format' is nil, display the message and set
10920 `display-battery-mode' to nil (bug#9363).
10922 2011-08-25 Eli Zaretskii <eliz@gnu.org>
10924 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10925 bidi-string-mark-left-to-right; they are unnecessary now.
10927 2011-08-25 Deniz Dogan <deniz@dogan.se>
10929 * net/quickurl.el: Documentation typo fixes.
10931 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
10933 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10935 2011-08-25 Glenn Morris <rgm@gnu.org>
10937 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10939 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10940 (smtpmail-via-smtp): Handle nil response from smtp.
10942 2011-08-24 Juri Linkov <juri@jurta.org>
10944 * proced.el (proced-marked): Inherit from `error' instead of
10945 `font-lock-warning-face'.
10947 * ibuffer.el (ibuffer-marked-face): Change default face from
10948 `font-lock-warning-face' to `warning'.
10949 (ibuffer-deletion-face): Change default face from
10950 `font-lock-type-face' to `error'.
10952 * battery.el (battery-update): Use the face `error' instead of
10953 `font-lock-warning-face' (bug#6117).
10955 2011-08-24 Juri Linkov <juri@jurta.org>
10957 * faces.el (success): Change face color from "Green3" to
10958 "ForestGreen" on light background (bug#9353).
10960 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
10962 * window.el (quit-window): Rename from quit-restore-window.
10963 Use same arglist as old quit-window.
10964 (frame-auto-delete): Doc fix.
10966 * view.el (view-mode-exit): Use quit-window.
10968 2011-08-24 Juri Linkov <juri@jurta.org>
10970 * isearch.el (isearch-ring-adjust1): Start visiting previous
10971 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10972 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10973 for empty search string (when the last search string is reused
10974 automatically) to adjust the isearch ring to the last element and
10975 prepare the correct index for further M-p commands (bug#9185).
10977 2011-08-24 Kenichi Handa <handa@m17n.org>
10979 * international/ucs-normalize.el: If decomposition property of
10980 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10982 (nfd, nfkd): Likewise.
10984 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10986 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10987 from process filters aren't reliably transmitted to the surrounding
10988 accept-process-output.
10989 (mpc-proc-check): New function.
10990 (mpc-proc-sync): Use it (bug#8293)
10992 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10994 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10995 Add compatibility functions (bug#9313).
10997 2011-08-23 Eli Zaretskii <eliz@gnu.org>
10999 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11001 * international/uni-bidi.el: Regenerate.
11003 2011-08-23 Kenichi Handa <handa@m17n.org>
11005 * international/charprop.el:
11006 * international/uni-bidi.el:
11007 * international/uni-category.el:
11008 * international/uni-combining.el:
11009 * international/uni-comment.el:
11010 * international/uni-decimal.el:
11011 * international/uni-decomposition.el:
11012 * international/uni-digit.el:
11013 * international/uni-lowercase.el:
11014 * international/uni-mirrored.el:
11015 * international/uni-name.el:
11016 * international/uni-numeric.el:
11017 * international/uni-old-name.el:
11018 * international/uni-titlecase.el:
11019 * international/uni-uppercase.el: Regenerate.
11021 2011-08-23 Martin Rudalics <rudalics@gmx.at>
11023 * help.el (help-window-setup): Fix message displayed when other
11024 window is reused. (Bug#9341)
11026 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11028 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11029 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11031 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11033 * shell.el (shell-parse-pcomplete-arguments): New function.
11034 (shell-completion-vars): Use it instead (bug#9160).
11036 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11038 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11039 strings and comments (bug#9333).
11041 * emacs-lisp/debug.el (debug-arglist): New function.
11042 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11043 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11045 2011-08-22 Juri Linkov <juri@jurta.org>
11047 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11048 Revert regexp that highlights output switches to its old
11049 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11051 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11052 to check for empty output (bug#9226).
11054 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
11056 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11057 symbol-constituent as the default, as that stops font-lock from
11058 working properly (Bug#8843).
11060 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11062 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11063 `coding-system-for-*' around the process open call to avoid
11064 auth-source side effects.
11065 (smtpmail-try-auth-methods): Expand the secret password.
11066 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11069 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
11071 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11073 * emacs-lisp/find-func.el (find-function-noselect): New arg
11076 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11077 signal an error for built-in functions (Bug#6664).
11079 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11081 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11082 (smtpmail-try-auth-methods): Use it.
11084 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
11086 * font-lock.el (font-lock-fontify-region)
11087 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11088 (font-lock-default-unfontify-buffer)
11089 (font-lock-default-fontify-region)
11090 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11092 * progmodes/compile.el (compilation-error-properties):
11093 Fix confusion between file struct and message struct (Bug#9319).
11094 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11097 * net/browse-url.el (browse-url-firefox): Don't call
11098 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11100 2011-08-20 Glenn Morris <rgm@gnu.org>
11102 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11104 * tutorial.el (tutorial--default-keys): Update some default bindings.
11106 * files.el (hack-local-variables): Fully ignore case for "mode:".
11108 2011-08-20 Alan Mackenzie <acm@muc.de>
11110 Resolve invalid use of a regexp in regexp-opt.
11112 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11113 detection for a java annotation.
11115 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
11116 detection for a java annotation.
11118 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11120 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11122 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
11124 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11127 2011-08-20 Alan Mackenzie <acm@muc.de>
11129 Fontify CPP expressions correctly when starting in the middle of
11130 such a construct. Mainly for when jit-lock etc. starts a chunk
11133 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
11135 (c-make-font-lock-search-form): New function, extracted from
11136 c-make-font-lock-search-function.
11137 (c-make-font-lock-search-function): Use the above function.
11138 (c-make-font-lock-context-search-function): New function.
11139 (c-cpp-matchers): Enhance the preprocessor expression case with
11141 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11142 which takes an expression.
11144 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11146 2011-08-20 Martin Rudalics <rudalics@gmx.at>
11148 * window.el (display-buffer-reuse-window)
11149 (display-buffer-pop-up-window): Don't reuse or split a side
11152 2011-08-19 Glenn Morris <rgm@gnu.org>
11154 * files.el (hack-local-variables-prop-line, hack-local-variables):
11155 Downcase "Mode:". (Bug#9331)
11157 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
11159 * international/characters.el: Add L and R categories.
11161 * subr.el (bidi-string-mark-left-to-right): Rename from
11162 string-mark-left-to-right. Use category search.
11164 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11166 2011-08-18 Juri Linkov <juri@jurta.org>
11168 * faces.el (error, warning, success): New faces with definitions
11169 copied from old default values of `font-lock-warning-face',
11170 `compilation-warning', `compilation-info' (bug#6117).
11172 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11174 * progmodes/compile.el (compilation-error): Inherit from `error'.
11175 (compilation-warning): Inherit from `warning'.
11176 (compilation-info): Inherit from `success'.
11178 * dired.el (dired-marked): Inherit from `warning'.
11179 (dired-flagged): Inherit from `error'.
11181 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11183 * mail/smtpmail.el (auth-source): Require to avoid problems with
11184 binding variables (bug#9298). Also clean up some unused
11187 * net/network-stream.el (network-stream-open-starttls):
11188 Support using starttls.el without using gnutls-cli.
11190 2011-08-17 Juri Linkov <juri@jurta.org>
11192 * progmodes/grep.el (rgrep): Handle the case when
11193 `grep-find-command' is a cons cell (bug#9278).
11195 2011-08-17 Martin Rudalics <rudalics@gmx.at>
11197 * window.el (display-buffer-pop-up-frame): Run frame creation
11198 function with BUFFER current (as special-display-popup-frame
11199 does). Reported by Drew Adams.
11201 2011-08-17 Daiki Ueno <ueno@unixuser.org>
11203 * epa-mail.el: Simplify GnuPG group expansion using
11205 (epa-mail-group-alist, epa-mail-group-modtime)
11206 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11207 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11208 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11211 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
11213 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11215 2011-08-16 Alan Mackenzie <acm@muc.de>
11217 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11218 Correct, to avoid the inside of macros.
11220 2011-08-16 Richard Stallman <rms@gnu.org>
11222 * epa-mail.el: Handle GnuPG group definitions.
11223 (epa-mail-group-alist, epa-mail-group-modtime)
11224 (epa-mail-gnupg-conf-file): New variables.
11225 (epa-mail-parse-groups, epa-mail-sync-groups)
11226 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11227 (epa-mail-expand-recipients): New functions.
11228 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11230 * mail/rmail.el (rmail-epa-decrypt): New command.
11232 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11233 Don't bind buffer-read-only, just inhibit-read-only.
11234 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11235 (epa-decrypt-armor-in-region): Make error message clearer.
11237 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11239 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11240 and "a2b" to "ab" for `prefix'.
11242 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
11244 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11246 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11247 Fourquet (Bug#8804).
11249 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
11251 * startup.el (argi): Declare as global variable (bug#9275).
11253 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
11255 * subr.el (string-mark-left-to-right): Search the entire string
11256 for RTL script, not just the terminating character. Doc fix.
11258 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11260 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11262 (js--regexp-literal, js-syntax-propertize-function): Remove.
11263 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11264 (js-mode-map): Don't rebind electric keys.
11265 (js-insert-and-indent): Remove.
11266 (js-mode): Setup electric-layout and electric-indent instead.
11268 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11270 2011-08-12 Daiki Ueno <ueno@unixuser.org>
11272 * epa.el (epa-progress-callback-function): Fix the logic of
11273 displaying progress.
11274 * epa-file.el (epa-file-insert-file-contents): Make progress
11275 display more user-friendly.
11276 (epa-file-write-region): Ditto.
11278 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
11280 * subr.el (string-mark-left-to-right): New function.
11282 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11283 Use string-mark-left-to-right.
11284 (list-buffers-noselect): Caller changed.
11286 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11287 Use string-mark-left-to-right.
11288 (tabulated-list-print): Recenter after moving point.
11290 2011-08-10 Juri Linkov <juri@jurta.org>
11292 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11293 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11294 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11296 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
11298 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11301 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11303 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11304 character. (Bug#6594)
11306 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
11308 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11309 (image-dired--with-db-file): New macro.
11310 (image-dired-write-tags, image-dired-remove-tag)
11311 (image-dired-create-gallery-lists, image-dired-write-comments)
11312 (image-dired-get-comment, image-dired-mark-tagged-files)
11313 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11314 (image-dired-gallery-generate): Use insert-file-contents.
11316 * time.el (display-time-world-list, display-time-world-display):
11317 * time-stamp.el (time-stamp-string):
11318 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11319 set-time-zone-rule (Bug#7337).
11321 2011-08-08 Daiki Ueno <ueno@unixuser.org>
11323 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11324 (epg-error-to-string, epg-errors-to-string): New function.
11325 (epg-wait-for-completion): Reverse errors list.
11326 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11327 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11328 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11329 (epg-sign-keys, epg-generate-key-from-file)
11330 (epg-generate-key-from-string): Format errors by using
11331 epg-errors-to-string (bug#9255).
11332 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11334 2011-08-07 Juri Linkov <juri@jurta.org>
11336 * faces.el (list-faces-display): Remove extra angle bracket
11337 from `help-mode-map'.
11339 * info.el (Info-history-toc-nodes): Doc fix.
11341 * longlines.el (longlines-mode): Doc fix.
11343 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11345 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11346 of statements and in a few more cases (bug#9183).
11348 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11350 (cl-transform-lambda): Use them (bug#9239).
11352 2011-08-05 Martin Rudalics <rudalics@gmx.at>
11354 * window.el (display-buffer-same-window)
11355 (display-buffer-same-frame, display-buffer-other-window)
11356 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11357 (pop-to-buffer-other-window)
11358 (pop-to-buffer-same-frame-other-window)
11359 (pop-to-buffer-other-frame): Make them defuns.
11360 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11362 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11364 * subr.el (make-composed-keymap): Move from C. Change calling
11365 convention, and improve docstring to bring attention to a subtle point.
11366 * minibuffer.el (completing-read-default): Adjust accordingly.
11368 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
11370 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11371 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11373 * net/trampver.el: Update release number.
11375 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11377 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11380 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11382 * mail/sendmail.el (sendmail-query-once): Restore the current
11383 buffer after querying (bug#9074).
11385 * dired.el (dired-flagged): Use different faces for marked and
11386 flagged files (bug#6117).
11388 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11391 * ido.el (ido-mode): Switch off the message if called
11394 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11395 before 587, since it appears that that's more likely to work for
11398 * cus-edit.el (custom-file): When running under emacs -q, always
11399 refuse to save the customizations, even if the .emacs file doesn't
11402 * info.el: Remove the `Info-beginning-of-buffer' function
11405 * net/network-stream.el (network-stream-open-starttls):
11406 Use `starttls-available-p' to see whether starttls.el can be used.
11408 2011-08-01 Martin Rudalics <rudalics@gmx.at>
11410 * window.el (display-buffer-in-window): Don't set dedicated status
11411 of window here (Bug#9215).
11412 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11413 (display-buffer-pop-up-side-window)
11414 (display-buffer-in-side-window): Set dedicated status of window here.
11416 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11418 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11419 before binding generated-autoload-file.
11421 2011-08-01 Deniz Dogan <deniz@dogan.se>
11423 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11425 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
11427 Sync with Tramp 2.2.2.
11429 * net/trampver.el: Update release number.
11431 2011-07-30 Juri Linkov <juri@jurta.org>
11433 * dired-aux.el (dired-touch-initial): Remove function.
11434 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11435 current time, and `default' to the last modification time of the
11436 current marked file (bug#6887).
11438 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11440 * simple.el (goto-line): Use string-to-number to provide a
11441 numeric argument to read-number (bug#9163).
11443 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
11445 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11446 connection process, it could be nil.
11448 2011-07-27 Leo Liu <sdl.web@gmail.com>
11450 Simplify url handling in rcirc-mode.
11452 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11453 (rcirc-browse-url-at-mouse): Remove.
11454 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11456 2011-07-26 Alan Mackenzie <acm@muc.de>
11458 Fontify bitfield declarations properly.
11460 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11461 (c-symbol-chars): Now exported as a lang variable.
11462 (c-not-primitive-type-keywords): New lang variable.
11464 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11465 QT keyword "more" to prevent "more slots: ...." being spuriously
11466 parsed as a bitfield declaration.
11468 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11469 Refactor and enhance to handle bitfield declarations.
11470 (c-punctuation-in): New function.
11471 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11472 declarations properly.
11474 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
11476 * calendar/icalendar.el (icalendar--all-events): Take care of
11477 multiple vcalendars in a single file.
11478 (icalendar--convert-float-to-ical): Checkdoc fixes.
11480 2011-07-25 Deniz Dogan <deniz@dogan.se>
11482 * image.el (insert-image): Clarifying docstring.
11484 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
11486 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11487 `tramp-send-command-and-check' if there is no error.
11488 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11490 2011-07-22 Alan Mackenzie <acm@muc.de>
11492 Prevent cc-langs.elc being loaded at run time.
11494 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11497 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
11498 "(require 'cc-langs)". Quote a form so it will evaluate at
11499 (cc-mode's) compilation time.
11501 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
11503 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11504 loading. (Bug#9114)
11506 2011-07-21 Martin Rudalics <rudalics@gmx.at>
11508 * window.el (display-buffer-pop-up-window)
11509 (display-buffer-pop-up-side-window)
11510 (display-buffer-in-side-window): Call display-buffer-set-height
11511 and display-buffer-set-width after setting the new window's
11512 buffer so `fit-window-to-buffer' and friends work on the right buffer.
11514 2011-07-20 Sam Steingold <sds@gnu.org>
11516 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11517 (etags-tags-included-tables): Call `convert-standard-filename' on
11518 the file names contained in TAGS so that windows Emacs can handle
11519 TAGS files created by cygwin ctags.
11521 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11523 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11524 which apparently didn't work.
11526 2011-07-19 Roland Winkler <winkler@gnu.org>
11528 * proced.el (proced-send-signal): For *Marked Processes* buffer
11529 put point at beginning of buffer.
11531 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
11533 * proced.el (proced-format): Make header lines align with the text
11536 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11538 * view.el (view-buffer): Allow running in `special' modes if we're
11539 visiting a file (bug#8615).
11541 2011-07-19 Martin Rudalics <rudalics@gmx.at>
11543 * window.el (display-buffer-alist-of-strings-p)
11544 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11546 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11549 2011-07-18 Alan Mackenzie <acm@muc.de>
11551 Fontify declarators properly when, e.g., a jit-lock chunk begins
11552 inside a declaration.
11554 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11556 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11558 (c-complex-decl-matchers): Insert reference to
11559 c-font-lock-enclosing-decls.
11561 * progmodes/cc-engine.el (c-backward-single-comment):
11562 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11563 to nil around calls to (forward-comment -1).
11565 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11567 * image.el (put-image): Doc typo fix.
11569 * progmodes/etags.el (tags-search): Doc typo fix.
11571 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11572 password if we get errors 550 to 554.
11574 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11576 * net/gnutls.el (gnutls-log-level): Remove.
11578 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11579 indentation character (bug#6380).
11581 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11583 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11584 to clarify what the problem is (bug#4291).
11586 * simple.el (current-kill): Clarify what
11587 `interprogram-paste-function' does (bug#7500).
11588 (auto-fill-mode): Document `auto-fill-function' in relation to
11589 `auto-fill-mode' (bug#2470).
11591 2011-07-16 Lawrence Mitchell <wence@gmx.li>
11593 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11594 method if slot is read-only (bug#9035).
11596 2011-07-16 Martin Rudalics <rudalics@gmx.at>
11598 * frame.el (select-frame-set-input-focus): New argument NORECORD.
11599 * window.el (pop-to-buffer): Select window used even if it was
11600 selected before, see discussion of (Bug#8615), (Bug#6954).
11601 Pass argument NORECORD on to select-frame-set-input-focus.
11603 2011-07-15 Glenn Morris <rgm@gnu.org>
11605 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
11608 2011-07-09 Lawrence Mitchell <wence@gmx.li>
11610 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11611 (gnutls-negotiate): Use it.
11613 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11615 * net/gnutls.el (gnutls-negotiate):
11616 Upcase `gnutls-algorithm-priority'.
11618 2011-07-15 Glenn Morris <rgm@gnu.org>
11620 * jka-compr.el (jka-compr-verbose): Move from here...
11621 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11622 Add missing :version tag.
11623 * info.el: No need to require jka-compr when compiling.
11625 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11627 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11628 (gnutls-negotiate): Use it.
11630 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11632 * info.el (Info-beginning-of-buffer): New command.
11633 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11634 announcing `b' as the key (bug#8325).
11635 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
11637 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11639 * international/mule-cmds.el
11640 (describe-specified-language-support): Make the error message
11641 clearer (bug#8905).
11643 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11645 * isearch.el (isearch-barrier): Add a doc string, since it's
11646 mentioned in a function doc string (bug#8678).
11648 2011-07-15 Martin Rudalics <rudalics@gmx.at>
11650 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11651 buffer argument (Bug#9083) and self-identifying label argument.
11653 2011-07-15 Glenn Morris <rgm@gnu.org>
11655 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11657 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11659 * man.el (Man-fontify-manpage): Fix message when formatting the
11660 man page (bug#7929).
11662 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11664 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11665 argument LRM; if non-nil, append an invisible LRM character to the
11667 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11668 last argument non-nil, when formatting buffer names.
11669 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11670 paragraph direction.
11672 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11674 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11675 the man page name (bug#7929).
11677 * image.el (put-image): Mention the `put-image' overlay property
11680 * scroll-bar.el (set-scroll-bar-mode): Mention that
11681 `scroll-bar-mode' lists the values (bug#7772).
11683 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11684 command (bug#7729).
11686 * rect.el (apply-on-rectangle): Return the point after the last
11688 (string-rectangle): Go to the point after the last operation
11691 * printing.el (pr-toggle-region): Clarify the documentation
11692 slightly (bug#7493).
11694 * time.el (display-time-update):
11695 Allow `display-time-mail-function' to return nil (bug#7158).
11696 Fix suggested by Detlev Zundel.
11698 * vc/diff.el (diff): Clarify the order the file names are read
11701 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11702 the doc string (bug#7015).
11704 * font-lock.el (font-lock-maximum-decoration): Mention what
11705 numeric levels mean (bug#6935).
11707 * startup.el (initial-buffer-choice): Don't mention the `none'
11708 selection, which is against policy.
11710 2011-07-14 Martin Rudalics <rudalics@gmx.at>
11712 * window.el (display-buffer-normalize-special):
11713 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
11715 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11717 * subr.el (version<, version<=, version=): Mention "-CVS" and
11718 "-12345" alpha version numbers.
11720 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11722 * bindings.el: Add advertised binding for set-mark-command
11725 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11727 * bindings.el (mode-line-other-buffer):
11728 * bookmark.el (bookmark-bmenu-2-window):
11729 * bs.el (bs-cycle-next, bs-cycle-previous):
11730 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11733 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11736 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
11738 * follow.el (follow-debug-message, follow-redisplay):
11739 * jka-cmpr-hook.el (with-auto-compression-mode):
11740 Fix typos in docstrings.
11742 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11744 * subr.el (with-silent-modifications): Clarify somewhat what the
11745 macro inhibits (bug#6525).
11747 * simple.el (eval-expression): Note what it does if called
11748 interactively (bug#6495).
11750 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11752 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11753 Use pop-to-buffer buffer-or-name if it is nil.
11755 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11756 Remove switch-to-buffer.
11758 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11760 * files.el (make-directory): Clarify that an error will be raised
11761 if there's an error (bug#6397).
11763 * startup.el (initial-buffer-choice): Add `none' as a choice
11766 * subr.el (add-hook): Clarify section about buffer-local hooks
11769 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11771 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11773 * tabify.el (untabify): Preserve the current column so that point
11774 doesn't move (bug#6032).
11776 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11778 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11779 Rewrite to avoid awkward possessive "s" (bug#5986).
11781 2011-07-13 Glenn Morris <rgm@gnu.org>
11783 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11784 (dired-insert-directory): Give a message the first time
11785 if ls is found not to support --dired.
11787 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11789 * simple.el (toggle-truncate-lines): Clarify what is toggled
11790 (bug#5580). Text by Drew Adams.
11792 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11794 * simple.el (blink-matching-open): Make the error message from the
11795 last change less verbose.
11797 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11799 * font-lock.el (font-lock-comment-face): Use the high contrast
11800 "yellow" color for font-lock-comment-face on low color terminals
11801 using a dark background color (bug#4221).
11803 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11805 * dired.el (dired-insert-set-properties): Make the doc string
11806 reflect what it does now (bug#5325).
11808 * simple.el (blink-matching-open): Say that we were unable to find
11809 the match within the limit, if we're limited (bug#5122).
11811 * international/mule-cmds.el (prefer-coding-system): Add an
11812 example (bug#4869).
11814 * progmodes/etags.el (tags-search): Document `file-list-form'
11817 2011-07-13 Lawrence Mitchell <wence@gmx.li>
11819 * net/browse-url.el (browse-url-default-browser)
11820 (browse-url-browser-function): Make the default browser choice a
11821 bit more logical (bug#4300). Also clean up the doc string.
11823 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11825 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11826 binary endings (bug#4440).
11828 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11830 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11831 which can be pretty annoying (bug#8971).
11833 * jka-compr.el (jka-compr-verbose): New variable, and use
11834 throughout (bug#8971).
11836 * info.el (Info-find-file): Fall back on the installation
11837 directory if we can't find the info node anywhere else.
11839 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11841 * vc/vc.el (vc-revert-file):
11842 Don't set file time-stamp in the past. (Bug#5181)
11844 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11846 * files.el (after-find-file): Give a better error message when
11847 trying to find a symlink that points to a file that doesn't exist
11850 * progmodes/cc-vars.el: Remove (probably) misleading comment
11853 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11855 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11857 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11859 * mouse-sel.el: Hack restoring functionality, while keeping
11860 compatibility with 2010-07-03 changes to mouse selection.
11861 (mouse-sel-primary-overlay): New var.
11862 (mouse-sel-selection-alist): Use it.
11863 (mouse-sel-mode): Doc fix; remove points that are default features
11866 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11868 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11869 Fix previous fix (bug#2490).
11871 2011-07-12 Roland Winkler <winkler@gnu.org>
11873 * textmodes/bibtex.el (bibtex-initialize):
11874 Use pop-to-buffer-same-window.
11875 (bibtex-search-entries): Fix interactive call.
11877 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11879 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11880 Fontise bytecomp Error lines more correctly (bug#2490).
11881 Fix suggested by Johan Bockgård.
11883 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11885 * dired-x.el (dired-guess-default): Use `delete-dups'.
11887 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11889 * dired.el (dired-mark-prompt):
11890 * dired-aux.el (dired-read-shell-command): Doc fix.
11892 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11894 * mail/sendmail.el (sendmail-query-once):
11895 Use `customize-save-variable' unconditionally, now that it works under
11898 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11900 * cus-edit.el (custom-file): Take an optional no-error variable.
11901 (customize-save-variable): Set the variable, and give a warning if
11902 running under "emacs -q".
11904 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
11906 * loadhist.el (unload-feature-special-hooks):
11907 Add `auto-coding-functions', `fill-nobreak-predicate' and
11908 `find-directory-functions' (bug#5327).
11910 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11912 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11914 * cus-edit.el (custom-guess-name-alist): -alist variables should
11915 use the `alist' type (bug#3120). Suggested by Drew Adams.
11917 * printing.el: Add documentation to all the `pr-toggle-' commands.
11919 2011-07-11 Leo Liu <sdl.web@gmail.com>
11921 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11922 backends where it makes sense (bug#2623).
11924 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11926 * dired-x.el (dired-guess-default): Remove duplicate shell command
11927 entries (bug#2028).
11928 (dired-guess-default): Fix grammar in doc string (bug#2028).
11929 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
11931 * subr.el (remove-duplicates): New conveniency function.
11933 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11935 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11938 2011-07-10 Martin Rudalics <rudalics@gmx.at>
11940 * window.el (display-buffer-normalize-default): Don't invert
11941 meaning of even-window-heights. Reported by Eli Zaretskii
11944 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11946 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11948 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
11950 * window.el (display-buffer): Fix arguments to
11951 display-buffer-reuse-window in last change.
11953 * faces.el (link): Use a less saturated blue on light backgrounds.
11955 * startup.el (fancy-startup-text, fancy-about-text)
11956 (fancy-startup-tail): Use font-lock faces, for background safety.
11958 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11960 * emulation/viper-cmd.el (viper-change-state-to-vi):
11961 Limit triggering of abbrev expansion (Bug#9038).
11963 2011-07-09 Martin Rudalics <rudalics@gmx.at>
11965 * window.el (display-buffer-default-specifiers): Remove.
11966 (display-buffer-macro-specifiers): Remove default specifiers.
11967 (display-buffer-alist): Default to nil.
11968 (display-buffer-reuse-window): New optional argument other-window.
11969 (display-buffer-pop-up-window): Allow splitting internal
11970 windows. Check whether a live window was created.
11971 (display-buffer-other-window-means-other-frame)
11972 (display-buffer-normalize-arguments): Rename to
11973 display-buffer-normalize-argument and rewrite. Set the
11974 other-window specifier.
11975 (display-buffer-normalize-special): New function.
11976 (display-buffer-normalize-options): Rename to
11977 display-buffer-normalize-default and rewrite.
11978 (display-buffer-normalize-options-inhibit): Remove.
11979 (display-buffer-normalize-specifiers): Rewrite.
11980 (display-buffer): Process other-window specifier and call
11981 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11983 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
11984 (display-buffer-alist-set): Don't handle 'unset default values.
11985 (display-buffer-in-window, display-buffer-alist-set):
11986 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
11987 <tassilo@member.fsf.org>.
11989 2011-07-09 Leo Liu <sdl.web@gmail.com>
11991 * register.el (insert-register): Restore accidental change on
11992 2011-06-26. (Bug#9028)
11994 2011-07-09 Glenn Morris <rgm@gnu.org>
11996 * subr.el (remq): Handle the empty list. (Bug#9024)
11998 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12000 * mail/sendmail.el (send-mail-function): No longer delay custom
12002 * custom.el (custom-initialize-delay): Doc fix.
12004 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12006 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12008 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
12010 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12011 human-friendly prompt.
12013 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12015 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12016 provided by a particular plugin.
12018 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12020 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12021 save customizations (with "emacs -Q"), just set the variable
12022 instead of erroring out.
12024 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12026 2011-07-08 Juri Linkov <juri@jurta.org>
12028 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12029 (archive-zip-update-case): Use 7z if found by `executable-find'.
12030 The order of searching the available programs is the same as in
12031 `archive-zip-extract' (bug#8968).
12033 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12035 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12036 (menu-bar-options-menu): Tweak descriptions.
12038 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12040 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12041 menu items into verb phrases (bug#1421). Also refill to fit under
12044 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12046 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12047 (Info-read-node-name): Doc fix (Bug#1084).
12049 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12050 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12051 (end-of-sexp, beginning-of-sexp)
12052 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12053 (forward-symbol, forward-same-syntax, word-at-point)
12054 (sentence-at-point): Doc fix (Bug#1144).
12056 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12058 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12059 should cover it (bug#1281).
12061 * cus-edit.el (custom-show): Mark as obsolete.
12063 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12064 negotiation fails, then possibly try again with a non-encrypted
12065 connection (bug#9017).
12067 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12070 2011-07-07 Richard Stallman <rms@gnu.org>
12072 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12073 property, and handle its changed format.
12074 Look for the correct line number.
12075 Use file's line contents (but not past first =) to find
12076 correct line in message.
12078 2011-07-07 Kenichi Handa <handa@m17n.org>
12080 * international/characters.el (build-unicode-category-table):
12082 (unicode-category-table): Set it by unicode-property-table-internal.
12084 * international/mule-cmds.el (char-code-property-alist): Move to
12086 (get-char-code-property): Call unicode-property-table-internal to
12087 load a file. Call get-unicode-property-internal where necessary.
12088 (put-char-code-property): Call unicode-property-table-internal to
12089 load a file. Call put-unicode-property-internal where necessary.
12090 put-unicode-property-internal where necessary.
12091 (char-code-property-description):
12092 Call unicode-property-table-internal to load a file.
12094 * international/charprop.el:
12095 * international/uni-bidi.el:
12096 * international/uni-category.el:
12097 * international/uni-combining.el:
12098 * international/uni-comment.el:
12099 * international/uni-decimal.el:
12100 * international/uni-decomposition.el:
12101 * international/uni-digit.el:
12102 * international/uni-lowercase.el:
12103 * international/uni-mirrored.el:
12104 * international/uni-name.el:
12105 * international/uni-numeric.el:
12106 * international/uni-old-name.el:
12107 * international/uni-titlecase.el:
12108 * international/uni-uppercase.el: Regenerate.
12110 * loadup.el: Load international/charprop.el before
12111 international/characters.
12113 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12115 * window.el (next-buffer, previous-buffer): Signal an error if
12116 called from a minibuffer window.
12118 * bindings.el: Revert 2011-07-04 change.
12120 2011-07-06 Richard Stallman <rms@gnu.org>
12122 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12123 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12124 Treat markers like ints.
12125 (rmail-mime-entity): Doc fix.
12127 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12129 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12130 defcustom again for backwards compatibility.
12132 * simple.el (shell-command-on-region): Fill.
12134 * dired-aux.el (dired-kill-line): Add a doc string.
12136 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12137 to "\\sw\\|\\s_" (bug#358).
12139 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12140 (dired-unmark-backward): Ditto.
12141 (dired-flag-backup-files): Ditto.
12143 * dired-x.el (dired-mark-sexp): Ditto.
12145 2011-07-06 Richard Stallman <rms@gnu.org>
12147 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12148 (rmail-mime-entity): New arg TRUNCATED.
12149 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12151 (rmail-mime-save): Warn if entity is truncated.
12152 (rmail-mime-toggle-hidden): Likewise, for showing.
12153 (rmail-mime-process-multipart): Record when an entity is truncated.
12155 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12156 if ENTITY is a string.
12158 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12160 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
12161 of faces when `M-C-x'-ing their definitions (bug#8378).
12162 Also clean up the code slightly.
12164 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
12165 because that makes the colors go away.
12167 * mail/sendmail.el (send-mail-function): Change the default to
12168 `sendmail-query-once'.
12169 (sendmail-query-once): Add an autoload cookie.
12171 * net/network-stream.el (network-stream-open-starttls): Try using
12172 a plain connection even if the server offered STARTTLS, and we
12173 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12174 capability. This should make smtpmail.el work in slightly more
12177 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
12179 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12181 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12183 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12185 * progmodes/sql.el: Version 3.0
12186 (sql-product-alist): Add product :completion-object,
12187 :completion-column, and :statement attributes.
12188 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
12189 (sql-mode-syntax-table): Mark all punctuation.
12190 (sql-font-lock-keywords-builder): Temporarily remove fallback on
12192 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
12193 (sql-mode-oracle-font-lock-keywords): Improve.
12194 (sql-oracle-show-reserved-words): New function for development.
12195 (sql-product-font-lock): Simplify for source code buffers.
12196 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12198 (sql-highlight-product): Set product specific syntax table.
12199 (sql-mode-map): Add statement movement functions.
12200 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12202 (sql-statement-regexp, sql-beginning-of-statement)
12203 (sql-end-of-statement, sql-signum): New functions.
12204 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
12205 (sql-show-sqli-buffer): Bug fix.
12206 (sql-interactive-mode): Store connection data as buffer local.
12207 (sql-connect): Add NEW-NAME parameter. Redesign interaction
12208 with sql-interactive-mode.
12209 (sql-save-connection): Save buffer local settings.
12210 (sql-connection-menu-filter): Change menu entry name.
12211 (sql-product-interactive): Bug fix.
12212 (sql-preoutput-hold): New variable.
12213 (sql-interactive-remove-continuation-prompt): Bug fixes.
12214 (sql-debug-redirect): New variable.
12215 (sql-str-literal): New function.
12216 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
12218 (sql-oracle-save-settings, sql-oracle-restore-settings)
12219 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12220 (sql-completion-object, sql-completion-column)
12221 (sql-completion-sqlbuf): New variables.
12222 (sql-build-completions-1, sql-build-completions)
12223 (sql-try-completion): New functions.
12224 (sql-read-table-name): Use them.
12225 (sql-contains-names): New buffer local variable.
12226 (sql-list-all, sql-list-table): Use it.
12227 (sql-oracle-completion-types): New variable.
12228 (sql-oracle-completion-object, sql-sqlite-completion-object)
12229 (sql-postgres-completion-object): New functions.
12231 2011-07-06 Glenn Morris <rgm@gnu.org>
12233 * window.el (pop-to-buffer): Doc fix.
12235 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
12237 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12239 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
12241 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
12243 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
12245 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
12247 * button.el (button): Inherit from link face. Suggested by Dan
12250 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12252 * progmodes/gdb-mi.el: Fit in 80 columns.
12253 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12256 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12257 if imenu is simply not configured (bug#8941).
12259 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12261 * allout.el (allout-post-undo-hook): New allout outline-change
12262 event hook to signal undo activity.
12263 (allout-post-command-business): Run allout-post-undo-hook if an
12264 undo just occurred.
12265 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12266 * allout-widgets.el (allout-widgets-after-undo-function):
12267 Ensure the integrity of the current item's decoration after it has been
12268 in the vicinity of an undo.
12269 (allout-widgets-mode): Include allout-widgets-after-undo-function
12270 on the new allout-post-undo-hook.
12272 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12274 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12275 Let define-derived-mode define it.
12276 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12277 cycles of abbrev-table inheritance (bug#8998).
12279 2011-07-05 Roland Winkler <winkler@gnu.org>
12281 * textmodes/bibtex.el: Add support for biblatex.
12282 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12283 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12284 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12285 (bibtex-entry-alist, bibtex-field-alist): New variables.
12286 (bibtex-entry-field-alist): Obsolete alias for
12287 bibtex-BibTeX-entry-alist.
12288 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12289 (bibtex-set-dialect): New command.
12290 (bibtex-entry-type, bibtex-entry-head)
12291 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12292 Bind via bibtex-set-dialect.
12293 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12294 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12295 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12296 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12297 Define via bibtex-set-dialect.
12298 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12299 Obey bibtex-no-opt-remove-re.
12300 (bibtex-vec-push, bibtex-vec-incr): New functions.
12301 (bibtex-format-entry, bibtex-field-list)
12302 (bibtex-print-help-message, bibtex-validate)
12303 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12305 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12307 * progmodes/compile.el (compilation-goto-locus):
12308 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12309 * bs.el (bs-cycle-next, bs-cycle-previous):
12310 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12311 * bindings.el (mode-line-other-buffer):
12312 * autoinsert.el (auto-insert):
12313 * arc-mode.el (archive-extract):
12314 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12316 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12318 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12319 Fix check of `emacs-lock-unlockable-modes'.
12320 Coerce true values of `emacs-lock--try-unlocking' to t.
12322 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12324 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12325 * emacs-lock.el: New file.
12327 2011-07-05 Julien Danjou <julien@danjou.info>
12329 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12330 than `boundp' to check if face is set.
12332 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12334 * register.el (registerv-make):
12335 * window.el (window-min-height): Fix typos in docstrings.
12337 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12339 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
12342 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12344 * server.el (server-execute): Catch quit and call
12345 `server-return-error' to pass the error back to emacsclient and
12346 close the connection (bug#8942).
12348 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12350 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12351 insecure exception for current topic. Also note that auto-saves
12352 are handled differently.
12354 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
12355 State variables for tracking auto-save inhibition situation.
12357 (allout-write-contents-hook-handler): Rename from
12358 'allout-write-file-hook-handler', and describe how it depends on
12359 write-contents-functions sensitivity to non-nil value to prevent
12362 (allout-auto-save-hook-handler): Remove. auto-save does not check
12363 this in individual buffers, only in the starting buffer, so this
12364 is not the right way for us to inhibit auto-save in a buffer
12365 according to its condition.
12367 (allout-mode): Use new allout-write-contents-hook-handler, and
12368 only with write-contents-functions. Remove auto-save provisions -
12369 they're implemented elsewhere.
12371 (allout-before-change-handler): If undo is in progress, note that
12372 for attention of allout-post-command-business.
12374 (allout-post-command-business): If the command we're following was
12375 an undo, check for change in the status of encrypted items and
12376 adjust auto-save inhibitions accordingly.
12378 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12379 according to whether there are or aren't any plain-text topics
12380 pending encryption.
12382 (allout-inhibit-auto-save-info-for-decryption):
12383 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12384 if there are plain-text topics pending encryption.
12386 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12387 buffer-saved-size and some allout state to not inhibit auto-saves
12388 if there are no longer any plain-text topics pending encryption.
12390 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12391 No longer provide for exemption of the current topic.
12393 2011-07-04 Juri Linkov <juri@jurta.org>
12395 Add 7z operations to delete and save changed members (bug#8968).
12396 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12398 (archive-7z-write-file-member): New function.
12399 (archive-7z-summarize): Fix the number of dashes in the
12402 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12404 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12407 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
12409 * bindings.el: Ignore next-buffer and previous-buffer in
12410 minibuffer-local-map.
12412 * font-lock.el (font-lock-builtin-face): Change light background
12413 color to dark slate blue (Bug#6693).
12415 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12417 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12419 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12421 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12422 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12423 Add switch-to-buffer.
12425 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12427 * isearch.el (isearch-search-fun-function): Clarify further the
12428 meaning of the function returned.
12430 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
12432 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12434 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12435 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12437 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12438 `tramp-default-remote-path' does not exist.
12439 (tramp-send-command-and-read): New optional argument NOERROR.
12440 (tramp-open-connection-setup-interactive-shell)
12441 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12442 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12443 (tramp-process-sentinel): Flush also process' connection property.
12444 (tramp-sh-handle-start-file-process): Do not set process
12445 sentinel. It is done now ...
12446 (tramp-maybe-open-connection): ... here. (Bug#8929)
12448 2011-07-04 MON KEY <monkey@sandpframing.com>
12450 * play/animate.el (animate-string): Doc fixes and allow changing
12451 the buffer name (bug#5417).
12453 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12455 * play/animate.el (animation-buffer-name): Rename from *animate*.
12457 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12459 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12460 This is simpler and helps future-proof the code.
12461 (timer-until): Use time-subtract and float-time.
12462 (timer--time-less-p): Use time-less-p.
12464 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12466 * type-break.el (timep): Use the value of `float-time' to avoid a
12467 byte-compiler warning.
12469 * server.el (server-eval-and-print): Return any result, even nil.
12471 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12473 * type-break.el: Accept time formats that the builtins accept.
12474 (timep, type-break-time-difference): Accept any format that
12475 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12476 This is simpler and helps future-proof the code.
12477 (type-break-time-difference): Round rather than ignoring
12478 subseconds components.
12480 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12482 * info.el (Info-apropos-matches): Make non-interactive, since it
12483 doesn't seem to do anything useful as a command (bug#8829).
12485 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
12487 * frame.el (frame-background-mode, frame-set-background-mode):
12488 Move from faces.el.
12489 (frame-default-terminal-background): New function.
12491 * custom.el (custom-push-theme): Don't record faces in `changed'
12492 theme; this doesn't work correctly for per-frame face settings.
12493 (disable-theme): Use face-set-after-frame-default to reset faces.
12494 (custom--frame-color-default): New function.
12496 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12498 * dired.el (dired-flagging-regexp): Remove unused variable
12501 2011-03-29 Kevin Ryde <user42@zip.com.au>
12503 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12504 `perl-Test2' extend to match possible "fail #N" rep count
12507 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12509 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12510 `smtpmail-via-smtp' now returns the error instead of nil.
12512 * isearch.el (isearch-search-fun-function): Clarify the doc string
12515 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
12517 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12518 unnecessary spaces (bug#8987).
12520 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12522 * net/network-stream.el (open-network-stream): Use the
12523 :end-of-capability command thoughout.
12525 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12527 * net/network-stream.el (open-network-stream): Add the
12528 :end-of-capability command parameter, used by pop3.el.
12530 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12532 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12534 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12535 for list)" (bug#6475).
12537 * files.el (file-expand-wildcards): Ignore non-readable
12538 sub-directories while trying to find matches instead of signaling
12539 an error (bug#6297).
12541 * man.el (Man-reference-regexp): Allow matching possible
12542 word-wrapped references (bug#6289).
12544 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12545 for consistency with the other vc buffers (bug#6197).
12546 (vc-checkin): Ditto.
12548 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12550 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12552 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12554 * custom.el (defcustom): Clarify that :set is only used in the
12555 Customize user interface (bug#6089).
12557 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12558 associated with a file, refuse to run instead of erroring out
12561 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12562 the doc string, since it appears that using `fill-column' always
12563 controls the width (bug#7845).
12565 * simple.el (shell-command-on-region): Say where the error output
12566 went if `shell-command-default-error-buffer' is set (bug#6857).
12568 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12570 * allout.el (allout-yank-processing): Adjust cursor position for
12571 backwards-deleted space.
12573 (allout-rebullet-heading): Register changes with
12574 allout-exposure-changed-hook, so the modified topic is properly
12577 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12579 * minibuffer.el (completion-in-region): Document PREDICATE
12582 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12583 of keyword/argument pairs (bug#6904).
12585 * replace.el (multi-occur):
12586 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
12588 2011-07-02 Drew Adams <drew.adams@oracle.com>
12590 * dired.el (dired-mark-if): Make the message about whether it's
12591 marking or unmarking clearer (bug#8523).
12593 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12595 * disp-table.el (display-table-print-array): New function.
12596 (describe-display-table): Use it to print the vectors more pretty
12599 2011-07-02 Martin Rudalics <rudalics@gmx.at>
12601 * window.el (window-state-get-1): Don't assign clone numbers.
12602 Add clone-of item to list of window parameters.
12603 (window-state-put-2): Don't process clone numbers.
12604 (display-buffer-alist): Fix doc-string.
12606 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12608 * subr.el (remq): Don't allocate if it's not needed.
12609 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12610 (keymap--merge-bindings): New functions.
12611 (keymap-canonicalize): Use them to refine the canonicalization.
12612 * minibuffer.el (minibuffer-local-completion-map)
12613 (minibuffer-local-must-match-map): Move initialization from C.
12614 (minibuffer-local-filename-completion-map): Move initialization from C;
12615 don't inherit from anything here.
12616 (minibuffer-local-filename-must-match-map): Make obsolete.
12617 (completing-read-default): Use make-composed-keymap to combine
12618 minibuffer-local-filename-completion-map with either
12619 minibuffer-local-must-match-map or
12620 minibuffer-local-filename-completion-map.
12622 2011-07-01 Glenn Morris <rgm@gnu.org>
12624 * type-break.el (type-break-time-sum): Use dolist.
12626 * textmodes/flyspell.el (flyspell-word-search-backward):
12627 Replace CL function.
12629 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12631 * mouse.el (mouse--strip-first-event): New function.
12632 (function-key-map): Use it to map fringe clicks to normal clicks
12635 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12636 (vc-bzr-revision-completion-table): Add support for annotate and date.
12638 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12639 inherit from parent.
12641 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12643 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
12644 (dired-show-file-type): Doc fixup (bug#8818).
12646 * dired.el (dired-mode): Fix up the doc string as suggested by
12647 Drew Adams (bug#8817).
12649 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12650 cookie, since the manual says that it should be possible to add
12651 this function to `find-file-hook' (bug#8709).
12653 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12655 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12656 here. Noted Ted Zlatanov as the maintainer.
12657 (cfengine-common-settings, cfengine-common-syntax): New functions
12658 to set up common things between `cfengine-mode' and
12660 (cfengine3-mode): New mode.
12661 (cfengine3-defuns cfengine3-defuns-regex
12662 (cfengine3-class-selector-regex cfengine3-category-regex)
12663 (cfengine3-vartypes cfengine3-font-lock-keywords)
12664 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
12665 (cfengine3-indent-line): Add from cfengine3.el.
12667 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
12669 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12671 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12673 2011-07-01 Martin Rudalics <rudalics@gmx.at>
12675 * window.el (same-window-buffer-names, same-window-regexps)
12676 (same-window-p, special-display-frame-alist)
12677 (special-display-popup-frame, special-display-function)
12678 (special-display-buffer-names, special-display-regexps)
12679 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12680 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12681 (split-window-preferred-function, split-height-threshold)
12682 (split-width-threshold, even-window-heights)
12683 (display-buffer-mark-dedicated, window-splittable-p)
12684 (split-window-sensibly, window-safely-shrinkable-p):
12686 (display-buffer): Don't spread args with function specifier
12687 because special-display-popup-frame won't like it.
12689 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12691 Time-stamp simplifications and fixes.
12692 These improve accuracy slightly, and future-proof the code
12693 against some potential changes to current-time format.
12695 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12696 by using time-since and float-time.
12698 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12699 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12700 + NNN microseconds".
12702 * type-break.el (type-break-time-sum): Rewrite using time-add.
12704 * play/hanoi.el (hanoi-current-time-float): Remove.
12705 All uses replaced by float-time.
12707 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12708 This yields a more-accurate answer.
12709 (rng-time-to-float): Remove; no longer needed.
12711 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12713 * calendar/timeclock.el (timeclock-seconds-to-time):
12714 Defalias to seconds-to-time, since they're the same thing.
12716 * emacs-lisp/elp.el (elp-elapsed-time):
12717 * emacs-lisp/benchmark.el (benchmark-elapse):
12718 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12720 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12722 * window.el (bury-buffer): Don't iconify the only frame.
12723 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12724 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12726 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
12728 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12729 Add mouse-yank-primary.
12731 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12733 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12735 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12737 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12738 (find-library-name): Use it to find relative load names when provided
12739 absolute file name (bug#8803).
12741 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12743 * textmodes/flyspell.el (flyspell-word): Consider words that
12744 differ only in case as potential doublons (bug#5687).
12746 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12747 Remove two rather uninteresting debugging-like messages to make
12748 debbugs.el more silent.
12750 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12751 a password-like phrase.
12753 2011-06-30 Masatake YAMATO <yamato@redhat.com>
12755 * progmodes/cc-guess.el: New file.
12757 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
12759 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12760 derived from `c-basic-common-init'.
12762 * progmodes/cc-mode.el (top-level): Require cc-guess.
12763 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12765 2011-06-30 Lawrence Mitchell <wence@gmx.li>
12767 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12769 2011-06-30 Alan Mackenzie <acm@muc.de>
12771 * progmodes/cc-engine.el (c-guess-continued-construct):
12772 Correct the handling of template-args-cont, particularly for when font
12773 lock is disabled. Name this case as "CASE G".
12775 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12777 * allout.el (allout-yank-processing): Fix injection of extra space
12778 between bullet and non-whitespace character in first topic when
12779 pasting, ensuring that the actual spacing in the pasted topic
12780 following the bullet char is preserved. This extra space was
12781 causing pasted encrypted topics to get a decrypted status even
12782 when the content was actually still encrypted. Now the decryption
12783 status from before the paste is preserved.
12785 (allout-flag-region): Set all allout overlays so they evaporate
12786 when reduced to zero length (evanescent), to prevent overlay
12789 2011-06-30 Glenn Morris <rgm@gnu.org>
12791 * w32-fns.el (w32-charset-info-alist): Declare.
12793 * find-dired.el (find-grep-options): Simplify.
12795 * term/ns-win.el (ns-set-resource): Declare.
12797 * ses.el (row, col): Declare dynamic variables honestly.
12799 * textmodes/reftex-parse.el (index-tags): Declare.
12801 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
12803 * cus-edit.el (customize-push-and-save): New function.
12805 * files.el (hack-local-variables-confirm): Use it.
12807 * custom.el (load-theme): New arg NO-CONFIRM.
12808 Use customize-push-and-save (Bug#8720).
12809 (custom-enabled-themes): Doc fix.
12811 * cus-theme.el (customize-create-theme)
12812 (custom-theme-merge-theme): Callers to load-theme changed.
12814 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12816 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12817 short URLs have at least one dot in them (bug #7614).
12819 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12820 nil, because using a pty is apparently too slow (bug #895).
12822 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12824 * mail/sendmail.el (sendmail-query-once): New function.
12825 (sendmail-query-once-function): New variable.
12827 2011-06-29 Glenn Morris <rgm@gnu.org>
12829 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12831 * ses.el (top-level): Require cl when compiling.
12832 (ses-set-localvars): Fix error statement.
12833 Call it at compile time to silence a storm of warnings.
12835 2011-06-29 Martin Rudalics <rudalics@gmx.at>
12837 * window.el (normalize-live-buffer): Rename to
12838 window-normalize-buffer.
12839 (normalize-live-frame): Rename to window-normalize-frame.
12840 (normalize-any-window): Rename to window-normalize-any-window.
12841 (normalize-live-window): Rename to window-normalize-live-window.
12842 (make-window-atom): Rename to window-make-atom.
12843 (window-resize-reset): Rename to window--resize-reset.
12844 (window-resize-reset-1): Rename to window--resize-reset-1.
12845 (resize-mini-window): Rename to window--resize-mini-window.
12846 (resize-subwindows-skip-p): Rename to
12847 window--resize-subwindows-skip-p.
12848 (resize-subwindows-normal): Rename to
12849 window--resize-subwindows-normal.
12850 (resize-subwindows): Rename to window--resize-subwindows.
12851 (resize-other-windows): Rename to window--resize-siblings.
12852 (resize-this-window): Rename to window--resize-this-window.
12853 (resize-root-window): Rename to window--resize-root-window.
12854 (resize-root-window-vertically): Rename to
12855 window--resize-root-window-vertically.
12856 (normalize-buffer-to-display): Rename to
12857 window-normalize-buffer-to-display.
12858 (normalize-buffer-to-switch-to): Rename to
12859 window-normalize-buffer-to-switch-to.
12860 Correspondingly update all callers of the functions listed
12862 (display-buffer-alist, display-buffer-normalize-arguments)
12863 (display-buffer-normalize-options, display-buffer)
12864 (display-buffer-alist-set): Use "function" instead of
12867 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
12869 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12870 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12871 debbugs.gnu.org. Mention acknowledgment email.
12873 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12875 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12876 buffer multibyteness, since it shouldn't matter.
12878 2011-06-28 Martin Rudalics <rudalics@gmx.at>
12880 * window.el (display-buffer-in-side-window): Handle dedicated
12881 windows as in display-buffer-reuse-window.
12882 (display-buffer-normalize-alist): Use value of override
12884 (display-buffer-normalize-specifiers): Use value of
12885 other-window-means-other-frame specifier.
12886 (display-buffer-alist): Rewrite some texts in widgets.
12887 (display-buffer): Spread arguments when calling function
12888 specified by fun-with-args.
12890 2011-06-28 Deniz Dogan <deniz@dogan.se>
12892 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12895 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12896 selectors (Bug#5732).
12897 (css-proprietary-nmstart-re): Use `regexp-opt'.
12899 2011-06-27 Jari Aalto <jari.aalto@cante.net>
12901 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12902 (eshell-ls-date-format): New defcustom.
12903 (eshell-ls-file): Use it.
12905 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12907 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12909 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12911 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12912 (ange-ftp-make-tmp-name): New arg.
12913 (ange-ftp-file-local-copy): Use it.
12915 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
12917 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12918 no-conversion (Bug#8870).
12920 2011-06-27 Martin Rudalics <rudalics@gmx.at>
12922 * window.el (window-right, window-left, window-child)
12923 (window-child-count, window-last-child)
12924 (window-iso-combination-p, walk-window-tree-1)
12925 (window-atom-check-1, window-tree-1, delete-window)
12926 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12927 new naming conventions - window-vchild, window-hchild,
12928 window-next and window-prev are now called window-top-child,
12929 window-left-child, window-next-sibling and window-prev-sibling
12931 (resize-window-reset): Rename to window-resize-reset.
12932 (resize-window-reset-1): Rename to window-resize-reset-1.
12933 (resize-window): Rename to window-resize.
12934 (window-min-height, window-min-width)
12935 (resize-mini-window, resize-this-window, resize-root-window)
12936 (resize-root-window-vertically, adjust-window-trailing-edge)
12937 (enlarge-window, shrink-window, maximize-window)
12938 (minimize-window, delete-window, quit-restore-window)
12939 (split-window, balance-windows, balance-windows-area-adjust)
12940 (balance-windows-area, window-state-put-2)
12941 (display-buffer-even-window-sizes, display-buffer-set-height)
12942 (display-buffer-set-width, set-window-text-height)
12943 (fit-window-to-buffer): Rename all "resize-window" prefixed
12944 calls to use the "window-resize" prefix convention.
12945 (display-buffer-alist): Fix symbol for label specifier.
12946 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12947 corresponding specifier.
12948 Reported by Juanma Barranquero <lekktu@gmail.com>.
12950 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12952 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12954 (ses-call-printer): Does not pass an empty string to formatter when the
12955 cell is empty to keep from barking printer Calc math-format-value.
12957 2011-06-27 Richard Stallman <rms@gnu.org>
12959 * battery.el (battery-mode-line-limit): New variable.
12960 (battery-update): Handle it.
12962 * mail/rmailmm.el (rmail-mime-process-multipart):
12963 Handle truncated messages.
12965 2011-06-27 Glenn Morris <rgm@gnu.org>
12967 * progmodes/flymake.el (flymake-err-line-patterns):
12968 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12970 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12972 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
12973 (ses--clean-!, ses--clean-_): New functions.
12974 (ses-range): Add configurability of readout order, and conversion
12977 * ses.el (ses-repair-cell-reference-all): New function.
12978 (ses-cell-symbol): Set macro as safe, so that it can be used in
12981 * ses.el: Update cycle detection algorithm.
12982 (ses-localvars): Add ses--Dijkstra-attempt-nb and
12983 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
12984 (ses-set-localvars): New function.
12985 (ses-make-cell): Add property-list as a cell element.
12986 (ses-cell-property-get-fun, ses-cell-property-get)
12987 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
12988 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12990 (ses-cell-property-set, ses-cell-property-pop)
12991 (ses-cell-property-get-handle): New macro.
12992 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12993 New aliases, used for code readability.
12994 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12996 (ses-self-reference-early-detection): New defcustom.
12997 (ses-formula-references): Robustify against self-referring cells.
12998 (ses-mode): Use ses-set-localvars.
12999 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13000 before lauching the update processing.
13001 (ses-initialize-Dijkstra-attempt): New function.
13002 (ses-recalculate-cell): Update for cycle detection based on
13003 Dijkstra algorithm.
13005 * ses.el: Fix commenting and indenting convention.
13007 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13009 * bs.el (bs-cycle-next): Complete last change.
13011 2011-06-27 Drew Adams <drew.adams@oracle.com>
13013 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13015 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13017 * net/network-stream.el (network-stream-open-starttls):
13018 Don't re-get capabilities unless we've reestablished connection.
13019 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13021 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13022 to binary to possibly avoid line encoding issues on Windows (among
13025 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13027 * net/network-stream.el (open-network-stream): Return an :error
13028 saying what the problem was, if possible.
13030 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13033 * net/network-stream.el (network-stream-open-starttls): If we
13034 wanted to use STARTTLS, and the server offered it, but we weren't
13035 able to because we had no STARTTLS support, then close the connection.
13036 (open-network-stream): Return an :error element, if present.
13038 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
13040 * hl-line.el (hl-line-sticky-flag): Doc fix.
13041 (global-hl-line-sticky-flag): New option (Bug#8323).
13042 (global-hl-line-highlight): Obey it.
13044 * vc/vc.el (vc-revert-show-diff): Default to t.
13046 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13048 * allout-widgets.el (allout-widgets-post-command-business):
13049 Stop decorating intermediate isearch matches. They're not being
13050 undecorated when an isearch is continued past, and isearch
13051 automatically collapses them. This leads to "widget leaks", where
13052 decorated items accumulate in collapsed areas. Lines with lots of
13053 hidden widgets can slow down cursor travel, substantially.
13054 Too much complicated machinery would be needed to ensure undecoration,
13055 so we're doing without this nicety.
13057 (allout-widgets-tally-string): Don't try to do a hash-table-count
13058 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13059 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13060 *Messages* when allout-widgets-maintain-tally is t.
13062 2011-06-26 Martin Rudalics <rudalics@gmx.at>
13064 * window.el (display-buffer-normalize-argument): Rename to
13065 display-buffer-normalize-arguments. Handle special meaning of
13066 LABEL argument. Respect special-display-function when popping up
13067 a new frame. Fix code searching for a window showing the buffer
13069 (display-buffer-normalize-specifiers):
13070 Call display-buffer-normalize-arguments.
13071 (display-buffer-in-window): Don't undedicate the window if its
13072 buffer remains the same.
13073 Reported by Drew Adams <drew.adams@oracle.com>.
13074 (display-buffer-alist): Add choice for same-window macro
13076 (display-buffer): Mention special meaning of LABEL argument in
13077 doc-string. Fix quoting. Don't pop up a new frame even as
13080 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
13082 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13083 avoid deleting the current window in some cases (bug#8911).
13085 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13087 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13090 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13092 * net/network-stream.el (network-stream-open-starttls):
13093 Use built-in TLS support if `gnutls-available-p' is true.
13094 (network-stream-open-tls): Ditto.
13096 2011-06-26 Leo Liu <sdl.web@gmail.com>
13098 * register.el (registerv): New struct.
13099 (registerv-make): New function.
13100 (jump-to-register, describe-register-1, insert-register):
13101 Support the jump-func, print-func and insert-func slot of a registerv
13104 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
13106 * vc/vc.el (vc-revert-show-diff): New defcustom.
13107 (vc-diff-internal): New arg specifying diff buffer.
13108 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13109 reuse an existing *vc-diff* buffer (Bug#8927).
13111 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13113 2011-06-26 Glenn Morris <rgm@gnu.org>
13115 * progmodes/f90.el (f90-critical-indent): New option.
13116 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13117 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13118 (f90-mode): Doc fix.
13119 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13120 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13121 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13122 (f90-match-end): Handle block, critical.
13124 2011-06-25 Glenn Morris <rgm@gnu.org>
13126 * calendar/diary-lib.el (diary-included-files): Doc fix.
13127 (diary-include-files): New function, extracted from
13128 diary-include-other-diary-files and diary-mark-included-diary-files.
13129 (diary-include-other-diary-files, diary-mark-included-diary-files):
13130 Just call diary-include-files.
13131 (diary-mark-entries): Reset diary-included-files on first call.
13133 * calendar/diary-lib.el (diary-mark-entries)
13134 (diary-mark-included-diary-files):
13135 Visit included diary-files in temp buffers.
13137 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13138 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13139 (f90-start-block-re, f90-imenu-generic-expression)
13140 (f90-looking-at-program-block-start, f90-no-block-limit):
13141 Add support for submodules.
13143 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13144 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
13146 2011-06-25 Eli Zaretskii <eliz@gnu.org>
13148 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13149 buffer-file-type before setting its value, to avoid disastrous
13150 global effects on decoding files for DOS/Windows systems. (Bug#8780)
13152 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
13154 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13156 * ses.el (ses-unload-function):
13157 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13159 * proced.el (proced-unload-function):
13160 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13162 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13164 * server.el (server-create-window-system-frame): Add parameters arg.
13165 (server-process-filter): Doc fix. Handle frame-parameters.
13167 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
13169 Fix bug#8730, bug#8781.
13171 * loadhist.el (unload--set-major-mode): New function.
13172 (unload-feature): Use it.
13174 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13175 (python-unload-function): New function.
13177 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13179 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13181 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13183 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13184 the candidates list.
13186 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
13188 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13190 2011-06-23 Richard Stallman <rms@gnu.org>
13192 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13193 (rmail-variables): Set next-error-move-function.
13194 (rmail-what-message): Take argument POS.
13195 (rmail-next-error-move): New function.
13197 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13199 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13200 messages for adjacent non-terminals.
13202 2011-06-23 Richard Stallman <rms@gnu.org>
13204 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
13205 (rmail-show-message-1): Preserve buffer modified flag.
13206 (rmail-start-mail): Don't specify use of rmail-mail-return;
13207 that's done by mail-bury now.
13208 (rmail-mail-return): Handle arg NEWBUF.
13210 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
13212 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13215 2011-06-23 Martin Rudalics <rudalics@gmx.at>
13217 * window.el (get-lru-window, get-mru-window)
13218 (get-largest-window): Never return a minibuffer window.
13219 (display-buffer-pop-up-window): Fix a bug that could lead to
13220 reusing the minibuffer window.
13221 (display-buffer): Pass original specifier argument to
13222 display-buffer-function instead of the normalized one.
13223 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13225 2011-06-22 Leo Liu <sdl.web@gmail.com>
13227 * minibuffer.el (completing-read-function)
13228 (completing-read-default): Move from minibuf.c
13230 2011-06-22 Richard Stallman <rms@gnu.org>
13232 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13233 to Rmail even if not started by a special Rmail command.
13235 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13236 Copy the buffer currently showing just one message.
13238 2011-06-22 Roland Winkler <winkler@gnu.org>
13240 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13241 (bibtex-clean-entry): First delete the old key so that a
13242 customized algorithm for generating the new key does not get
13243 confused by the old key.
13244 (bibtex-url): Obey regexp of first step.
13245 (bibtex-search-entries): Do not use add-to-list with local
13248 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13250 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13251 stored a user name, then query for the password first, instead of
13252 waiting for SMTP to give an error message and the trying again.
13254 2011-06-22 Lawrence Mitchell <wence@gmx.li>
13256 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13257 BUFFER in call-process.
13259 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13261 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13263 (smtpmail-try-auth-methods): Require user name and password from
13266 2011-06-22 Martin Rudalics <rudalics@gmx.at>
13268 * window.el (display-buffer-default-specifiers)
13269 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13270 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
13271 (split-window): Normalize SIDE argument (Bug#8916).
13273 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13274 (special-display-frame-alist, special-display-popup-frame):
13275 Remove duplicate declarations. These are now in window.el.
13277 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13279 * mail/smtpmail.el (smtpmail-via-smtp):
13280 Set :use-starttls-if-possible so that we always use STARTTLS if the
13281 server supports it. SMTP servers that support STARTTLS commonly
13284 * net/network-stream.el (network-stream-open-starttls): Support
13285 upgrading to STARTTLS always, even if we don't have built-in support.
13286 (open-network-stream): Add the :always-query-capabilities keyword.
13288 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13289 upgrades with `open-network-stream', and rely solely on
13290 auth-source for all credentials. Big changes throughout the file,
13292 (smtpmail-auth-credentials): Remove.
13293 (smtpmail-starttls-credentials): Remove.
13294 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13297 * net/network-stream.el (network-stream-open-starttls):
13298 Provide support for client certificates both for external and built-in
13300 (auth-source): Require.
13301 (open-network-stream): Document the :client-certificate keyword.
13302 (network-stream-certificate): Change cert-cert to cert and
13305 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
13307 * net/tramp-cache.el (top): Don't load the persistency file when
13308 "emacs -Q" has been called.
13310 2011-06-21 Tim Harper <timcharper@gmail.com>
13312 * term/ns-win.el (ns-initialize-window-system):
13313 Set application-specific `ApplePressAndHoldEnabled' system
13314 resource to NO as it is not yet supported by the NS port.
13316 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
13318 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13319 (list-dynamic-libraries): ...not here.
13321 2011-06-21 Leo Liu <sdl.web@gmail.com>
13323 * subr.el (sha1): Implement sha1 using secure-hash.
13325 2011-06-21 Martin Rudalics <rudalics@gmx.at>
13327 * window.el (display-buffer-alist): In default value do not
13328 enforce searching a window on any but the selected frame.
13329 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13330 (display-buffer-select-window): Remove function.
13331 (display-buffer-in-window): When a window on another frame gets
13332 reused, do not select it any more but just raise its frame if
13333 necessary (Bug#8851) and (Bug#8856).
13334 (display-buffer-normalize-options): Handle pop-up-frames related
13335 options more faithfully.
13336 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13337 window if it is on another frame.
13338 (display-buffer-alist, display-buffer-default-specifiers):
13339 Don't make new frame unsplittable by default.
13340 (display-buffer-normalize-argument): Fix doc-string typo and use
13341 'same-frame-other-window instead of 'other-window when associating
13342 with display-buffer-macro-specifiers.
13344 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13346 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13348 (5x5-mode-map, 5x5-mode-menu): Bind them.
13349 (5x5-draw-grid): Tweak the solver's rendering.
13351 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13353 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13354 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13356 2011-06-21 Drew Adams <drew.adams@oracle.com>
13358 * menu-bar.el: Use function variable instead of switch-to-buffer.
13359 (menu-bar-select-buffer-function): New variable.
13360 (menu-bar-update-buffers): Use it (bug#8876).
13362 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13364 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13367 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13369 * x-dnd.el (x-dnd-version-from-flags)
13370 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13371 and long as number (Bug#8899).
13372 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13374 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13376 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
13377 (completion-try-completion, completion-all-completions): Compute the
13378 metadata argument if it's missing; make it optional (bug#8795).
13380 * wid-edit.el: Use lex-bind and move towards completion-at-point.
13381 (widget-complete): Use new :completion-function property.
13382 (widget-completions-at-point): New function.
13383 (default): Use :completion-function instead of :complete.
13384 (widget-default-completions): Rename from widget-default-complete;
13386 (widget-string-complete, widget-file-complete, widget-color-complete):
13388 (file, symbol, function, variable, coding-system, color):
13389 * international/mule-cmds.el (default-input-method, charset)
13390 (language-info-custom-alist):
13391 * cus-edit.el (face): Use new property :completions.
13393 * progmodes/pascal.el (pascal-completions-at-point): New function.
13394 (pascal-mode): Use it.
13395 (pascal-mode-map): Use completion-at-point.
13396 (pascal-toggle-completions): Make obsolete.
13397 (pascal-complete-word, pascal-show-completions):
13398 * progmodes/octave-mod.el (octave-complete-symbol):
13399 Redefine as obsolete alias.
13400 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13401 Signal absence of completion info for old Octave,
13402 (inferior-octave-complete): Redefine as obsolete alias.
13403 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13404 (meta-completions-at-point): Rename from meta-complete-symbol and
13405 adapt it for use on completion-at-point-functions.
13406 (meta-common-mode): Use it.
13407 (meta-looking-at-backward, meta-match-buffer): Remove.
13408 (meta-complete-symbol): Redefine as obsolete alias.
13409 (meta-common-mode-map): Use completion-at-point.
13410 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13411 (makefile-mode-map): Use completion-at-point.
13412 (makefile-completions-at-point): Rename from makefile-complete and
13413 adapt it for use on completion-at-point-functions.
13414 (makefile-mode): Use it.
13415 (makefile-complete): Redefine as obsolete alias.
13417 2011-06-20 Deniz Dogan <deniz@dogan.se>
13419 * net/rcirc.el: Delete trailing whitespaces once and for all.
13421 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13423 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13425 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
13427 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13429 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13431 2011-06-19 Martin Rudalics <rudalics@gmx.at>
13433 * window.el (display-buffer-other-window-means-other-frame):
13434 Call display-buffer-normalize-alist.
13435 (display-buffer-normalize-specifiers-1): Rename to
13436 display-buffer-normalize-argument. New argument other-frame.
13438 (display-buffer-normalize-specifiers-2): Rename to
13439 display-buffer-normalize-options.
13440 (display-buffer-normalize-alist-1): New function.
13441 (display-buffer-normalize-specifiers-3): Rename to
13442 display-buffer-normalize-alist.
13443 Call display-buffer-normalize-alist-1.
13444 (display-buffer-normalize-options-inhibit): New variable.
13445 (display-buffer-normalize-specifiers): Rewrite calling
13446 display-buffer-normalize-alist,
13447 display-buffer-normalize-argument, and
13448 display-buffer-normalize-options. Don't call the latter if
13449 display-buffer-normalize-options-inhibit is non-nil.
13450 (frame-auto-delete): New option.
13451 (window-deletable-p): Use frame-auto-delete.
13452 (window-list-no-nils, window-state-ignored-parameters)
13453 (window-state-get-1, window-state-get, window-state-put-list)
13454 (window-state-put-1, window-state-put-2, window-state-put):
13456 (display-buffer-normalize-options): Move special-display-p group
13457 after pop-up-frame group (Bug#8851) and (Bug#8856).
13459 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
13461 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13463 (rx-submatch-n): New function.
13466 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13469 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13471 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13473 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13474 anytime existing face settings are present (Bug#8889).
13476 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13477 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13478 Remove unused argument.
13480 2011-06-18 Martin Rudalics <rudalics@gmx.at>
13482 * window.el (display-buffer-default-specifiers):
13483 Remove pop-up-frame. Add pop-up-window-min-height,
13484 pop-up-window-min-width, and another reuse-window specifier
13485 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
13486 (display-buffer-normalize-specifiers-2):
13487 Handle split-height-threshold and split-width-threshold also when
13488 pop-up-windows is unset. Add a reuse-window specifier for the
13489 case popping up a new window fails.
13490 (special-display-popup-frame): Remove double quoting.
13491 (display-buffer-normalize-specifiers-1): Fix thinko.
13493 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13495 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13496 according to comint-completion-addsuffix.
13498 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13499 (pcomplete-suffix-list): Mark as obsolete.
13500 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13501 pcomplete-seen in the closure.
13502 (pcomplete-comint-setup): Setup completion-at-point as well.
13503 (pcomplete--entries): New function.
13504 (pcomplete--env-regexp): New var.
13505 (pcomplete-entries): Rewrite to work with partial-completion and
13506 without relying on pcomplete-suffix-list.
13507 (pcomplete-pare-list): Remove, unused.
13509 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13511 * window.el (display-buffer-alist): Set pop-up-window-min-height
13512 and pop-up-window-min-width in default value. Reported by
13513 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13514 other-window-means-other-frame.
13515 (display-buffer-macro-specifiers): Comment out entry for
13516 other-window specifier.
13517 (display-buffer-other-window-means-other-frame): New function.
13518 (display-buffer-normalize-specifiers-1): New arguments
13519 buffer-name and label. Treat other-window case specially.
13520 (display-buffer-normalize-specifiers-2): Treat other-window case
13522 (display-buffer-normalize-specifiers-3): New function.
13523 (display-buffer-normalize-specifiers):
13524 Call display-buffer-normalize-specifiers-3.
13526 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13528 * window.el (same-window-p): Fix two typos introduced when
13529 adding with-no-warnings.
13530 (display-buffer-normalize-specifiers-1): Don't check
13531 pop-up-frames for 'unset initialization.
13532 (display-buffer-normalize-specifiers-2): Major rewrite using
13533 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13534 (pop-up-frames, display-buffer-reuse-frames)
13535 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13536 Suggested by David Engster <deng@randomsample.de>.
13537 (even-window-heights): Initialize to 'unset.
13538 (display-buffer-alist-set): Handle new 'unset initializations.
13539 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13542 2011-06-16 Martin Rudalics <rudalics@gmx.at>
13544 * window.el (display-buffer-normalize-specifiers-1):
13545 Respect current value of pop-up-frames for most reasonable values of
13546 second argument of display-buffer (Bug#8865).
13547 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13548 (switch-to-buffer-other-window-same-frame)
13549 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13551 (display-buffer): Don't check noninteractive when calling
13552 display-buffer-pop-up-frame.
13553 (display-buffer-pop-up-frame): Never pop up a frame in
13554 noninteractive mode (Bug#8857).
13555 (enlarge-window, shrink-window): Don't report an error when the
13556 window can't be resized as requested (Bug#8862).
13558 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13560 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13562 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13564 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13566 2011-06-15 Alan Mackenzie <acm@muc.de>
13568 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13569 for declarators, disable knr checking to speed up for normal files.
13570 2: Refactor, replacing a sequence of nested if forms by a cond form.
13572 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13574 * net/network-stream.el (open-network-stream): Add the keyword
13575 :always-query-capabilities for the case where you want to force a
13576 `plain' network connection, but the protocol still requires the
13577 capabilitiy command (i.e., SMTP and EHLO).
13579 * subr.el (process-live-p): Rename from `process-alive-p' for
13580 consistency with other `-live-p' functions.
13582 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13584 * window.el (same-window-buffer-names, same-window-regexps)
13585 (special-display-frame-alist, special-display-popup-frame)
13586 (special-display-function, special-display-buffer-names)
13587 (special-display-regexps, pop-up-frame-alist)
13588 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13589 (pop-up-windows, split-window-preferred-function)
13590 (split-height-threshold, split-width-threshold, even-window-heights)
13591 (display-buffer-mark-dedicated): Don't encourage the use of
13592 display-buffer-alist from Elisp code.
13594 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13596 * progmodes/python.el (python-mode): Derive from prog-mode.
13597 * progmodes/ps-mode.el (ps-mode):
13598 * progmodes/mixal-mode.el (mixal-mode):
13599 * progmodes/cfengine.el (cfengine-mode):
13600 * progmodes/ld-script.el (ld-script-mode): Likewise.
13602 2011-06-15 Martin Rudalics <rudalics@gmx.at>
13604 * window.el (display-buffer-alist): Trim default value to avoid
13605 popping up a new frame (Bug#8857) or reusing an arbitrary window
13607 (display-buffer): Do not fall back on popping up a new frame in
13608 batch mode (Bug#8857).
13610 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
13612 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13613 (custom-theme-summary): New function.
13614 (customize-themes): Use it.
13616 2011-06-13 Glenn Morris <rgm@gnu.org>
13618 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13620 2011-06-13 Martin Rudalics <rudalics@gmx.at>
13622 * help.el (help-window): Remove variable.
13623 (help-window-point-marker, temp-buffer-max-height)
13624 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13625 (help-print-return-message): Don't set help-window.
13626 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13627 (help-window-setup-finish): Remove.
13628 (help-window-display-message, help-window-setup)
13629 (with-help-window): Major rewrite based on new
13630 display-buffer-window variable.
13632 * help-mode.el (help-mode-finish): Remove help-window related
13635 * view.el (view-exits-all-viewing-windows): Remove reference to
13636 view-return-to-alist in doc-string.
13637 (view-return-to-alist): Make obsolete.
13638 (view-buffer): Call pop-to-buffer-same-window and remove
13640 (view-buffer-other-window): Call pop-to-buffer-other-window and
13641 simplify code. Ignore second argument.
13642 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13643 simplify code. Ignore second argument.
13644 (view-return-to-alist-update): Make obsolete.
13645 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13646 Rewrite using quit-restore window parameters.
13647 (view-mode-exit): Rename second argument to EXIT-ONLY.
13648 Rewrite using quit-restore-window.
13649 (View-exit, View-exit-and-edit, View-leave, View-quit)
13650 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13651 appropriate arguments.
13652 (view-end-message): Use quit-restore window parameter.
13654 * window.el (display-buffer-function): Rewrite doc-string.
13655 (display-buffer-window, display-buffer-alist): New variables.
13656 (display-buffer-split-specifiers)
13657 (display-buffer-side-specifiers)
13658 (display-buffer-macro-specifiers): New constants.
13659 (display-buffer-even-window-sizes, display-buffer-set-height)
13660 (display-buffer-set-width, display-buffer-select-window)
13661 (display-buffer-in-window, display-buffer-reuse-window)
13662 (display-buffer-split-window-1, display-buffer-split-window)
13663 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13664 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13665 (display-buffer-in-side-window, normalize-buffer-to-display)
13666 (display-buffer-normalize-specifiers-1)
13667 (display-buffer-normalize-specifiers-2)
13668 (display-buffer-normalize-specifiers, display-buffer-frame):
13670 (display-buffer): Major rewrite.
13671 (display-buffer-other-window, display-buffer-other-frame)
13672 (pop-to-buffer, switch-to-buffer-other-window)
13673 (switch-to-buffer-other-frame): Rewrite.
13674 (display-buffer-same-window, display-buffer-same-frame)
13675 (display-buffer-same-frame-other-window)
13676 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13677 (pop-to-buffer-other-window)
13678 (pop-to-buffer-same-frame-other-window)
13679 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13680 (switch-to-buffer-other-window-same-frame): New functions.
13681 (same-window-p, special-display-p): Rewrite disabling warnings.
13683 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13684 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13686 (same-window-buffer-names, same-window-regexps)
13687 (special-display-frame-alist, special-display-popup-frame)
13688 (special-display-function, special-display-buffer-names)
13689 (special-display-regexps, pop-up-frame-alist)
13690 (pop-up-frame-function, split-window-preferred-function)
13691 (split-height-threshold, split-width-threshold)
13692 (even-window-heights): Make obsolete.
13694 2011-06-12 Glenn Morris <rgm@gnu.org>
13696 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
13697 Misc simplifications.
13699 2011-06-12 Martin Rudalics <rudalics@gmx.at>
13701 * window.el (window-safely-shrinkable-p): Restore function which
13702 was inadvertently removed in change from 2011-06-11. Declare as
13705 * calendar/calendar.el (calendar-generate-window):
13706 Use window-iso-combined-p instead of combination of one-window-p and
13707 window-safely-shrinkable-p.
13709 2011-06-12 Glenn Morris <rgm@gnu.org>
13711 * progmodes/fortran.el (fortran-mode-syntax-table):
13712 * progmodes/f90.el (f90-mode-syntax-table):
13713 Set % to punctuation. (Bug#8820)
13714 (f90-find-tag-default): Remove, no longer needed.
13716 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13718 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13720 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
13722 * image.el (image-animated-p): Return animation delay in seconds.
13723 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13724 (image-animate-timeout): Remove DELAY argument. Don't assume
13725 every subimage has the same delay; get it from image-animated-p.
13726 (image-animate): Caller changed.
13728 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
13730 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13731 to ignored backtrace functions.
13733 2011-06-11 Glenn Morris <rgm@gnu.org>
13735 * calendar/appt.el (appt-disp-window-function): Doc fix.
13736 (appt-check): Handle overlapping appointments. (Bug#8337)
13738 2011-06-11 Martin Rudalics <rudalics@gmx.at>
13740 * window.el (window-tree-1, window-tree): New functions, moving
13741 the latter to window.el.
13742 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13743 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13744 (bw-refresh-edges): Remove.
13745 (balance-windows-1, balance-windows-2): New functions.
13746 (balance-windows): Rewrite in terms of window tree functions,
13747 balance-windows-1 and balance-windows-2.
13748 (bw-adjust-window): Remove.
13749 (balance-windows-area-adjust): New function with functionality of
13750 bw-adjust-window but using resize-window.
13751 (set-window-text-height): Rewrite doc-string.
13752 Use normalize-live-window and resize-window.
13753 (enlarge-window-horizontally, shrink-window-horizontally):
13754 Rename argument to DELTA.
13755 (window-buffer-height): New function.
13756 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13757 Rewrite using new window resize routines.
13758 (kill-buffer-and-window, mouse-autoselect-window-select):
13759 Use ignore-errors instead of condition-case.
13760 (quit-window): Call delete-frame instead of delete-windows-on
13761 for the only buffer on frame.
13763 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13765 * loadup.el (top-level): Load window before files for the sake
13766 of replace-buffer-in-windows.
13768 * files.el (read-buffer-to-switch)
13769 (switch-to-buffer-other-window)
13770 (switch-to-buffer-other-frame, display-buffer-other-frame):
13773 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13774 (previous-buffer): Move to window.el.
13776 * bindings.el (unbury-buffer): Move to window.el.
13778 * window.el (delete-other-windows-vertically): Move after
13779 definition of delete-other-windows.
13780 (other-window, delete-windows-on, replace-buffer-in-windows):
13781 Move here from window.c.
13782 (record-window-buffer, unrecord-window-buffer)
13783 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13784 (switch-to-next-buffer): New functions.
13785 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13786 from simple.el. Call switch-to-next-buffer.
13787 (previous-buffer): Move here from simple.el.
13788 Call switch-to-prev-buffer.
13789 (bury-buffer): Move here from buffer.c. Switch to previous
13790 buffer when window cannot be deleted.
13791 (unbury-buffer): Move here from bindings.el.
13792 (ctl-x-map): Move binding for other-window from window.c to
13794 (read-buffer-to-switch, switch-to-buffer-other-window)
13795 (switch-to-buffer-other-frame): Move here from files.el.
13796 (normalize-buffer-to-switch-to): New functions.
13797 (switch-to-buffer): Move here from buffer.c.
13798 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
13800 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13802 * window.el (window-min-height, window-min-width): Move here
13803 from window.c. Add defcustoms and rewrite doc-strings.
13804 (resize-mini-window, resize-window): New functions.
13805 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13806 Move here from window.c.
13807 (maximize-window, minimize-window): New functions.
13808 (delete-window, delete-other-windows, split-window): Move here
13810 (window-split-min-size): New function.
13811 (split-window-keep-point): Mention split-window-above-each-other
13812 instead of split-window-vertically.
13813 (split-window-above-each-other, split-window-vertically):
13814 Rename split-window-vertically to split-window-above-each-other
13815 and provide defalias for old definition.
13816 (split-window-side-by-side, split-window-horizontally):
13817 Rename split-window-horizontally to split-window-side-by-side
13818 and provide defalias for the old definition.
13819 (ctl-x-map): Move bindings for delete-window,
13820 delete-other-windows and enlarge-window here from window.c.
13821 Replace bindings for split-window-vertically and
13822 split-window-horizontally by bindings for
13823 split-window-above-each-other and split-window-side-by-side.
13825 * cus-start.el (all): Remove entries for window-min-height and
13826 window-min-width. Add entries for window-splits and
13829 2011-06-09 Glenn Morris <rgm@gnu.org>
13831 * calendar/appt.el (appt-mode-line): New function.
13832 (appt-check, appt-disp-window): Use it.
13834 * files.el (hack-one-local-variable-eval-safep):
13835 Allow minor-modes with explicit +/-1 arguments.
13837 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13839 * term/xterm.el (xterm): Add defgroup.
13840 (xterm-extra-capabilities): Add defcustom to supply known xterm
13841 capabilities, skip querying them, or query them (default).
13842 (terminal-init-xterm): Use it.
13843 (terminal-init-xterm-modify-other-keys): New function to set up
13844 modifyOtherKeys support to simplify `terminal-init-xterm'.
13846 2011-06-09 Martin Rudalics <rudalics@gmx.at>
13848 * window.el (resize-window-reset, resize-window-reset-1)
13849 (resize-subwindows-skip-p, resize-subwindows-normal)
13850 (resize-subwindows, resize-other-windows, resize-this-window)
13851 (resize-root-window, resize-root-window-vertically)
13852 (window-deletable-p, window-or-subwindow-p)
13853 (frame-root-window-p): New functions.
13855 2011-06-09 Glenn Morris <rgm@gnu.org>
13857 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13858 (ange-ftp-get-files): Use it.
13860 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13862 * mail/sendmail.el (mail-recover-1, mail-recover):
13863 * files.el (recover-file, recover-session):
13864 Handle dired-listing-switches not being just a single short option.
13866 2011-06-09 Glenn Morris <rgm@gnu.org>
13868 * calendar/appt.el (appt-display-message, appt-disp-window):
13869 Handle lists of appointments.
13871 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13873 * window.el (one-window-p): Move down in code.
13874 Rewrite doc-string.
13875 (window-current-scroll-bars): Rewrite doc-string.
13876 Normalize live window argument.
13877 (walk-windows, get-window-with-predicate, count-windows):
13878 Rewrite doc-string. Use window-list-1.
13879 (window-in-direction-2, window-in-direction, get-mru-window):
13882 2011-06-08 Reuben Thomas <rrt@sc3d.org>
13884 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13885 Doc fix (Bug#8713).
13887 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
13889 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13891 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
13893 * loadhist.el (unload-feature-special-hooks):
13894 Add `comint-output-filter-functions'.
13896 2011-06-08 Ivan Kanis <gnu@kanis.fr>
13898 * calendar/appt.el (appt-check): Move some initializations into the let.
13900 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13902 * window.el (window-height): Defalias to window-total-height.
13903 (window-width): Defalias to window-body-width.
13905 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
13907 * image-mode.el (image-toggle-animation): New command.
13908 (image-mode-map): Bind it to RET.
13909 (image-mode): Update message.
13910 (image-toggle-display-image): Avoid a spurious cache flush.
13911 (image-transform-rotation): Doc fix.
13912 (image-transform-properties): Return quickly in the normal case.
13913 (image-animate-loop): Rename from image-animate-max-time.
13915 * image.el (image-animate-max-time): Move to image-mode.el.
13916 (create-animated-image): Remove unnecessary function.
13917 (image-animate): Rename from image-animate-start. New arg.
13918 (image-animate-stop): Remove; just use image-animate-timer.
13919 (image-animate-timer): Use car-safe.
13920 (image-animate-timeout): Rename argument.
13922 2011-06-07 Martin Rudalics <rudalics@gmx.at>
13924 * window.el (get-lru-window, get-largest-window): Move here from
13925 window.c. Rename first argument to ALL-FRAMES.
13926 Rephrase doc-strings.
13927 (get-buffer-window-list): Rewrite using window-list-1.
13928 Rephrase doc-string.
13929 (window-safe-min-height, window-safe-min-width): New constants.
13930 (window-size-ignore, window-min-size, window-min-size-1)
13931 (window-sizable, window-sizable-p, window-size-fixed-1)
13932 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13933 (window-max-delta-1, window-max-delta, window-resizable)
13934 (window-resizable-p, window-total-height, window-total-width)
13935 (window-body-width): New functions.
13936 (window-full-height-p, window-full-width-p): Rewrite using
13938 (window-body-height): Rewrite using window-body-size.
13940 2011-06-06 Martin Rudalics <rudalics@gmx.at>
13942 * window.el (window-right, window-left, window-child)
13943 (window-child-count, window-last-child, window-any-p)
13944 (normalize-live-buffer, normalize-live-frame)
13945 (normalize-any-window, normalize-live-window)
13946 (window-iso-combination-p, window-iso-combined-p)
13947 (window-iso-combinations)
13948 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13949 (windows-with-parameter, window-with-parameter)
13950 (window-atom-root, make-window-atom, window-atom-check-1)
13951 (window-atom-check, window-side-check, window-check):
13953 (ignore-window-parameters, window-sides, window-sides-vertical)
13954 (window-sides-slots): New variables.
13955 (window-size-fixed): Move down in code. Minor doc-string fix.
13957 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13959 * comint.el (comint-dynamic-complete-as-filename)
13960 (comint-dynamic-complete-filename): Correctly call
13961 completion-in-region.
13963 2011-06-05 Deniz Dogan <deniz@dogan.se>
13965 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13968 2011-06-05 Deniz Dogan <deniz@dogan.se>
13970 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13971 (rcirc): Use it to prompt for encryption.
13973 2011-06-05 Roland Winkler <winkler@gnu.org>
13975 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13976 (bibtex-search-entries): New command bound to C-c C-a.
13977 (bibtex-display-entries): New function.
13979 2011-06-05 Roland Winkler <winkler@gnu.org>
13981 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13982 (bibtex-insert-kill): After yanking insert newline if necessary.
13983 (bibtex-initialize): Call bibtex-string-files-init only once.
13984 (bibtex-mode): Do not call easy-menu-add.
13985 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13986 (bibtex-yank): Set arg properly if nil.
13988 2011-06-05 Roland Winkler <winkler@gnu.org>
13990 * textmodes/bibtex.el (bibtex-search-entry-globally):
13992 (bibtex-search-entry): Use it.
13994 2011-06-05 Roland Winkler <winkler@gnu.org>
13996 * textmodes/bibtex.el (bibtex-entry-format): New option
13998 (bibtex-format-entry, bibtex-reformat): Honor this option.
13999 (bibtex-parse-entry): Return fields in proper order.
14001 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
14003 * doc-view.el (doc-view-remove-if): Move computation of result out
14004 of `dolist' to silence misleading lexical-binding warning.
14006 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
14008 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14009 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14011 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
14013 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14016 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
14018 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14019 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14020 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14021 (tramp-parse-putty):
14022 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14023 (tramp-completion-function-alist-ssh)
14024 (tramp-completion-function-alist-telnet)
14025 (tramp-completion-function-alist-su)
14026 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14029 * net/tramp-ftp.el:
14031 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14032 load "tramp.el" `tramp-set-completion-function'.
14034 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14036 * shell.el: Require and use pcomplete.
14037 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14038 (shell-completion-vars): Set pcomplete-default-completion-function.
14040 2011-06-04 Deniz Dogan <deniz@dogan.se>
14042 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14045 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14047 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14049 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
14051 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14052 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14053 * vc/log-view.el (log-view-beginning-of-defun):
14054 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14055 (smerge-refine-forward, smerge-refine-chopup-region):
14056 Silence warning for unused `dotimes' counter variables.
14058 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14060 * net/tramp.el (tramp-with-progress-reporter): Rename from
14061 with-progress-reporter. Use `declare'.
14062 * net/tramp-smb.el:
14064 * net/tramp-gvfs.el: Update all uses.
14066 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14068 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14069 buffer isn't killed before making it current.
14071 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14073 Silence various byte-compiler warnings.
14074 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14075 `access-type' and new obsolescence format.
14076 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14078 (byte-compile-check-variable): New `access-type' argument.
14079 Only warn if the access-type is obsolete.
14080 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14081 (byte-compile-variable-set): Adjust callers.
14082 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14083 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14084 setting it as obsolete.
14085 * simple.el (minibuffer-completing-symbol):
14086 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14087 access as obsolete.
14088 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14090 * international/quail.el (quail-mouse-choose-completion): Remove unused
14091 code referring to obsolete var.
14092 (quail-choose-completion-string): Remove.
14093 * server.el (server-clients-with, server-kill-buffer-query-function)
14094 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14095 * proced.el (proced-send-signal):
14096 * emacs-lisp/lisp.el (lisp-complete-symbol):
14097 Replace completion-annotate-function with completion-extra-properties.
14099 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14101 * simple.el (goto-line): Use read-number.
14102 (overriding-map-is-bound): Remove.
14103 (saved-overriding-map): Change default.
14104 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14105 Take the map as argument.
14106 (universal-argument, negative-argument, digit-argument): Use it.
14107 (restore-overriding-map): Adjust.
14108 (do-auto-fill): Use fill-forward-paragraph.
14109 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14111 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14112 (minibuffer-inactive-mode): New major mode.
14113 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14114 the *Messages* buffer" hack.
14115 (mouse-popup-menubar): Don't burp if the event is a normal key.
14117 Miscellaneous tweaks.
14118 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14119 lexical scoping as in subr.el's dolist and dotimes.
14120 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14121 Silence compiler warning.
14122 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14123 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14124 * international/ccl.el (ccl-compile): Trivial simplification.
14125 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14126 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14127 `printflag' argument.
14128 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14129 Purecopy the whole obsolescence data.
14131 2011-06-01 Leo Liu <sdl.web@gmail.com>
14133 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14134 improve doc-string as suggested by Marco Pessotto
14135 <melmothx@gmail.com>.
14136 (rcirc-print): Fix last change.
14138 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14140 * minibuffer.el (complete-with-action): Return nil for the metadata and
14141 boundaries of non-functional tables.
14142 (completion-table-dynamic): Return nil for the metadata.
14143 (completion-table-with-terminator): Add default case, using
14144 complete-with-action.
14145 (completion--metadata): New function.
14146 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14147 to try and avoid pathological performance problems.
14148 (completion--embedded-envvar-table): Return `category' metadata.
14150 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14152 * subr.el (process-alive-p): New tiny convenience function.
14154 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14156 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14157 content but also its previous major mode.
14159 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
14161 * emacs-lisp/debug.el (debug): Restore the previous content of the
14162 *Backtrace* buffer when we exit with C-M-c.
14164 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14166 * minibuffer.el: Add metadata method to completion tables.
14167 (completion-category-overrides): New defcustom.
14168 (completion-metadata, completion--field-metadata)
14169 (completion-metadata-get, completion--styles)
14170 (completion--cycle-threshold): New functions.
14171 (completion-try-completion, completion-all-completions):
14172 Add `metadata' argument to choose completion-styles.
14173 (completion--do-completion): Use metadata to choose cycling.
14174 (completion-all-sorted-completions): Use metadata for sorting.
14175 Remove :completion-cycle-penalty which is not needed any more.
14176 (completion--try-word-completion): Add `metadata' argument.
14177 (minibuffer-completion-help): Check metadata for annotation function
14179 (completion-file-name-table): Return `category' metadata.
14180 (minibuffer-completing-file-name): Make obsolete.
14181 * simple.el (minibuffer-completing-symbol): Make obsolete.
14182 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14183 completion-try-completion.
14185 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14187 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14189 2011-05-30 Leo Liu <sdl.web@gmail.com>
14191 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
14192 (rcirc-print): Decode all incoming messages (bug#8744).
14193 (rcirc-decode-coding-system): Allow value nil for automatic coding
14196 2011-06-01 Glenn Morris <rgm@gnu.org>
14198 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14200 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14202 * image.el (image-animate-max-time): Allow nil and t values.
14204 (create-animated-image): Doc fix.
14205 (image-animate-start): Remove second arg; just use
14206 image-animate-max-time.
14207 (image-animate-timeout): Doc fix. Args changed.
14209 * image-mode.el (image-toggle-display-image): Ensure that the
14210 image spec passed to the animate timer is the same object as in
14211 the buffer's display property (Bug#6981).
14212 (image-transform-properties): Doc fix.
14214 * image.el (image-animate-max-time): Default to nil.
14216 2011-05-29 Martin Rudalics <rudalics@gmx.at>
14218 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14219 entire buffer list (Bug#8184).
14221 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14223 * image.el (imagemagick-types-inhibit)
14224 (imagemagick-register-types): Doc fix.
14226 2011-05-29 Deniz Dogan <deniz@dogan.se>
14228 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14231 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14233 * select.el: Don't perform clipboard-manager saving in hooks;
14234 leave the hooks empty.
14236 2011-05-28 Leo Liu <sdl.web@gmail.com>
14238 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14239 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14240 (occur-edit-mode): New major mode (Bug#8463).
14241 (occur-after-change-function): New function.
14242 (occur-engine): Give Occur tags a read-only property.
14244 2011-05-28 Kevin Ryde <user42@zip.com.au>
14246 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14248 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14250 * bindings.el (help-echo): Make the initial non-indicator dash
14251 empty on graphical terminals (Bug#7295).
14253 * files.el (auto-mode-alist): Move config rule after the
14254 in-stripping one (Bug#8547).
14256 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14258 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14259 setting (Bug#8740).
14261 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14263 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14264 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14267 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14269 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14271 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14273 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14274 (hs-hide-block-at-point, hs-find-block-beginning)
14275 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14278 2011-05-28 Glenn Morris <rgm@gnu.org>
14280 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14282 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14284 * help-fns.el (describe-function-1): If the function is a derived
14285 major mode, print the parent mode.
14287 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14288 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14290 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14292 * minibuffer.el (completion--capf-wrapper): Check applicability before
14293 returning non-nil for non-exclusive completion data.
14294 * progmodes/etags.el (tags-completion-at-point-function):
14295 * info-look.el (info-lookup-completions-at-point): Mark as
14297 (info-complete): Adjust accordingly.
14299 * info-look.el: Convert to lexical-binding and completion-at-point.
14300 (info-lookup-completions-at-point): New function.
14301 (info-complete): Use it and completion-in-region.
14303 2011-05-28 Drew Adams <drew.adams@oracle.com>
14305 * isearch.el: Let M-e start with point at the first mismatched char.
14306 (isearch-fail-pos): New function.
14307 (isearch-edit-string): Use it.
14309 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14311 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14313 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
14315 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14316 traversal functions for avl-trees.
14317 (avl-tree--stack): New struct.
14318 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14319 (avl-tree-enter): Add optional `updatefun' arg.
14320 (avl-tree--do-enter): Add optional `updatefun' arg.
14321 Change return value.
14322 (avl-tree-delete): Add optional `test' and `nilflag' args.
14323 (avl-tree--do-delete): Add `test' and `nilflag' args.
14324 Change return value.
14325 (avl-tree-member): Add optional `nilflag'
14326 (avl-tree-member-p): New function.
14327 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14328 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14329 (avl-tree-stack-empty-p): New functions.
14331 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14332 avl-tree--del-balance1 and make it work both ways.
14333 (avl-tree--del-balance2): Remove.
14334 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14335 make it work both ways.
14336 (avl-tree--enter-balance2): Remove.
14337 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14339 (avl-tree--mapc, avl-tree-map): Add direction argument.
14341 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
14343 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14345 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
14347 * select.el: Support clipboard managers with built-in function
14348 x-clipboard-manager-save, via delete-frame-functions and
14350 (xselect-convert-to-targets): Add MULTIPLE target to list.
14351 (xselect-convert-to-save-targets): New function.
14353 2011-05-27 Kenichi Handa <handa@m17n.org>
14355 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14356 let-binding rfc2047-encode-encoded-words to nil.
14358 2011-05-27 Glenn Morris <rgm@gnu.org>
14360 * mail/emacsbug.el: Don't require url-util.
14362 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14364 * files.el (set-auto-mode):
14365 Also respect mode: entries at the end of the file. (Bug#8586)
14367 2011-05-26 Glenn Morris <rgm@gnu.org>
14369 * files.el (hack-local-variables-prop-line, hack-local-variables):
14370 Downcase mode names, as seems to be traditional.
14371 (hack-local-variables, hack-local-variables-apply): Doc fixes.
14373 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14374 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14376 2011-05-25 Julien Danjou <julien@danjou.info>
14378 * textmodes/rst.el (rst-define-level-faces): Do not define face
14379 symbol if it is already defined.
14381 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14383 * play/5x5.el (5x5-new-game, 5x5-randomize):
14384 Reset 5x5-solver-output to nil when a new grid is cast.
14385 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14386 these debugging traces, as defmacro breaks the compiled code.
14388 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14390 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14392 2011-05-24 Leo Liu <sdl.web@gmail.com>
14394 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14395 (vc-bzr-sha1): Adapt.
14397 * sha1.el: Remove. Function `sha1' is now builtin.
14399 * bindings.el: Provide sha1 feature.
14401 2011-05-24 Kenichi Handa <handa@m17n.org>
14403 * mail/sendmail.el: Require `rfc2047'.
14404 (mail-insert-from-field): Do not perform RFC2047 encoding.
14405 (mail-encode-header): New function.
14406 (sendmail-send-it): Set buffer-file-coding-system of the work
14407 buffer to the return value of select-message-coding-system.
14408 Call mail-encode-header.
14410 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14412 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
14414 * mail/supercite.el (sc-default-cite-frame):
14415 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
14417 2011-05-24 Glenn Morris <rgm@gnu.org>
14419 * progmodes/python.el (brm-menu): Declare.
14421 * emulation/viper.el (viper-set-hooks): Declare.
14423 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14424 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14425 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14426 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14427 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14428 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14430 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14432 Add an :exit-function for completion-at-point.
14434 * minibuffer.el (completion--done): New fun.
14435 (completion--do-completion): Use it. New arg `expect-exact'.
14436 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14437 since completion--do-completion does it for us now.
14438 (minibuffer-force-complete): Use completion--done and
14439 completion--replace. Handle sole-completion case with more care.
14440 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14441 (completion-extra-properties): New var.
14442 (completion-annotate-function): Make obsolete.
14443 (minibuffer-completion-help): Adjust accordingly.
14444 Use completion-list-insert-choice-function.
14445 (completion-at-point, completion-help-at-point):
14446 Bind completion-extra-properties.
14447 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14448 * simple.el (completion-list-insert-choice-function): New var.
14449 (completion-setup-function): Preserve it.
14450 (choose-completion): Pay attention to it, shuffle the code a bit.
14451 (choose-completion-string): New arg `insert-function'.
14453 * textmodes/bibtex.el: Convert to lexical binding.
14454 (bibtex-mode-map): Use completion-at-point.
14455 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14456 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14457 (bibtex-complete): Define as obsolete alias.
14458 (bibtex-complete-internal): Remove.
14459 (bibtex-format-entry): Remove unused sub-group in regexp.
14460 * shell.el (shell--command-completion-data)
14461 (shell-environment-variable-completion):
14462 * pcomplete.el (pcomplete-completions-at-point):
14463 * comint.el (comint--complete-file-name-data): Use :exit-function
14464 instead of completion-table-with-terminator so it also works for
14467 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14469 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14471 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14474 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14476 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14478 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14479 customization variable and implement: If non-nil, auto-fill will
14480 be inhibited while on topic's header line.
14482 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14484 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
14485 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
14486 always have a solution in grid size = 5 cases.
14487 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14488 (5x5-solver-output, 5x5-log-buffer): New vars.
14489 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14490 Make these variables buffer local to achieve 5x5 multi-session-ness.
14491 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14492 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14493 (5x5-solve-suggest): New funs.
14494 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14495 randomize a grid so that we ensure that there is always a solution.
14496 (5x5-make-random-grid): Allow other movement than flipping.
14498 2011-05-23 Kevin Ryde <user42@zip.com.au>
14500 * emacs-lisp/advice.el (ad-read-advised-function):
14501 Use `function-called-at-point' as the default, if it has
14502 advice and passes PREDICATE.
14504 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14506 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14507 byte-compile-lambda if it's actually a lambda.
14509 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14510 Fix function quoting. Use backquote better.
14512 2011-05-22 Yuanle Song <sylecn@gmail.com>
14514 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14515 matching (Bug#8516).
14517 2011-01-22 Jari Aalto <jari.aalto@cante.net>
14519 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14520 different face (Bug#8178).
14522 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
14524 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14525 defface (Bug#8144).
14527 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14529 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14530 funcall as well (bug#8712). Warn when performing those conversions.
14531 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14533 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14535 2011-05-22 Glenn Morris <rgm@gnu.org>
14537 * files.el (hack-local-variables-prop-line): Small simplifications.
14538 (hack-local-variables, hack-local-variables-prop-line):
14539 If MODE-ONLY, return the mode, rather than just `t'.
14541 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14543 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14545 2011-05-21 Glenn Morris <rgm@gnu.org>
14547 * files.el (hack-local-variables-prop-line, hack-local-variables):
14548 If only interested in the mode, don't bother doing the other stuff.
14550 * image-mode.el (image-after-revert-hook):
14551 Redraw all frames on which the image is visible. (Bug#8567)
14553 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14555 * wid-edit.el (widget-checklist-match-inline):
14556 Fix 2011-04-19 change. (Bug#8649)
14558 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14560 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14561 Also allow singlespace after single-letter capitals followed by a dot.
14563 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14564 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14566 2011-05-20 Nix <nix@esperi.org.uk>
14568 * files.el (basic-save-buffer-2):
14569 Fix handling of break-hardlink-on-save with non-existent files.
14571 2011-05-19 Deniz Dogan <deniz@dogan.se>
14573 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
14574 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
14576 2011-05-19 Glenn Morris <rgm@gnu.org>
14578 * progmodes/f90.el (f90-type-def-re):
14579 Handle "type, bind(c)". (Bug#8691)
14581 * emacs-lisp/autoload.el (batch-update-autoloads):
14582 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14584 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
14586 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14587 property for the correct connection in case of multihops.
14589 2011-05-18 Glenn Morris <rgm@gnu.org>
14591 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
14592 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14594 Rationalize calendar handling of day and month abbrev-arrays.
14595 * calendar/calendar.el (calendar-customized-p): New function.
14596 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14597 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14599 (calendar-abbrev-length, calendar-day-abbrev-array)
14600 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14601 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14602 Elements may no longer be nil.
14603 (calendar-day-name, calendar-month-name):
14604 Update for changed nature of abbrev arrays.
14605 * calendar/diary-lib.el (diary-name-pattern):
14606 Update for changed nature of abbrev arrays.
14607 (diary-mark-entries-1): Update calendar-make-alist calls.
14608 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14609 * calendar/cal-html.el (cal-html-day-abbrev-array):
14610 Simply inherit from calendar-day-abbrev-array.
14612 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14614 * progmodes/grep.el (grep-mode): Disable default
14615 compilation-directory-matcher setting (bug#8684).
14617 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
14619 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14620 instead of "head" and "tail". There were problems with SunOS 5.9,
14621 and it performs better.
14623 2011-05-17 Glenn Morris <rgm@gnu.org>
14625 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14627 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14628 Replace obsolete function.
14630 * shell.el (pcomplete-parse-arguments-function): Declare.
14632 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14633 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14634 (appt-check): Doc fixes.
14635 (appt-disp-window-function, appt-delete-window-function):
14636 Remove needless special case in custom :type.
14637 (appt-display-count): Default to 0, not nil.
14638 (appt-check): Reset appt-display-count to 0, not nil.
14640 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
14642 * progmodes/python.el (python-font-lock-keywords):
14643 Add the Python 3.X keyword "nonlocal" (bug#8639).
14645 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14647 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14649 2011-05-16 Kevin Ryde <user42@zip.com.au>
14651 * info-look.el (makefile-automake-mode): New setups, looking in
14652 automake manual, then makefile-mode.
14653 (makefile-mode): Remove automake manual, have it just in
14654 makefile-automake-mode since there's various things different or
14655 not relevant to plain make.
14656 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14657 believe a hypothetical automake-mode would go to makefile-mode,
14658 not the other way around.
14660 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
14662 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14663 hunk-end tags (Bug#8672).
14665 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14666 vc-annotate-show-diff-revision-at-line (Bug#8671).
14668 2011-05-14 Glenn Morris <rgm@gnu.org>
14670 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14671 in the middle of an existing one with multiple authors. (Bug#8645)
14672 (change-log-font-lock-keywords): Also handle multiple author lines
14673 with leading tabs. (Bug#8644)
14675 * calendar/appt.el (appt-check): Rename some local variables.
14676 Some simplification/reordering.
14678 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14679 (feedmail-sendmail-f-doesnt-sell-me-out)
14680 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14681 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14682 (feedmail-queue-runner-message-sender): Set :version.
14683 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14684 (bbdb-dwim-net-address, vm-mail): Declare.
14685 (feedmail-binmail-gnulinuxish-template):
14686 Rename from feedmail-binmail-linuxish-template.
14687 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14688 Use insert-buffer-substring.
14690 2011-05-14 Bill Carpenter <bill@carpenter.org>
14692 * mail/feedmail.el (feedmail-patch-level): Increase.
14693 (feedmail-debug): New custom group.
14694 (feedmail-confirm-outgoing-timeout)
14695 (feedmail-sendmail-f-doesnt-sell-me-out)
14696 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14697 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14698 (feedmail-sender-line, feedmail-from-line)
14699 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
14700 (feedmail-spray-this-address)
14701 (feedmail-spray-address-fiddle-plex-list)
14702 (feedmail-queue-use-send-time-for-date)
14703 (feedmail-queue-use-send-time-for-message-id)
14704 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14705 (feedmail-buffer-eating-function):
14707 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14708 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14709 (feedmail-message-action-scroll-down): New functions.
14710 (feedmail-queue-directory, feedmail-queue-draft-directory):
14711 Use expand-file-name.
14712 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14713 Remove C-v help entry.
14714 (feedmail-queue-buffer-file-name): New variable.
14715 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14716 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14717 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14718 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14719 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14720 (feedmail-message-action-toggle-spray)
14721 (feedmail-run-the-queue-no-prompts)
14722 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14723 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14724 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14725 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14726 (feedmail-envelope-deducer, feedmail-fiddle-from)
14727 (feedmail-fiddle-sender, feedmail-default-date-generator)
14728 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14729 (feedmail-fiddle-spray-address)
14730 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14731 (feedmail-fiddle-list-of-fiddle-plexes)
14732 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14733 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14734 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14735 Change default. Doc fix.
14736 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14737 (feedmail-binmail-linuxish-template): New constant.
14738 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14739 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14740 (feedmail-send-it): Add debug call.
14741 Use feedmail-queue-buffer-file-name, and
14742 feedmail-send-it-immediately-wrapper.
14743 (feedmail-message-action-send): Add debug call.
14744 Use feedmail-send-it-immediately-wrapper.
14745 (feedmail-queue-express-to-queue): Add debug call.
14746 Run feedmail-queue-express-hook.
14747 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14748 (feedmail-message-action-help-blat):
14749 Rename from feedmail-queue-send-edit-prompt-help-first.
14750 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14751 Check line-endings. Handle errors better.
14752 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14753 Doc fix. Add debug call.
14754 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14755 Use feedmail-queue-send-edit-prompt-inner.
14756 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14757 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14758 from feedmail-queue-send-edit-prompt.
14759 (feedmail-queue-send-edit-prompt-help)
14760 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14761 (feedmail-tidy-up-slug): Add debug call.
14762 Respect feedmail-queue-slug-suspect-regexp.
14763 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14764 (feedmail-dump-message-to-queue): Add debug call.
14765 Expand queue-directory.
14766 (feedmail-dump-message-to-queue): Change message slightly.
14767 Use feedmail-say-chatter.
14768 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14769 (feedmail-send-it-immediately-wrapper): New function.
14770 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14771 Insert empty string rather than newline. Handle full-frame case.
14772 Use catch/throw. Use feedmail-say-chatter.
14773 (feedmail-fiddle-from): Try mail-host-address.
14774 (feedmail-default-message-id-generator): Doc fix.
14775 Bind system-time-locale. Handle missing end.
14776 (feedmail-fiddle-x-mailer): Add debug call.
14777 Handle feedmail-x-mailer-line being nil.
14778 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14779 Add debug call. Use buffer-substring-no-properties.
14780 (feedmail-say-debug, feedmail-say-chatter): New functions.
14781 (feedmail-find-eoh): Give an explicit error.
14783 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
14785 * net/newst-treeview.el (newsticker-treeview-face): Change default
14786 family from helvetica to sans.
14787 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
14788 etc/images/newsticker.
14790 * net/newst-reader.el (newsticker-feed-face): Change default
14791 family from helvetica to sans.
14793 * net/newst-plainview.el (newsticker-new-item-face)
14794 (newsticker-old-item-face, newsticker-immortal-item-face)
14795 (newsticker-obsolete-item-face, newsticker-date-face)
14796 (newsticker-statistics-face): Change default family from
14798 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
14799 etc/images/newsticker.
14801 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14802 (newsticker--process-auto-mark-filter-match): Tell user about
14805 2011-05-13 Didier Verna <didier@xemacs.org>
14807 Common Lisp indentation improvements on defmethod and lambda-lists.
14808 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14810 (lisp-lambda-list-keyword-parameter-indentation)
14811 (lisp-lambda-list-keyword-parameter-alignment)
14812 (lisp-lambda-list-keyword-alignment): New customizable user options.
14813 (lisp-indent-defun-method): Improve docstring.
14814 (extended-loop-p): Fix comment.
14815 (lisp-indent-lambda-list-keywords-regexp): New variable.
14816 (lisp-indent-lambda-list): New function.
14817 (lisp-indent-259): Use it.
14818 (lisp-indent-defmethod): Support for more than one
14819 method qualifier and properly indent methods lambda-lists.
14820 (defgeneric): Provide a missing common-lisp-indent-function property.
14822 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14824 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14825 bounds for the empty string (bug#8667).
14827 2011-05-13 Glenn Morris <rgm@gnu.org>
14829 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14831 * mail/sendmail.el (sendmail-program): Try executable-find first.
14832 (sendmail-send-it): `sendmail-program' cannot be unbound.
14834 * calendar/appt.el (appt-make-list): Simplify.
14835 (appt-time-msg-list): Doc fix.
14836 (appt-check): Change mode-line message at the time of the appointment.
14838 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14840 * progmodes/ld-script.el (ld-script-keywords)
14841 (ld-script-builtins): Update keywords list.
14843 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14845 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14847 * shell.el (shell-completion-vars): New function.
14849 * simple.el (read-shell-command): Use it.
14850 (blink-matching-open): No need for " [...]" in minibuffer-message.
14852 2011-05-12 Glenn Morris <rgm@gnu.org>
14854 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14855 (appt-check): Simplify.
14857 2011-05-12 Eli Zaretskii <eliz@gnu.org>
14859 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
14860 literal "/dev/null".
14862 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14864 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14867 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
14869 * progmodes/which-func.el (which-function):
14870 Use add-log-current-defun instead of add-log-current-defun-function,
14871 which might not be defined (Bug#8260).
14873 2011-05-12 Glenn Morris <rgm@gnu.org>
14875 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14876 Let byte-compile-initial-macro-environment always take precedence.
14878 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14880 * net/rcirc.el: Add support for SSL/TLS connections.
14881 (rcirc-server-alist): New field `encryption'.
14882 (rcirc): Check `encryption' settings.
14883 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14884 Merge make-local-variable into `set'.
14885 (rcirc--connection-open-p): New function.
14886 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14887 the process is not a network process (e.g. running gnutls-cli).
14888 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14889 Make rcirc-(en|de)code-coding-system local here.
14890 (rcirc-mode): Merge make-local-variable into `set'.
14891 (rcirc-parent-buffer): Make permanent buffer-local.
14892 (rcirc-multiline-minor-mode): Don't do it here.
14893 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14894 there's no server buffer.
14896 2011-05-11 Glenn Morris <rgm@gnu.org>
14898 * newcomment.el (comment-kill): Prefix "unused" local.
14900 * term/w32console.el (get-screen-color): Declare.
14902 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14903 Handle symbol elements of byte-compile-initial-macro-environment.
14905 2011-05-10 Leo Liu <sdl.web@gmail.com>
14907 * bookmark.el (bookmark-bmenu-mode-map):
14908 Bind bookmark-bmenu-search to `/'.
14910 * mail/footnote.el: Convert to utf-8 encoding.
14911 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14912 (Footnote-unicode): New function.
14913 (footnote-style-alist): Add unicode style to the list.
14914 (footnote-style): Doc fix.
14916 2011-05-10 Jim Meyering <meyering@redhat.com>
14918 Fix doubled-word typos.
14919 * international/quail.el (quail-insert-kbd-layout): and and -> and
14920 * kermit.el: and and -> and
14921 * net/ldap.el (ldap-search-internal): to to -> to
14922 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14923 * progmodes/js.el (js-mode): and and -> and
14924 * textmodes/artist.el (artist-move-to-xy): at at -> at
14925 (artist-draw-region-trim-line-endings): if if -> if
14926 And Safetyc -> Safety.
14927 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14929 2011-05-10 Glenn Morris <rgm@gnu.org>
14930 Stefan Monnier <monnier@iro.umontreal.ca>
14932 * files.el (hack-one-local-variable-eval-safep):
14933 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14935 2011-05-10 Glenn Morris <rgm@gnu.org>
14937 * calendar/diary-lib.el (diary-list-entries-hook)
14938 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14939 (diary-nongregorian-marking-hook, diary-list-entries)
14940 (diary-include-other-diary-files, diary-mark-entries)
14941 (diary-mark-included-diary-files): Doc fixes.
14943 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14945 * misc.el: Require tabulated-list.el during compilation.
14947 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14949 * progmodes/compile.el (compilation-start):
14950 Run compilation-filter-hook for the async case too.
14951 (compilation-filter-hook): Doc fix.
14953 2011-05-09 Deniz Dogan <deniz@dogan.se>
14955 * wdired.el: Remove outdated installation comment. Fix usage
14958 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14960 * misc.el: Implement new command `list-dynamic-libraries'.
14961 (list-dynamic-libraries--loaded-only-p): New variable.
14962 (list-dynamic-libraries--refresh): New function.
14963 (list-dynamic-libraries): New command.
14965 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14967 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14968 Fix the ant regexp to handle end-line and end-column info from jikes.
14969 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14970 higher priority to avoid clobbering by gnu.
14972 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14974 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14975 if the face has existing theme settings (Bug#8454).
14977 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14979 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14980 Only match variables declared via `my' or `our' (Bug#8261).
14982 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14983 special file names `.' and `..' (Bug#8259).
14985 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14987 * progmodes/grep.el (grep-mode-font-lock-keywords):
14988 Remove buffer-changing entries.
14989 (grep-filter): New function.
14990 (grep-mode): Add it to compilation-filter-hook.
14992 * progmodes/compile.el (compilation-filter-hook)
14993 (compilation-filter-start): New defvars.
14994 (compilation-filter): Call compilation-filter-hook prior to
14995 updating the process mark.
14997 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14999 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15001 2011-05-07 Eli Zaretskii <eliz@gnu.org>
15003 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15004 mailclient-send-it even if window-system is nil. (Bug#8595)
15006 * term/w32console.el (terminal-init-w32console):
15007 Call get-screen-color and use its output to set the frame
15008 background-mode. (Bug#8597)
15010 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15012 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15013 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15015 (defgeneric, eieio--defmethod): Use them.
15016 (eieio-defgeneric): Remove.
15017 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15019 2011-05-07 Glenn Morris <rgm@gnu.org>
15021 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15022 Use let rather than let*.
15023 (timeclock-find-discrep): Remove unused local.
15025 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15027 * calendar/appt.el (appt-time-msg-list): Doc fix.
15029 2011-05-06 Noah Friedman <friedman@splode.com>
15031 * apropos.el (apropos-print-doc): Only use
15032 emacs-lisp-docstring-fill-column when it is bound to an integer,
15033 per that variable's documentation.
15035 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15037 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
15038 and warnings are not silently discarded (e.g. use -d instead of -P).
15040 2011-05-06 Glenn Morris <rgm@gnu.org>
15042 * calendar/appt.el (appt-message-warning-time): Doc fix.
15043 (appt-warning-time-regexp): New option.
15044 (appt-make-list): Respect appt-message-warning-time.
15046 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15048 (diary-add-to-list): Strip comments from the displayed string.
15049 (diary-mode): Set comment-start and comment-end.
15051 * vc/diff-mode.el (smerge-refine-subst): Declare.
15052 (diff-refine-hunk): Don't require smerge-mode when compiling.
15054 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
15056 * simple.el (list-processes): Return nil as the docstring says.
15058 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
15060 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15062 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15063 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15064 determining of binary transfer. (Bug#7383)
15066 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
15068 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15069 Fix port computation bug. (Bug#8618)
15071 2011-05-05 Glenn Morris <rgm@gnu.org>
15073 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15075 * simple.el (shell-dynamic-complete-functions)
15076 (comint-dynamic-complete-functions): Declare.
15078 * net/network-stream.el (gnutls-negotiate):
15079 * simple.el (tabulated-list-print): Fix declarations.
15081 * progmodes/gud.el (syntax-symbol, syntax-point):
15082 Remove unnecessary and incorrect declarations.
15084 * emacs-lisp/check-declare.el (check-declare-scan):
15085 Handle byte-compile-initial-macro-environment in bytecomp.el
15087 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15089 Fix earlier half-done eieio-defmethod change (bug#8338).
15090 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15091 Streamline and change calling convention.
15092 (defmethod): Adjust accordingly and simplify.
15093 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15094 new eieio--defmethod.
15095 (slot-boundp): Minor CSE simplification.
15097 2011-05-05 Milan Zamazal <pdm@zamazal.org>
15099 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15100 (glasses-make-readable): Use glasses-separate-capital-groups.
15102 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
15104 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15105 (warning-series): Doc fix.
15106 (display-warning): Don't try to create the buffer if we just found it.
15108 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
15110 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15111 (autoload-find-generated-file): New function.
15112 (generate-file-autoloads): Bind generated-autoload-file to
15114 (update-file-autoloads, update-directory-autoloads):
15115 Use autoload-find-generated-file. If called interactively, prompt for
15116 output file (Bug#7989).
15117 (batch-update-autoloads): Doc fix.
15119 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
15121 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15123 2011-05-04 Glenn Morris <rgm@gnu.org>
15125 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15126 function, so it follows changes in calendar-date-style.
15127 (diary-fancy-date-matcher): New function.
15128 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15129 (diary-fancy-font-lock-fontify-region-function):
15130 Use diary-fancy-date-pattern as a function.
15132 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15133 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15135 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15137 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15138 instead of positional arguments. Allow :keylist and :crlfiles
15140 (open-gnutls-stream): Call it.
15142 * net/network-stream.el (network-stream-open-starttls): Adjust to
15143 call `gnutls-negotiate' with :process and :hostname arguments.
15145 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15147 * minibuffer.el (completion--message): New function.
15148 (completion--do-completion, minibuffer-complete)
15149 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15150 (completion--do-completion): Don't ignore completion-auto-help when in
15153 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15154 internal encoding (e.g. tibetan zero is not whitespace).
15155 (global-whitespace-mode): Prefer save-current-buffer.
15156 (whitespace-trailing-regexp): Remove useless save-match-data.
15157 (whitespace-empty-at-bob-regexp): Minor simplification.
15159 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
15161 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15163 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15165 * textmodes/ispell.el (ispell-add-per-file-word-list):
15166 Use `concat' to create string for insertion.
15168 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15170 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15171 Avoid open-line which runs post-self-insert-hook.
15172 (bibtex-fill-entry): Remove unused `end' var.
15174 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15176 * textmodes/ispell.el (ispell-add-per-file-word-list):
15177 Protect against `nil' value of `comment-start' (Bug#8579).
15179 2011-05-03 Leo Liu <sdl.web@gmail.com>
15181 * isearch.el (isearch-yank-pop): New command.
15182 (isearch-mode-map): Bind it to `M-y'.
15183 (isearch-forward): Mention it.
15185 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15187 * simple.el (minibuffer-complete-shell-command): Remove.
15188 (minibuffer-local-shell-command-map): Use completion-at-point.
15189 (read-shell-command): Setup completion vars here instead.
15190 (read-expression-map): Bind TAB to symbol completion.
15192 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15193 error directly rather via storing it into `results'.
15195 2011-05-02 Leo Liu <sdl.web@gmail.com>
15197 * vc/diff.el: Fix description.
15199 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15201 * server.el (server-eval-at): New function.
15203 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15205 * net/network-stream.el (open-network-stream): Take a :nowait
15206 parameter and pass it on to `make-network-process'.
15207 (network-stream-open-plain): Ditto.
15209 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15211 * faces.el (face-spec-set-match-display): Don't match toolkit
15212 options on terminal frames.
15214 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15216 * progmodes/pascal.el: Use lexical binding.
15217 (pascal-mode-map): Remove author preferences.
15219 * pcomplete.el (pcomplete-std-complete): Don't abuse
15220 completion-at-point.
15222 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
15224 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15225 removing code that has been dead since 1991 or so.
15227 * startup.el (command-line): When warning about "_emacs", use a
15228 delayed warning to allow the user to filter it out.
15230 2011-04-28 Deniz Dogan <deniz@dogan.se>
15232 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15233 user has not joined.
15235 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15237 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15238 aren't any completions at point.
15240 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
15242 * subr.el (display-delayed-warnings): New function.
15243 (delayed-warnings-hook): New variable.
15245 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15247 * minibuffer.el (completion-at-point, completion-help-at-point):
15248 Don't presume that a given completion-at-point-function will always
15249 use the same calling convention.
15251 * pcomplete.el (pcomplete-completions-at-point):
15252 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15253 pcomplete-seen is non-nil.
15254 (pcomplete-comint-setup): Also recognize the new comint/shell
15255 completion functions.
15256 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15257 pcomplete-seen is non-nil.
15259 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
15261 * calendar/icalendar.el (diary-lib): Add require statement.
15262 (icalendar--create-uid): Read out a uid from a text-property on
15263 the first character in the entry. This allows for code to add its
15264 own uid to the entry.
15265 (icalendar--convert-float-to-ical): Add export of
15266 `diary-float'-entries save for those with the optional DAY
15269 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15271 * subr.el (shell-quote-argument): Use alternate escaping strategy
15272 when we spot a variable reference in a string.
15274 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15276 * cus-start.el (all): Define customization for debug-on-event.
15278 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15280 * subr.el (shell-quote-argument): Escape correctly under Windows.
15282 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15284 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15286 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
15288 * net/tramp.el (tramp-process-actions): Add POS argument.
15289 Delete region between POS and (pos).
15291 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15292 Use `nil' position in `tramp-process-actions' call.
15293 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15295 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15296 position in `tramp-process-actions' call.
15298 * net/trampver.el: Update release number.
15300 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15302 * custom.el (defcustom): Obey lexical-binding.
15304 Fix octave-inf completion problems reported by Alexander Klimov.
15305 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15306 Inherit from octave-mode-syntax-table.
15307 (inferior-octave-mode): Set info-lookup-mode.
15308 (inferior-octave-completion-at-point): New function.
15309 (inferior-octave-complete): Use it and completion-in-region.
15310 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15311 comint-filename-completion.
15312 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15313 symbol elements which shouldn't be word elements.
15314 (octave-font-lock-keywords, octave-beginning-of-defun)
15315 (octave-function-header-regexp): Adjust regexps accordingly.
15316 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15318 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
15320 * net/gnutls.el (gnutls-errorp): Declare before first use.
15322 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15324 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15325 verify-error, and verify-hostname-error parameters. Check whether
15326 default trustfile exists before going to use it. Add missing
15327 argument to gnutls-message-maybe call. Return value.
15328 Reported by Claudio Bley <claudio.bley@gmail.com>.
15329 (open-gnutls-stream): Add usage example.
15331 * net/network-stream.el (network-stream-open-starttls): Give host
15332 parameter to `gnutls-negotiate'.
15333 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
15334 * subr.el (shell-quote-argument): Escape correctly under Windows.
15336 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
15338 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15339 Use correct match group (bug#8438).
15341 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
15343 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15344 (package-menu--generate): New arg specifying packages to show.
15345 (package-menu-refresh, package-menu-execute, list-packages):
15347 (package-show-package-list): New function, replacing deleted
15348 package--list-packages (renamed because it is non-internal).
15350 * finder.el (finder-list-matches): Use package-show-package-list
15351 instead of deleted package--list-packages.
15353 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15354 Based on a previous implementation by Juanma Barranquero (Bug#8366).
15355 (vc-annotate-mode-map): Bind it to RET.
15357 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15359 * progmodes/etags.el (next-file): Don't use set-buffer to change
15360 buffers (Bug#8478).
15362 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
15364 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15366 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15367 (apropos-accumulator): Doc fix.
15368 (apropos-function, apropos-macro, apropos-command)
15369 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15370 (apropos-plist): Add face property.
15371 (apropos-symbols-internal): Fix indentation.
15372 (apropos-print): Simplify help, and recognize apropos-multi-type.
15373 (apropos-print-doc): Use button-type-get to extract the button's
15374 face property. Fill docstring (Bug#8352).
15376 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
15378 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15380 * play/mpuz.el (mpuz-silent): Doc fix.
15381 (mpuz-mode-map): Use mapc.
15382 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15383 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15384 Fix typos in docstrings.
15386 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15387 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15389 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15391 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
15393 * minibuffer.el (completion--do-completion): Avoid the "Next char
15394 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15396 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15397 mouse-2 into unread-command-events, it is interpreted correctly.
15399 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
15400 (image-toggle-display): Doc fix.
15402 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
15404 * textmodes/page.el (what-page): Use line-number-at-pos to
15405 calculate line number (Bug#6825).
15407 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15409 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15410 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15411 Pass argument NO-DEFAULT to `find-tag-interactive'.
15413 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15415 Lexical-binding cleanup.
15417 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15418 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15419 * progmodes/ada-prj.el (ada-prj-initialize-values)
15420 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15421 (ada-prj-show-value):
15422 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15423 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15424 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15425 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15426 * progmodes/bug-reference.el (bug-reference-push-button):
15427 * progmodes/fortran.el (fortran-line-length):
15428 * progmodes/glasses.el (glasses-change):
15429 * progmodes/octave-mod.el (octave-fill-paragraph):
15430 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15431 (python-pdbtrack-grub-for-buffer, python-sentinel):
15432 * progmodes/sql.el (sql-save-connection):
15433 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15434 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15435 Mark unused parameters.
15437 * progmodes/compile.el (compilation--flush-directory-cache)
15438 (compilation--flush-parse, compile-internal): Mark unused parameters.
15439 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15440 (compilation-next-error-function): Remove unused variable `timestamp'.
15442 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15443 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15445 * progmodes/dcl-mode.el (dcl-end-of-command):
15446 Remove unused variable `start'.
15447 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15448 (dcl-option-value-basic, dcl-option-value-offset)
15449 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15450 Mark unused parameters.
15451 (dcl-save-local-variable): Remove unused variable `val'.
15454 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15455 Mark unused parameters.
15456 (delphi-ignore-changes): Move before first use.
15457 (delphi-charset-token-at): Remove unused variable `start'.
15458 (delphi-else-start): Remove unused variable `if-count'.
15459 (delphi-comment-block-start, delphi-comment-block-end):
15460 Remove unused variable `kind'.
15461 (delphi-indent-line): Remove unused variable `new-point'.
15463 * progmodes/ebrowse.el (ebrowse-files-list)
15464 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15465 Mark unused parameters. Don't quote `lambda'.
15466 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15467 Don't quote `lambda'.
15468 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15469 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15470 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15471 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15472 Use `ignore-errors'.
15473 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15474 (ebrowse-view/find-file-and-search-pattern)
15475 (ebrowse-view/find-member-declaration/definition):
15476 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15477 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15478 Rename parameter PREFIX-ARG to PREFIX.
15479 (ebrowse-tags-read-name): Remove unused variables `start' and
15481 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15484 * progmodes/etags.el (local-find-tag-hook): Declare.
15485 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15486 Mark unused parameters.
15488 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15489 (executable-interpret): Mark unused parameter.
15491 * progmodes/flymake.el (flymake-process-sentinel)
15492 (flymake-after-change-function)
15493 (flymake-create-temp-with-folder-structure)
15494 (flymake-get-include-dirs-dot): Mark unused parameters.
15495 (flymake-safe-delete-directory): Remove unused variable `err'.
15497 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15498 (speedbar-timer-fn, speedbar-line-text)
15499 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15500 (speedbar-center-buffer-smartly): Declare functions.
15501 (gdb-find-watch-expression): Remove unused variable `array'.
15502 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15503 (gdb-starting): Mark unused parameters.
15504 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15505 (gdb-table-string): Remove unused variable `res'.
15506 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15507 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15508 (gdb-display-buffer): Remove unused variable `cur-size'.
15510 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15511 allow lexical-binding compilation.
15512 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15513 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15514 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15515 Mark unused parameters.
15516 (gud-gdb-marker-filter): Remove unused variable `match'.
15517 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15518 lambda expressions and funcall them, instead of using `fset'.
15520 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15521 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15523 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15524 variable `header-beg'; use `let'.
15526 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15527 `restart', `last-sexp' and `at-do'.
15529 * progmodes/js.el (js--debug): Mark unused parameter.
15530 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15531 (js--splice-into-items): Remove unused variable `item'.
15532 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15534 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15535 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15536 (makefile-complete): Remove unused variable `try'.
15537 (makefile-fill-paragraph, makefile-match-function-end):
15538 Mark unused parameters.
15540 * progmodes/octave-inf.el (inferior-octave-complete):
15541 Remove unused variable `proc'.
15542 (inferior-octave-output-digest): Mark unused parameter.
15544 * progmodes/perl-mode.el (perl-calculate-indent):
15545 Remove unused variable `err'.
15547 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15548 (prolog-indent-line): Mark unused parameters.
15549 (prolog-indent-line): Remove unused variable `beg'.
15551 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15552 (reporter-dont-compact-list): Declare.
15554 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15555 Remove unused variable `char'.
15556 (sh-debug): Mark unused parameter.
15557 (sh-get-indent-info): Remove unused variable `start'.
15558 (sh-calculate-indent): Remove unused variable `var'.
15560 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15561 (simula-electric-keyword): Remove unused variable `null'.
15562 (simula-search-backward, simula-search-forward): Remove unused
15563 variables `begin' and `end'.
15565 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15566 Remove unused variable `pos'.
15567 (vera-electric-tab, vera-comment-uncomment-region):
15568 Mark unused parameters.
15569 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15571 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
15573 * emacs-lisp/package.el (package--builtins, package-alist)
15574 (package-load-descriptor, package-built-in-p, package-activate)
15575 (define-package, package-installed-p)
15576 (package-compute-transaction, package-buffer-info)
15577 (package--push): Doc fix. Distinguish more clearly between
15578 version strings and version lists.
15580 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
15582 Lexical-binding cleanup.
15584 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15585 (5x5-make-mutate-best):
15586 * play/fortune.el (fortune-in-buffer):
15587 * play/gomoku.el (gomoku-init-display):
15588 * play/solitaire.el (solitaire, solitaire-do-check):
15589 * play/tetris.el (tetris-default-update-speed-function):
15590 Mark unused parameters.
15592 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15593 (bubbles--shift): Remove unused variable `char-org'.
15594 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15595 (bubbles--show-images): Remove unused variable `char'.
15597 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15598 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15599 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15600 (decipher-analyze-buffer): Use ?\s.
15601 (decipher-make-checkpoint): Remove unused variable `mapping'.
15603 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15605 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15606 Remove unused variable `result'; use `let'.
15608 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15609 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15610 (gametree-children-shown-p, gametree-compute-reduced-score):
15611 Use `ignore-errors'.
15613 * play/handwrite.el (ps-lpr-switches): Declare.
15614 (handwrite): Remove unused variables `pmin' and `lastp'.
15616 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15618 * play/landmark.el (landmark-init-display)
15619 (landmark-update-naught-weights): Mark unused parameters.
15620 (landmark-y): Remove unused variable `noise'. Simplify.
15621 (landmark-human-plays): Remove unused variable `score'.
15623 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15624 (mpuz-try-proposal): Remove unused variable `game'.
15626 * play/zone.el (life-patterns): Declare.
15628 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
15630 * vc/vc.el (ediff-vc-internal): Declare function.
15632 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15634 * shell.el: Use lexical-binding and std completion UI.
15635 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15636 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15637 comint-preoutput-filter-functions rather than on
15638 comint-output-filter-functions.
15639 (shell-command-completion, shell--command-completion-data)
15640 (shell-filename-completion, shell-environment-variable-completion)
15641 (shell-c-a-p-replace-by-expanded-directory): New functions.
15642 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15643 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15644 (shell-dynamic-complete-environment-variable): Use them.
15645 (shell-dynamic-complete-as-environment-variable)
15646 (shell-dynamic-complete-as-command): Remove.
15647 (shell-match-partial-variable): Match past point.
15648 * comint.el: Clean up use of completion-at-point-functions.
15649 (comint-completion-at-point): New function.
15650 (comint-mode): Use it completion-at-point-functions.
15651 (comint-dynamic-complete): Make it obsolete.
15652 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15653 (comint-c-a-p-replace-by-expanded-history): New function.
15654 (comint-dynamic-complete-functions)
15655 (comint-replace-by-expanded-history): Use it.
15656 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15657 termination strings. Try harder to avoid second try-completion.
15658 (completion-in-region-mode-map): Disable bindings that don't work yet.
15660 * comint.el: Use lexical-binding. Require CL.
15661 (comint-dynamic-complete-functions): Use comint-filename-completion.
15662 (comint-completion-addsuffix): Tweak custom type.
15663 (comint-filename-completion, comint--common-suffix)
15664 (comint--common-quoted-suffix, comint--table-subvert)
15665 (comint--complete-file-name-data): New functions.
15666 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15667 (comint-dynamic-list-filename-completions): Use them.
15668 (comint-dynamic-simple-complete): Make obsolete.
15670 * minibuffer.el (completion-in-region-mode):
15671 Keep completion-in-region-mode--predicate global.
15672 (completion-in-region--postch):
15673 Assume completion-in-region-mode--predicate is not null.
15675 * progmodes/flymake.el (flymake-start-syntax-check-process):
15676 Obey `dir'. Simplify.
15678 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15679 we're in VC after all.
15681 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15683 * vc/vc.el (vc-diff-build-argument-list-internal)
15684 (vc-version-ediff, vc-ediff): New commands.
15685 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15687 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15689 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15692 * obsolete/erc-hecomplete.el: Make obsolete.
15693 * obsolete/: Standardize obsolescence info in the header.
15695 2011-04-20 Glenn Morris <rgm@gnu.org>
15697 * calendar/solar.el (solar-horizontal-coordinates):
15698 Use the longitude argument rather than `calendar-longitude'.
15699 (solar-date-next-longitude): Remove unused locals.
15701 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15703 * whitespace.el: New version 13.2.1.
15705 2011-04-20 felix <EmacsWiki> (tiny change)
15707 * whitespace.el (global-whitespace-mode): Keep highlight when
15708 switching between major modes on a file.
15710 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15712 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15713 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15714 multi-line comments as well.
15716 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
15718 Lexical-binding cleanup.
15720 * arc-mode.el (archive-mode-revert):
15721 * cmuscheme.el (scheme-interactively-start-process):
15722 * custom.el (custom-initialize-delay):
15723 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15724 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15725 * emacs-lock.el (emacs-lock-clear-sentinel):
15726 * ezimage.el (defezimage):
15727 * follow.el (follow-avoid-tail-recenter):
15728 * fringe.el (set-fringe-mode-1):
15729 * generic-x.el (bat-generic-mode-compile):
15730 * help-mode.el (help-info-variable, help-do-xref)
15731 (help-mode-revert-buffer):
15732 * help.el (view-emacs-todo):
15733 * iswitchb.el (iswitchb-completion-help):
15734 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15735 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15736 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15737 * locate.el (locate-update):
15738 * longlines.el (longlines-encode-region)
15739 (longlines-after-change-function):
15740 * outline.el (outline-isearch-open-invisible):
15741 * ps-def.el (declare-function, charset-dimension, char-width)
15743 * ps-mule.el (ps-mule-plot-string):
15744 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15745 (recentf-edit-list-select, recentf-edit-list-validate)
15746 (recentf-open-files-action):
15747 * rect.el (delete-whitespace-rectangle-line)
15748 (rectangle-number-line-callback):
15749 * register.el (window-configuration-to-register)
15750 (frame-configuration-to-register):
15751 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15752 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15753 (xselect-convert-to-targets, xselect-convert-to-delete)
15754 (xselect-convert-to-filename, xselect-convert-to-charpos)
15755 (xselect-convert-to-lineno, xselect-convert-to-colno)
15756 (xselect-convert-to-os, xselect-convert-to-host)
15757 (xselect-convert-to-user, xselect-convert-to-class)
15758 (xselect-convert-to-name, xselect-convert-to-integer)
15759 (xselect-convert-to-atom, xselect-convert-to-identity):
15760 * subr.el (declare, ignore, process-kill-without-query)
15761 (text-clone-maintain):
15762 * terminal.el (te-get-char, te-tic-sentinel):
15763 * tool-bar.el (tool-bar-make-keymap):
15764 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15765 * type-break.el (type-break-mode, type-break-noninteractive-query):
15766 * view.el (View-back-to-mark):
15767 * wid-browse.el (widget-browse-action, widget-browse-widget)
15768 (widget-browse-widgets, widget-browse-sexp):
15769 * widget.el (define-widget-keywords):
15770 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15771 Mark unused parameters.
15773 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15774 (align-areas): Remove unused variable `look'.
15775 (align-region): Remove unused variables `real-end' and `pos-list'.
15777 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15779 * bindings.el (mode-line-modified, mode-line-remote):
15780 Mark unused parameters.
15781 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15783 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15784 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15786 * comint.el (comint-history-isearch-pop-state)
15787 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15788 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15789 (comint-substitute-in-file-name): Doc fix.
15791 * completion.el (cmpl-statistics-block): Mark unused parameter.
15792 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15793 (save-completions-to-file, load-completions-from-file):
15794 Remove unused local variable `e'.
15796 * composite.el (compose-chars): Remove unused variable `len'.
15797 (lgstring-insert-glyph): Remove unused variable `g'.
15798 (compose-glyph-string): Remove unused variables `ascent',
15799 `descent', `lbearing' and `rbearing'.
15800 (compose-glyph-string-relative): Remove unused variables
15801 `lbearing', `rbearing' and `wadjust'.
15802 (compose-gstring-for-graphic): Remove unused variables `header',
15803 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15804 (compose-gstring-for-terminal): Remove unused variables `header'
15805 and `nchars'. Use `let', not `let*'.
15807 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15808 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15809 (Custom-buffer-done, custom-buffer-create-internal)
15810 (custom-browse-visibility-action, custom-browse-group-tag-action)
15811 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15812 (widget-magic-mouse-down-action, custom-toggle-parent)
15813 (custom-add-parent-links, custom-toggle-hide-variable)
15814 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15815 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15816 (custom-face-menu-create, custom-variable-menu-create, get)
15817 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15818 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15819 (customize-apropos): Remove unused variable `tests'.
15820 (custom-group-value-create): Remove unused variable `hidden-p'.
15821 (sort-fold-case): Declare.
15823 * cus-theme.el (custom-reset-standard-faces-list)
15824 (custom-reset-standard-variables-list): Declare.
15825 (customize-create-theme, custom-theme-revert, custom-theme-write)
15826 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15827 Mark unused parameters.
15829 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15831 * delim-col.el (delimit-columns-max): Move defvar before first use.
15833 * descr-text.el (describe-char-categories): Don't quote `lambda'.
15834 (describe-char): Don't quote `lambda'. Mark unused parameter.
15836 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15837 (auto-insert): Declare.
15838 (desktop-restore-file-buffer): Rename desktop-* parameters;
15840 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15841 (desktop-buffer): Rename desktop-* parameters.
15843 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15844 (dframe-reposition-frame-xemacs, dframe-help-echo)
15845 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15846 Mark unused parameters.
15848 * dired-aux.el (backup-extract-version-start, overwrite-query)
15849 (overwrite-backup-query, rename-regexp-query)
15850 (rename-non-directory-query): Declare.
15851 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15852 (dired-add-entry): Remove unused variable `orig-file-name'.
15853 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15854 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15855 `dired-copy-preserve-time' directly.
15856 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15857 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15859 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15860 (dired-virtual-revert, dired-make-relative-symlink):
15861 Mark unused parameters.
15862 (manual-program): Declare.
15863 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15864 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15865 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15867 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15869 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15871 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15874 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15876 * electric.el (Electric-command-loop): Rename parameter
15877 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15879 * expand.el (expand-in-literal): Remove unused variable `here'.
15881 * facemenu.el (facemenu-add-new-color):
15882 Remove unused variable `docstring'.
15884 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15885 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15886 (face-attr-construct): Mark unused parameter. Doc fix.
15887 (read-color): Remove unused variable `hex-string'.
15889 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15890 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15891 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15892 (display-buffer-other-frame): Remove unused variable `old-window'.
15893 (kill-buffer-hook): Declare.
15894 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15895 Mark unused parameters.
15896 (after-find-file): Pass 1 to `auto-save-mode', not t.
15898 * files-x.el (auto-insert): Declare.
15899 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15901 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
15902 variable `buf'. Mark unused parameter.
15903 (find-lisp-insert-directory): Mark unused parameter.
15905 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15906 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15907 (format-common-tail): Remove, unused.
15908 (format-deannotate-region): Remove unused variable `loc'.
15909 (format-annotate-region): Remove unused variable `p'.
15910 (format-annotate-single-property-change): Remove unused variables
15911 `default' and `tail'.
15913 * forms.el (read-file-filter): Declare.
15914 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15916 * frame.el (frame-creation-function-alist): Mark unused parameter.
15917 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15919 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15920 Remove unused parameters.
15921 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15922 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15924 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15925 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15926 (hfy-prepare-tag-map): Mark unused parameters.
15927 (htmlfontify-buffer): Use `called-interactively-p'.
15929 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15930 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15931 (ibuffer-do-occur): Mark unused parameters.
15932 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15933 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15935 * ibuffer.el: Don't quote `lambda'.
15936 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15937 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15938 Mark unused parameters.
15940 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15941 (ido-completing-read): Mark unused parameters.
15942 (ido-copy-current-word): Mark unused parameters;
15943 remove unused variable `name'.
15944 (ido-sort-merged-list): Remove unused parameter `dirs'.
15946 * ielm.el (ielm-input-sender): Mark unused parameter.
15947 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15948 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15949 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15950 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15951 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15953 * image-dired.el (image-dired-display-thumbs): Remove unused
15954 variables `curr-file' and `count'.
15955 (image-dired-remove-tag): Remove unused variable `start'.
15956 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15957 variable `curr-file'
15958 (image-dired-rotate-original): Remove unused variable `temp-file'.
15959 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15960 Remove unused variable `file'.
15961 (image-dired-gallery-generate): Remove unused variable `curr'.
15962 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15964 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15966 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15968 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15970 * isearch.el (minibuffer-history-symbol): Declare.
15971 (isearch-edit-string): Remove unused variable `err'.
15972 (isearch-message-prefix, isearch-message-suffix):
15973 Mark unused parameters.
15975 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15977 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15979 * makesum.el (double-column): Remove unused variable `cnt'.
15981 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15982 (ido-ignore-item-temp-list): Declare.
15984 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15985 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15986 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15987 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15990 * mouse-sel.el (mouse-extend-internal):
15991 Remove unused variable `orig-window-frame'.
15993 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15994 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15995 Move declarations before first use.
15996 (pcomplete-opt): Mark unused parameters; doc fix.
15998 * proced.el (proced-revert): Mark unused parameter.
15999 (proced-send-signal): Remove unused variable `err'.
16001 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16002 Rename parameter PREFIX-ARG to ARG.
16003 (ps-basic-plot-string, ps-basic-plot-whitespace):
16004 Mark unused parameters.
16006 * replace.el (replace-count): Define.
16007 (occur-revert-function): Mark unused parameters.
16008 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16009 (isearch-case-fold-search, isearch-string): Declare.
16010 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16011 bind `case-fold-search'. Remove unused variables `beg' and `end',
16013 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16014 COUNT and bind `replace-count'.
16015 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16018 * savehist.el (print-readably, print-string-length): Declare.
16020 * shadowfile.el (shadow-expand-cluster-in-file-name):
16021 Remove unused variable `cluster'.
16022 (shadow-copy-file): Remove unused variable `i'.
16023 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16024 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16025 (shadow-define-literal-group, shadow-define-regexp-group)
16026 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16028 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16029 (shell): Use `called-interactively-p'.
16030 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16032 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16033 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16034 (delete-backward-char): Remove unused variable `ocol'.
16035 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16036 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16037 (event-apply-hyper-modifier, event-apply-shift-modifier)
16038 (event-apply-control-modifier, event-apply-meta-modifier):
16039 Mark unused parameters.
16040 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16041 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16043 * speedbar.el (speedbar-ignored-directory-expressions)
16044 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16045 (speedbar-find-file, speedbar-dir-follow)
16046 (speedbar-directory-buttons-follow, speedbar-tag-find)
16047 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16048 (speedbar-buffers-line-directory, speedbar-buffer-click):
16049 Mark unused parameters.
16050 (speedbar-tag-file): Remove unused variable `mode'.
16051 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16053 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16055 * talk.el (talk): Remove unused variable `display'.
16057 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16058 (tar-write-region-annotate): Mark unused parameter.
16060 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16061 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16062 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16063 warning by another.
16065 * time-stamp.el (time-stamp-string-preprocess):
16066 Remove unused variable `require-padding'.
16068 * tree-widget.el (widget-glyph-enable): Declare.
16069 (tree-widget-action): Mark unused parameter.
16071 * w32-fns.el (x-get-selection): Mark unused parameter.
16072 (autoload-make-program, generated-autoload-file): Declare.
16074 * wdired.el (wdired-revert): Mark unused parameters.
16075 (wdired-xcase-word): Remove unused variable `err'.
16077 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16078 (whitespace-help-scroll): Remove unused variable `data-help'.
16080 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16081 (widget-image-insert, widget-after-change, default)
16082 (widget-default-format-handler, widget-default-notify)
16083 (widget-default-prompt-value, widget-info-link-action)
16084 (widget-url-link-action, widget-function-link-action)
16085 (widget-variable-link-action, widget-file-link-action)
16086 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16087 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16088 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16089 (widget-insert-button-action, widget-delete-button-action, visibility)
16090 (widget-documentation-link-action, widget-documentation-string-action)
16091 (widget-const-prompt-value, widget-regexp-match, symbol)
16092 (widget-coding-system-prompt-value)
16093 (widget-key-sequence-value-to-external, sexp)
16094 (widget-sexp-value-to-internal, character, vector, cons)
16095 (widget-choice-prompt-value, widget-boolean-prompt-value)
16096 (widget-color--choose-action): Mark unused parameters.
16097 (widget-item-match-inline, widget-choice-match-inline)
16098 (widget-checklist-match, widget-checklist-match-inline)
16099 (widget-group-match): Rename parameter VALUES to VALS.
16100 (widget-field-value-set): Remove unused variable `size'.
16101 (widget-color-action): Remove unused variables `value' and `start'.
16103 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
16104 variable `dir'. Doc fix.
16105 (windmove-find-other-window): Don't pass it.
16107 * window.el (count-windows): Mark unused parameter.
16108 (bw-adjust-window): Remove unused variable `err'.
16110 * woman.el (woman-file-name): Remove unused variable `default'.
16111 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16112 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16113 (global-font-lock-mode): Declare.
16114 (woman-decode-region): Mark unused parameter.
16115 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16117 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16118 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16119 (x-dnd-handle-moz-url): Remove unused variable `title'.
16120 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16122 * xml.el (xml-parse-tag, xml-parse-attlist):
16123 Remove unused variable `pos'.
16125 2011-04-19 Glenn Morris <rgm@gnu.org>
16127 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16128 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16129 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16130 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16131 * calendar/cal-html.el (cal-html-insert-minical):
16132 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16133 (calendar-mark-date-pattern):
16134 Prefix "unused" locals.
16136 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16137 optional argument `style'.
16139 * calendar/appt.el (appt-make-list):
16140 * calendar/cal-china.el (calendar-chinese-date-string):
16141 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16142 (diary-hebrew-yahrzeit):
16143 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16144 * calendar/calendar.el (calendar-generate-window):
16145 * calendar/time-date.el (time-to-days):
16146 Remove unused local variables.
16148 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
16150 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16151 glyphless-char-display table.
16152 (tabulated-list-glyphless-char-display): New var.
16154 2011-04-18 Sam Steingold <sds@gnu.org>
16156 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16157 to acknowledgments.
16159 2011-04-17 Glenn Morris <rgm@gnu.org>
16161 * calendar/diary-lib.el (diary-sexp-entry):
16162 * calendar/holidays.el (holiday-sexp):
16163 Set debug-on-error rather than the removed stack-trace-on-error.
16165 2011-04-16 Glenn Morris <rgm@gnu.org>
16167 * progmodes/f90.el: Use lexical-binding.
16168 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16170 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16172 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16173 (mail-mode): Setup mailalias completion here instead.
16174 * mail/mailalias.el: Use lexical-binding.
16175 (pattern, mailalias-done): Declare dynamic.
16176 (mail-completion-at-point-function): New function, from mail-complete.
16177 (mail-complete): Use it.
16178 (mail-completion-expand): New function.
16179 (mail-get-names): Use it.
16180 (mail-directory, mail-directory-process, mail-directory-stream):
16181 Don't use `pattern' for lexically bound arg.
16183 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16185 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16186 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16187 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16189 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16190 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16191 (byte-interactive-p): Define them again, for use when inlining
16194 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
16196 * loadup.el: Use `string-to-number', not `string-to-int'.
16198 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16200 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16201 gud-gdb-complete-command.
16202 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16203 (gud-gdb-completion-at-point): New function.
16204 (gud-gdb-completions): Remove.
16206 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
16208 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16209 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16210 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16211 whether `executable-find' is bound.
16213 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16215 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16217 * minibuffer.el (completion-in-region-mode-predicate)
16218 (completion-in-region-mode--predicate): New vars.
16219 (completion-in-region, completion-in-region--postch)
16220 (completion-in-region-mode): Use them.
16221 (completion--capf-wrapper): Also return the hook function.
16222 (completion-at-point, completion-help-at-point):
16223 Adjust and provide a predicate.
16225 Preserve arg names for advice of subr and lexical functions (bug#8457).
16226 * help-fns.el (help-function-arglist): Consolidate the subr and
16227 new-byte-code cases. Add argument `preserve-names' to extract names
16228 from the docstring when needed.
16229 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16230 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16231 (ad-arglist): Use help-function-arglist's new arg.
16232 (ad-definition-type): Use cond.
16234 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
16236 * autorevert.el (auto-revert-handler):
16237 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16238 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16239 Don't quote lambda.
16241 * image-mode.el (image-transform-set-scale):
16242 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16244 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16246 * net/network-stream.el (network-stream-open-starttls): Only do
16247 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
16248 Upgrades via gnutls-cli are too slow to be done opportunistically.
16250 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
16252 * dframe.el (dframe-current-frame): Remove spurious quote.
16254 2011-04-12 Glenn Morris <rgm@gnu.org>
16256 * calendar/cal-tex.el (cal-tex-end-document):
16257 Try to automatically use latin1 input if needed.
16259 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16260 Don't try to cons a mark onto an empty element.
16262 2011-04-11 Leo Liu <sdl.web@gmail.com>
16264 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16266 (ido-kill-buffer-at-head): Support killing virtual buffers.
16268 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
16270 * minibuffer.el (completion-show-inline-help): New var.
16271 (completion--do-completion, minibuffer-complete)
16272 (minibuffer-force-complete, minibuffer-complete-word):
16273 Inhibit minibuffer messages if completion-show-inline-help is nil.
16275 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16276 to avoid interference from inline help (Bug#5849).
16278 2011-04-10 Leo Liu <sdl.web@gmail.com>
16280 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16283 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
16285 * image-mode.el (image-toggle-display-image): Signal an error if
16287 (image-transform-mode, image-transform-resize)
16288 (image-transform-set-rotation): Doc fix.
16289 (image-transform-set-resize): Delete.
16290 (image-transform-set-scale, image-transform-fit-to-height)
16291 (image-transform-fit-to-width): Handle image-toggle-display-image
16292 and image-transform-resize directly.
16294 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
16296 * doc-view.el (doc-view-fit-width-to-window)
16297 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16298 New functions for fitting the shown image to the Emacs window size.
16299 (doc-view-mode-map): Add bindings for the new functions.
16301 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
16303 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
16304 Fix typo in docstring.
16306 2011-04-08 Eli Zaretskii <eliz@gnu.org>
16308 * files.el (file-size-human-readable): Produce one digit after
16309 decimal, like "ls -lh" does.
16311 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16312 the file size representation.
16314 * simple.el (list-processes): If async subprocesses are not
16315 available, error out with a clear error message.
16317 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
16319 * help.el (help-form-show): New function, to be called from C.
16320 Put help-form output in a buffer named differently than *Help*.
16322 2011-04-08 Eli Zaretskii <eliz@gnu.org>
16324 * files.el (file-size-human-readable): New function.
16326 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16327 computing the representation inline. Don't require `cl'.
16329 2011-04-08 Glenn Morris <rgm@gnu.org>
16331 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16333 * net/browse-url.el (browse-url-firefox):
16334 Test system-type, not system-configuration.
16336 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16337 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16338 Use log-edit-empty-buffer-p. (Bug#7598)
16340 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16341 (rlogin-mode-map): Initialize in the defvar.
16342 (rlogin): Use ignore-errors.
16344 * replace.el (occur-mode-map): Some fixes for menu items.
16346 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16348 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16350 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
16352 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16353 issuing unused warnings.
16355 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16358 * simple.el: Lisp reimplement of list-processes. Based on an
16359 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16360 (process-menu-mode): New major mode.
16361 (list-processes--refresh, list-processes):
16362 (process-menu-visit-buffer): New functions.
16364 * files.el (save-buffers-kill-emacs): Don't assume any return
16365 value of list-processes, which is undocumented anyway.
16367 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
16369 * emacs-lisp/tabulated-list.el: New file.
16371 * emacs-lisp/package.el: Use Tabulated List mode.
16372 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16373 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16374 table format using Tabulated List mode variables.
16375 (package--push): New macro, replacing package-list-maybe-add.
16376 (package-menu--generate): Use package--push. Renamed from
16377 package--generate-package-list.
16378 (package-menu-refresh, list-packages): Use it.
16379 (package-menu--print-info): Rename from package-print-package.
16380 Return insertion data instead of inserting it directly.
16381 (package-menu-describe-package, package-menu-execute):
16382 Use tabulated-list-get-id.
16383 (package-menu-mark-delete, package-menu-mark-install)
16384 (package-menu-mark-unmark, package-menu-backup-unmark)
16385 (package-menu-mark-obsolete-for-deletion):
16386 Use tabulated-list-put-tag.
16387 (package--list-packages, package-menu-revert)
16388 (package-menu-get-package, package-menu-get-version)
16389 (package-menu-sort-by-column): Functions deleted.
16390 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16391 (package-menu--status-predicate, package-menu--version-predicate)
16392 (package-menu--name-predicate)
16393 (package-menu--description-predicate): Handle arguments in the
16394 Tabulated List format.
16395 (package-list-packages-no-fetch): Call list-packages.
16397 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
16399 * files.el (after-find-file-from-revert-buffer): Remove variable.
16400 (after-find-file): Don't bind it.
16401 (revert-buffer-in-progress-p): New variable.
16402 (revert-buffer): Bind it.
16403 Pass nil for `after-find-file-from-revert-buffer'.
16405 * saveplace.el (save-place-find-file-hook): Use new variable
16406 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16408 2011-04-06 Glenn Morris <rgm@gnu.org>
16410 * Makefile.in (AUTOGEN_VCS): New variable.
16411 (autoloads): Use $AUTOGEN_VCS.
16413 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16414 * calendar/calendar.el (calendar-mode-map):
16415 Check for toolkit scroll bars. (Bug#8305)
16417 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16419 * minibuffer.el (completion-in-region--postch)
16420 (completion-in-region-mode): Remove unnecessary messages.
16422 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
16424 * font-lock.el (font-lock-refresh-defaults):
16425 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16426 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16428 * info.el (Info-directory-list, Info-read-node-name-2)
16429 (Info-split-parameter-string): Doc fixes.
16430 (Info-virtual-nodes): Reflow docstring.
16431 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16432 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16433 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16434 Fix typos in docstrings.
16435 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16436 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16437 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16438 (Info-restore-desktop-buffer): Mark unused parameters.
16439 (Info-directory-find-file, Info-directory-find-node)
16440 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16441 (Info-virtual-index-find-node, Info-apropos-find-file)
16442 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
16443 Mark unused parameters; fix typos in docstrings.
16444 (Info-virtual-index): Remove unused local variable `nodename'.
16446 2011-04-05 Deniz Dogan <deniz@dogan.se>
16448 * net/rcirc.el: Update my e-mail address.
16449 (rcirc-mode-map): Remove M-o binding.
16451 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16453 * startup.el (command-line): Save the cursor's theme-face
16454 directly, instead of using face-override-spec.
16456 * custom.el (load-theme): Minor optimization in assigning faces.
16458 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16460 * help-fns.el (describe-variable): Complete all variables having
16461 documentation, including keywords.
16462 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16464 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16466 Convert to lexical-binding.
16468 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16469 (bs--get-marked-string, bs--get-modified-string)
16470 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16471 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16472 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16474 * ehelp.el (electric-help-execute-extended)
16475 (electric-help-ctrl-x-prefix):
16476 * hexl.el (hexl-revert-buffer-function):
16477 * linum.el (linum-after-change, linum-after-scroll):
16478 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16480 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16482 2011-04-04 Daiki Ueno <ueno@unixuser.org>
16489 * epg.el: Use lexical binding.
16491 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
16493 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16495 * textmodes/flyspell.el (flyspell-word): Recognize default
16496 dictionary case for flyspell-mark-duplications-exceptions.
16497 Use regexp matching for languages.
16498 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16499 default dictionary (Bug#7926).
16501 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
16503 * emacs-lisp/package.el (package--with-work-buffer):
16504 Recognize https URLs.
16506 * net/network-stream.el: Move from gnus/proto-stream.el.
16507 Change prefix to network-stream throughout.
16508 (open-protocol-stream): Merge into open-network-stream, leaving
16509 open-protocol-stream as an alias. Handle nil BUFFER args.
16511 * subr.el (open-network-stream): Move to net/network-stream.el.
16513 2011-04-02 Glenn Morris <rgm@gnu.org>
16515 * find-dired.el (find-exec-terminator): New option.
16516 (find-ls-option): Test for -ls support.
16517 (find-ls-subdir-switches): Test for -b in find-ls-option.
16518 (find-dired, find-grep-dired): Doc fixes.
16519 (find-dired): Use find-exec-terminator.
16521 * find-dired.el (find-ls-option, find-ls-subdir-switches)
16522 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16523 (find-name-arg): Remove purecopy.
16525 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16526 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16527 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16528 accordingly. Don't add the null-device if not needed.
16530 * files.el (save-some-buffers): Doc fix.
16532 2011-04-02 Eli Zaretskii <eliz@gnu.org>
16534 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16536 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
16538 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16539 Use `dolist' rather than `mapcar'.
16541 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16543 Add lexical binding.
16545 * subr.el (apply-partially): Use new closures rather than CL.
16546 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16547 (dolist, dotimes): Use slightly different expansion for lexical code.
16548 (functionp): Move to C.
16549 (letrec): New macro.
16550 (with-wrapper-hook): Use it and apply-partially instead of CL.
16551 (eval-after-load): Preserve lexical-binding.
16552 (save-window-excursion, with-output-to-temp-buffer): Turn them
16555 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16557 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16559 (help-add-fundoc-usage): Don't add `Not documented'.
16560 (help-function-arglist): Handle closures, subroutines, and new
16561 byte-code-functions.
16562 (help-make-usage): Remove leading underscores.
16563 (describe-function-1): Handle closures.
16564 (describe-variable): Use special-variable-p for completion.
16566 * files.el (lexical-binding): Declare safe.
16568 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16569 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16570 (pcase): Add `let' pattern.
16571 Change memoization so it actually works.
16572 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16573 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16576 * emacs-lisp/macroexp.el: Use lexical binding.
16577 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16578 Don't convert ' to #' without checking that it's indeed quoting
16581 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
16582 Use eval-sexp-add-defvars.
16583 (eval-sexp-add-defvars): New fun.
16585 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16587 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16589 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16590 than the internal `byte-compile-lambda'.
16591 (defmethod): Don't hide code under quotes.
16592 (eieio-defmethod): New `code' argument.
16594 * emacs-lisp/eieio-comp.el: Remove.
16596 * emacs-lisp/edebug.el (edebug-eval-defun)
16597 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16598 (edebug-toggle): Avoid `eval'.
16600 * emacs-lisp/disass.el (disassemble-internal): Handle new
16602 (disassemble-1): Handle new byte codes.
16604 * emacs-lisp/cl.el (pushnew): Silence warning.
16606 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16607 (cl-byte-compile-throw): Remove.
16608 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16610 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16613 * emacs-lisp/cconv.el: New file.
16615 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16616 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16617 (byte-compile-initial-macro-environment):
16618 Handle declare-function here.
16619 (byte-compile--lexical-environment): New var.
16620 (byte-stack-ref, byte-stack-set, byte-discardN)
16621 (byte-discardN-preserve-tos): New lap codes.
16622 (byte-interactive-p): Don't use any more.
16623 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16625 (byte-compile-lapcode): Use them and handle new lap codes.
16626 (byte-compile-obsolete): Remove.
16627 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16628 (byte-compile-arglist-warn): Check late def of inlinable funs.
16629 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16630 since they should have been expanded by now.
16631 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16632 (byte-compile-from-buffer): Remove unused second arg.
16633 (byte-compile-preprocess): New function.
16634 (byte-compile-toplevel-file-form): New function to distinguish
16635 file-form calls from outside from file-form calls from hunk-handlers.
16636 (byte-compile-file-form): Simplify.
16637 (byte-compile-file-form-defsubst): Remove.
16638 (byte-compile-file-form-defmumble): Simplify now that
16639 byte-compile-lambda always returns a byte-code-function.
16640 (byte-compile): Preprocess.
16641 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16642 Remove, not used any more.
16643 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16644 (byte-compile-make-args-desc): New funs.
16645 (byte-compile-lambda): Handle lexical functions. Always return
16646 a byte-code-function.
16647 (byte-compile-reserved-constants): New var, to make up room for
16648 closed-over variables.
16649 (byte-compile-constants-vector): Obey it.
16650 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16651 (byte-compile-macroexpand-declare-function): New function.
16652 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16653 byte-code-functions.
16654 (byte-compile-form): Check obsolescence here.
16655 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16656 (byte-compile-variable-ref): Remove.
16657 (byte-compile-dynamic-variable-op): New fun.
16658 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16659 (byte-compile-variable-set): New funs.
16660 (byte-compile-discard): Add 2 args.
16661 (byte-compile-stack-ref, byte-compile-stack-set)
16662 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16663 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16664 macroexpand-all instead.
16665 (byte-compile-quote-form): Remove.
16666 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16667 (byte-compile-bind, byte-compile-unbind): New funs.
16668 (byte-compile-let): Handle let* and lexical binding.
16669 (byte-compile-let*): Remove.
16670 (byte-compile-catch, byte-compile-unwind-protect)
16671 (byte-compile-track-mouse, byte-compile-condition-case):
16672 Handle a new :fun-body form, used for lexical scoping.
16673 (byte-compile-save-window-excursion)
16674 (byte-compile-with-output-to-temp-buffer): Remove.
16675 (byte-compile-defun): Simplify.
16676 (byte-compile-stack-adjustment): New fun.
16677 (byte-compile-out): Use it.
16678 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16680 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16683 * emacs-lisp/byte-opt.el: Use lexical binding.
16684 (byte-inline-lapcode): Remove (to bytecomp).
16685 (byte-compile-inline-expand): Pay attention to inlining to/from
16686 lexically bound code.
16687 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16689 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16690 any more and don't call compiler-macros.
16691 (byte-compile-splice-in-already-compiled-code): Remove.
16692 (byte-code): Don't inline any more.
16693 (disassemble-offset): Receive `bytes' as argument rather than via
16695 (byte-compile-tag-number): Declare before first use.
16696 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16697 `return' even if make-spliceable.
16698 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16699 obsolete interactive-p.
16700 (byte-optimize-lapcode): Optimize new lap-codes.
16701 Don't trip up on new form of `byte-constant' lap code.
16703 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16705 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16707 * custom.el (custom-initialize-default, custom-declare-variable):
16710 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16712 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16713 (COMPILE_FIRST): Add macroexp and cconv.
16714 * makefile.w32-in: Mirror changes in Makefile.in.
16716 * vc/cvs-status.el:
16720 * vc/smerge-mode.el:
16721 * textmodes/bibtex-style.el:
16722 * textmodes/css-mode.el:
16730 * emacs-lisp/smie.el:
16733 * abbrev.el: Use lexical binding.
16735 2011-04-01 Eli Zaretskii <eliz@gnu.org>
16737 * info.el (info-display-manual): New function.
16739 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16741 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16743 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16745 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
16746 an entry for that server in rcirc-authinfo. (Bug#8385)
16748 2011-03-31 Glenn Morris <rgm@gnu.org>
16750 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16752 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16754 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16756 * progmodes/python.el (python-default-interpreter)
16757 (python-python-command-args, python-jython-command-args)
16758 (python-which-shell, python-which-args, python-which-bufname)
16759 (python-file-queue, python-comint-output-filter-function)
16760 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16761 variables and functions.
16763 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16765 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16766 (completion-in-region-mode): New minor mode.
16767 (completion-in-region): Use it.
16768 (completion-in-region--data, completion-in-region-mode-map): New vars.
16769 (completion-in-region--postch): New function.
16770 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16772 (completion--capf-wrapper): New function.
16773 (completion-at-point): Use it to track well-behavedness of
16775 (completion-help-at-point): New command.
16777 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16779 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16780 syntax class to search for whitespace on a single line
16781 (Message-ID: <4D938140.4030905@redhat.com>).
16783 2011-03-30 Leo Liu <sdl.web@gmail.com>
16785 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16787 (edit-abbrevs-map): Bind them here.
16788 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16790 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16792 * allout.el (allout-hide-by-annotation, allout-flag-region):
16793 Reduce possibility of overlay leakage by making them volatile.
16795 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16796 hash is not shared between buffers. Mode initialization is
16797 responsible for giving it a useful starting value.
16798 (allout-item-span): Reduce possibility of overlay leakage by
16799 making them volatile.
16800 (allout-widgets-count-buttons-in-region): Add diagnostic function
16801 for tracking down button overlay leaks.
16803 2011-03-29 Leo Liu <sdl.web@gmail.com>
16805 * ido.el (ido-read-internal): Use the default history var
16806 minibuffer-history if no HISTORY is specified.
16808 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16810 * net/imap.el (imap-shell-open, imap-process-connection-type):
16811 Use imap-process-connection-type for 'shell' streams as well as
16812 Kerberos, SSL, other subprocesses.
16814 2011-03-28 Leo Liu <sdl.web@gmail.com>
16816 * abbrev.el (abbrev-table-empty-p): New function.
16817 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16818 nonempty ones. (Bug#5937)
16820 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16822 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16824 2011-03-27 Leo Liu <sdl.web@gmail.com>
16826 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16827 for foreground and background colors.
16828 (ansi-color-make-color-map): Adapt.
16830 2011-03-25 Leo Liu <sdl.web@gmail.com>
16832 * midnight.el (midnight-time-float): Remove. Note it calculates
16833 the microsecond component incorrectly and seconds-to-time does the
16835 Remove redundant (require 'timer).
16837 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16838 (ido-completions): Remove unused arguments. (Bug#8329)
16840 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16842 * minibuffer.el (completion--flush-all-sorted-completions):
16843 Remove itself from hook.
16844 (completion-at-point): Let the functions perform the completion
16845 immediately and return nil or t.
16846 * comint.el (comint-dynamic-complete-functions): Now identical to
16847 completion-at-point-functions.
16848 (comint-dynamic-list-input-ring): Remove unused var `index'.
16849 (comint--match-partial-filename, comint--unquote&expand-filename):
16850 New funs, split from comint-match-partial-filename.
16851 (comint-dynamic-complete): Use completion-at-point.
16852 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16854 2011-03-24 Drew Adams <drew.adams@oracle.com>
16856 * thingatpt.el: Support `defun'.
16858 2011-03-23 Leo Liu <sdl.web@gmail.com>
16860 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16862 * help-mode.el (help-mode-finish): Tweak regexp.
16864 2011-03-23 Glenn Morris <rgm@gnu.org>
16866 * eshell/esh-opt.el (eshell-eval-using-options):
16867 Do not bind unused local variable `eshell-option-stub'.
16869 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16871 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16873 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16874 keymap variable in `with-no-warnings' to avoid a warning when the
16875 keymap has been already `defconst'ed.
16877 2011-03-22 Leo Liu <sdl.web@gmail.com>
16879 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16880 encode all chars in abbrevs; otherwise use emacs-mule or
16881 utf-8-emacs. (Bug#8308)
16883 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16885 * simple.el (backward-delete-char-untabify):
16886 Avoid warning about using `delete-backward-char'.
16888 * image.el (image-type-file-name-regexps): Make it variable.
16889 `imagemagick-register-types' modifies it, and the user may want
16890 to add new extensions for known image types.
16891 (imagemagick-register-types): Throw error if not using ImageMagick.
16893 2011-03-22 Leo Liu <sdl.web@gmail.com>
16895 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16896 located before rcirc-prompt-end-marker.
16897 (rcirc-complete): Error if point is not after rcirc prompt.
16898 Handle the case when table is nil.
16899 (rcirc-user-authenticated): Define to fix compiler warning.
16901 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
16903 * custom.el (custom--inhibit-theme-enable): Make it affect only
16904 custom-theme-set-variables and custom-theme-set-faces.
16905 (provide-theme): Ignore custom--inhibit-theme-enable.
16906 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16907 (custom-enabling-themes): Delete variable.
16908 (enable-theme): Accept only loaded themes as arguments.
16909 Ignore the special custom-enabled-themes variable.
16910 (custom-enabled-themes): Forbid themes from setting this.
16911 Eliminate use of custom-enabling-themes.
16912 (custom-push-theme): Quote "changed" custom var entry.
16914 2011-03-21 Leo Liu <sdl.web@gmail.com>
16916 * ido.el (ido-read-internal): Add ido-selected to history instead
16919 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16921 * subr.el (deferred-action-list, deferred-action-function):
16924 2011-03-21 Leo Liu <sdl.web@gmail.com>
16926 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16927 change on 2011-02-13 (bug#8309).
16929 * minibuffer.el (read-file-name-function): Change default value.
16930 (read-file-name--defaults): Rename from read-file-name-defaults.
16931 (read-file-name-default): Rename from read-file-name.
16932 (read-file-name): Call read-file-name-function.
16934 2011-03-21 Glenn Morris <rgm@gnu.org>
16936 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16939 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
16941 * cus-theme.el: Add missing provide statement.
16942 (customize-create-theme): Extract theme value correctly.
16943 (custom-theme-visit-theme): Autoload.
16944 (customize-create-theme): Prompt before inserting default faces.
16946 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16948 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16949 units and musical notes.
16951 2011-03-20 Leo Liu <sdl.web@gmail.com>
16953 * ido.el (ido-read-internal): Use completing-read-default.
16954 (ido-completing-read): Fix compatibility with completing-read.
16956 2011-03-20 Christian Ohler <ohler@gnu.org>
16958 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16959 (ert-delete-all-tests): Use `called-interactively-p' rather than
16961 (ert--make-xrefs-region): Respect END.
16963 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16965 * dired-aux.el (dired-create-directory): Signal an error if the
16966 directory already exists (Bug#8246).
16968 * facemenu.el (list-colors-display): Call list-faces-display
16969 inside with-help-window.
16970 (list-colors-print): Use display property to align the final
16971 column, instead of checking window-width.
16973 2011-03-19 Eli Zaretskii <eliz@gnu.org>
16975 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
16976 windows-nt systems.
16977 (emerge-protect-metachars): Quote correctly for ms-dos and
16978 windows-nt systems.
16980 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
16982 * info.el (info-initialize): Replace all uses of `:' with
16983 path-separator for compatibility with non-Unix systems.
16984 Cache quoting of path-separator. (Bug#8258)
16986 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
16988 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16989 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16990 (mouse-avoidance-mode): Fix typos in docstrings.
16992 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16994 * startup.el (package-subdirectory-regexp): Move from package.el.
16995 Omit \\` and \\', and let callers add them.
16997 * emacs-lisp/package.el (package-strip-version)
16998 (package-load-all-descriptors): Add \\` and \\' to
16999 package-subdirectory-regexp before using it.
17000 (package-untar-buffer): New arg DIR; ensure that file untars only
17001 into this expected directory. Remove superfluous delete-region.
17002 (package-unpack): Caller changed.
17003 (package-tar-file-info): Use package-subdirectory-regexp.
17005 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
17007 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17008 diff-mode-shared-map (bug#8284).
17009 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
17011 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17013 * calendar/time-date.el (format-seconds): Use assoc instead of
17014 assoc-string, since assoc-string doesn't exist in XEmacs.
17016 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
17018 * custom.el (custom-known-themes): Reflow docstring.
17019 (custom-theme-load-path): Fix typo in docstring.
17020 (load-theme): Fix typo in error message.
17021 (custom-available-themes, custom-variable-theme-value):
17022 Use `let', not `let*'.
17024 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17026 * calc/README: Mention inclusion of musical notes.
17028 * calc/calc-units.el (calc-lu-quant): Rename from
17029 `calc-logunits-quantity'.
17030 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17031 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17032 (calc-db): Rename from `calc-dblevel'.
17033 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17034 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17035 (calc-np): Rename from `calc-nplevel'.
17036 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17037 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17038 (calc-lu-plus): Rename from `calc-logunits-add'.
17039 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17040 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17041 (calc-lu-minus): Rename from `calc-logunits-sub'.
17042 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17043 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17044 (calc-lu-times): Rename from `calc-logunits-mul'.
17045 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17046 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17047 (calc-lu-divide): Rename from `calc-logunits-div'.
17048 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17049 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17051 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17052 functions being autoloaded.
17054 * calc/calc.el (calc-lu-power-reference): Rename from
17055 `calc-logunits-power-reference'.
17056 (calc-lu-field-reference): Rename from
17057 `calc-logunits-field-reference'.
17059 * calc/calc-help.el (calc-l-prefix-help):
17060 Mention musical note functions.
17062 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17064 * minibuffer.el (completion-all-sorted-completions):
17065 Use :completion-cycle-penalty text property if present.
17067 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17069 * allout.el (allout-yank-processing): Adjust for new rebulleting
17070 regime so bullet being yanked is used without prompting the user
17073 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
17075 * startup.el (command-line): Warn the user that _emacs is deprecated.
17077 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
17079 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17080 (delphi-verbose, delphi-comment-face, delphi-string-face)
17081 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17082 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17083 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17084 (delphi-new-comment-line, delphi-font-lock-defaults)
17085 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17086 Fix typos in docstrings.
17088 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17090 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
17091 Invert the roles of character and string values for INSTEAD, so a
17092 string is used for the more common case of a defaulting prompt.
17094 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17096 * progmodes/ruby-mode.el (ruby-backward-sexp):
17097 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17098 * play/gamegrid.el (gamegrid-make-face):
17099 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17100 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17101 * notifications.el (notifications-notify):
17102 * net/xesam.el (xesam-search-engines):
17103 * net/quickurl.el (quickurl-list-insert):
17104 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17106 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
17108 * startup.el (command-line): Update package subdirectory regexp.
17110 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17112 * allout.el (allout-abbreviate-flattened-numbering)
17113 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17115 * subr.el (read-char-choice): Only show the cursor after the prompt,
17116 not after the answer.
17118 2011-03-15 Kevin Ryde <user42@zip.com.au>
17120 * help-fns.el (variable-at-point): Skip leading quotes, if any
17123 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17125 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17128 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
17130 * shell.el (shell): When called interactively, offer to change the
17131 shell file name on remote hosts.
17133 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17135 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17136 integration for LDAP parameters. The host, base, user or binddn,
17137 and secret tokens can be specified in a netrc file, for instance.
17138 This is optional because an `auth-source' parameter must be
17139 specified in the search attributes.
17141 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
17143 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17145 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17147 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17148 into declaration. Remove redundant and harmful binding.
17150 2011-03-12 Eli Zaretskii <eliz@gnu.org>
17152 * files.el (file-ownership-preserved-p): Pass `integer' as an
17153 explicit 2nd argument to `file-attributes'. If the file's owner
17154 is the Administrators group on Windows, and the current user is
17155 Administrator, consider that a match.
17157 * server.el (server-ensure-safe-dir): Consider server directory
17158 safe on MS-Windows if its owner is the Administrators group while
17159 the current Emacs user is Administrator. Use `=' to compare
17160 numerical UIDs, since they could be integers or floats.
17162 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
17164 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17166 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
17168 Sync with Tramp 2.2.1.
17170 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17172 * net/trampver.el: Update release number.
17174 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17176 * progmodes/compile.el (compilation--previous-directory): Fix up
17177 various nil/dead-marker mismatches (bug#8014).
17178 (compilation-directory-properties, compilation-error-properties):
17179 Don't call it at a position past the one we're about to change.
17181 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17182 Disable obsolescence warnings in the file that declares it.
17184 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17186 * allout-widgets.el (allout-widgets-tally):
17187 Initialize allout-widgets-tally as a hash table rather than nil to
17188 prevent mode-line redisplay warnings. Also, clarify the module
17189 description and fix a comment typo.
17191 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
17193 * help-fns.el (describe-variable): Don't complete keywords.
17194 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17196 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
17198 * emacs-lisp/package.el (package-version-join): Impose a standard
17199 string representation for pre/alpha/beta version lists.
17200 (package-unpack-single): Standardize the directory name by passing
17201 it through package-version-join.
17202 (package-strip-rcs-id): Accept any version string that does not
17203 signal an error in version-to-list.
17205 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
17207 * simple.el (delete-trailing-whitespace): Return nil for the
17208 benefit of `write-file-functions'.
17210 2011-03-10 Glenn Morris <rgm@gnu.org>
17212 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17214 * vc/vc-git.el (vc-git-program): New option.
17215 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17216 (vc-git--call): Use it.
17218 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17220 * cus-edit.el (Custom-newline): If no button at point, look
17221 for a subgroup button at start-of-line. (Bug#2298)
17223 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17225 2011-03-10 Julien Danjou <julien@danjou.info>
17227 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17228 `cursor-type' is nil.
17230 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17232 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17234 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17236 * allout.el: Change so yank of distinctive-bullet items
17237 preserves the existing header prefix, rebulleting it if necessary,
17238 rather than replacing it. This is necessary for proper operation
17239 of cooperative addons like allout-widgets.
17240 (allout-make-topic-prefix, allout-rebullet-heading):
17241 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17242 value as alternate bullet to be used, instead of prompting the user
17243 for a bullet character.
17245 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
17247 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17248 Do not use `tramp-file-name-port', because this returns also
17249 `tramp-default-port'.
17251 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17253 * net/rcirc.el (rcirc-handler-001): Remove useless
17254 with-rcirc-process-buffer.
17255 (rcirc-check-auth-status): Swap arguments to string-match.
17257 2011-03-09 Glenn Morris <rgm@gnu.org>
17259 * shell.el (shell-mode):
17260 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17262 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17263 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17265 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
17267 * emacs-lisp/package.el (package-refresh-contents)
17268 (package-menu-execute): Use condition-case-no-debug.
17270 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
17272 * simple.el (shell-command-to-string): Use `process-file'.
17274 * emacs-lisp/package.el (package-tar-file-info): Handle also
17277 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17278 Use `equal' for upload base check.
17280 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17282 * textmodes/texinfo.el (texinfo-environments):
17283 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17285 2011-03-08 Glenn Morris <rgm@gnu.org>
17287 * cus-start.el (cursor-in-non-selected-windows):
17288 Fix :set quoting oddness. (Bug#8192)
17290 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17291 in some setf expressions. (Bug#2159)
17293 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
17295 * custom.el (custom-available-themes): Return themes in
17296 alphabetical order.
17298 See ChangeLog.15 for earlier changes.
17300 ;; Local Variables:
17304 Copyright (C) 2011-2012 Free Software Foundation, Inc.
17306 This file is part of GNU Emacs.
17308 GNU Emacs is free software: you can redistribute it and/or modify
17309 it under the terms of the GNU General Public License as published by
17310 the Free Software Foundation, either version 3 of the License, or
17311 (at your option) any later version.
17313 GNU Emacs is distributed in the hope that it will be useful,
17314 but WITHOUT ANY WARRANTY; without even the implied warranty of
17315 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17316 GNU General Public License for more details.
17318 You should have received a copy of the GNU General Public License
17319 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.