1 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
6 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8 Merge stuff from upsteam ruby-mode, part 1 (bug#12169).
9 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10 binding (use `M-;' instead).
11 (ruby-expr-beg, ruby-parse-partial): ?, _, and : are symbol
12 constituents, ! is not (but kinda should be).
13 (ruby-singleton-class-p): New function.
14 (ruby-expr-beg, ruby-in-here-doc-p)
15 (ruby-syntax-propertize-heredoc): Use it.
16 (ruby-syntax-propertize-function): Adjust for changes in
17 `ruby-syntax-propertize-heredoc'.
19 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
23 2012-08-10 Chong Yidong <cyd@gnu.org>
25 * progmodes/python.el (python-shell-get-process-name): Don't mess
26 with same-window-buffer-names.
28 * eshell/eshell.el (eshell-add-to-window-buffer-names)
29 (eshell-remove-from-window-buffer-names): Make obsolete.
30 (eshell-buffer-name, eshell-unload-hook): Don't use them.
31 (eshell): Just use pop-to-buffer-same-window instead.
33 2012-08-10 Chong Yidong <cyd@gnu.org>
35 * bindings.el: Bind M-= back to count-words-region.
37 * simple.el (count-words-region): Accept a prefix arg for acting
39 (count-words--buffer-message): New helper function.
41 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
43 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
44 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
45 (event-start, event-end): Use posn-at-point to return a more
47 (posnp): New function.
48 * mouse.el (popup-menu-normalize-position): Use it.
50 2012-08-10 Masatake YAMATO <yamato@redhat.com>
52 * mouse.el (popup-menu-normalize-position): New function.
53 (popup-menu): Use `popup-menu-normalize-position' to normalize
54 the form for POSITION argument.
56 * term/x-win.el (x-menu-bar-open):
57 Use the value returend from (posn-at-point) as position
58 passed to `popup-menu'.
60 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
62 * calc/calccomp.el (math-compose-expr): Add extra argument
63 indicating that parentheses should be put around products in
64 denominators. Give multiplication precedence over division during
67 2012-08-09 Chong Yidong <cyd@gnu.org>
69 * man.el (Man-switches, Man-sed-command, Man-awk-command)
70 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
71 (Man-untabify-command, manual-program): Convert to defcustom
74 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
76 * descr-text.el (describe-char): Don't insert extra newlines
79 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
80 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
82 * align.el (align-region): Delete temporary markers (Bug#10047).
83 Plus some code cleanups.
85 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
87 * progmodes/python.el (python-pdbtrack-tracked-buffer)
88 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
89 (python-shell-internal-last-output): Use make-local-variable
90 instead of make-variable-buffer-local.
92 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
94 * progmodes/python.el: Enhancements to forward-sexp.
95 (python-nav-forward-sexp): Rename from
96 python-nav-forward-sexp-function.
97 (python-nav--forward-sexp, python-nav--backward-sexp):
100 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
102 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
103 modes and simplification modes.
105 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
107 * delsel.el (delete-selection-pre-hook): Don't propagate the
108 file-supersession signals (bug#12161).
110 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
112 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
113 (cl-map-extents): Add compatibility aliases (bug#12135).
115 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
117 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
118 tests by `ignore-error'.
119 (tramp-find-shell): Open also a new shell, when cache is already
120 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
122 2012-08-08 Juri Linkov <juri@jurta.org>
124 * bookmark.el: Add `defaults' property to the bookmark record.
125 (bookmark-current-buffer): Doc fix.
126 (bookmark-make-record): Add `defaults' property with default values
127 to the bookmark record.
128 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
129 with `bookmark-insert-current-bookmark'.
130 (bookmark-set): Get `defaults' property from the bookmark record
131 and use it in `read-from-minibuffer'.
132 (bookmark-insert-current-bookmark): Remove function.
134 * info.el (Info-bookmark-make-record): Add `defaults' property
135 with values of canonical Info node name, the current Info file
136 name and the current Info node name. (Bug#12107)
138 2012-08-08 Juri Linkov <juri@jurta.org>
140 * files.el (basic-save-buffer): Use `buffer-name' as the default
141 of `read-file-name' when buffer is not visiting a file (bug#12128).
143 2012-08-08 Juri Linkov <juri@jurta.org>
145 * info.el (Info-isearch-search): Doc fix.
146 (Info-search): Change search-failed message from "initial node" to
147 "end of node" (bug#12078).
148 (Info-isearch-search): Change `isearch-string-state' to
149 `isearch--state-string'.
151 2012-08-08 Glenn Morris <rgm@gnu.org>
153 * language/persian.el: Remove file.
154 * language/misc-lang.el: Move unique part of persian.el here.
155 * loadup.el: Remove language/persian.
157 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
159 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
161 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
163 * progmodes/python.el Fixed defsubst warning.
164 (python-syntax-context) Rename from python-info-ppss-context.
165 (python-syntax-context-type): Rename from
166 python-info-ppss-context-type.
167 (python-syntax-comment-or-string-p): Rename from
168 python-info-ppss-comment-or-string-p.
170 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
172 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
174 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
176 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
177 a defcustom that is quoted with backquote.
179 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
180 Fix handling of interactive spec when the body uses return.
181 (math-do-arg-check, math-define-function-body): Use backquote forms.
182 * calc/calc-ext.el (math-defcache): Likewise.
183 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
184 * allout.el (allout-new-exposure): Likewise.
185 * calc/calcalg2.el (math-tracing-integral): Likewise.
186 * info.el (Info-last-menu-item): Likewise.
187 * emulation/vip.el (vip-loop): Likewise.
188 * textmodes/artist.el (artist-funcall): Likewise.
189 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
190 Construct menu-item directly.
192 * progmodes/autoconf.el (font-lock-syntactic-keywords):
195 2012-08-07 Chong Yidong <cyd@gnu.org>
197 * simple.el (deactivate-mark): Preserve text properties when
198 saving the primary selection (Bug#8384).
200 2012-08-07 Kevin Ryde <user42@zip.com.au>
202 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
203 (woman-parse-numeric-value): On a bad .IP line, issue a warning
204 and continue processing (Bug#12110).
206 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
208 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
209 syntax-propertize-function (bug#10095).
211 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
213 * help-fns.el (help-fns--key-bindings, help-fns--signature)
214 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
216 (describe-function-1): Use them. Move compiler macro after sig.
217 (help-fns--compiler-macro): Use function-get. Assume we're already in
218 standard-output. Adjust layout to new call order.
220 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
221 re-binding a symbol that has a symbol-macro (bug#12119).
223 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
225 * language/persian.el: New file. (Bug#11812)
226 * loadup.el: Add language/persian.el.
228 2012-08-06 Chong Yidong <cyd@gnu.org>
230 * window.el (window--maybe-raise-frame): New function.
231 (window--display-buffer): Split off from here.
232 (display-buffer-reuse-window, display-buffer-pop-up-frame)
233 (display-buffer-pop-up-window, display-buffer-use-some-window):
234 Obey an inhibit-switch-frame action alist entry.
235 (display-buffer): Update doc.
237 * replace.el (occur-after-change-function): Avoid losing focus by
238 using the inhibit-switch-frame display parameter (Bug#12139).
240 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
242 Make internal shell process buffer names start with space.
243 * progmodes/python.el (python-shell-make-comint): Add optional
245 (run-python-internal): Use it.
246 (python-shell-internal-get-or-create-process): Check for new
247 internal buffer names.
249 2012-08-06 Glenn Morris <rgm@gnu.org>
251 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
252 Do less getting and setting of environment variables.
254 2012-08-05 Chong Yidong <cyd@gnu.org>
256 * proced.el (proced): Add substitution string to docstring to
257 trigger autoloading of the proced library on C-h f (Bug#1768).
259 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
260 Don't show defvars which have no second argument (Bug#8638).
262 * imenu.el (imenu-generic-expression): Move documentation here
263 from imenu--generic-function.
264 (imenu--generic-function): Refer to imenu-generic-expression.
266 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
268 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
269 indentation declaration.
270 (viper-loop): Add indentation declaration (Bug#7025).
272 2012-08-05 Chong Yidong <cyd@gnu.org>
274 * help-fns.el (describe-variable): Add hyperlink for
275 directory-local variables files. Improve buffer-local and
276 permanent-local reporting; suggested by MON KEY (Bug#6644).
278 * help-mode.el (help-dir-local-var-def): New button type.
280 * files.el (kill-buffer-hook): Provide a defvar.
282 2012-08-05 Glenn Morris <rgm@gnu.org>
284 * eshell/esh-ext.el (eshell/addpath):
285 Also update eshell-path-env. (Bug#12013)
287 2012-08-05 Chong Yidong <cyd@gnu.org>
289 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
291 * fringe.el (fringe-styles): Add docstring.
292 (fringe--check-mode): New function.
293 (set-fringe-mode, set-fringe-style): Use it.
294 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
296 * files.el (set-auto-mode): Fix invalid setq call.
298 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
300 * isearch.el: Misc simplification; use defstruct.
301 (isearch-mode-map): Dense maps now work like sparse ones.
302 (isearch--state): New defstruct.
303 (isearch-string-state, isearch-message-state, isearch-point-state)
304 (isearch-success-state, isearch-forward-state)
305 (isearch-other-end-state, isearch-word-state, isearch-error-state)
306 (isearch-wrapped-state, isearch-barrier-state)
307 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
308 replaced by defstruct's accessors.
309 (isearch--set-state): Rename from isearch-top-state and change
311 (isearch-push-state): Use new isearch--get-state.
312 (isearch-toggle-word): Disable regexp when enabling word.
313 (isearch-message-prefix): Remove unused arg _c-q-hack.
314 (isearch-message-suffix): Remove unused arg _ellipsis.
316 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
318 * simple.el (list-processes--refresh): For a server use :host or
319 :local as the address.
320 (list-processes): Doc fix.
322 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
324 * lisp/mpc.el: Support password in host argument.
325 (mpc--proc-connect): Parse and use new password element.
326 Set mpc-proc variable instead of returning process.
327 (mpc-proc): Adjust accordingly.
329 2012-08-03 Eli Zaretskii <eliz@gnu.org>
331 * whitespace.el (whitespace-display-mappings): Use Unicode
332 codepoints, instead of emacs-mule codepoints. See
333 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
336 * files.el (file-truename): Don't skip symlink-chasing part on
337 windows-nt. Incorporate the resolution of 8+3 short aliases on
338 Windows into the loop that recursively chases symlinks.
339 Compare directory and its parent case-insensitively on MS-Windows and
342 2012-08-03 Chong Yidong <cyd@gnu.org>
344 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
346 * sort.el (sort-regexp-fields): Doc fix.
348 2012-08-03 Tassilo Horn <tsdh@gnu.org>
350 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
351 labels regex position point at the expected place.
353 2012-08-03 MON KEY <monkey@sandpframing.com>
355 * net/imap.el (imap-interactive-login, imap-authenticate)
356 (imap-mailbox-lsub, imap-mailbox-list)
357 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
358 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
359 (imap-parse-response): Doc fix.
361 2012-08-03 João Távora <joaotavora@gmail.com>
363 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
364 if sexp scanning does not move point (Bug#5734).
366 2012-08-02 Tassilo Horn <tsdh@gnu.org>
368 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
369 Add listings, minted, and ctable packages.
370 (reftex-label-alist-builtin): Move listings, minted, and ctable
371 entries before LaTeX.
372 (reftex-label-alist): Docfix.
374 2012-08-02 Bastien Guerry <bzg@gnu.org>
376 * replace.el (occur): Fix docstring (bug#12122).
378 2012-08-02 Glenn Morris <rgm@gnu.org>
380 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
382 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
384 Obsolete alias inactivate-current-input-method-function (Bug#10150).
385 * international/mule-cmds.el: Create
386 inactivate-current-input-method-function as an obsolete alias for
387 deactivate-current-input-method-function. See Katsumi Yamaoka in
388 <http://bugs.gnu.org/10150#46>.
390 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
392 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
395 2012-08-01 Glenn Morris <rgm@gnu.org>
397 * progmodes/autoconf.el (autoconf-definition-regexp):
398 Add AH_TEMPLATE, adjust submatch numbering.
399 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
400 (autoconf-current-defun-function): Update for above change.
401 (autoconf-current-defun-function): First skip to end of current word.
403 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
405 * calendar/cal-html.el (cal-html-insert-agenda-days):
406 Fix typo. (Bug#12018)
408 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
410 Shell processes: enhancements to startup and CEDET compatibility.
411 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
412 (python-shell-make-comint): accept-process-output at startup.
413 (run-python-internal): Set inferior-python-mode-hook to nil.
414 (python-shell-internal-get-or-create-process): call sit-for.
415 (python-preoutput-result): Add obsolete alias.
416 (python-shell-internal-send-string): Use it.
417 (python-shell-send-setup-code): Remove call to
418 accept-process-output.
420 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
422 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
425 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
427 * calc-mode.el (calc-basic-simplification-mode): Rename from
428 `calc-limited-simplification-mode'.
429 (calc-alg-simplification-mode): New function.
430 (calc-set-simplify-mode): Adjust message.
432 * calc.el (calc-set-mode-line): Adjust mode line display for
433 basic simplification mode.
435 * calc-help.el (calc-m-prefix-help): Update help message.
437 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
438 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
440 2012-07-31 Bastien Guerry <bzg@gnu.org>
442 * man.el (man): Fix comment. (bug#12101)
444 2012-07-31 Martin Rudalics <rudalics@gmx.at>
446 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
447 Don't return a non-nil value when no suitable buffer was found.
449 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
451 * progmodes/python.el (run-python-internal): Disable font lock for
454 2012-07-30 Stefan Merten <smerten@oekonux.de>
456 * rst.el: Silence `checkdoc-ispell'.
457 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
458 (rst-official-version, rst-official-cvs-rev)
459 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
460 (rst-mode-map): New key binding.
462 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
464 Update .PHONY listings in makefiles.
465 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
466 autoloads, update-subdirs, updates, bzr-update, update-authors,
467 compile-onefile, compile-calc, backup-compiled-files,
468 compile-after-backup, compile-one-process, mh-autoloads,
469 bootstrap-clean, distclean, maintainer-clean.
471 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
473 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
474 (calc-set-mode-line): Don't display "AlgSimp ".
476 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
477 (calc-lim-simplify-mode): New function.
478 (calc-set-simplify-mode): Default to 'alg.
479 (calc-default-simplify-mode): Make algebraic simplifications
482 * calc/calc-ext.el (calc-init-extensions): Remove binding for
483 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
485 * calc/calc-help.el (calc-m-prefix-help): Change messages to
486 indicate new simplification modes.
488 * calc/README: Mention new default simplification mode.
490 * calc/calc.el (math-normalize-error): New variable.
491 (math-normalize): Set `math-normalize-error' to t
492 when there's an error.
494 * calc/calc-alg.el (math-simplify): Don't simplify when
495 `math-normalize' returns an error.
497 2012-07-29 Eli Zaretskii <eliz@gnu.org>
499 * international/mule-cmds.el (set-locale-environment): Revert last
500 change, since display-graphic-p returns nil when this function is
501 called during startup. Instead...
503 * term/w32console.el (terminal-init-w32console): ...setup the
504 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
506 2012-07-29 Juri Linkov <juri@jurta.org>
508 * simple.el (goto-line): Don't display default line number in the
509 prompt because it should be displayed by `read-number' (bug#9952).
510 Add the current line number to the defaults of `goto-line' to
511 allow its easier modification by users with `M-n' (bug#9201).
513 * subr.el (read-number): Support multiple default values like in
514 other minibuffer reading functions. Replace `read' with
515 `string-to-number' for consistency with `number-to-string'.
517 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
519 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
520 * emulation/viper-init.el (viper-deactivate-input-method-action):
521 Rename from viper-inactivate-input-method-action.
522 (viper-deactivate-input-method):
523 Rename from viper-inactivate-input-method.
524 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
525 * international/mule-cmds.el (deactivate-input-method):
526 Rename from inactivate-input-method.
527 Also run input-method-deactivate-hook.
528 (deactivate-current-input-method-function):
529 Rename from inactivate-current-input-method-function.
530 (input-method-deactivate-hook): New hook.
531 (input-method-inactivate-hook): Mark obsolete.
532 (inactivate-input-method): Mark obsolete.
534 * international/quail.el (quail-activate):
535 Also run quail-deactivate-hook.
536 (quail-deactivate): Rename from quail-inactivate.
537 * international/robin.el (robin-activate):
538 Also run robin-deactivate-hook.
539 (robin-deactivate): Rename from robin-inactivate.
541 2012-07-29 Chong Yidong <cyd@gnu.org>
543 * simple.el (indicate-copied-region): New function.
544 (kill-ring-save): Split off from here.
546 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
547 (kill-rectangle): Set deactivate-mark to t on read-only error.
549 * register.el (copy-to-register, copy-rectangle-to-register):
550 Deactivate the mark, and use indicate-copied-region (Bug#10056).
551 (append-to-register, prepend-to-register):
552 Call 2012-07-29 Juri Linkov <juri@jurta.org>
554 * simple.el (async-shell-command-buffer): New defcustom.
555 (shell-command): Use it. (Bug#4719)
557 2012-07-28 Eli Zaretskii <eliz@gnu.org>
559 * international/mule-cmds.el (set-locale-environment): In a
560 console session on MS-Windows, set up keyboard and terminal
561 encoding from the OEM codepage, not the ANSI codepage.
564 2012-07-28 Chong Yidong <cyd@gnu.org>
566 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
569 2012-07-28 Leo Liu <sdl.web@gmail.com>
571 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
572 the alist (bug#12029).
574 2012-07-28 Eli Zaretskii <eliz@gnu.org>
576 * makefile.w32-in (custom-deps, finder-data, updates, compile)
577 (compile-always, compile-first)
578 ($(lisp)/calendar/cal-loaddefs.el)
579 ($(lisp)/calendar/diary-loaddefs.el)
580 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
581 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
582 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
583 instead of on update-subdirs.
584 (bootstrap-clean): Delete $(lisp)/subdirs.el.
586 2012-07-28 Chong Yidong <cyd@gnu.org>
588 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
589 directory if vc-deduce-backend returns nil (Bug#7350).
591 * simple.el (delete-trailing-lines): New option.
592 (delete-trailing-whitespace): Obey it (Bug#11879).
594 2012-07-28 David Engster <deng@randomsample.de>
596 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
597 Explanation of new 'symbol-qnames feature in doc-strings.
598 (xml-maybe-do-ns): Return expanded names as plain symbols if
599 'symbol-qnames was provided in XML-NS argument (Bug#11916).
600 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
602 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
604 Consistent completion in inferior python with emacs -nw.
605 * progmodes/python.el (inferior-python-mode): replace "<tab>"
606 binding in inferior-python-mode-map with "\t".
607 (python-shell-completion-complete-at-point)
608 (python-completion-complete-at-point): Remove interactive spec.
610 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
612 * calc/calccomp.el (math-compose-expr): Undo previous change.
614 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
616 * progmodes/python.el (python-mode-map): Add keybinding for
618 (python-shell-make-comint): Fix pop-to-buffer call.
619 (run-python): Autoload. New arg SHOW.
620 (python-shell-get-or-create-process): Do not pop python process
623 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
625 * notifications.el (notifications-on-action-signal)
626 (notifications-on-closed-signal): Use also the bus address for the map.
627 (notifications-notify, notifications-close-notification)
628 (notifications-get-capabilities): Add optional argument BUS.
630 2012-07-27 Tassilo Horn <tsdh@gnu.org>
632 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
633 Add support for the lstlisting and minted environments, and for the
635 * textmodes/reftex.el (reftex-compile-variables): Also recognize
636 labels written in keyvals syntax.
638 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
640 * calc/calccomp.el (math-compose-expr): Use parentheses when
641 there is a product in the denominator of a fraction.
643 2012-07-26 Eli Zaretskii <eliz@gnu.org>
645 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
646 ($(lisp)/calendar/diary-loaddefs.el)
647 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
648 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
649 Fixes failures in parallel bootstrap because subdirs.el is being
650 rewritten while the autoload files are built at the same time,
651 which needs to load subdirs.el.
653 2012-07-26 Martin Rudalics <rudalics@gmx.at>
655 * mouse.el (popup-menu): Fix doc-string and re-indent code.
656 (mouse-drag-line): Don't exit tracking when a switch-frame or
657 switch-window event occurs (Bug#12006).
659 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
661 * mouse.el (popup-menu): Fix last change.
663 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
665 Autoload from Lisp with more care. Follow aliases when looking for
667 * subr.el (autoloadp): New function.
668 (symbol-file): Use it.
669 (function-get): New function.
670 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
672 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
673 (lisp-indent-function):
674 * emacs-lisp/gv.el (gv-get):
675 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
676 * emacs-lisp/byte-opt.el (byte-optimize-form):
677 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
678 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
680 * emacs-lisp/cl.el: Don't propagate function properties any more.
682 * speedbar.el (speedbar-add-localized-speedbar-support):
683 * emacs-lisp/disass.el (disassemble-internal):
684 * desktop.el (desktop-load-file):
685 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
686 (describe-function-1):
687 * emacs-lisp/find-func.el (find-function-noselect):
688 * emacs-lisp/elp.el (elp-instrument-function):
689 * emacs-lisp/advice.el (ad-has-proper-definition):
690 * apropos.el (apropos-safe-documentation, apropos-macrop):
691 * emacs-lisp/debug.el (debug-on-entry):
692 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
693 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
694 * calc/calc.el (name): Use autoloadp & autoload-do-load.
696 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
698 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
699 function, not an obsolete variable (Bug#12046).
701 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
703 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
705 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
707 * emacs-lisp/pp.el (pp-display-expression): Select old selected
708 window only if it is still live (Bug#12034).
710 2012-07-25 Martin Rudalics <rudalics@gmx.at>
712 * subr.el (redirect-frame-focus): Add advertised calling
713 convention (Bug#12030).
715 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
717 Prefer typical American spelling for "acknowledgment".
718 * vc/add-log.el (change-log-acknowledgment): Rename from
719 change-log-acknowledgement, with an alias for the old name.
721 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
723 * calc-alg.el (math-simplify-divide): Don't cross multiply
724 in an equation when the lhs is a variable.
726 2012-07-24 Julien Danjou <julien@danjou.info>
728 * net/netrc.el (netrc-find-service-number, netrc-store-data):
731 2012-07-23 Eli Zaretskii <eliz@gnu.org>
733 * startup.el (command-line): Don't display an empty user name in
734 the error message about non-existent home directory, when
735 init-file-user was set to an empty string. See
736 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
737 for the details and context.
739 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
741 * ses.el (ses-cell-formula-aset): New macro.
742 (ses-cell-references-aset): New macro.
743 (ses-cell-p): New function.
744 (ses-rename-cell): Do no longer rely on complex operations like
745 ses-cell-set-formula or ses-set-cell to change the cell and handle
746 the undo at the same time, but rather use lower level new macros
747 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
748 the undo directly. Refresh the mode line.
750 2012-07-21 Leo Liu <sdl.web@gmail.com>
752 * progmodes/cc-cmds.el (c-defun-name):
753 Use match-string-no-properties instead for consistency.
755 2012-07-20 Leo Liu <sdl.web@gmail.com>
757 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
760 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
762 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
764 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
765 * progmodes/bug-reference.el, misearch.el: Provide themselves
768 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
769 of narrowed buffer (bug#11966).
771 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
773 * ses.el (ses-rename-cell): Set new name also in reference list of
774 cells of which the renamed cell depends.
776 2012-07-20 Masatake YAMATO <yamato@redhat.com>
778 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
779 to check whether menu-bar is shown or not. If not shown,
780 show the menu-bar as a popup menu instead of using tmm.
781 * mouse.el (popup-menu): Accept `point' as `position' argument.
783 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
785 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
786 up inside string symbol literal (bug#11923).
788 2012-07-20 Eli Zaretskii <eliz@gnu.org>
790 * startup.el (fancy-startup-text): Read the whole tutorial, not
791 just its first 256 bytes. Prevents gibberish in display of the
794 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
796 Drop idle buffer compaction due to an absence of the
798 * compact.el: Remove.
800 2012-07-19 Sam Steingold <sds@gnu.org>
802 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
803 vc-bzr-pull & vc-bzr-merge-branch.
804 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
805 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
806 for consistency with compilation-error-regexp-alist.
807 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
808 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
809 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
810 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
812 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
814 * emacs-lisp/chart.el: Use lexical-binding.
815 (chart-emacs-storage): Don't hardcode the list of entries.
817 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
819 Next round of tweaks caused by Fgarbage_collect changes.
820 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
822 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
824 Compact buffers when idle.
825 * compact.el: New file.
827 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
829 * subr.el (eventp): Presume that if it looks vaguely like an event,
830 it's an event (bug#10190).
832 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
834 Enhancements to ppss related code (thanks Stefan).
835 * progmodes/python.el (python-indent-context)
836 (python-indent-calculate-indentation, python-indent-dedent-line)
837 (python-indent-electric-colon, python-nav-forward-block)
838 (python-mode-abbrev-table)
839 (python-info-assignment-continuation-line-p): Simplify checks
841 (python-info-continuation-line-p): Cleanup.
842 (python-info-ppss-context): Do not catch 'quote.
843 (python-info-ppss-context-type)
844 (python-info-ppss-comment-or-string-p): Simplify.
846 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
848 * progmodes/python.el: Enhancements to eldoc support.
849 (python-info-current-symbol): New function.
850 (python-eldoc-at-point): Use python-info-current-symbol.
851 (python-info-current-defun): Fix cornercase on first defun scan.
852 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
853 and signal error when no inferior python process is available.
855 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
857 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
858 assume it's always t.
859 (vc-git-registered): Remove caching, the function is only called
861 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
863 2012-07-18 Chong Yidong <cyd@gnu.org>
865 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
867 * simple.el (count-words): Report on narrowing (Bug#9959).
869 * bindings.el: Bind M-= to count-words.
871 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
873 2012-07-18 Masatake YAMATO <yamato@redhat.com>
875 * progmodes/sh-script.el (sh-imenu-generic-expression):
876 Capture a function with `function' keyword and without parentheses
877 like "function FOO" (bug#11856).
879 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
881 * window.el (split-window-sensibly): Make WINDOW argument
884 2012-07-18 Chong Yidong <cyd@gnu.org>
886 * subr.el (keyboard-translate): Doc fix (Bug#7261).
888 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
889 and make C-x 8 RET exit isearch (Bug#11439).
891 * international/iso-transl.el: Move isearch-mode-map key
892 definitions to isearch.el.
894 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
896 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
897 (eieio-defclass): Use gv-define-setter when possible.
899 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
901 Reflect recent changes in Fgarbage_collect.
902 * emacs-lisp/chart.el (chart-emacs-storage): Change to
903 reflect new format of data returned by Fgarbage_collect.
905 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
907 New utility functions + python-info-ppss-context fix (Bug#11910).
908 * progmodes/python.el (python-info-beginning-of-block-statement-p)
909 (python-info-ppss-comment-or-string-p): New functions.
910 (python-info-ppss-context): Small fix for string check.
912 2012-07-17 Juri Linkov <juri@jurta.org>
914 * dired-aux.el (dired-do-async-shell-command): Doc fix.
915 (dired-do-async-shell-command): Don't add `*' at the end of the
917 (dired-do-shell-command): Doc fix.
918 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
919 Join the individual commands using either "&" or ";" as the
920 separator depending on the values of these trailing characters.
921 At the end re-add the trailing "&". (Bug#10598)
923 * simple.el (async-shell-command): Sync the interactive spec with
924 `shell-command'. Doc fix.
925 (shell-command): Doc fix.
927 2012-07-17 Juri Linkov <juri@jurta.org>
929 * descr-text.el (describe-char): Fix format args. (Bug#10129)
931 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
933 Final renames and doc fixes for movement commands (bug#11899).
934 * progmodes/python.el (python-nav-beginning-of-statement):
935 Rename from python-nav-statement-start.
936 (python-nav-end-of-statement): Rename from
937 python-nav-statement-end.
938 (python-nav-beginning-of-block): Rename from
939 python-nav-block-start.
940 (python-nav-end-of-block): Rename from python-nav-block-end.
942 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
944 * progmodes/python.el (python-shell-send-string-no-output):
945 Allow accept-process-output to quit, keeping shell process ready for
946 future interactions (Bug#11868).
948 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
950 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
952 * emacs-lisp/elint.el (elint-find-args-in-code):
953 Use help-function-arglist, so as to handle lexical byte-code.
955 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
958 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
960 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
961 Avoid spuriously marking the buffer as modified because of c-is-sws.
963 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
964 as not-a-comment (bug#11946).
966 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
969 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
970 Use read-event since we don't really want to read chars but bytes.
972 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
973 $$..$$ but also $..$ using regexps (bug#11953).
974 Use tex-verbatim for \url and \path.
975 (tex-font-lock-keywords): Define as defconst like the others.
976 (tex-common-initialization): Don't use font-lock-syntax-table any more.
978 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
980 * international/mule-cmds.el (ucs-insert): Make it an obsolete
981 alias for insert-char.
983 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
985 * progmodes/python.el: Simplified imenu implementation.
986 (python-nav-jump-to-defun): Remove command.
987 (python-mode-map): Use `imenu' instead.
988 (python-nav-list-defun-positions-cache)
989 (python-imenu-include-defun-type, python-imenu-make-tree)
990 (python-imenu-subtree-root-label, python-imenu-index-alist):
992 (python-nav-list-defun-positions, python-nav-read-defun)
993 (python-imenu-tree-assoc, python-imenu-make-element-tree)
994 (python-imenu-make-tree, python-imenu-create-index):
996 (python-mode): Update to interact with imenu by setting
997 `imenu-extract-index-name-function' only.
999 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1001 * progmodes/python.el: Enhancements to navigation commands.
1002 (python-nav-backward-sentence)
1003 (python-nav-forward-sentence): Remove.
1004 (python-nav-backward-statement, python-nav-forward-statement)
1005 (python-nav-statement-start, python-nav-statement-end)
1006 (python-nav-backward-block, python-nav-forward-block)
1007 (python-nav-block-start, python-nav-block-end)
1008 (python-nav-forward-sexp-function)
1009 (python-info-current-line-comment-p)
1010 (python-info-current-line-empty-p): New functions.
1011 (python-indent-context): Use `python-nav-statement-start'.
1013 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
1015 * eshell/em-ls.el (eshell/ls): Use `apply'.
1017 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1018 multi-hops, instead of Tramp internals.
1020 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1022 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1023 when F1 and F2 are located on different hosts.
1025 2012-07-14 Chong Yidong <cyd@gnu.org>
1027 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1028 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1029 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1030 (xterm-mouse--read-event-sequence-1000)
1031 (xterm-mouse--read-event-sequence-1006): New functions. For old
1032 mouse protocol, handle M-mouse-X events correctly.
1033 (xterm-mouse-event): New arg specifying mouse protocol.
1034 (turn-on-xterm-mouse-tracking-on-terminal)
1035 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
1036 sequence to toggle extended coordinates on newer XTerms.
1037 This appears to be harmless on terminals which do not support this.
1039 2012-07-14 Leo Liu <sdl.web@gmail.com>
1041 Add fringe bitmap indicators for flymake. (Bug#11253)
1042 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1043 (flymake-make-overlay): New arg BITMAP.
1044 (flymake-error-bitmap, flymake-warning-bitmap)
1045 (flymake-fringe-indicator-position): New user variables.
1047 * fringe.el: New bitmap exclamation-mark.
1049 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1051 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1054 2012-07-14 Chong Yidong <cyd@gnu.org>
1056 * electric.el (electric-pair-post-self-insert-function): Fix pair
1057 insertion in empty-region case (Bug#11520).
1059 2012-07-14 Chong Yidong <cyd@gnu.org>
1061 * bindings.el: Consolidate ctl-x-r-map bindings.
1062 Bind copy-rectangle-as-kill to C-x r w.
1064 * rect.el, register.el: Move bindings to bindings.el.
1066 2012-07-14 Reuben Thomas <rrt@sc3d.org>
1068 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1070 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1072 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1074 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
1076 * bindings.el (top): Use `mapc' instead of `mapcar'.
1078 * loadup.el (top): Remove bogus `if' choice (brought by revno:88805).
1080 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
1082 * progmodes/sql.el (sql-comint): Suppress the check for program on
1083 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1086 2012-07-13 Chong Yidong <cyd@gnu.org>
1088 * bindings.el: Assign a non-nil permanent-local property to
1089 per-buffer variables which lack a default value (Bug#11930).
1091 * help-fns.el (describe-variable): In the "automatically becomes
1092 local" notice, take note of permanent-local variables.
1094 2012-07-13 Chong Yidong <cyd@gnu.org>
1096 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1097 to allow printing the message when called from Lisp.
1099 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1100 Remove toggle-read-only.
1102 * bs.el (bs-toggle-readonly):
1103 * buff-menu.el (Buffer-menu-toggle-read-only):
1104 Remove with-no-warnings around toggle-read-only.
1106 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1107 Remove with-no-warnings around toggle-read-only.
1108 (ffap-read-only, ffap-read-only-other-window)
1109 (ffap-read-only-other-frame): Callers changed.
1111 * help-mode.el: Don't require view package.
1112 (help-mode-finish): Set buffer-read-only instead of calling
1115 * bindings.el (mode-line-toggle-read-only):
1116 * dired.el (dired-toggle-read-only):
1117 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1118 with non-nil second arg.
1120 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1121 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1124 2012-07-12 Eli Zaretskii <eliz@gnu.org>
1126 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1129 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1131 More CL cleanups and reduction of use of cl.el.
1132 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1133 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1134 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1135 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1136 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1137 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1138 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1139 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1140 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1141 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1142 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1143 * eshell/em-cmpl.el, eshell/em-banner.el:
1144 * calendar/parse-time.el: Use cl-lib.
1145 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1146 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1147 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1148 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1149 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1150 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1151 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1152 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1153 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1154 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1155 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1156 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1157 `lambda' rather than with `quote'.
1158 (eshell-do-opt): Adjust accordingly.
1159 (eshell-process-option): Simplify.
1160 * eshell/esh-var.el:
1161 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1162 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1163 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1164 to `pcase--dontcare'.
1165 * emacs-lisp/cl.el (labels): Mark obsolete.
1166 (cl--letf, letf): Move to cl-lib.
1167 (cl--letf*, letf*): Remove.
1168 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1169 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1170 (cl-progv): Rewrite.
1171 (cl--letf, cl-letf): Move from cl.el.
1172 (cl-letf*): New macro.
1173 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1175 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
1177 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1179 2012-07-11 Chong Yidong <cyd@gnu.org>
1181 * vc/log-edit.el (log-edit-vc-backend): New variable.
1182 (log-edit): Doc fix.
1184 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1185 argument of log-edit to set up all local variables.
1186 (vc-start-logentry): New optional arg specifying VC backend.
1188 * vc/vc.el (vc-checkin): Use it.
1189 (vc-deduce-fileset): Handle Log Edit buffers.
1190 (vc-diff): Make first argument optional too.
1192 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1194 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
1196 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1197 command, just in case. The function is not needed anymore.
1198 (eshell-external-command): Do not call `eshell-remote-command'.
1200 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1202 Reduce use of (require 'cl).
1203 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1204 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1205 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1206 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1207 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1208 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1209 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1210 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1211 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1212 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1213 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1214 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1215 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1216 (byte-compile-unfold-bcf, byte-compile-check-variable):
1217 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1218 (byte-compile-nilconstp):
1219 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1220 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1222 * emacs-lisp/gv.el (cond): Make it a valid place.
1223 (if): Simplify slightly.
1225 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1226 (pcase--self-quoting-p): New function.
1227 (pcase--u1): Use it.
1229 2012-07-10 Glenn Morris <rgm@gnu.org>
1231 * emacs-lisp/authors.el (authors-fixed-entries):
1232 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1234 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1236 Rename configure.in to configure.ac (Bug#11603).
1237 * emacs-lisp/authors.el (authors-canonical-file-name):
1238 * progmodes/autoconf.el (autoconf-mode):
1239 Prefer configure.ac to configure.in.
1241 2012-07-08 Chong Yidong <cyd@gnu.org>
1243 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1244 Implement the mouse-1-click-follows-link handling properly.
1246 * info.el (Info-link-keymap): Use follow-link mechanism for
1247 header-line links (Bug#374).
1249 * simple.el (deactivate-mark): Do not set the primary selection
1250 if another program has acquired it (Bug#11772).
1252 2012-07-07 Kevin Ryde <user42@zip.com.au>
1254 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1255 (woman-decode-region): Replace escaped-escapes without destroying
1256 bold or underline (Bug#11552).
1257 (woman2-process-escapes): Handle nofill regions (Bug#11591).
1259 2012-07-07 Chong Yidong <cyd@gnu.org>
1261 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
1262 (interprogram-cut-function, interprogram-paste-function):
1263 Mention that we typically mean the clipboard.
1265 2012-07-06 Glenn Morris <rgm@gnu.org>
1267 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1269 * files.el (toggle-read-only): Restrict message to interactive use.
1271 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
1273 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1275 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1277 2012-07-06 Glenn Morris <rgm@gnu.org>
1279 * Makefile.in (compile-one-process): Rename from "recompile".
1281 * Makefile.in (bzr-update): "compile" is the same as "recompile
1282 autoloads", but parallelizable, so use that instead.
1284 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1286 * window.el (quit-window): Always restore window height when
1287 it's saved in quit-restore parameter (Bug#11810).
1289 2012-07-06 Glenn Morris <rgm@gnu.org>
1291 * simple.el (kill-whole-line): Doc tweak.
1293 2012-07-06 Eli Zaretskii <eliz@gnu.org>
1295 * files.el (file-relative-name): Compare file names
1296 case-insensitively if on MS-Windows or MS-DOS, or if
1297 read-file-name-completion-ignore-case is non-nil. Don't use
1298 case-fold-search for this purpose. (Bug#11827)
1300 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1302 * calendar/cal-dst.el (calendar-current-time-zone):
1303 Return calendar-current-time-zone-cache if non-nil.
1305 2012-07-17 Masatake YAMATO <yamato@redhat.com>
1306 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1308 * calendar/cal-dst.el (calendar-current-time-zone):
1309 Return calendar-current-time-zone-cache if non-nil.
1311 2012-07-06 Glenn Morris <rgm@gnu.org>
1313 * Makefile.in (cvs-update): Remove old alias.
1315 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
1317 Sync with Tramp 2.2.6-pre.
1319 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1320 compatible declaration.
1322 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1323 Protect `list-load-path-shadows' call.
1325 * net/tramp-compat.el (top): Require packages, which aren't
1326 autoloaded anymore for XEmacs. Protect call of
1327 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1328 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1329 it hurts at least for SXEmacs.
1330 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1331 standard-value for `temporary-file-directory'.
1333 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1334 Redirect stderr to /dev/null.
1335 (tramp-sh-handle-write-region): uid and gid can be floats.
1336 Reported by Russell Sim <russell.sim@gmail.com>.
1337 (tramp-sh-handle-vc-registered): Hide errors.
1338 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1339 and `start-file-process'.
1340 (tramp-maybe-open-connection): Check also whether `non-essential'
1343 2012-07-04 Chong Yidong <cyd@gnu.org>
1345 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1346 (xml-parse-tag): Likewise, and avoid changing entity tables.
1347 (xml-syntax-table): Define from scratch, making sure not to give
1348 x2000 and other Unicode spaces whitespace syntax, since those are
1350 (xml-parse-fragment): Delete unused function.
1351 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1352 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1353 (xml-entity-ref, xml-pe-reference-re)
1354 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1355 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1356 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1357 (xml-entity-value-re): Use syntax references in regexps where
1358 possible; no need to define inside a let-binding.
1359 (xml-parse-dtd): Use xml-pe-reference-re.
1360 (xml-entity-or-char-ref-re): New defconst.
1361 (xml-parse-string, xml-substitute-special): Use it.
1363 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1365 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1366 (find-file--read-only): New function.
1367 (find-file-read-only, find-file-read-only-other-window)
1368 (find-file-read-only-other-frame): Use it.
1369 (insert-file-contents-literally): Don't `fset'.
1370 (get-free-disk-space): Use locate-dominating-file.
1372 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1373 function is already compiled.
1375 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1377 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
1379 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1380 files on the same host.
1382 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1384 * help-fns.el (describe-function-1): Only call
1385 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1387 2012-07-03 Chong Yidong <cyd@gnu.org>
1389 * xml.el: Protect parser against XML bombs.
1390 (xml-entity-expansion-limit): New variable.
1391 (xml-parse-string, xml-substitute-special): Use it.
1392 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1394 2012-07-03 Glenn Morris <rgm@gnu.org>
1396 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1397 Allow linking to specific messages in debbugs reports (eg 123#5).
1399 2012-07-02 Chong Yidong <cyd@gnu.org>
1401 * xml.el: Fix entity and character reference expansion, allowing
1402 them to expand into markup as per XML spec.
1403 (xml-default-ns): New variable.
1404 (xml-entity-alist): Use XML spec definitions for lt and amp.
1405 (xml-parse-region): Make first two arguments optional.
1406 Discard text properties.
1407 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1408 All callers changed.
1409 (xml-parse-tag): Call xml-parse-tag-1. For backward
1410 compatibility, this function should not modify buffer contents.
1411 (xml-parse-tag-1): Fix opening-tag regexp.
1412 (xml-parse-string): Rewrite, handling entity and character
1413 references properly.
1414 (xml--entity-replacement-text): Signal an error if a parameter
1415 entity is undefined.
1417 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1419 * comint.el (comint-output-filter): Filter out repeated prompts.
1421 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1422 and file-name-absolute-p.
1423 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1426 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1429 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1430 Rename from byte-compile--refiy-function. All uses changed.
1432 2012-07-01 Chong Yidong <cyd@gnu.org>
1434 * xml.el (xml--parse-buffer): New function. Move most of
1435 xml-parse-region here.
1436 (xml-parse-region): Copy region into a temporary buffer, since
1437 parameter entity substitution requires changing buffer contents.
1438 Use xml--parse-buffer.
1439 (xml-parse-file): Use xml--parse-buffer.
1440 (xml-parse-dtd): Make parameter entity substitution work right.
1441 Use proper regexps for ELEMENT declarations (Bug#7172).
1443 2012-06-30 Glenn Morris <rgm@gnu.org>
1445 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1447 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1448 Remove outdated and unnecessary dbus declarations.
1450 2012-06-30 Eli Zaretskii <eliz@gnu.org>
1452 * emacs-lisp/timer.el (timer-until): Subtract results of
1453 float-time, instead of taking float-time of the result of
1454 time-subtract, since float-time signals an error for negative time
1457 2012-06-30 Chong Yidong <cyd@gnu.org>
1459 * xml.el (xml-*-re): Convert defvars into defconsts, and
1460 eval-and-compile them so eval-and-compile works on derivatives.
1461 (xml--entity-replacement-text): Use eval-and-comple.
1463 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
1465 * vc/vc-git.el (vc-git-registered): Use cache property
1467 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1468 `vc-git-working-revision' in order to benefit from the cache.
1469 (vc-git-root): Use cache property `git-root'. (Bug#11757)
1471 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1473 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
1474 removed (likely outside Emacs). (Bug#11757)
1476 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1478 * emacs-lisp/cl-lib.el: Require macroexp.
1480 2012-06-30 Chong Yidong <cyd@gnu.org>
1482 * xml.el: Implement XML parameter entities.
1483 (xml-parameter-entity-alist): New variable.
1484 (xml-parse-region, xml-parse-fragment): Preserve previous values
1485 of xml-entity-alist and xml-parameter-entity-alist, so that
1486 repeated calls on different documents do not change them.
1487 (xml-parse-tag): Fix doctype regexp.
1488 (xml--entity-replacement-text): New function.
1489 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1490 properly requires url retrieval which is unimplemented.
1491 (xml-escape-string): Doc fix.
1493 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1495 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1497 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1499 * fringe.el (fringe-mode): Doc fix.
1501 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
1503 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1505 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1506 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1508 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
1510 * calendar/cal-dst.el (calendar-current-time-zone):
1511 Return calendar-current-time-zone-cache if non-nil.
1513 2012-06-29 Masatake YAMATO <yamato@redhat.com>
1515 * progmodes/which-func.el (which-func-format):
1516 Add mouse-face. (Bug#11698)
1518 2012-06-29 Leo Liu <sdl.web@gmail.com>
1520 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1522 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1524 * minibuffer.el (minibuffer-confirm-exit-commands):
1525 Add completion-at-point (bug#11725).
1527 2012-06-29 Glenn Morris <rgm@gnu.org>
1529 * progmodes/f90.el (f90-font-lock-keywords-2):
1530 Add some preprocessor elements. (Bug#10499)
1532 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1534 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1535 Use syntax-propertize (bug#11739).
1537 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
1539 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1541 2012-06-28 Julien Danjou <julien@danjou.info>
1543 * term.el (term-handle-colors-array): Use a set of new faces to
1544 color the terminal. Also uses :inverse-video property.
1545 (term-default-fg-color): Set to nil by default, deprecate in favor
1547 (term-default-bg-color): Set to nil by default, deprecate in favor
1549 (term-current-face): Use `term-face' by default.
1550 (term-bold-attribute): Variable deleted.
1552 2012-06-28 Glenn Morris <rgm@gnu.org>
1554 * simple.el (completion-list-mode-finish):
1555 Don't use toggle-read-only. (Since completion-list-mode has
1556 a special mode-class, it wasn't doing anything extra anyway.)
1558 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1560 Make inlining of other-mode interpreted functions work (bug#11799).
1561 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1562 (byte-compile): Use it to fix compilation of lexical-binding closures.
1563 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1564 function, if needed.
1566 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1568 * help-mode.el (help-make-xrefs): Don't just withstand
1569 cyclic-variable-indirection but any error in documentation-property.
1571 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1573 * bindings.el (bindings--define-key): New function.
1574 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1575 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1576 * bindings.el: Use it to purecopy define-key bindings.
1578 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1580 * emacs-lisp/cl.el (flet): Mark obsolete.
1581 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1582 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1583 * progmodes/js.el (js-c-fill-paragraph):
1584 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1585 (ebrowse-switch-member-buffer-to-derived-class):
1586 * play/5x5.el (5x5-solver): Use cl-flet.
1588 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1589 (cl--symbol-function): New macro.
1590 (cl--letf, cl--letf*): Use it.
1592 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1593 Strip "toggle-" if any.
1595 2012-06-27 Glenn Morris <rgm@gnu.org>
1597 * info.el (Info-default-directory-list): Move here from paths.el.
1598 * paths.el: Remove file, which is now empty.
1599 * loadup.el: No longer load "paths".
1601 * custom.el (custom-initialize-delay): Doc fix.
1603 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1604 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1605 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1606 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1607 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1608 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1609 * eshell/eshell.el (eshell-defgroup): Remove alias.
1611 2012-06-27 Chong Yidong <cyd@gnu.org>
1613 * help.el (help-enable-auto-load): New variable.
1615 * help-fns.el (help-fns--autoloaded-p): New function.
1616 (describe-function-1): Refer to a function as "autoloaded" if it
1617 was autoloaded at any time in the past. Perform autoloading if
1618 help-enable-auto-load is non-nil.
1620 2012-06-26 Eli Zaretskii <eliz@gnu.org>
1622 * makefile.w32-in (compile, compile-always): Depend on
1623 update-subdirs, not on subdirs.el. Otherwise, several different
1624 sub-targets of 'bootstrap' running in parallel could
1625 simultaneously write to subdirs.el, producing a garbled file.
1627 2012-06-26 Sam Steingold <sds@gnu.org>
1629 * files.el (file-name-base): New convenience function.
1630 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1631 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1632 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1633 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1634 * textmodes/ispell.el, textmodes/reftex-ref.el:
1635 * textmodes/tex-mode.el: Use it.
1636 Did not touch cedet and org because they are maintained elsewhere.
1638 2012-06-26 Martin Rudalics <rudalics@gmx.at>
1640 * calendar/calendar.el (calendar-exit): Don't try to delete or
1641 iconify last frame. See:
1642 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1644 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1646 * server.el (server-process-filter): Remember dir in the
1647 process's `server-client-directory' properties.
1649 2012-06-24 Chong Yidong <cyd@gnu.org>
1651 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1654 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
1656 * makefile.w32-in (COMPILE_FIRST): Synch with changes in revno:108688.
1658 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1660 * help-fns.el (describe-variable): Don't croak when doc is not found.
1661 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1662 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1663 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1664 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1665 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1667 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1669 2012-06-23 Chong Yidong <cyd@gnu.org>
1671 * info.el (Info-mouse-follow-link): Accept symbol values of
1672 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
1673 (Info-fontify-node): Use Info-link-keymap for all navigation
1674 buttons, with link-args property to perform the desired action.
1675 (Info-link-keymap): Doc fix.
1676 (Info-next-link-keymap, Info-prev-link-keymap)
1677 (Info-up-link-keymap): Delete now-unused keymaps.
1679 2012-06-23 Chong Yidong <cyd@gnu.org>
1681 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1683 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1686 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1688 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1690 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1693 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1694 the requote function doesn't work properly (bug#11714).
1696 2012-06-23 Glenn Morris <rgm@gnu.org>
1698 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1700 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1702 Further GV/CL cleanups.
1703 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1705 (gv--defun-declaration): New function.
1706 (defun-declarations-alist): Use it.
1707 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1708 (gv-place): Autoload.
1709 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1710 original definition of dotimes and dolist.
1711 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1712 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1713 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1714 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1715 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1716 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1717 to the function's definition.
1718 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1722 * env.el: Don't use CL.
1724 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1726 Support higher-resolution time stamps (Bug#9000).
1728 * calendar/time-date.el (with-decoded-time-value): New arg
1729 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1730 (encode-time-value): New optional arg PICO. New type 3.
1731 (time-to-seconds) [!float-time]: Support the new picoseconds
1732 component if it's used.
1733 (seconds-to-time, time-subtract, time-add):
1734 Support ps-resolution time stamps as well.
1736 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1737 (timerp): Timer vectors now have length 9, not 8.
1738 (timer--time): Support new-style (4-part) time stamps.
1739 (timer-next-integral-multiple-of-time): Time stamps now have
1740 picosecond resolution, so take a bit more care about rounding.
1741 (timer-relative-time, timer-inc-time): New optional arg psecs.
1742 (timer-set-time-with-usecs): Set psecs to 0.
1743 (timer--activate): Check psecs component, too.
1745 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1747 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1749 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1750 Move the non-essential binding to the post/pre-command-hook where it is
1751 more obviously correct.
1753 * subr.el (read-passwd): Don't use a history at all.
1754 * savehist.el (savehist-save): Remove password saved accidentally
1755 because of the above bug.
1757 2012-06-22 Bastien Guerry <bzg@gnu.org>
1759 * files.el (toggle-read-only): Display a message telling whether
1760 the buffer is read-only or not (bug#11726).
1762 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1764 * emacs-lisp/gv.el: New file.
1765 * subr.el (push, pop): Extend to generalized variables.
1766 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1767 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1768 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1769 gv-define-simple-setter, and gv-define-expander.
1770 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1771 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1772 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1773 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1774 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1776 (cl-defstruct): Don't define setf-method any more.
1777 * emacs-lisp/cl.el (flet): Don't autoload.
1778 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1779 (define-setf-expander, defsetf, define-modify-macro)
1780 (cl-struct-setf-expander): Move from cl-lib.el.
1781 * emacs-lisp/syntax.el:
1782 * emacs-lisp/ewoc.el:
1783 * emacs-lisp/smie.el:
1784 * emacs-lisp/cconv.el:
1785 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1786 (timer--time): Use gv-define-simple-setter.
1787 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1788 to avoid coding-system problems in subr.el. Adjust all users.
1789 (macroexp--maxsize, macroexp-small-p): New functions.
1790 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1791 * scroll-bar.el (scroll-bar-mode):
1792 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1793 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1794 * winner.el (winner-configuration, winner-make-point-alist)
1795 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1796 * files.el (locate-file-completion-table): Avoid list*.
1798 2012-06-22 Chong Yidong <cyd@gnu.org>
1800 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1801 (dired-create-files): Doc fix (Bug#11329).
1802 (dired-do-copy): Doc fix (Bug#11334).
1803 (dired-mark-read-string): Doc fix (Bug#11553).
1805 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1806 Doc fix (Bug#11326).
1807 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1808 (dired-dwim-target): Doc fix.
1810 * wdired.el (wdired-mode): Doc fix.
1812 2012-06-22 Glenn Morris <rgm@gnu.org>
1814 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1815 (pcmpl-rpm-cache-stamp-file): New constant.
1816 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1817 (pcmpl-rpm-packages): Optionally cache list of packages.
1819 * pcmpl-rpm.el (pcmpl-rpm): New group.
1820 (pcmpl-rpm-query-options): New option.
1821 (pcmpl-rpm-packages): No need to inline it.
1822 Use pcmpl-rpm-query-options.
1824 * calendar/calendar.el (calendar-in-read-only-buffer):
1825 Avoid some needless mode changes.
1827 2012-06-21 Chong Yidong <cyd@gnu.org>
1829 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1830 (desktop-path): Remove . from the default value (Bug#10977).
1831 (desktop-read): Use user-emacs-directory if desktop-path is nil.
1833 2012-06-20 Chong Yidong <cyd@gnu.org>
1835 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1837 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1839 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1842 2012-06-20 Chong Yidong <cyd@gnu.org>
1844 * term.el (term-window-width): Handle the case of a missing right
1846 (term-check-size): Use window-text-height (Bug#5445).
1847 (term-mode): Use define-derived-mode. Minor cleanups.
1848 Set font-lock-defaults (Bug#7692).
1849 (term-move-columns, term-insert-char, term-emulate-terminal)
1850 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
1852 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
1854 * net/ange-ftp.el (ange-ftp-get-passwd):
1855 Bind `enable-recursive-minibuffers'.
1856 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1858 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1860 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1862 2012-06-19 Glenn Morris <rgm@gnu.org>
1864 * progmodes/python.el (python-mode): Derive from prog-mode.
1866 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1868 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1869 (edt-user-menu-bar-update-buffers): New functions.
1870 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1872 2012-06-19 Chong Yidong <cyd@gnu.org>
1874 * subr.el (with-selected-window): Preserve the selected window's
1875 terminal's top-frame (Bug#4702).
1877 * window.el (save-selected-window): Likewise.
1879 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1881 * progmodes/python.el (python-rx-constituents): Move backquote.
1882 (python-skeleton-define, python-define-auxiliary-skeleton):
1885 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
1887 * minibuffer.el (read-file-name-default): Revert the patch from
1890 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1892 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1893 (pcase--u1, pcase--q1): Don't use apply-partially.
1895 2012-06-18 Glenn Morris <rgm@gnu.org>
1897 * progmodes/python.el (python-proc, python-buffer)
1898 (python-send-receive, python-send-string): Fix obsolete versions.
1900 2012-06-18 Martin Rudalics <rudalics@gmx.at>
1902 * window.el (special-display-p): Completely remove stringp
1903 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1905 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
1907 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1909 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1911 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1912 * net/tramp-sh.el (tramp-maybe-open-connection):
1913 Throw if `non-essential' is non-nil.
1915 2012-06-17 Martin Rudalics <rudalics@gmx.at>
1917 * window.el (special-display-p): Signal an error if BUFFER-NAME
1918 is not a string (Bug#11713).
1920 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1922 * progmodes/python.el (python-info-beginning-of-backslash):
1923 Rename from python-info-beginning-of-backlash, as a spelling fix.
1925 2012-06-17 Chong Yidong <cyd@gnu.org>
1927 * term.el (term-emulate-terminal): If term-check-size is called,
1928 move point to the process mark without resetting point (Bug#4635).
1930 2012-06-17 Glenn Morris <rgm@gnu.org>
1932 * international/mule-cmds.el (mule-menu-keymap)
1933 (set-language-environment, set-locale-environment): Doc tweaks.
1935 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1937 * cus-face.el (custom-face-attributes): Add wave-style underline
1939 * faces.el (set-face-attribute): Update docstring to describe
1940 wave-style underline attribute.
1942 2012-06-16 Chong Yidong <cyd@gnu.org>
1944 * term/xterm.el (terminal-init-xterm): Discard input before
1945 querying background mode (Bug#10959).
1947 2012-06-16 Stefan Merten <smerten@oekonux.de>
1949 * textmodes/rst.el: Added and corrected some comments.
1950 (rst-re-alist-def): Improve symbol syntax.
1951 (rst-mode-syntax-table): Correct syntax entries.
1952 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1953 (rst-official-version, rst-official-cvs-rev): Update version
1956 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
1958 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1961 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1963 * progmodes/python.el: New python.el merge.
1964 (python-guess-indent): Obsolete var.
1965 (python-indent-guess-indent-offset): New defcustom.
1966 (python-indent): Obsolete var.
1967 (python-indent-offset): New defcustom.
1968 (python-python-command, python-jython-command): Delete var.
1969 (python-shell-interpreter): New defcustom.
1970 (python-pdbtrack-do-tracking-p): Delete var.
1971 (python-pdbtrack-activate): New defcustom.
1972 (python-use-skeletons): Obsolete var.
1973 (python-skeleton-autoinsert): New defcustom.
1974 (inferior-python-filter-regexp, python-continuation-offset)
1975 (python-honour-comment-indentation, python-indent-string-contents)
1976 (python-jython-packages, python-mode-hook)
1977 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1978 (python-shell-prompt-alist)
1979 (python-source-modes): Delete defcustoms.
1980 (python-check-buffer-name, python-eldoc-setup-code)
1981 (python-eldoc-string-code, python-ffap-setup-code)
1982 (python-ffap-string-code, python-fill-comment-function)
1983 (python-fill-decorator-function, python-fill-paren-function)
1984 (python-fill-string-function, python-imenu-include-defun-type)
1985 (python-imenu-make-tree, python-imenu-subtree-root-label)
1986 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1987 (python-shell-compilation-regexp-alist)
1988 (python-shell-completion-module-string-code)
1989 (python-shell-completion-pdb-string-code)
1990 (python-shell-completion-setup-code)
1991 (python-shell-completion-string-code)
1992 (python-shell-enable-font-lock, python-shell-exec-path)
1993 (python-shell-extra-pythonpaths)
1994 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1995 (python-shell-process-environment)
1996 (python-shell-prompt-block-regexp)
1997 (python-shell-prompt-output-regexp)
1998 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1999 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2000 (python-shell-virtualenv-path): New defcustoms.
2001 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2002 (inferior-python-mode-syntax-table, python--prompt-regexp)
2003 (python-buffer, python-command python-python-command)
2004 (python-default-template, python-imports, python-indent-index)
2005 (python-indent-list, python-indent-list-length)
2006 (python-mode-running, python-pdbtrack-is-tracking-p)
2007 (python-preoutput-continuation, python-preoutput-leftover)
2008 (python-preoutput-result, python-preoutput-skip-next-prompt)
2009 (python-prev-dir/file, python-recursing)
2010 (python-saved-check-command, python-version-checked)
2011 (python-which-func-length-limit)
2012 (view-return-to-alist): Delete vars.
2013 (python-check-custom-command, python-dotty-syntax-table)
2014 (python-imenu-index-alist, python-indent-current-level)
2015 (python-indent-dedenters, python-indent-levels)
2016 (python-nav-beginning-of-defun-regexp)
2017 (python-nav-list-defun-positions-cache)
2018 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2019 (python-shell-internal-buffer)
2020 (python-skeleton-available): New vars.
2021 (def-python-skeleton): Delete macro.
2022 (python-skeleton-define): New macro.
2023 (python-define-auxiliary-skeleton, python-rx): New macros.
2024 (python-insert-class): Delete command.
2025 (python-skeleton-class): New command.
2026 (python-insert-def): Delete command.
2027 (python-skeleton-def): New command.
2028 (python-insert-for): Delete command.
2029 (python-skeleton-for): New command.
2030 (python-insert-if): Delete command.
2031 (python-skeleton-if): New command.
2032 (python-insert-try/except, python-insert-try/finally): Delete commands.
2033 (python-skeleton-try): New command.
2034 (python-insert-while): Delete command.
2035 (python-skeleton-while): New command.
2036 (python-backspace): Delete command.
2037 (python-indent-dedent-line-backspace): New command.
2038 (python-electric-colon): Delete command.
2039 (python-indent-electric-colon): New command.
2040 (python-guess-indent): Delete command.
2041 (python-indent-guess-indent-offset): New command.
2042 (python-shift-left): Delete command.
2043 (python-indent-shift-left): New command.
2044 (python-shift-right): Delete command.
2045 (python-indent-shift-right): New command.
2046 (python-find-function): Delete command.
2047 (python-nav-jump-to-defun): New command.
2048 (python-next-statement): Delete command.
2049 (python-nav-forward-sentence): New command.
2050 (python-previous-statement): Delete command.
2051 (python-nav-backward-sentence): New command.
2052 (python-fill-paragraph): Delete command.
2053 (python-fill-paragraph-function): New command.
2054 (python-send-buffer): Delete command.
2055 (python-shell-send-buffer): New command.
2056 (python-send-defun): Delete command.
2057 (python-shell-send-defun): New command.
2058 (python-send-region, python-send-region-and-go): Delete commands.
2059 (python-shell-send-region)
2060 (python-shell-switch-to-shell): New commands.
2061 (python-send-string): Delete command.
2062 (python-shell-send-string): New command.
2063 (python-switch-to-python): Delete command.
2064 (python-shell-switch-to-shell): New command.
2065 (python-describe-symbol): Delete command.
2066 (python-eldoc-at-point): New command.
2067 (python--set-prompt-regexp, python-args-to-list)
2068 (python-after-info-look, python-check-version)
2069 (python-check-comint-prompt, python-find-imports)
2070 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2071 (python-unload-function, python-expand-template)
2072 (python-maybe-jython, python-preoutput-filter)
2073 (python-pdbtrack-get-source-buffer)
2074 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2075 (python-pdbtrack-toggle-stack-tracking)
2076 (python-pdbtrack-track-stack-file, python-initial-text)
2077 (python-first-word, python-comment-line-p, python-send-command)
2078 (python-setup-brm, python-sentinel, python-set-proc)
2079 (python-skip-out, python-input-filter, python-outdent-p)
2080 (python-outline-level, python-backslash-continuation-line-p)
2081 (python-end-of-block, python-end-of-statement, python-mark-block)
2082 (python-beginning-of-block, python-beginning-of-statement)
2083 (python-blank-line-p, python-beginning-of-string)
2084 (python-open-block-statement-p): Delete functions.
2085 (python-indent-line, python-indent-line-1): Delete functions.
2086 (python-indent-line): New function.
2087 (python-indentation-levels): Delete function.
2088 (python-indent-calculate-levels): New function.
2089 (python-proc): Delete function.
2090 (python-shell-get-process): New function.
2091 (python-send-receive): Delete function.
2092 (python-shell-send-string-no-output): New function.
2093 (python-module-path): Delete function.
2094 (python-ffap-module-path): New function.
2095 (python-completion-at-point)
2096 (python-symbol-completions): Delete functions.
2097 (python-completion-complete-at-point): New function.
2098 (python-load-file): Delete function.
2099 (python-shell-send-file): New function.
2100 (python-calculate-indentation): Delete function.
2101 (python-indent-calculate-indentation): New function.
2102 (python-skip-comments/blanks): Delete function.
2103 (python-util-forward-comment): New function.
2104 (python-continuation-line-p): Delete function.
2105 (python-info-continuation-line-p): New function.
2106 (python-which-func, python-current-defun): Delete function.
2107 (python-info-current-defun): New function.
2108 (python-beginning-of-defun): Delete function.
2109 (python-nav-beginning-of-defun): New function.
2110 (python-close-block-statement-p)
2111 (python-block-end-p): Delete function.
2112 (python-info-closing-block): New function.
2113 (python-comint-output-filter-function)
2114 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2115 (python-fill-comment, python-fill-decorator, python-fill-paren)
2116 (python-fill-string, python-imenu-make-element-tree)
2117 (python-imenu-make-tree, python-imenu-tree-assoc)
2118 (python-indent-context, python-indent-dedent-line)
2119 (python-indent-line-function)
2120 (python-indent-post-self-insert-function)
2121 (python-indent-toggle-levels)
2122 (python-info-assignment-continuation-line-p)
2123 (python-info-beginning-of-backlash)
2124 (python-info-block-continuation-line-p)
2125 (python-info-closing-block-message)
2126 (python-info-line-ends-backslash-p)
2127 (python-info-looking-at-beginning-of-defun)
2128 (python-info-ppss-context, python-info-ppss-context-type)
2129 (python-nav-list-defun-positions, python-nav-read-defun)
2130 (python-nav-sentence-end, python-nav-sentence-start)
2131 (python-pdbtrack-comint-output-filter-function)
2132 (python-pdbtrack-set-tracked-buffer)
2133 (python-shell-calculate-exec-path)
2134 (python-shell-calculate-process-environment)
2135 (python-shell-completion--do-completion-at-point)
2136 (python-shell-completion--get-completions)
2137 (python-shell-completion-complete-at-point)
2138 (python-shell-completion-complete-or-indent)
2139 (python-shell-get-or-create-process)
2140 (python-shell-get-process-name)
2141 (python-shell-internal-get-or-create-process)
2142 (python-shell-internal-get-process-name)
2143 (python-shell-internal-send-string, python-shell-make-comint)
2144 (python-shell-parse-command, python-shell-send-setup-code)
2145 (python-skeleton-add-menu-items)
2146 (python-util-clone-local-variables, python-util-position)
2147 (run-python-internal, python-indentation-levels)
2148 (python-nav-beginning-of-defun)
2149 (python-completion-complete-at-point): New functions.
2150 (run-python): Change arguments. New API requirements.
2152 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2154 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2157 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2158 (macroexp--expand-all): Use it.
2160 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2161 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2162 Use `cl-function' instead.
2164 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
2166 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2167 Suggested by Stefan Monnier while discussing bug#11657.
2169 2012-06-14 Sam Steingold <sds@gnu.org>
2171 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2173 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2175 * play/doctor.el (doctor-doc): Remove parameter and use
2176 doctor-sent instead of sent.
2177 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2179 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2181 * files.el: Require cl-lib.
2182 (file-name-non-special): Replace case -> cl-case.
2184 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2186 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2187 mapping from #' to function*.
2189 2012-06-13 Chong Yidong <cyd@gnu.org>
2191 * mouse.el (mouse-drag-track): Do not set the mark if the user
2192 releases the mouse without selecting anything (Bug#11588).
2194 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2196 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2197 as well (bug#11646).
2199 * loadup.el: Count byte-code functions as well.
2201 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2202 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2204 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2205 (bug#11649). Add cl-defun and cl-defmacro.
2207 2012-06-13 Drew Adams <drew.adams@oracle.com>
2209 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2212 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
2214 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2215 Otherwise, it blocks in batch mode.
2217 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
2219 * help-mode.el (bookmark-make-record-default): Declare.
2221 2012-06-13 Chong Yidong <cyd@gnu.org>
2223 * emacs-lisp/package.el (list-packages): Compute a list of
2224 packages that are newly-available since the last list-packages
2226 (package-menu--new-package-list): New var.
2227 (package-menu--generate, package-menu--print-info)
2228 (package-menu--status-predicate, package-menu-mark-install):
2229 Handle new status label "new".
2231 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2233 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2234 conversion to backquotes.
2236 2012-06-12 Chong Yidong <cyd@gnu.org>
2238 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2239 Rename from gud-inhibit-global-bindings.
2241 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2243 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2244 hook from nxml-glyph-set-hook.
2246 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2249 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2251 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2252 Convert to defcustom.
2254 2012-06-12 Drew Adams <drew.adams@oracle.com>
2256 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2258 (help-mode): Use them.
2260 2012-06-11 Glenn Morris <rgm@gnu.org>
2262 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2263 Use preprocessor face for directives.
2264 (fortran-directive-re): Doc fix.
2266 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2268 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2269 conversion to backquotes (bug#11652).
2271 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2272 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2273 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2274 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2275 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2276 (cl-ninth, cl-tenth): Mark them as inlinable.
2277 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2278 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2279 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2280 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2281 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2282 (cl-list*, cl-adjoin): Don't put an autoload manually.
2283 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2284 (cl--compiler-macro-list*): Add autoload cookie.
2285 (cl--compiler-macro-cXXr): New function.
2287 * help-fns.el (help-fns--compiler-macro): New function extracted from
2288 describe-function-1; follow aliases and use `compiler-macro' property.
2289 (describe-function-1): Use it.
2291 2012-06-11 Chong Yidong <cyd@gnu.org>
2293 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2294 is uninstalled, if imagemagick is installed.
2296 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2298 * emacs-lisp/cl-lib.el: Use lexical-binding.
2299 (cl-map-extents, cl-maclisp-member): Remove.
2300 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2301 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2302 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2303 * emacs-lisp/cl-extra.el: Use lexical-binding.
2304 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2305 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2306 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2307 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2308 * emacs-lisp/cl-seq.el: Use lexical-binding.
2309 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2310 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2311 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2312 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2313 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2316 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
2318 Sync with Tramp 2.2.6-pre.
2320 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2321 `print-length' and `print-level' to nil, in order to avoid
2322 truncation. Reported by Christopher Schmidt
2323 <christopher@ristopher.com>.
2325 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2327 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2329 (tramp-compat-copy-directory): Add optional argument
2330 COPY-CONTENTS. It is not handled yet.
2332 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2333 (tramp-ftp-file-name-p): Simplify.
2335 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2336 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2339 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2340 (tramp-methods): Do not use `tramp-password-end-of-line'.
2341 (tramp-completion-function-alist-putty): Handle UNIX case.
2342 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2343 (tramp-do-file-attributes-with-stat)
2344 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2345 gid as real numbers. They could run out of integer range on cygwin.
2346 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2347 (tramp-sh-handle-expand-file-name): Handle hops.
2348 (tramp-open-connection-setup-interactive-shell):
2349 Use `tramp-cleanup'. Move check for busyboxes ...
2350 (tramp-find-shell): ... here. Simplify implementation.
2351 Set "remote-shell" property also for alternative shells.
2352 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2353 If failing, a regular file would be written otherwise.
2354 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2355 (tramp-find-inline-encoding): Cache the coding commands in the
2356 process cache. Apply test command on the remote side, if defined.
2357 (tramp-find-inline-compress): Cache the compress commands in the
2359 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2360 when requested. Handle hops.
2361 (tramp-current-connection): New defvar.
2362 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2363 Throw `suppress', if there was a failed connection shortly before.
2364 Handle user interrupt. (Bug#10187)
2365 (tramp-get-inline-compress, tramp-get-inline-coding):
2366 Read connection properties from the process cache.
2368 * net/tramp-smb.el (tramp-smb-server-version)
2369 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2371 (tramp-smb-prompt): Extend for powershell prompt.
2372 (tramp-smb-file-name-handler-alist): Add handlers for
2373 `process-file', `shell-command' and `start-file-process'.
2374 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2375 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2376 (tramp-smb-file-name-p): Simplify.
2377 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2378 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2379 (tramp-smb-shell-quote-argument): New defuns.
2380 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2381 Implement using "tar". By this, time-stamps are preserved.
2382 (tramp-smb-handle-copy-file): Handle also the case of directories.
2383 (tramp-smb-do-file-attributes-with-stat)
2384 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2385 Use `tramp-get-connection-buffer').
2386 (tramp-smb-handle-rename-file): Use "rename", when source and
2387 target are on the same share.
2388 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2389 Use `tramp-smb-server-version'.
2390 (tramp-smb-wait-for-output): Remove prompt.
2392 * net/tramp.el (top): Require 'cl.
2393 (tramp-methods, tramp-rsh-end-of-line):
2394 Remove `tramp-password-end-of-line' from docstring.
2395 (tramp-save-ad-hoc-proxies): New defcustom.
2396 (tramp-completion-function-alist): Adapt docstring.
2397 (tramp-default-password-end-of-line): Remove defcustom.
2398 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2399 (tramp-user-regexp, tramp-file-name-regexp-unified)
2400 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2401 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2402 (tramp-remote-file-name-spec-regexp): New defconst.
2403 (tramp-file-name-structure): Extend structure for hops.
2404 (tramp-get-method-parameter): Move up.
2405 (tramp-file-name-p, tramp-dissect-file-name)
2406 (with-parsed-tramp-file-name): Handle hops.
2407 (tramp-file-name-hop): New defun.
2408 (tramp-make-tramp-file-name): New optional arg HOP.
2409 (tramp-message-show-progress-reporter-message): New defvar.
2410 (tramp-with-progress-reporter): Use it. We cannot use
2411 `tramp-message-show-message' here, because this suppresses also
2413 (tramp-error-with-buffer): Suppress buffer view, if
2414 `tramp-message-show-message' is nil.
2415 Use `tramp-get-connection-buffer'.
2416 (tramp-cleanup): New defun.
2417 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2418 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2420 (tramp-completion-handle-file-name-all-completions): Handle hops.
2421 Fix an error when called from ido.
2422 (tramp-completion-dissect-file-name): Use better local variable
2423 name. Add hop to the vector.
2424 (tramp-handle-insert-file-contents): Use progress-reporter for the
2426 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2428 (tramp-check-for-regexp): Simplify search.
2429 (tramp-enter-password): Remove it. Move implementation ...
2430 (tramp-action-password): ... here.
2431 (tramp-mode-string-to-int, tramp-local-host-p)
2432 (tramp-make-tramp-temp-file, tramp-read-passwd)
2433 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2434 Set tramp-autoload cookie.
2436 * net/trampver.el: Update release number.
2438 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2439 Michael Albinus <michael.albinus@gmx.de>
2441 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2442 (tramp-parse-group, tramp-parse-file)
2443 (tramp-parse-shostkeys-sknownhosts): New defuns.
2444 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2445 (tramp-parse-shosts-group, tramp-parse-sconfig)
2446 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2447 (tramp-parse-sknownhosts, tramp-parse-hosts)
2448 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2450 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2451 (tramp-parse-putty-group): Don't narrow.
2452 (tramp-parse-putty): Make a loop.
2453 (tramp-file-name-handler): Catch the `suppress' signal.
2455 2012-06-11 Chong Yidong <cyd@gnu.org>
2457 * image.el (imagemagick-register-types): Put the ImageMagick entry
2458 at the end of image-type-file-name-regexps.
2460 2012-06-11 Johan Bockgård <bojohan@gnu.org>
2462 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2463 (pcase, pcase-let*, pcase-dolist): Use them.
2465 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2467 * emacs-lisp/pcase.el (pcase--let*): New function.
2468 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2469 (pcase--expand): Use macroexp-let².
2471 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2473 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2474 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2475 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2476 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2477 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2478 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2480 2012-06-10 Glenn Morris <rgm@gnu.org>
2482 * mail/rmail.el (rmail-yank-current-message): Leave point at
2483 correct position. (Bug#11660)
2485 2012-06-10 Chong Yidong <cyd@gnu.org>
2487 * allout-widgets.el: Fix code header.
2489 2012-06-10 Chong Yidong <cyd@gnu.org>
2491 * cus-edit.el (customize-changed-options-previous-release):
2494 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2496 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2498 2012-06-09 Chong Yidong <cyd@gnu.org>
2500 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2502 2012-06-09 Martin Rudalics <rudalics@gmx.at>
2504 * window.el (special-display-popup-frame): Don't use
2505 window--display-buffer (Bug#11651).
2507 2012-06-09 Eli Zaretskii <eliz@gnu.org>
2509 Fix parallel builds: make sure loaddefs.el is not being written
2510 while Lisp files are compiled.
2511 (compile): Don't depend on 'mh-autoloads'.
2512 (compile-CMD, compile-SH): Depend on 'autoloads'.
2513 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2515 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2517 2012-06-09 Chong Yidong <cyd@gnu.org>
2519 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2520 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2521 Doc fixes (Bug#11225).
2523 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2525 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2526 a function if there's a clear indication that it has a compiler-macro.
2527 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2528 (macro-declarations-alist): Add arglist to declaration functions.
2529 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2530 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2531 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2532 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2533 Also add autoload to find the compiler macro.
2534 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2535 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2536 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2537 (cl--compiler-macro-get): New functions, replacing calls to
2538 cl-define-compiler-macro.
2539 (cl-typep) [compiler-macro]: Use macroexp-let².
2541 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
2543 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2544 string properly, fixes Bug#11473.
2546 2012-06-08 Chong Yidong <cyd@gnu.org>
2548 * faces.el (set-face-attribute): Doc fix.
2549 (modify-face): Don't use :bold and :italic.
2550 (error, warning, success): Tweak definitions.
2552 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2553 (custom-modified, custom-set, custom-changed, custom-themed)
2554 (custom-saved, custom-button, custom-button-mouse)
2555 (custom-button-pressed, custom-state, custom-comment-tag)
2556 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2557 (custom-group-subtitle): Use new-style face specs.
2558 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2559 (custom-set-face, custom-changed-face, custom-saved-face)
2560 (custom-button-face, custom-button-pressed-face)
2561 (custom-documentation-face, custom-state-face)
2562 (custom-comment-face, custom-comment-tag-face)
2563 (custom-variable-tag-face, custom-variable-button-face)
2564 (custom-face-tag-face, custom-group-tag-face-1)
2565 (custom-group-tag-face): Remove obsolete face alias.
2567 * epa.el (epa-validity-high, epa-validity-medium)
2568 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2569 (epa-field-name, epa-field-body):
2570 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2571 (font-lock-keyword-face, font-lock-builtin-face)
2572 (font-lock-function-name-face, font-lock-variable-name-face)
2573 (font-lock-type-face, font-lock-constant-face):
2574 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2575 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2576 * speedbar.el (speedbar-button-face, speedbar-file-face)
2577 (speedbar-directory-face, speedbar-tag-face)
2578 (speedbar-selected-face, speedbar-highlight-face)
2579 (speedbar-separator-face):
2580 * whitespace.el (whitespace-newline, whitespace-space)
2581 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2582 (whitespace-line, whitespace-space-before-tab)
2583 (whitespace-space-after-tab, whitespace-indentation)
2585 * emulation/cua-base.el (cua-global-mark):
2586 * eshell/em-prompt.el (eshell-prompt):
2587 * net/newst-plainview.el (newsticker-new-item-face)
2588 (newsticker-old-item-face, newsticker-immortal-item-face)
2589 (newsticker-obsolete-item-face, newsticker-date-face)
2590 (newsticker-statistics-face, newsticker-default-face):
2591 * net/newst-reader.el (newsticker-feed-face)
2592 (newsticker-extra-face, newsticker-enclosure-face):
2593 * net/newst-treeview.el (newsticker-treeview-face)
2594 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2595 (newsticker-treeview-immortal-face)
2596 (newsticker-treeview-obsolete-face)
2597 (newsticker-treeview-selection-face):
2598 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2599 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2600 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2601 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2602 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2603 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2604 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2606 * progmodes/vera-mode.el (vera-font-lock-number)
2607 (vera-font-lock-function, vera-font-lock-interface):
2608 * textmodes/table.el (table-cell): Use new-style face specs, and
2609 don't use the old :bold and :italic attributes.
2611 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2612 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2613 (ebrowse-member-class, ebrowse-progress): Likewise.
2614 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2615 (ebrowse-file-name-face, ebrowse-default-face)
2616 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2617 (ebrowse-progress-face): Remove obsolete faces.
2619 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2620 Inherit from error and warning faces respectively.
2622 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2624 (flyspell-incorrect-face, flyspell-duplicate-face):
2625 Remove obsolete aliases.
2627 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
2629 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2632 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2634 * startup.el (argv, argi): Make lexically scoped.
2635 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2636 * emacs-lisp/cl-macs.el: Use lexical-binding.
2637 Rename cl-bind-* to cl--bind-*.
2638 * files.el: Don't require `cl' since it doesn't use it.
2639 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2641 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
2643 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of revno:89810).
2644 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2645 instead of calling external sort utility.
2646 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2648 2012-06-08 Eli Zaretskii <eliz@gnu.org>
2650 * descr-text.el (describe-char): Mention how to insert the
2651 character, if the current input method doesn't support it.
2652 See the discussion in this thread for the details:
2653 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2655 2012-06-08 Sam Steingold <sds@gnu.org>
2657 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2658 XF86Back to previous-buffer.
2659 (minibuffer-local-map): Bind them to next-history-element and
2660 previous-history-element respectively.
2661 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2662 help-go-back respectively.
2663 * info.el (Info-mode-map): Bind them to Info-history-forward and
2664 Info-history-back respectively.
2665 These are the keys next to Up on the ThinkPad keyboard.
2667 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2669 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2670 * emacs-lisp/cl-macs.el: Provide itself.
2671 (cl--labels-convert-cache): New var.
2672 (cl--labels-convert): New function.
2673 (cl-flet, cl-labels): New implementation with new semantics, relying on
2675 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2676 (cl-closure-vars, cl--function-convert-cache)
2677 (cl--function-convert): Move from cl-macs.el.
2678 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2679 rename by removing the "cl-" prefix.
2680 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2682 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2684 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2685 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2686 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2687 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2688 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2689 (cl-hash-table-count): Add old compatibility aliases.
2691 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2692 Use macroexpand-all-environment instead.
2693 (cl--old-macroexpand): New var.
2694 (cl--sm-macroexpand): New function.
2695 (cl-symbol-macrolet): Use it during macro expansion.
2696 (cl--function-convert-cache): New var.
2697 (cl--function-convert): New function, extracted from
2699 (cl-lexical-let): Use it.
2701 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2702 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2703 (cl-member): Remove old alias.
2705 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2706 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2707 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2708 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2709 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2710 (cl-macroexpand-cmacs): Remove var.
2711 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2712 Use macroexpand-all instead.
2714 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2716 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2717 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2718 (macroexp-copyable-p): New functions and macros.
2719 * emacs-lisp/edebug.el (edebug-unwrap):
2720 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2721 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2722 (pcase--let*): Remove.
2723 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2724 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2725 macroexp-const-p instead.
2726 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2728 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2729 instead of "cl-" for internal definitions. Use macroexp-const-p.
2730 (cl-old-bc-file-form): Remove var.
2731 (cl-const-exprs-p): Remove fun.
2732 (cl-labels, cl-macrolet): Use backquote.
2733 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2734 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2735 (cl-define-setf-expander): Rename from cl-define-setf-method.
2736 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2738 * international/mule-cmds.el: Don't require CL.
2739 (view-hello-file): Don't use `letf'.
2741 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2743 * tmm.el (tmm-prompt): Use string-prefix-p.
2744 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2745 (tmm-add-prompt): Use minibuffer-completion-help.
2746 (tmm-delete-map): Remove.
2748 * subr.el (kbd): Make it its own function.
2750 2012-06-07 Stefan Merten <smerten@oekonux.de>
2752 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2753 Silence compiler warnings. Fix versions.
2754 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
2755 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
2756 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
2757 (rst-package-emacs-version-alist): Correct Emacs version to
2758 represent major merge with upstream.
2759 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
2761 2012-06-06 Glenn Morris <rgm@gnu.org>
2763 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2764 Only print environment variables if set.
2766 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2768 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2769 (macroexp--cons): Rename from maybe-cons.
2770 (macroexp--accumulate): Rename from macroexp-accumulate.
2771 (macroexp--all-forms): Rename from macroexpand-all-forms.
2772 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2773 (macroexp--expand-all): Rename from macroexpand-all-1.
2775 2012-06-06 Sam Steingold <sds@gnu.org>
2777 * calendar/calendar.el (calendar-in-read-only-buffer):
2778 Call `special-mode' to enable the standard read-only keybindings.
2780 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2782 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2783 with "loading" messages (bug#11635).
2785 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
2787 * files.el (enable-remote-dir-locals): New option.
2788 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2790 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2791 Ensure, that the temp directory is local.
2793 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2794 `temporary-file-directory'.
2796 * progmodes/python.el (python-send-region): Ensure, that the
2797 temporary file is created also in the remote case.
2799 2012-06-06 Glenn Morris <rgm@gnu.org>
2801 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2802 (vc-rcs-update-changelog): Use it.
2804 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
2806 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2807 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2808 (vc-sccs-diff): Replace use of the external vcdiff script.
2810 2012-06-05 Glenn Morris <rgm@gnu.org>
2812 * ledit.el: Move to obsolete/.
2814 2012-06-05 Sam Steingold <sds@gnu.org>
2816 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
2819 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2821 * emacs-lisp/cust-print.el: Move to obsolete.
2823 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2824 compiler-macro expansion.
2826 Add native compiler-macro support.
2827 * emacs-lisp/macroexp.el (macroexpand-all-1):
2828 Support compiler-macros directly. Properly follow aliases and apply
2829 the compiler macros more thoroughly.
2830 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2831 macroexpand now properly follows aliases.
2832 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2833 (cl-compiler-macroexpand): Use new prop.
2834 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2836 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2838 2012-06-05 Martin Rudalics <rudalics@gmx.at>
2840 * window.el (get-lru-window, get-mru-window, get-largest-window):
2841 New argument NOT-SELECTED to avoid picking the selected window.
2842 (window--display-buffer-1, window--display-buffer-2): Replace by
2843 new function window--display-buffer
2844 (display-buffer-same-window, display-buffer-reuse-window)
2845 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2846 Use window--display-buffer.
2847 (display-buffer-use-some-window): Remove temporary dedication
2848 hack by calling get-lru-window and get-largest-window with
2849 NOT-SELECTED argument non-nil. Call window--display-buffer.
2851 2012-06-05 Glenn Morris <rgm@gnu.org>
2853 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2854 Replace external vcdiff script.
2856 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2858 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2860 2012-06-04 Chong Yidong <cyd@gnu.org>
2862 * image.el (imagemagick-types-inhibit): Revert last change.
2864 (imagemagick-enabled-types): Remove CIN and EPS*.
2866 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2868 * emacs-lisp/cl-lib.el: Rename from cl.el.
2869 * emacs-lisp/cl.el: New compatibility file.
2870 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2871 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2872 to obey the "cl-" prefix.
2873 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2875 2012-06-03 Glenn Morris <rgm@gnu.org>
2877 * emacs-lisp/authors.el (authors-aliases): Addition.
2879 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2882 2012-06-03 Stefan Merten <smerten@oekonux.de>
2884 * textmodes/rst.el: Add comments.
2885 (rst-transition, rst-adornment): New faces.
2886 (rst-adornment-faces-alist): Make default safe to reevaluate.
2888 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2889 Improve customization tags.
2890 (rst-define-level-faces): Clarify meaning.
2892 2012-06-03 Chong Yidong <cyd@gnu.org>
2894 * progmodes/compile.el (compilation-mode-line-fail)
2895 (compilation-mode-line-run, compilation-mode-line-exit):
2897 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2899 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2901 * progmodes/which-func.el (which-func-update-ediff-windows):
2902 New function. Use it in ediff-select-hook (Bug#11478).
2904 2012-06-03 Chong Yidong <cyd@gnu.org>
2906 * bindings.el: Remove explicit help text from format-mode-line.
2907 It is now supplied by mode-line-default-help-echo.
2908 (mode-line-front-space, mode-line-end-spaces)
2909 (mode-line-misc-info): New variables.
2910 (mode-line-modes, mode-line-position): Move the default value to
2911 the variable definition.
2912 (mode-line-default-help-echo): New defcustom.
2913 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2914 (mode-line-modified-help-echo): New functions.
2915 (mode-line-mule-info, mode-line-modified): Use them.
2916 (mode-line-eol-desc, propertized-buffer-identification):
2917 Consistency fixes for help text.
2918 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2919 set-buffer-file-coding-system (Bug#289).
2920 (mode-line-mule-info-help-echo): Update help text.
2922 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2924 * simple.el (execute-extended-command): Set real-this-command
2927 2012-06-02 Chong Yidong <cyd@gnu.org>
2929 Remove incorrect uses of "modeline" in comments, docstrings, and
2930 function/variable names (Bug#10329).
2932 * cus-edit.el (mode-line):
2933 * dframe.el (dframe-mouse-hscroll):
2934 * emacs-lisp/re-builder.el:
2935 * emacs-lisp/easy-mmode.el (define-minor-mode):
2936 * frame.el (set-frame-name):
2937 * help.el (lookup-minor-mode-from-indicator):
2938 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2939 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2940 (c-toggle-hungry-state):
2941 * progmodes/antlr-mode.el (antlr-language-alist):
2942 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2943 * progmodes/vhdl-mode.el (vhdl-mode):
2944 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2945 * term/ns-win.el (ns-face-at-pos):
2946 * term/sup-mouse.el (sup-mouse-report):
2947 * textmodes/flyspell.el (flyspell-mode-line-string):
2948 * textmodes/ispell.el (ispell-highlight-face):
2949 * textmodes/reftex-global.el:
2950 * vc/vc-arch.el (vc-arch-mode-line-string):
2951 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2952 * vc/vc-git.el (vc-git-mode-line-string):
2953 * vc/vc-hooks.el (vc-display-status)
2954 (vc-default-mode-line-string):
2955 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2957 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2959 * dired.el (dired-sort-set-mode-line): Rename from
2960 dired-sort-set-modeline. All callers changed.
2962 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2963 eshell-status-in-modeline.
2965 * foldout.el (foldout-mode-line-string): Rename from
2966 foldout-modeline-string. All callers changed.
2967 (foldout-update-mode-line): Rename from foldout-update-modeline.
2969 * subr.el (redraw-modeline): Make into obsolete alias.
2971 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2972 timeclock-modeline-display. Make old name an alias.
2973 (timeclock-update-mode-line): Likewise. All callers changed.
2974 (timeclock-mode-line-display): No need to check before using
2976 (timeclock-relative, timeclock-day-over-hook)
2977 (timeclock-use-elapsed, timeclock-mode-string)
2978 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2980 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2981 crisp-mode-modeline-string.
2983 * play/solitaire.el (solitaire-build-mode-line): Rename from
2984 solitaire-build-modeline. All callers changed.
2986 * play/zone.el (zone-hiding-mode-line): Rename from
2987 zone-hiding-modeline. All callers changed.
2988 (zone): Remove unusued `modeline-hidden-level' property.
2990 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2991 xscheme-modeline-initialize. All callers changed.
2993 * strokes.el (strokes-lighter): Rename from
2994 strokes-modeline-string.
2996 * textmodes/sgml-mode.el (html-face-tag-alist)
2997 (html-tag-face-alist): Use mode-line face instead of obsolete
3000 2012-06-02 Stefan Merten <smerten@oekonux.de>
3002 * textmodes/rst.el: Always require `cl'.
3003 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
3005 2012-06-02 Chong Yidong <cyd@gnu.org>
3007 * image.el (imagemagick-enabled-types): Rename from
3008 imagemagick-types-enable. Add many more types.
3009 (imagemagick-types-inhibit): Change default to nil.
3010 (imagemagick-filter-types): Caller changed.
3012 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3014 * emacs-lisp/cl-macs.el: Use backquotes.
3015 (cl-transform-function-property): Use eval-and-compile rather than
3017 (defstruct): Use declare-function instead of with-no-warnings.
3019 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3020 (byte-compile-output-docform): Re-add the print-circle bindings.
3021 (byte-compile-fix-header): Use #$ just because it's shorter.
3022 (byte-compile-output-file-form): Remove defun/defmacro.
3024 2012-06-01 Martin Rudalics <rudalics@gmx.at>
3026 * simple.el (choose-completion): Remove now obsolete binding for
3029 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
3031 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3032 in order to avoid "Stack overflow in regexp matcher".
3034 2012-05-31 Glenn Morris <rgm@gnu.org>
3036 * image.el: For clarity, call imagemagick-register-types at
3037 top-level, rather than relying on a custom :initialize.
3038 (imagemagick-types-enable): New option. (Bug#11557)
3039 (imagemagick-filter-types): New function. (Bug#7406)
3040 (imagemagick-register-types): Use imagemagick-filter-types.
3041 If disabling support, remove elements altogether rather
3042 than using an impossible regexp.
3043 (imagemagick-types-inhibit): Give it the default init function.
3045 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3047 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3048 Handle arbitrary file name lengths (Bug#11585).
3050 2012-05-31 Martin Rudalics <rudalics@gmx.at>
3052 * desktop.el (desktop-read): Clear previous and next buffers for
3053 all windows and bury *Messages* buffer (bug#11556).
3055 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3057 Add `declare' for `defun'. Align `defmacro's with it.
3058 * emacs-lisp/easy-mmode.el (define-minor-mode)
3059 (define-globalized-minor-mode): Don't autoload the var definitions.
3060 * emacs-lisp/byte-run.el: Use lexical-binding.
3061 (defun-declarations-alist, macro-declarations-alist): New vars.
3062 (defmacro, defun): Use them.
3063 (make-obsolete, define-obsolete-function-alias)
3064 (make-obsolete-variable, define-obsolete-variable-alias):
3066 (macro-declaration-function): Mark obsolete.
3067 * emacs-lisp/autoload.el: Use lexical-binding.
3068 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3070 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3072 * textmodes/ispell.el (ispell-with-no-warnings):
3074 (ispell-kill-ispell, ispell-change-dictionary):
3075 Use `called-interactively-p' for Emacs instead of obsolete
3078 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3080 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3081 (macro-declaration-function): Move var from C code.
3082 (macro-declaration-function): Define function with defalias.
3083 * emacs-lisp/macroexp.el (macroexpand-all-1):
3084 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3085 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3086 defun/defmacro any more.
3087 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3088 Provide fallback for unknown arglist.
3089 (byte-compile-arglist-warn): Change calling convention.
3090 (byte-compile-output-file-form): Move print-vars binding.
3091 (byte-compile-output-docform): Simplify accordingly.
3092 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3093 (byte-compile-defmacro-declaration): Remove.
3094 (byte-compile-file-form-defmumble): Generalize to defalias.
3095 (byte-compile-output-as-comment): Return byte-positions.
3096 Simplify callers accordingly.
3097 (byte-compile-lambda): Use `assert'.
3098 (byte-compile-defun, byte-compile-defmacro): Remove.
3099 (byte-compile-file-form-defalias):
3100 Use byte-compile-file-form-defmumble.
3101 (byte-compile-defalias-warn): Remove.
3103 2012-05-29 Stefan Merten <smerten@oekonux.de>
3105 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
3106 possible. Fix authors. Improve comments. Improve loading of `cl'.
3108 (rst-mode-abbrev-table): Merge definition.
3109 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3110 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3112 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
3114 * calendar/icalendar.el
3115 (icalendar-export-region): Export UID properly.
3117 2012-05-29 Leo Liu <sdl.web@gmail.com>
3118 * calendar/icalendar.el (icalendar-import-format):
3119 Add `icalendar-import-format-uid' (Bug#11525).
3120 (icalendar-import-format-uid): New.
3121 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3124 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3126 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3127 different alternative patterns.
3128 (pcase-codegen): Be more careful to preserve identity.
3129 (pcase--u1): Don't forget to mark vars as used.
3131 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3132 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3133 (byte-compile-from-buffer): ...rather than here.
3135 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3136 functions from byte-compile-function-environment.
3138 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
3140 * window.el (window-deletable-p): Avoid deleting the root window
3141 of a frame with an active minibuffer.
3143 2012-05-29 Martin Rudalics <rudalics@gmx.at>
3145 * simple.el (choose-completion): Use quit-window (Bug#11567).
3147 2012-05-29 Chong Yidong <cyd@gnu.org>
3149 * whitespace.el (whitespace-cleanup): Fix usage of
3150 whitespace-empty-at-bob-regexp (Bug#11492).
3152 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3154 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3157 2012-05-29 Juri Linkov <juri@jurta.org>
3159 * isearch.el (isearch-mode-map): Bind `M-s _' to
3160 `isearch-toggle-symbol'. Bind `M-s c' to
3161 `isearch-toggle-case-fold'.
3162 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3163 (isearch-forward): Add `M-s _' to the docstring.
3164 (isearch-forward-symbol, isearch-toggle-case-fold)
3165 (isearch-symbol-regexp): New functions. (Bug#11381)
3167 2012-05-29 Juri Linkov <juri@jurta.org>
3169 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3170 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3171 a function, call it to get the regexp.
3172 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3173 property `isearch-message-prefix' instead of the string "word ".
3174 (isearch-search-fun-default): For the case of `isearch-word',
3175 return a lambda that calls re-search-forward/re-search-backward
3176 with a regexp returned by `word-search-regexp' or by the function
3179 2012-05-29 Juri Linkov <juri@jurta.org>
3181 * isearch.el (isearch-search-fun-default): New function.
3182 (isearch-search-fun): Move default part to the new function
3183 `isearch-search-fun-default'.
3184 (isearch-search-fun-function): Set the default value to
3185 `isearch-search-fun-default'. (Bug#11381)
3187 * comint.el (comint-history-isearch-end):
3188 Use `isearch-search-fun-default'.
3189 (comint-history-isearch-search): Use `isearch-search-fun-default'
3190 and remove spacial case for `isearch-word'.
3191 (comint-history-isearch-wrap): Remove spacial case for
3194 * hexl.el (hexl-isearch-search-function):
3195 Use `isearch-search-fun-default'.
3197 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3198 Use `word-search-regexp' for `isearch-word'.
3200 * misearch.el (multi-isearch-search-fun):
3201 Use `isearch-search-fun-default'.
3203 * simple.el (minibuffer-history-isearch-search):
3204 Use `isearch-search-fun-default' and remove spacial case for
3206 (minibuffer-history-isearch-wrap): Remove spacial case for
3209 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3210 Remove spacial case for `isearch-word'.
3211 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3213 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3215 Decrease XEmacs incompatibilities.
3216 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3218 (flyspell-delete-region-overlays): Use alternative definition for
3220 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3221 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3222 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3223 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3224 `define-obsolete-face-alias' under XEmacs, but old method.
3226 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3227 `with-no-warnings' definition or Emacs alias.
3228 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3229 (ispell-word): Do not use `region-p' if XEmacs.
3231 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3233 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3234 Check for `ispell-dictionary-base-alist' instead of full
3235 `ispell-dictionary-alist'.
3236 (ispell-init-process): Show spellchecker when starting new Ispell
3239 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3241 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3242 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3244 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
3246 * version.el (motif-version-string, gtk-version-string)
3247 (ns-version-string): Declare.
3249 2012-05-27 Juri Linkov <juri@jurta.org>
3251 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3252 after the `eval-defun-1' specialcaseing
3253 like in `edebug-eval-defun' (bug#10181).
3255 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3256 like in `eval-defun-1'.
3258 2012-05-27 Eli Zaretskii <eliz@gnu.org>
3260 * mail/sendmail.el (mail-yank-region):
3261 Recognize rmail-yank-current-message in addition to insert-buffer.
3262 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
3263 a *mail* buffer created through rmail-start-mail with sendmail as
3266 2012-05-27 Chong Yidong <cyd@gnu.org>
3268 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3269 Default to 256 (Bug#11267).
3271 * help.el (describe-mode): Doc fix.
3273 2012-05-26 Glenn Morris <rgm@gnu.org>
3275 * w32-fns.el (w32-init-info): Remove.
3276 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3278 * info.el (info-initialize): For self-contained NS builds, put the
3279 included info/ directory at the front. (Bug#2791)
3281 * paths.el (Info-default-directory-list): Make it a defcustom,
3282 mainly so that we can use custom-initialize-delay.
3284 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3286 * subr.el (buffer-has-markers-at): Mark obsolete.
3288 * subr.el (lambda): Use declare.
3290 * emacs-lisp/lisp-mode.el (lambda):
3291 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3293 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3295 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3297 2012-05-26 Glenn Morris <rgm@gnu.org>
3299 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3301 2012-05-25 Glenn Morris <rgm@gnu.org>
3303 * paths.el: Remove no-byte-compile.
3304 * loadup.el: No need to load paths.el uncompiled.
3306 * image.el (imagemagick-types-inhibit): Doc fix.
3308 * version.el: Remove no-byte-compile and associated formatting.
3309 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3310 is ancient code from when there was an "inc-vers.el".
3312 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3314 * progmodes/gdb-mi.el: Minor style changes.
3315 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3316 Turn into minor modes.
3317 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3318 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3319 (gdb-shell): Remove unneeded let-binding.
3320 (gdb-get-many-fields): Eliminate O(n²) behavior.
3322 2012-05-25 Eli Zaretskii <eliz@gnu.org>
3324 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3325 platforms that don't link in fontset.c.
3327 2012-05-25 Juri Linkov <juri@jurta.org>
3329 Use the same diff color scheme as in modern VCSes (bug#10181).
3331 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3332 to avoid confusion with `diff-added' that now uses green colors.
3333 (diff-removed): Use shades of red.
3334 (diff-added): Use shades of green.
3335 (diff-changed): Leave just the yellow color.
3336 (diff-use-changed-face): New variable.
3337 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3338 how to highlight context diff changes.
3339 (diff-refine-change): Use shades of yellow.
3340 (diff-refine-removed): New face that uses shades of red.
3341 (diff-refine-added): New face that uses shades of green.
3342 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3343 `diff-refine-removed' in the call to `smerge-refine-subst'
3344 depending on the value of `diff-use-changed-face'.
3346 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3347 (smerge-other): Use shades of green.
3348 (smerge-base): Use shades of yellow.
3349 (smerge-refined-change): Empty face.
3350 (smerge-refined-removed): New face that uses shades of red.
3351 (smerge-refined-added): New face that uses shades of green.
3352 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3353 args `props-r' and `props-a', and use them. Doc fix.
3354 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3355 on its value use different faces `smerge-refined-change',
3356 `smerge-refined-removed', `smerge-refined-added' in the call to
3357 `smerge-refine-subst'.
3359 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3360 Add face condition `min-colors 88' with shades of red.
3361 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3362 `min-colors 88' with shades of green.
3363 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3364 `min-colors 88' with shades of yellow.
3366 2012-05-24 Glenn Morris <rgm@gnu.org>
3368 * paths.el (prune-directory-list, remote-shell-program): Move to...
3369 * files.el (prune-directory-list, remote-shell-program): ...here.
3370 For the latter, delay initialization, prefer ssh, just search PATH.
3372 * paths.el (term-file-prefix): Move to faces.el (the only user).
3373 * faces.el (term-file-prefix): Move here, make it a defcustom.
3375 * paths.el (news-directory, news-path, news-inews-program):
3376 Move to gnus/nnspool.el.
3378 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3380 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3381 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3382 Make the latter a defcustom, with a delayed initialization.
3384 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3385 These were deleted from Gnus itself late 2010.
3387 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
3389 * progmodes/which-func.el (which-func-ff-hook):
3390 Check against user-error, not error.
3392 * emacs-lisp/edebug.el (top): Do not load or set up loading of
3393 cl-specs.el, which no longer exists.
3395 2012-05-22 Glenn Morris <rgm@gnu.org>
3397 * info.el (info-emacs-bug): New command.
3398 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3399 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3401 2012-05-21 Glenn Morris <rgm@gnu.org>
3403 * makefile.w32-in (update-subdirs-SH):
3404 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3406 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3408 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3410 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3411 Simplify Maven regexp, and make sure the file can't start with a space
3414 2012-05-21 Glenn Morris <rgm@gnu.org>
3416 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3417 Scrap superfluous subshells.
3419 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3421 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3422 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3424 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3426 * calc/calc.el (calc-ensure-consistent-units): New variable.
3428 * calc/calc-units.el (math-consistent-units-p)
3429 (math-check-unit-consistency): New functions.
3430 (calc-quick-units, calc-convert-units):
3431 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3433 (calc-extract-units): Fix typo.
3435 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3437 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3439 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3440 (flyspell-default-deplacement-commands): Don't spell check after
3441 repeated window/frame switches (e.g. triggered by mouse-movement).
3442 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3443 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3444 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3445 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3447 (flyspell-get-casechars, flyspell-get-not-casechars):
3448 Simplify; Don't bother removing a ] just to add it back.
3449 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3451 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3453 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3455 (math-function-table): Add support for more C functions.
3457 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3459 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3460 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3461 Protect delay handling for otherchars against empty otherchars.
3463 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3465 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3466 their respective macro declarations.
3467 * skeleton.el (define-skeleton):
3468 * progmodes/compile.el (define-compilation-mode):
3469 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3470 (define-ibuffer-filter):
3471 * emacs-lisp/generic.el (define-generic-mode):
3472 * emacs-lisp/easy-mmode.el (define-minor-mode)
3473 (define-globalized-minor-mode):
3474 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3475 * emacs-lisp/byte-run.el (defsubst):
3476 * custom.el (deftheme): Add doc-string metadata.
3478 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3480 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3482 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3484 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3486 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3487 * emacs-lisp/cl-macs.el: Idem.
3488 * emacs-lisp/cl-specs.el: Remove.
3490 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3492 Minor renaming of internal CL functions and variables.
3493 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3494 (cl--position): Rename from cl-position.
3495 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3496 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3497 (cl--random-state): Rename from *random-state*.
3499 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3501 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3502 parens around the arg list (bug#11499).
3504 2012-05-17 Juri Linkov <juri@jurta.org>
3506 * isearch.el (word-search-regexp, word-search-backward)
3507 (word-search-forward, word-search-backward-lax)
3508 (word-search-forward-lax): Move functions from search.c
3509 (bug#10145, bug#11381).
3511 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3513 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3514 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3515 Delay for otherchars as for normal word components.
3517 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3519 * minibuffer.el (completion--sifn-requote): Fix last change.
3520 (minibuffer-local-must-match-filename-map):
3521 Move define-obsolete-variable-alias before its var.
3523 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3525 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3527 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3529 (completion--string-equal-p): New function.
3530 (completion--twq-all): Use it to get better assertion failure data.
3532 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3533 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3534 (shell--requote-argument): New functions.
3535 (shell-completion-vars): Use them.
3536 (shell--parse-pcomplete-arguments): Rename from
3537 shell-parse-pcomplete-arguments.
3538 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3539 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3540 Obey comint-file-name-quote-list.
3542 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3543 (smie-indent-keyword): Use it.
3545 2012-05-14 Stefan Merten <smerten@oekonux.de>
3547 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3549 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3551 * net/rlogin.el (rlogin-mode-map): Fix last change.
3553 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
3555 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3556 the following \r\n using a single `process-send-string', since the
3557 Lotus SMTP server refuses to accept any commands if they are sent
3558 with two `process-send-string's (Bug#11444).
3560 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3562 * shell.el (shell-parse-pcomplete-arguments):
3563 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
3565 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3567 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
3568 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3569 (image-transform-width, image-transform-fit-width): New functions.
3570 (image-transform-properties): Use them.
3571 (image-transform-check-size): New function.
3572 (image-toggle-display-image): Use it (for testing).
3573 (image-transform-set-rotation): Reduce angle mod 360.
3574 Delete obsolete comment.
3576 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3578 * image-mode.el: Fix scaling (bug#11399).
3579 (image-transform-resize): Doc fix.
3580 (image-transform-properties): Default scale is 1 and height should
3583 2012-05-13 Johan Bockgård <bojohan@gnu.org>
3585 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3586 than hard-coding `car', to fix misbehavior when moving forward.
3588 2012-05-13 Chong Yidong <cyd@gnu.org>
3590 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3591 (tabulated-list-entries, tabulated-list-padding)
3592 (tabulated-list-sort-key): Make permanent-local.
3594 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3595 (electric-buffer-list): Put electric buffer menu
3596 command descriptions in this docstring, instead of the docstring
3597 of electric-buffer-menu-mode. Code cleanups.
3598 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3599 Electric-buffer-menu-mode.
3600 (electric-buffer-update-highlight): Minor code cleanup.
3602 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
3604 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3607 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3609 Move define-obsolete-variable-alias before the var's definition.
3610 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3611 * tooltip.el (tooltip-hook):
3612 * textmodes/reftex-toc.el (reftex-toc-map):
3613 * textmodes/reftex-sel.el (reftex-select-label-map)
3614 (reftex-select-bib-map):
3615 * textmodes/reftex-index.el (reftex-index-map)
3616 (reftex-index-phrases-map):
3617 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3618 * progmodes/meta-mode.el (meta-mode-map):
3619 * novice.el (disabled-command-hook):
3620 * loadhist.el (unload-hook-features-list):
3621 * frame.el (blink-cursor):
3622 * files.el (find-file-not-found-hooks, write-file-hooks)
3623 (write-contents-hooks):
3624 * emulation/tpu-edt.el (GOLD-map):
3625 * emacs-lock.el (emacs-lock-from-exiting):
3626 * emacs-lisp/generic.el (generic-font-lock-defaults):
3627 * emacs-lisp/chart.el (chart-map):
3628 * dos-fns.el (register-name-alist):
3629 * dired-x.el (dired-omit-files-p):
3630 * desktop.el (desktop-enable):
3631 * cus-edit.el (custom-mode-hook):
3632 * buff-menu.el (buffer-menu-mode-hook):
3633 * bookmark.el (bookmark-read-annotation-text-func)
3634 (bookmark-exit-hooks):
3635 * allout.el (allout-mode-deactivate-hook)
3636 (allout-exposure-change-hook, allout-structure-added-hook)
3637 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3638 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3639 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3640 comes before the corresponding variable's definition.
3642 2012-05-12 Chong Yidong <cyd@gnu.org>
3644 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
3645 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3646 (Buffer-menu-mode-map): Bind it.
3647 (Buffer-menu--pretty-name): Add a mouse-face property.
3649 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3651 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3652 (prolog-upper-case-string, prolog-lower-case-string)
3653 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3654 (prolog-use-smie, prolog-smie-grammar): New vars.
3655 (prolog-smie-forward-token, prolog-smie-backward-token)
3656 (prolog-smie-rules): New funs.
3657 (prolog-comment-indent): Remove.
3658 (prolog-mode-variables): Use default comment indentation instead.
3660 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3661 (prolog-mode): Don't call them any more.
3662 (prolog-electric-colon, prolog-electric-dash)
3663 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3665 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3667 * minibuffer.el (completion--twq-all): Again, allow case differences.
3669 * term.el: Move keymap initialization code to be more idiomatic.
3670 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3671 (term-terminal-menu): Move initialization into declaration.
3672 (term-escape-char): Let the user set it in her .emacs.
3674 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3675 Provide SMIE-based indentation (not enabled by default yet).
3676 (sh-mode-map): Don't bind electric keys.
3677 Use electric-pair-mode instead of skeleton-pair.
3678 (sh-assignment-regexp): Fit within 80 columns.
3679 (sh-indent-supported): Specify actual shell name instead of boolean.
3680 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3681 (sh-maybe-here-document): Use it. Make obsolete.
3682 (sh-electric-here-document-mode) New minor mode.
3683 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3684 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3685 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3686 (sh-smie-rc-grammar, sh-use-smie): New vars.
3687 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3688 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3689 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3690 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3691 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3692 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3693 (sh-set-shell): Use smie-setup if requested.
3695 * term.el (term-set-escape-char): Properly set term-escape-char.
3696 See http://stackoverflow.com/questions/10524656.
3698 2012-05-10 Chong Yidong <cyd@gnu.org>
3700 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3701 Use url-generic-parse-url, and handle host names and Windows
3703 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3704 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3705 URL schemes to work on.
3706 (ffap--toggle-read-only): New function.
3707 (ffap-read-only, ffap-read-only-other-window)
3708 (ffap-read-only-other-frame): Use it.
3709 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3710 necessary for ffap-url-unwrap-remote.
3712 2012-05-10 Dave Abrahams <dave@boostpro.com>
3714 * cus-start.el (create-lockfiles): Add it.
3716 2012-05-09 Chong Yidong <cyd@gnu.org>
3718 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3719 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3721 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3723 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3725 2012-05-09 Chong Yidong <cyd@gnu.org>
3727 * ansi-color.el (ansi-color-process-output): Check for validity of
3728 comint-last-output-start before using it. This avoids a bad
3729 interaction with gdb-mi's input/output buffer.
3731 2012-05-09 Glenn Morris <rgm@gnu.org>
3733 * files.el (dir-locals-read-from-file):
3734 Mention dir-locals in any error message.
3736 2012-05-09 Chong Yidong <cyd@gnu.org>
3738 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3739 package (Bug#11410).
3741 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3742 variables into description.
3744 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3746 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3747 shell-delimiter-argument-list (bug#11348).
3748 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3750 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
3752 * textmodes/rst.el: Silence byte-compiler warnings.
3753 (rst-re-alist, rst-reset-section-caches): Move around.
3754 (rst-re): Use `characterp', not `char-valid-p'.
3755 (font-lock-beg, font-lock-end): Declare.
3757 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3758 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3760 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3762 2012-05-08 Glenn Morris <rgm@gnu.org>
3764 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3766 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3768 * vc/log-edit.el: Add GNU coding standards highlighting.
3769 (log-edit-font-lock-gnu-style)
3770 (log-edit-font-lock-gnu-keywords): New vars.
3771 (log-edit-font-lock-keywords): New fun.
3772 (log-edit-mode): Don't fold case in font-lock.
3773 (log-edit-font-lock-keywords): Do not assume case-folding.
3775 * imenu.el: Misc cleanup. Make docstrings out of comments.
3776 Use lexical-binding.
3777 (imenu--index-alist, imenu--last-menubar-index-alist)
3778 (imenu-menubar-modified-tick): Use defvar-local.
3779 (imenu--split-menu): Remove unused var.
3780 (imenu--cleanup-seen): Declare as global.
3781 (imenu--cleanup): Use dolist.
3783 * subr.el (defvar-local): Add debug spec and doc-string position.
3785 2012-05-08 Glenn Morris <rgm@gnu.org>
3787 * language/burmese.el, language/cham.el, language/czech.el:
3788 * language/english.el, language/georgian.el, language/greek.el:
3789 * language/japanese.el, language/khmer.el, language/korean.el:
3790 * language/lao.el, language/misc-lang.el, language/romanian.el:
3791 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3792 * language/thai.el, language/utf-8-lang.el:
3793 Remove no-byte-compile setting.
3795 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3797 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3799 * progmodes/make-mode.el (makefile-browse):
3800 Remove unnecessary interactive. (Bug#11324)
3802 2012-05-07 Glenn Morris <rgm@gnu.org>
3804 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3806 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3808 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3810 * loadup.el: Preload newcomment.el.
3811 * newcomment.el: Move autoload-only code to toplevel.
3813 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3814 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3815 Handle new :right-align column property.
3816 (tabulated-list-print-col): Idem, plus use `display' text-property to
3817 try and preserve alignment for variable pitch fonts.
3819 2012-05-07 Chong Yidong <cyd@gnu.org>
3821 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3822 (tabulated-list-use-header-line): New var.
3823 (tabulated-list-init-header): Use it.
3824 (tabulated-list-print-fake-header): New function.
3825 (tabulated-list-print): Use it.
3826 (tabulated-list-sort-button-map): Add non-header-line commands.
3827 (tabulated-list-init-header): Add column name property to basic
3829 (tabulated-list-col-sort): Handle non-header-line button case.
3830 (tabulated-list--sort-by-column-name): Fix a corner case.
3832 * buff-menu.el (list-buffers--refresh):
3833 Handle Buffer-menu-use-header-line.
3835 2012-05-06 Chong Yidong <cyd@gnu.org>
3837 * buff-menu.el: Convert to Tabulated List mode.
3838 (Buffer-menu-buffer+size-width): Make obsolete.
3839 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3840 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3841 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3842 documentation into docstring of buffer-menu.
3843 (Buffer-menu-toggle-files-only): Add an informative message.
3844 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3845 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3846 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3847 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3848 (Buffer-menu-execute, Buffer-menu-select)
3849 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3850 (Buffer-menu-bury): Use Tabulated List machinery.
3851 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3852 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
3854 (list-buffers--refresh): New function.
3855 (list-buffers-noselect): Use it.
3856 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3857 (Buffer-menu--pretty-file-name): New helper functions.
3859 * loadup.el: Preload tabulated-list.
3861 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3862 tabulated-list-sort-column.
3863 (tabulated-list-init-header): Add the initial aligning space even
3864 if tabulated-list-padding is zero.
3866 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3868 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3869 whose cdr is not a cons cell correctly (bug#11038).
3871 2012-05-06 Chong Yidong <cyd@gnu.org>
3873 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3874 Accept additional plist in column descriptors.
3875 (tabulated-list-init-header): Obey it.
3876 (tabulated-list-get-entry): New function.
3877 (tabulated-list-put-tag): Use it. Use string-width instead of
3879 (tabulated-list--column-number): New function.
3880 (tabulated-list-print): Use it.
3881 (tabulated-list-print-col): New function.
3882 Set `tabulated-list-column-name' property on each column's text.
3883 (tabulated-list-print-entry): Use it.
3884 (tabulated-list-delete-entry, tabulated-list-set-col):
3886 (tabulated-list-sort-column): New command (Bug#11337).
3888 * buff-menu.el (list-buffers): Move C-x C-b binding from
3889 buff-menu.el to bindings.el.
3891 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3892 :advertised-binding feature.
3894 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3896 * progmodes/compile.el (compilation-internal-error-properties):
3897 Calculate start position correctly when end-col is set but
3898 end-line is not (Bug#11382).
3900 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3902 * man.el (Man-unindent): Use text-property-default-nonsticky to
3903 prevent untabify from inheriting face properties (Bug#11408).
3905 2012-05-05 Stefan Merten <smerten@oekonux.de>
3907 * textmodes/rst.el: Major merge with upstream development up to
3908 Docutils SVN r7399 / rst.el V1.2.1.
3910 Clarify maintainership and authors.
3912 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3913 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3914 (rst-official-version, rst-official-cvs-rev, rst-version)
3915 (rst-package-emacs-version-alist): New functions and variables
3916 for version information.
3918 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3919 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3920 (rst-mode-syntax-table, rst-mode): New and corrected functions
3921 and variables representing reStructuredText features.
3923 (rst-re): New function for reStructuredText regexes. Use in
3926 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3927 (rst-mode-map): Rebind keys.
3929 (rst-mode-lazy, rst-font-lock-keywords)
3930 (rst-font-lock-extend-region)
3931 (rst-font-lock-extend-region-internal)
3932 (rst-font-lock-extend-region-extend)
3933 (rst-font-lock-find-unindented-line-limit)
3934 (rst-font-lock-find-unindented-line-match)
3935 (rst-adornment-level, rst-font-lock-adornment-level)
3936 (rst-font-lock-adornment-match)
3937 (rst-font-lock-handle-adornment-pre-match-form)
3938 (rst-font-lock-handle-adornment-matcher): Major revision of
3939 font-locking. Integrate with other code. Use `jit-lock-mode'.
3941 (rst-preferred-adornments, rst-adjust-hook)
3942 (rst-new-adornment-down, rst-preferred-bullets)
3943 (rst-preferred-bullets, rst-indent, rst-indent-width)
3944 (rst-indent-field, rst-indent-literal-normal)
3945 (rst-indent-literal-minimized, rst-indent-comment): Change,
3946 extend and improve customization.
3948 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3949 (rst-normalize-cursor-position, rst-get-decoration)
3950 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3951 (rst-rstrip, rst-toc-insert-find-delete-contents)
3952 (rst-shift-fill-region, rst-compute-bullet-tabs)
3953 (rst-debug-print-tabs, rst-debug-mark-found)
3954 (rst-shift-region-guts, rst-shift-region-right)
3955 (rst-shift-region-left, rst-use-char-classes)
3956 (rst-font-lock-keywords-function)
3957 (rst-font-lock-indentation-point)
3958 (rst-font-lock-find-unindented-line-begin)
3959 (rst-font-lock-find-unindented-line-end)
3960 (rst-font-lock-find-unindented-line)
3961 (rst-font-lock-adornment-point, rst-font-lock-level)
3962 (rst-adornment-level-alist): Remove functions and variables.
3964 (rst-compare-adornments, rst-get-adornment-match)
3965 (rst-suggest-new-adornment, rst-get-adornments-around)
3966 (rst-adornment-complete-p, rst-get-next-adornment)
3967 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3968 (rst-straighten-adornments): Standardize function names to
3969 use "adornment" instead of "decoration". Correct callers.
3970 Similar standardizing in many places.
3972 (rst-update-section, rst-adjust, rst-promote-region)
3973 (rst-enumerate-region, rst-bullet-list-region)
3974 (rst-repeat-last-character): Correct use of `interactive'.
3976 (rst-classify-adornment, rst-find-all-adornments)
3977 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3978 (rst-find-leftmost-column, rst-repeat-last-character):
3981 (rst-find-title-line, rst-reset-section-caches)
3982 (rst-get-adornments-around, rst-adjust-adornment-work)
3983 (rst-arabic-to-roman, rst-roman-to-arabic)
3984 (rst-insert-list-pos, rst-insert-list-new-item)
3985 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3988 (rst-all-sections, rst-section-hierarchy)
3989 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3992 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3993 configuration instead of only buffer. Change where necessary.
3995 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3996 (rst-shift-region, rst-adaptive-fill): New functions for
3997 indentation and filling.
3999 (rst-comment-line-break, rst-comment-indent)
4000 (rst-comment-insert-comment, rst-comment-region)
4001 (rst-uncomment-region): New functions for handling comments.
4003 (rst-compile): Quote shell arguments.
4005 (rst-compile-pdf-preview, rst-compile-slides-preview):
4006 Delete temporary files after use.
4008 2012-05-05 Glenn Morris <rgm@gnu.org>
4010 * calendar/cal-html.el: Optionally include holidays in the output.
4011 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4012 (cal-html-holidays): New option.
4013 (cal-html-css-default): Add holiday entry.
4014 (holiday-in-range): Autoload it.
4015 (cal-html-htmlify-entry): Add optional class argument.
4016 (cal-html-htmlify-list): Add optional holidays argument.
4017 (cal-html-insert-agenda-days): Include holidays in the output.
4018 (cal-html-one-month): Maybe include holidays.
4020 * calendar/holidays.el (holiday-in-range):
4021 Move here from cal-tex-list-holidays.
4022 * calendar/cal-tex.el (cal-tex-list-holidays):
4023 Make it an obsolete alias for holiday-in-range. Update all callers.
4025 2012-05-05 Chong Yidong <cyd@gnu.org>
4027 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4030 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4032 * files.el (file-auto-mode-skip): New var.
4033 (set-auto-mode-1): Use it.
4035 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4037 * repeat.el: Use lexical-binding.
4038 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4039 (repeat-undo-count): Remove.
4041 * progmodes/octave-mod.el (octave-abbrev-start):
4042 * progmodes/f90.el (f90-abbrev-start):
4043 * face-remap.el (text-scale-adjust):
4044 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4046 * emacs-lisp/pcase.el (pcase--let*): New function.
4047 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4049 (pcase--split-pred): Be more clever about ruling out overlap between
4050 a predicate and some constant pattern.
4051 (pcase--q1): Use `null' instead of (eq foo nil).
4053 * subr.el (setq-local, defvar-local): New macros.
4054 (kbd): Redefine as an alias.
4055 (with-selected-window): Leave unrelated frames alone.
4056 (set-temporary-overlay-map): New function.
4058 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4060 * subr.el (user-error): New function.
4061 * window.el (switch-to-buffer):
4062 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4063 (smerge-match-conflict):
4064 * simple.el (previous-matching-history-element)
4065 (next-matching-history-element, goto-history-element, undo-more)
4067 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4068 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4069 (next-file, tags-loop-scan, list-tags, complete-tag):
4070 * progmodes/compile.el (compilation-loop):
4071 * mouse.el (mouse-minibuffer-check):
4072 * man.el (Man-bgproc-sentinel, Man-goto-page):
4073 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4074 (Info-history-forward, Info-follow-reference, Info-menu)
4075 (Info-extract-menu-item, Info-extract-menu-counting)
4076 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4077 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4078 (Info-next-reference, Info-prev-reference, Info-index)
4079 (Info-index-next, Info-follow-nearest-node)
4080 (Info-copy-current-node-name):
4081 * imenu.el (imenu--make-index-alist)
4082 (imenu-default-create-index-function, imenu-add-to-menubar):
4083 * files.el (basic-save-buffer, recover-file):
4084 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4085 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4086 (checkdoc-message-text, checkdoc-defun):
4087 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4088 * cus-edit.el (customize-changed-options, customize-rogue)
4089 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4090 (custom-variable-mark-to-reset-standard)
4091 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4093 * completion.el (check-completion-length):
4094 * comint.el (comint-search-arg)
4095 (comint-previous-matching-input-string-position)
4096 (comint-previous-matching-input)
4097 (comint-replace-by-expanded-history-before-point, comint-send-input)
4098 (comint-copy-old-input, comint-backward-matching-input)
4099 (comint-goto-process-mark, comint-set-process-mark):
4100 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4101 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4103 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4105 * dabbrev.el (dabbrev--ignore-case-p): New function.
4106 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4109 * files.el (automount-dir-prefix): Mark as obsolete.
4111 2012-05-04 Glenn Morris <rgm@gnu.org>
4113 * patcomp.el, play/bruce.el: Move to obsolete/.
4115 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4117 Fix minor Y10k bugs.
4118 * arc-mode.el (archive-unixdate):
4119 * autoinsert.el (auto-insert-alist):
4120 * calc/calc-forms.el (math-this-year):
4121 * emacs-lisp/copyright.el (copyright-current-year)
4122 (copyright-update-year, copyright):
4123 * tar-mode.el (tar-clip-time-string):
4124 * time.el (display-time-update):
4125 Don't assume years have 4 digits.
4127 2012-05-04 Chong Yidong <cyd@gnu.org>
4129 * dos-w32.el (file-name-buffer-file-type-alist)
4130 (direct-print-region-use-command-dot-com):
4131 * ffap.el (ffap-menu-regexp):
4132 * find-file.el (ff-special-constructs):
4133 * follow.el (follow-debug):
4134 * forms.el (forms--debug):
4135 * iswitchb.el (iswitchb-all-frames):
4136 * ido.el (ido-all-frames):
4137 * emacs-lisp/timer.el (timer-max-repeats):
4138 * mail/feedmail.el (feedmail-mail-send-hook)
4139 (feedmail-mail-send-hook-queued):
4140 * mail/footnote.el (footnote-signature-separator):
4141 * mail/mailabbrev.el (mail-alias-separator-string)
4142 (mail-abbrev-mode-regexp):
4143 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4144 * progmodes/idlwave.el (idlwave-libinfo-file)
4145 (idlwave-default-completion-case-is-down)
4146 (idlwave-library-routines): Convert defvars to defcustoms.
4148 * mail/rmail.el (rmail-decode-mime-charset):
4149 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4150 (idlwave-shell-fix-inserted-breaks)
4151 (idlwave-shell-activate-alt-keybindings)
4152 (idlwave-shell-use-breakpoint-glyph):
4153 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4155 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4157 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4159 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4161 * progmodes/verilog-mode.el (font-lock-keywords):
4162 Fix mis-highligting auto. Reported by Craig Barner.
4163 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4164 defines from global name space. Reported by Dan Dever.
4165 (verilog-auto-reset, verilog-auto-reset-widths)
4166 (verilog-auto-tieoff): Support using unbased numbers for
4167 AUTORESET and AUTOTIEOFF.
4168 (verilog-submit-bug-report): Update variable list.
4169 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4170 parenthesis from not matching. Reported by Michael Rytting.
4171 (verilog-auto-template-lint): Fix hash error when linting modules
4172 with no used templates.
4173 (verilog-warn, verilog-warn-error)
4174 (verilog-warn-fatal): When non-interactive report multiple
4175 warnings before exiting. Suggested by Brad Dobbie.
4176 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4177 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4178 to report unused template errors. Reported by Brad Dobbie.
4179 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4180 nets, bug438. Reported by Vns Blore.
4181 (verilog-auto-inout-module, verilog-auto-reg)
4182 (verilog-read-decls, verilog-read-sub-decls-sig)
4183 (verilog-signals-edit-wire-reg, verilog-signals-with):
4184 Fix passing of Verilog data types in ANSI input/output ports
4185 such as "output logic" into the AUTOs. Special case "wire" and
4186 "reg" for backwards compatibility presuming Verilog 2001.
4187 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4188 (verilog-preprocess): Fix replication of preprocess output.
4189 Reported by Brad Dobbie.
4190 (verilog-auto-inst-interfaced-ports):
4191 Create verilog-auto-inst-interfaced-ports, bug429.
4192 Reported by Julian Gorfajn.
4193 (verilog-after-save-font-hook)
4194 (verilog-before-save-font-hook): New variable.
4195 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4196 (verilog-save-font-mods): Wrap disabling fontification, reported
4198 (verilog-do-indent, verilog-pretty-declarations-auto)
4199 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4200 Reported by Pierre-David Pfister.
4201 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4202 of class declarations, bug292. Reported by Kevin Heilman.
4203 (verilog-read-decls): Fix 'parameter type' not appearing in
4204 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4205 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4206 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4207 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4208 Reported by David Kravitz.
4210 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
4212 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4213 assignment with tests in ifs and for loops.
4214 (verilog-extended-complete-re, verilog-complete-reg): Change so
4215 that DPI inport functions don't look like fuction declarations.
4216 (verilog-pretty-expr): Don't line up assignment
4217 operations to the test and increment in if and for loops
4218 (verilog-extended-complete-re, verilog-complete-reg): Change so
4219 that DPI inport functions don't look like fuction declarations.
4221 2012-05-03 Kenichi Handa <handa@m17n.org>
4223 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
4224 decoding, and show a warning message without signaling an error
4227 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4229 * emacs-lisp/bytecomp.el
4230 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4231 since cconv.el might have introduced :fun-body, internal-make-closure,
4232 and friends for bytecomp to handle (bug#11391).
4233 * custom.el (defcustom): Avoid ((λ ..) ..).
4235 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4237 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4239 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
4241 * notifications.el (dbus-debug):
4242 * term/linux.el (gpm-mouse-enable):
4243 * term/screen.el (xterm-register-default-colors): Declare.
4245 2012-05-02 Chong Yidong <cyd@gnu.org>
4247 * cus-start.el (gc-cons-percentage, exec-suffixes)
4248 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4249 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4250 (make-cursor-line-fully-visible, void-text-area-pointer)
4251 (font-list-limit): Add customization data.
4253 * allout.el (allout-exposure-change-functions)
4254 (allout-structure-added-functions)
4255 (allout-structure-deleted-functions)
4256 (allout-structure-shifted-functions): Rename abnormal hooks from
4257 *-hook, and convert to defcustoms.
4258 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4259 Convert to defcustoms.
4260 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4262 * allout-widgets.el: Hook callers changed.
4264 2012-05-02 Eli Zaretskii <eliz@gnu.org>
4266 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4267 the yanked message in preference to the default value of
4268 buffer-file-coding-system.
4270 2012-05-02 Martin Rudalics <rudalics@gmx.at>
4272 * window.el (display-buffer--action-function-custom-type):
4275 2012-05-02 Alan Mackenzie <acm@muc.de>
4277 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4279 2012-05-01 Glenn Morris <rgm@gnu.org>
4281 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4283 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4285 * cus-edit.el (custom-variable-documentation): Simplify with format.
4287 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4288 Stefan Monnier <monnier@iro.umontreal.ca>
4290 * simple.el (suggest-key-bindings, execute-extended-command):
4291 Move from keyboard.c.
4293 2012-05-01 Chong Yidong <cyd@gnu.org>
4295 * follow.el: Eliminate advice.
4296 (set-process-filter, process-filter, sit-for): Advice deleted.
4297 (follow-mode-off-hook): Obsolete hook removed.
4298 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4300 (follow-auto): Use a :set function.
4301 (follow-mode): Rewritten. Don't advise process filters.
4302 (follow-switch-to-current-buffer-all, follow-scroll-up)
4303 (follow-scroll-down): Assume follow-mode is bound.
4304 (follow-comint-scroll-to-bottom)
4305 (follow-align-compilation-windows): New functions.
4306 (follow--window-sorter): New function.
4307 (follow-all-followers): Use it to explicitly sort windows by their
4308 positions; don't make assumptions about next-window order.
4309 (follow-windows-start-end, follow-delete-other-windows-and-split)
4310 (follow-calc-win-start): Doc fix.
4311 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4312 vertical-motion unnecessarily.
4313 (follow-adjust-window): New function.
4314 (follow-post-command-hook): Use it.
4315 (follow-call-set-process-filter, follow-call-process-filter)
4316 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4317 (follow-stop-intercept-process-output, follow-generic-filter):
4319 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
4320 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4321 New functions, replacing advice on scroll-bar-* commands.
4322 (follow-mwheel-scroll): New function (Bug#4112).
4324 * comint.el (comint-adjust-point): New function.
4325 (comint-postoutput-scroll-to-bottom): Use it.
4326 Call follow-comint-scroll-to-bottom for Follow mode buffers.
4328 2012-05-01 Glenn Morris <rgm@gnu.org>
4330 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4331 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4332 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4333 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4334 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4335 Remove no-byte-compile setting.
4337 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4339 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4340 all-completions code to not return a number in the last cdr.
4342 2012-04-30 Leo Liu <sdl.web@gmail.com>
4344 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4347 2012-04-29 Chong Yidong <cyd@gnu.org>
4349 * follow.el (follow-calc-win-end): Rewrite to handle partial
4350 screen lines correctly (Bug#8390).
4351 (follow-avoid-tail-recenter): Minor cleanup.
4353 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4355 Avoid the obsolete `assoc' package.
4356 * speedbar.el (speedbar-refresh): Avoid adelete.
4357 (speedbar-file-lists): Simplify and avoid aput.
4358 * man.el (Man--sections, Man--refpages): New vars, replacing
4359 Man-sections-alist and Man-refpages-alist.
4360 (Man-build-section-alist, Man-build-references-alist):
4361 Use them; avoid aput.
4362 (Man--last-section, Man--last-refpage): New vars.
4363 (Man-follow-manual-reference): Use them.
4364 Use the `default' arg of completing-read.
4365 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4367 2012-04-27 Chong Yidong <cyd@gnu.org>
4369 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4371 * startup.el (x-apply-session-resources): New function.
4373 * term/ns-win.el (ns-initialize-window-system):
4374 * term/w32-win.el (w32-initialize-window-system):
4375 * term/x-win.el (x-initialize-window-system): Use it to properly
4376 set menu-bar-mode and other vars from X resources, even if the
4377 initial frame is not a window-system frame (Bug#2299).
4379 * subr.el (read-key): Avoid running filter function when setting
4380 up temporary tool bar entries (Bug#9922).
4382 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
4384 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4387 2012-04-27 Chong Yidong <cyd@gnu.org>
4389 * select.el (xselect--encode-string): New function, split from
4390 xselect-convert-to-string.
4391 (xselect-convert-to-string): Use it.
4392 (xselect-convert-to-filename, xselect-convert-to-os)
4393 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4394 returned strings are properly encoded (Bug#11315).
4396 2012-04-27 Chong Yidong <cyd@gnu.org>
4398 * simple.el (delete-active-region): Move to killing custom group.
4400 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
4402 * progmodes/which-func.el (which-func-current): Quote %
4403 characters for mode-line processing.
4405 2012-04-27 Chong Yidong <cyd@gnu.org>
4407 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4408 reaching eob (Bug#11286).
4410 2012-04-27 Eli Zaretskii <eliz@gnu.org>
4412 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4413 (gdb): Make it buffer-local and init to zero.
4414 (gdb-control-commands-regexp): New variable.
4415 (gdb-send): Don't wrap in "-interpreter-exec console" if
4416 gdb-control-level is positive. Increment gdb-control-level
4417 whenever the command matches gdb-control-commands-regexp, and
4418 decrement it each time the command is "end". (Bug#11279)
4420 2012-04-27 Martin Rudalics <rudalics@gmx.at>
4422 * window.el (adjust-window-trailing-edge, enlarge-window)
4423 (shrink-window, window-resize):
4424 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4425 windows (Bug#11276).
4427 2012-04-27 Chong Yidong <cyd@gnu.org>
4429 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
4430 fix "missing prefix" warning. All callers changed.
4432 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4434 * emacs-lisp/assoc.el: Move to obsolete/.
4436 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4438 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
4440 * term/ns-win.el (ns-define-service):
4441 * progmodes/pascal.el (pascal-goto-defun):
4442 * progmodes/js.el (js--read-tab):
4443 * progmodes/etags.el (tags-lazy-completion-table):
4444 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4445 * emacs-lisp/ewoc.el (ewoc--wrap):
4446 * emacs-lisp/assoc.el (aput, adelete, amake):
4447 * doc-view.el (doc-view-convert-current-doc):
4448 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4450 2012-04-26 Chong Yidong <cyd@gnu.org>
4452 * image.el (image-type-from-buffer): Only return supported image
4455 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4456 value, for symmetry with diff-end-of-hunk.
4457 (diff-split-hunk, diff-find-source-location)
4458 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4459 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4460 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4461 compute the relevant hunk or file properly (Bug#6005).
4462 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4464 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4473 * vc/vc.el: Replace lexical-let by lexical-binding.
4474 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4475 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4476 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4478 2012-04-26 Chong Yidong <cyd@gnu.org>
4480 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4481 (diff-mode-shared-map): Bind it to / and [remap undo].
4483 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4484 (ediff-window-setup-function): Use it as the default, to set up
4485 windows based on whether the current frame is graphical (Bug#2138).
4486 (ediff-choose-window-setup-function-automatically): Make obsolete.
4488 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4490 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4492 * ffap.el: Remove old code for obsolete package.
4493 (ffap-complete-as-file-p): Remove.
4495 Use completion-table-with-quoting for comint and pcomplete.
4496 * comint.el (comint--unquote&requote-argument)
4497 (comint--unquote-argument, comint--requote-argument): New functions.
4498 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4499 (comint-quote-filename): Use regexp-opt-charset.
4500 (comint--common-suffix, comint--common-quoted-suffix)
4501 (comint--table-subvert): Remove.
4502 (comint-unquote-function, comint-requote-function): New vars.
4503 (comint--complete-file-name-data): Use them with
4504 completion-table-with-quoting.
4505 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4506 * pcomplete.el (pcomplete-arg-quote-list)
4507 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4508 (pcomplete-unquote-argument-function): Default to non-nil.
4509 (pcomplete-unquote-argument): Simplify.
4510 (pcomplete--common-quoted-suffix): Remove.
4511 (pcomplete-requote-argument-function): New var.
4512 (pcomplete--common-suffix): New function.
4513 (pcomplete-completions-at-point): Use completion-table-with-quoting
4514 and completion-table-subvert.
4516 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4517 (minibuffer--double-dollars): Preserve properties.
4518 (completion--sifn-requote): New function.
4519 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4521 * minibuffer.el: Add support for completion of quoted/escaped data.
4522 (completion-table-with-quoting, completion-table-subvert): New funs.
4523 (completion--twq-try, completion--twq-all): New functions.
4524 (completion--nth-completion): New function.
4525 (completion-try-completion, completion-all-completions): Use it.
4527 2012-04-25 Leo Liu <sdl.web@gmail.com>
4529 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4530 Use compilation-message if available to find real filename.
4532 2012-04-25 Chong Yidong <cyd@gnu.org>
4534 * vc/diff-mode.el (diff-setup-whitespace): New function.
4535 (diff-mode): Use it.
4537 * vc/diff.el (diff-sentinel):
4538 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4539 Whitespace mode variables based on diff style (Bug#8612).
4541 2012-04-25 Leo Liu <sdl.web@gmail.com>
4543 * progmodes/python.el (python-send-region): Add suffix .py to the
4546 * files.el (auto-mode-alist): Use javascript-mode instead.
4548 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4550 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
4552 * net/soap-client.el (soap-resolve-references-for-sequence-type)
4553 (soap-resolve-references-for-array-type): Hack to prevent self
4554 references, see Bug#9.
4555 (soap-parse-envelope): Report the contents of the 'detail' node
4556 when receiving a fault reply.
4557 (soap-parse-envelope): Report the contents of the entire 'detail' node.
4559 * net/soap-inspect.el (soap-sample-value-for-simple-type)
4560 (soap-inspect-simple-type): New function.
4562 * net/soap-client.el (soap-simple-type): New struct.
4563 (soap-default-xsd-types, soap-default-soapenc-types)
4564 (soap-decode-basic-type, soap-encode-basic-type):
4565 support unsignedInt and double basic types.
4566 (soap-resolve-references-for-simple-type)
4567 (soap-parse-simple-type, soap-encode-simple-type): New function.
4568 (soap-parse-schema): Parse xsd:simpleType declarations.
4570 * net/soap-client.el (soap-default-xsd-types)
4571 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4572 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4573 the local name of "soapenc:Array".
4574 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
4575 decoding integer, byte and anyURI xsd types.
4577 2012-04-25 Chong Yidong <cyd@gnu.org>
4579 * cus-edit.el (custom-buffer-create-internal): Update header text.
4581 2012-04-25 Eli Zaretskii <eliz@gnu.org>
4583 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4584 settings on 'system-type', not on 'window-system'. On MS-Windows,
4585 set interactive-mode on in GDB.
4587 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4589 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4590 (ruby-syntax-propertize-regexp): Remove.
4591 (ruby-syntax-propertize-function): Split regexp into chunks.
4592 Match following code directly.
4594 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4596 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4597 (ruby-syntax-propertize-regexp): New function.
4598 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4599 by a special keyword.
4601 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4602 (ruby-syntax-general-delimiters-goto-beg)
4603 (ruby-syntax-propertize-general-delimiters): New functions.
4604 (ruby-syntax-propertize-function): Use them to handle GDL.
4605 (ruby-font-lock-keywords): Move old handling of GDL...
4606 (ruby-font-lock-syntactic-keywords): .. to here.
4607 (ruby-calculate-indent): Adjust indentation for GDL.
4609 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
4611 * notifications.el (top): Remove unneeded declarations.
4612 (notifications-specification-version): Change to "1.2".
4613 (notifications-interface, notifications-notify-method)
4614 (notifications-close-notification-method): Fix docstring.
4615 (notifications-get-capabilities-method): New defconst.
4616 (notifications-notify): Add :action-items, :resident and
4617 :transient hints. Change "image_data" to "image-data" and
4618 "image_path" to "image-path".
4619 (notifications-get-capabilities): New defun.
4621 2012-04-24 Leo Liu <sdl.web@gmail.com>
4623 * progmodes/python.el: Move hideshow setup to the end.
4625 2012-04-24 Martin Rudalics <rudalics@gmx.at>
4627 * window.el (handle-select-window): Clear echo area since this is
4628 no more done by read_char (Bug#11304).
4630 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4632 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4633 and `/ M' to filter-derived-mode.
4634 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4635 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4636 (ibuffer-mark-by-mode): Use default rather than initial-input.
4637 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4639 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4641 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4642 (ibuffer-filter-by-derived-mode): New filter.
4643 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4645 2012-04-23 Andreas Politz <politza@fh-trier.de>
4647 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4649 2012-04-23 Chong Yidong <cyd@gnu.org>
4651 * cus-edit.el (customize-apropos, customize-apropos-options):
4652 Disable matching of non-option variables (Bug#11176).
4653 (customize-option, customize-option-other-window)
4654 (customize-changed-options): Doc fix.
4655 (customize-apropos-options, customize-apropos-faces)
4656 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4658 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
4659 Fix word list splitting (Bug#11132).
4660 (apropos-symbol, apropos-keybinding, apropos-label)
4661 (apropos-property, apropos-function-button)
4662 (apropos-variable-button, apropos-misc-button): New faces.
4663 (apropos-symbol-face, apropos-keybinding-face)
4664 (apropos-label-face, apropos-property-face, apropos-match-face):
4665 Variables removed (Bug#8396).
4666 (apropos-library-button, apropos-format-plist, apropos-print)
4667 (apropos-print-doc, apropos-describe-plist): Callers changed.
4669 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
4671 * net/xesam.el (xesam-mode-map): Use let-bound map in
4672 initialization. (Bug#11292)
4674 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4676 Preserve ispell session localwords when switching back to
4679 * textmodes/ispell.el (ispell-buffer-session-localwords):
4680 New buffer-local variable to hold buffer session localwords.
4681 (ispell-kill-ispell): Add option 'clear to delete session
4683 (ispell-command-loop, ispell-change-dictionary)
4684 (ispell-buffer-local-words): Preserve session localwords when
4687 * textmodes/flyspell.el (flyspell-process-localwords)
4688 (flyspell-do-correct): Preserve session localwords when needed.
4690 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4692 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4693 using obsolete `translation-table-for-input'.
4694 (ispell-word, ispell-process-line, ispell-complete-word):
4695 Use plain `insert' instead of removed `ispell-insert-word'.
4697 2012-04-22 Chong Yidong <cyd@gnu.org>
4699 * cus-edit.el (custom-variable-menu)
4700 (custom-variable-reset-saved, custom-face-menu)
4701 (custom-face-reset-saved): If there is no saved value, make the
4702 "reset-saved" operation bring back the default (Bug#9509).
4703 (custom-face-state): Properly detect themed faces.
4705 * faces.el (face-spec-set): Stop supporting deprecated form of
4708 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
4710 Move functions from C to Lisp. Make non-blocking method calls
4711 the default. Implement further D-Bus standard interfaces.
4713 * net/dbus.el (dbus-message-internal): Declare function.
4714 Remove unneeded function declarations.
4715 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4716 (dbus-message-type-method-return, dbus-message-type-error)
4717 (dbus-message-type-signal): Declare variables. Remove local
4719 (dbus-interface-dbus, dbus-interface-peer)
4720 (dbus-interface-introspectable, dbus-interface-properties)
4721 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4723 (dbus-interface-objectmanager): New defconst.
4724 (dbus-call-method, dbus-call-method-asynchronously)
4725 (dbus-send-signal, dbus-method-return-internal)
4726 (dbus-method-error-internal, dbus-register-service)
4727 (dbus-register-signal, dbus-register-method): New defuns, moved
4729 (dbus-call-method-handler, dbus-setenv)
4730 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4732 (dbus-call-method-non-blocking): Make it an obsolete function.
4733 (dbus-unregister-object, dbus-unregister-service)
4734 (dbus-handle-event, dbus-register-property)
4735 (dbus-property-handler): Obey the new structure of
4736 `bus-registered-objects'.
4737 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4738 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4739 Use `dbus-call-method'.
4741 2012-04-22 Chong Yidong <cyd@gnu.org>
4743 * cus-edit.el (custom-commands, custom-reset-menu)
4744 (Custom-reset-standard): Tweak labels.
4745 (custom-reset-button-menu): Change default to t.
4746 (custom-buffer-create-internal): For the custom-reset-button-menu
4747 case, put the revert button first.
4748 (custom-group-subtitle): New face.
4749 (custom-group-value-create): Align docstring to a specific column.
4751 * wid-edit.el (widget-documentation-link-add): Don't handle
4752 indentation in this function.
4753 (widget-documentation-string-indent-to): New function.
4754 (widget-documentation-string-value-create): Use it.
4756 * autorevert.el (auto-revert):
4757 * epg-config.el (epg):
4758 * ibuffer.el (ibuffer):
4761 * eshell/eshell.el (eshell):
4762 * net/ange-ftp.el (ange-ftp):
4763 * progmodes/ebnf2ps.el (postscript):
4764 * progmodes/flymake.el (flymake):
4765 * progmodes/prolog.el (prolog):
4766 * progmodes/verilog-mode.el (verilog-mode):
4767 * progmodes/which-func.el (which-func):
4768 * term/xterm.el (xterm):
4769 * textmodes/picture.el (picture):
4770 * textmodes/tildify.el (tildify):
4771 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4772 customization buffers.
4774 2012-04-22 Alan Mackenzie <acm@muc.de>
4776 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4777 Adding a ) can hide the resulting (..) from searches. Fix it.
4778 Bound the backward search to the position of the existing (.
4780 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
4782 * progmodes/verilog-mode.el (verilog-mode): Check whether
4783 which-func-modes is t before adding verilog-mode.
4784 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4786 2012-04-21 Leo Liu <sdl.web@gmail.com>
4788 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
4790 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4792 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4793 filling of the last column of a table (Bug#5635).
4794 (woman-find-next-control-line): New arg, specifying an additional
4795 regexp component for the control line.
4796 (woman2-roff-buffer): Use it.
4797 (woman-break-table): New function.
4798 (woman2-TS): Use it.
4800 2012-04-21 Chong Yidong <cyd@gnu.org>
4802 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4803 (woman-horizontal-escapes, woman-negative-vertical-space)
4804 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4805 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4807 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4809 * minibuffer.el (completion-file-name-table): Complete user names.
4811 2012-04-20 Leo Liu <sdl.web@gmail.com>
4813 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4816 2012-04-20 Chong Yidong <cyd@gnu.org>
4818 * server.el (server-execute): Respect initial-buffer-choice if it
4819 is a string and there are no files to open (Bug#2825).
4820 (server-create-window-system-frame, server-create-tty-frame):
4821 Don't switch buffers here.
4822 (server-process-filter): Only try to open a window system frame if
4823 compiled with graphical support (Bug#8314).
4825 2012-04-20 Dan Nicolaescu <dann@gnu.org>
4827 * battery.el (battery-echo-area-format): Display remaining time
4828 for sysfs backend too (Bug#11269).
4829 (battery-linux-sysfs): Fix conditional for the charge.
4831 2012-04-20 Chong Yidong <cyd@gnu.org>
4833 * progmodes/gdb-mi.el (gdb): Revert previous change.
4834 (gdb-inferior-io--init-proc): New function.
4835 (gdb-init-1): Use it.
4836 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4837 responsible for allocating a new pty and hooking it to gdb when
4838 the old pty gets an EIO due to process exit.
4839 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4840 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4841 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4843 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4845 * window.el (window-min-size, window-sizable, window-min-delta)
4846 (window-max-delta, window--resizable, window-resizable)
4847 (window-total-size, window-full-height-p, window-full-width-p)
4848 (window-in-direction, window--resize-mini-window, window-resize)
4849 (window--resize-child-windows-normal)
4850 (window--resize-child-windows, window--resize-siblings)
4851 (window--resize-this-window, adjust-window-trailing-edge)
4852 (enlarge-window, shrink-window): Doc fixes.
4854 2012-04-20 Chong Yidong <cyd@gnu.org>
4856 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4857 New function to call delete-process on the gdb-inferior buffer's pty.
4858 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4859 pty process (Bug#11273).
4860 (gdb-update): New arg to suppress talking to the gdb process.
4861 (gdb-done-or-error): Use it.
4862 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4863 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4864 sentinel not being called.
4866 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4868 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4870 2012-04-20 Glenn Morris <rgm@gnu.org>
4872 * net/network-stream.el (open-network-stream): Doc fix.
4874 2012-04-20 Chong Yidong <cyd@gnu.org>
4876 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4878 2012-04-20 Alan Mackenzie <acm@muc.de>
4880 Ensure searching for keywords is case sensitive.
4882 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4883 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4884 (c-defun-name, c-mark-function, c-cpp-define-name)
4885 (c-comment-indent, c-scan-conditionals, c-indent-defun)
4886 (c-context-line-break): Bind case-fold-search to nil.
4888 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4889 Bind case-fold-search to nil.
4891 2012-04-20 Chong Yidong <cyd@gnu.org>
4893 * mail/sendmail.el (mail-bury): Call return action with the right
4894 Rmail buffer (Bug#11242).
4896 * server.el (server-process-filter): Handle corner case where both
4897 tty and nowait options are present (Bug#11102).
4899 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4901 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
4902 (top level): Put into the executable the ident-style '$Id:' tag on
4905 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4907 * electric.el (electric-indent-post-self-insert-function): Check that
4908 electric-indent-mode is enabled in current buffer.
4910 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4912 * imenu.el (imenu-progress-message): Restore; it is "used" in
4913 erc/erc-imenu.el and net/snmp-mode.el.
4915 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4917 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4918 (mouse-avoidance-nudge-mouse): Remove unused binding.
4920 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4922 * descr-text.el (describe-char):
4923 * progmodes/python.el (python-describe-symbol):
4924 Don't call `toggle-read-only', set `buffer-read-only'.
4926 * imenu.el (imenu-default-goto-function): Mark unused args.
4927 (imenu-progress-message): Remove obsolete macro; all callers changed.
4929 * subr.el (keymap-canonicalize): Remove unused binding.
4930 (read-passwd): Mark unused arg.
4932 * tutorial.el (tutorial--display-changes): Remove unused binding.
4933 (tutorial--save-tutorial-to): Remove unused variable.
4935 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4936 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4937 (package-generate-autoloads, package-menu--generate)
4938 (package-menu--find-upgrades): Remove unused bindings.
4940 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4941 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4942 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4943 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4944 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4945 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4946 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4947 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4948 (cua-delete-char-rectangle): Mark unused args.
4949 (cua-align-rectangle): Remove unused binding.
4951 * mail/rmail.el (compilation--message->loc)
4952 (epa--find-coding-system-for-mime-charset): Declare.
4954 * net/dbus.el (dbus-register-service): Declare.
4955 (dbus-name-owner-changed-handler): Remove unused binding.
4957 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4958 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4959 (nxml-scan-backward-within): Mark unused arg.
4960 (nxml-dynamic-markup-word): Remove unused binding.
4962 * mouse.el (mouse-menu-major-mode-map):
4963 * emacs-lisp/authors.el (authors-scan-change-log)
4964 (authors-add-to-author-list):
4965 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4966 * emacs-lisp/smie.el (smie-auto-fill):
4967 * mail/sendmail.el (mail-bury):
4968 * mail/unrmail.el (unrmail):
4969 * net/tls.el (open-tls-stream):
4970 * textmodes/picture.el (picture-mouse-set-point):
4971 Remove unused bindings.
4973 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
4975 * net/tramp.el (tramp-action-password): Let-bind
4976 `enable-recursive-minibuffers' to t.
4978 2012-04-18 Sam Steingold <sds@gnu.org>
4980 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4981 instead of 'string to accommodate values like [f11].
4982 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4983 * progmodes/gdb-mi.el: Likewise.
4985 2012-04-18 Leo Liu <sdl.web@gmail.com>
4987 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4989 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4992 2012-04-18 Chong Yidong <cyd@gnu.org>
4994 * simple.el (line-move): Use forward-line if in batch mode
4997 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4999 * files.el (after-find-file): Do not try to add a final newline if
5000 the buffer is read-only (Bug#11156).
5002 2012-04-17 Richard Stallman <rms@gnu.org>
5004 * mail/rmail.el (rmail-start-mail):
5005 Pass (rmail-mail-return...) for the return-action.
5006 Pass (rmail-yank-current-message...) for the yank-action.
5007 (rmail-yank-current-message): New function.
5008 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5009 (rmail-reply): Likewise.
5010 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5012 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
5013 buffer, not the last. Reject temp buffers. Use the rmail-mode
5016 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
5018 * server.el (server-ensure-safe-dir): Simplify.
5020 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5022 * emacs-lisp/smie.el: Provide smarter auto-filling.
5023 (smie-auto-fill): New function.
5024 (smie-setup): Use it.
5026 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5028 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
5030 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5031 (comment-indent): Use it.
5033 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
5035 * ses.el: The overall change is to add cell renaming, that is
5036 setting fancy names for cell symbols other than name matching
5037 "\\`[A-Z]+[0-9]+\\'" regexp .
5038 (ses-localvars): Add ses--renamed-cell-symb-list.
5039 (ses-create-cell-variable): New defun.
5040 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
5041 (ses-relocate-formula): Relocate formulas only for cells the
5042 symbols of which are not renamed, i.e. symbols whose names do not
5043 match regexp "\\`[A-Z]+[0-9]+\\'".
5044 (ses-relocate-all): Relocate values only for cells the symbols of
5045 which are not renamed.
5046 (ses-load): Create cells variables as the (ses-cell ...) are read,
5047 in order to check row col consistency with cell symbol name only
5048 for cells that are not renamed.
5049 (ses-replace-name-in-formula): New defun.
5050 (ses-rename-cell): New defun.
5052 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5054 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5055 New option (bug#11118).
5056 (perl-calculate-indent): Respect it.
5058 2012-04-17 Glenn Morris <rgm@gnu.org>
5060 * dired-aux.el (dired-mark-read-string): Doc fix.
5062 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5064 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5065 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5067 2012-04-17 Glenn Morris <rgm@gnu.org>
5069 * mouse.el (mouse-drag-track):
5070 * speedbar.el (speedbar-frame-mode):
5071 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5073 2012-04-16 Leo Liu <sdl.web@gmail.com>
5075 * progmodes/python.el: Trivial cleanup.
5077 2012-04-16 Glenn Morris <rgm@gnu.org>
5079 * vc/vc.el (vc-string-prefix-p):
5080 * vc/pcvs-util.el (cvs-string-prefix-p):
5081 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5082 * mpc.el (mpc-string-prefix-p):
5083 Make all of these into obsolete aliases for string-prefix-p.
5085 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5087 * textmodes/two-column.el: Move custom options to the start.
5088 (frame-width): Remove compat definition.
5089 (2C-associate-buffer, 2C-dissociate):
5090 Use with-current-buffer rather than save-excursion.
5091 (2C-dissociate): Force a mode-line update.
5092 (2C-autoscroll): Use ignore-errors.
5094 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5097 * emacs-lisp/cl-extra.el (*random-state*):
5098 Remove unnecessary declaration.
5100 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5102 * play/cookie1.el (cookie-snarf):
5103 Give an explicit error if input file cannot be read.
5105 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5107 * progmodes/perl-mode.el (c-macro-expand):
5108 Remove unnecessary autoload (it is in loaddefs.el).
5110 * textmodes/picture.el (picture-desired-column)
5111 (picture-update-desired-column): Convert comments to doc-strings.
5112 (picture-substitute): Remove function.
5113 (picture-mode-map): Initialize in the defvar.
5115 * woman.el: Remove eval-after-load for tar-mode.
5116 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5117 (woman-tar-extract-file): Autoload it.
5119 * frame.el (automatic-hscrolling): Make this alias obsolete.
5121 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5123 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
5124 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
5125 (ispell-dictionary-base-alist): Revert to original XEmacs
5126 friendly version for default. [:alpha:] will be added in
5127 `ispell-set-spellchecker-params' if needed.
5129 2012-04-16 Chong Yidong <cyd@gnu.org>
5131 * image.el (imagemagick--file-regexp): New variable.
5132 (imagemagick-register-types): Use it.
5133 (imagemagick-types-inhibit): Add :set function. Allow new value
5134 of t to inhibit all types.
5136 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5137 so we can preload it.
5139 * loadup.el (fboundp): Preload regexp-opt, needed by
5140 imagemagick-register-types.
5142 2012-04-15 Chong Yidong <cyd@gnu.org>
5144 * frame.el (scrolling): Remove nearly unused customization group.
5146 * scroll-all.el (scroll-all-mode): Move to windows group.
5148 2012-04-15 Chong Yidong <cyd@gnu.org>
5150 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5152 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5154 Avoid the use of ((lambda ...) ...) in lexical-binding code.
5155 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
5157 2012-04-15 Glenn Morris <rgm@gnu.org>
5159 * simple.el (process-file-side-effects): Doc fix.
5161 2012-04-15 Glenn Morris <rgm@gnu.org>
5163 * international/mule-cmds.el (set-language-environment): Doc fix.
5165 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
5167 * server.el (server-auth-key, server-generate-key): Doc fixes.
5168 (server-get-auth-key): Doc fix. Use `string-match-p'.
5169 (server-start): Reflow docstring.
5171 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5173 * server.el (server-generate-key): `called-interactively-p'
5174 requires a parameter.
5176 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
5178 * server.el (server-auth-key): New variable.
5179 (server-generate-key, server-get-auth-key): New function.
5180 (server-start): Use the new variable and functions to allow
5181 setting a permanent server key (bug#9423).
5183 2012-04-14 Leo Liu <sdl.web@gmail.com>
5185 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5187 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5190 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5191 Emacs uses American spelling.
5193 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
5195 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5196 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5197 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5198 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5200 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5202 * progmodes/which-func.el (which-func-modes): Change default.
5204 2012-04-14 Kim F. Storm <storm@cua.dk>
5206 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5207 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5209 2012-04-14 Chong Yidong <cyd@gnu.org>
5211 * custom.el (custom-theme-set-variables): Doc fix.
5213 2012-04-14 Glenn Morris <rgm@gnu.org>
5215 * international/mule.el (set-auto-coding-for-load): Doc fix.
5217 2012-04-14 Alan Mackenzie <acm@muc.de>
5219 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5220 imenu work again for Objective C Mode. Correct the *-index values,
5221 these having been disturbed by a previous change in 2011-08.
5223 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5224 Correct two search limits.
5226 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5228 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5230 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
5232 * international/characters.el: Fix sorting.
5234 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5236 * international/characters.el: Add more missing Latin case pairs.
5238 2012-04-14 Glenn Morris <rgm@gnu.org>
5240 * files.el (dir-locals-set-class-variables): Doc fix.
5242 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5244 * international/characters.el: Add set-case-syntax-pair call for
5245 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5246 counterpart. (Bug#11209)
5248 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5250 2012-04-14 Glenn Morris <rgm@gnu.org>
5252 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5254 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5256 * textmodes/ispell.el (ispell-dictionary-base-alist):
5257 Add data for Hebrew.
5259 2012-04-14 Chong Yidong <cyd@gnu.org>
5261 * net/rcirc.el (rcirc-cmd-quit):
5262 Revert 2012-03-18 change (Bug#11192).
5264 2012-04-14 Glenn Morris <rgm@gnu.org>
5266 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5268 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5270 * minibuffer.el (completion-in-region-mode-map):
5271 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
5273 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5275 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5277 2012-04-13 Masatake YAMATO <yamato@redhat.com>
5279 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5280 to allow `C-M-f' and `C-M-b' to move to the nearest path
5281 separator (bug#9511).
5283 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5285 * avoid.el: Require cl when compiling. And also move the
5286 `provide' to the end.
5288 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5290 * avoid.el (mouse-avoidance-banish-position): New variable.
5291 (mouse-avoidance-banish-destination): Use it (bug#10165).
5293 2012-04-13 Leo Liu <sdl.web@gmail.com>
5295 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5297 2012-04-13 Ken Brown <kbrown@cornell.edu>
5299 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
5300 this is no longer needed now that cygstart understands file:// URLs.
5301 (browse-url-filename-alist): For the same reason, don't modify
5302 file:// URLs on Cygwin.
5304 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5306 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5307 the region on shift if the binding is already shifted (bug#11221).
5309 2012-04-12 Glenn Morris <rgm@gnu.org>
5311 * mail/mailpost.el: Move to obsolete/.
5313 2012-04-12 Drew Adams <drew.adams@oracle.com>
5315 * imenu.el (imenu--generic-function): Ignore invisible definitions
5318 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5320 * hexl.el (hexl-bits): New variable.
5321 (hexl-options): Mention the variable in the doc string.
5322 (hexl-rulerise, hexl-line-displen): New functions.
5323 (hexl-mode): Mention the new variable.
5324 (hexl-mode, hexl-current-address, hexl-current-address):
5326 (hexl-ascii-start-column): New function.
5327 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5328 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5330 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5332 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5333 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5334 the encoding, as expected by hunspell.
5336 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5338 * battery.el (battery--linux-sysfs-regexp): New const.
5339 (battery-status-function): Use it. Remove yeeloong special case.
5340 (battery-yeeloong-sysfs): Remove.
5341 (battery-echo-area-format): Remove yeeloong special case.
5343 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5345 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5346 Reported by Noah Friedman.
5348 * subr.el (read-passwd): Use read-string.
5350 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5352 * vcursor.el (vcursor-move): Increase the priority of the overlay
5355 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5357 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5358 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5360 2012-04-11 William Stevenson <yhvh2000@gmail.com>
5362 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5363 define-minor-mode (bug#10760).
5365 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5367 * progmodes/grep.el (rgrep): Tweak the find command line so
5368 that directories matching `grep-find-ignored-files' won't be
5371 2012-04-11 Chong Yidong <cyd@gnu.org>
5373 * startup.el (command-line): Remove support for long-obsolete
5374 variable font-lock-face-attributes.
5376 2012-04-11 Glenn Morris <rgm@gnu.org>
5378 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5380 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5382 * window.el (window--state-get-1): Obey window-point-insertion-type.
5384 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5386 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5387 to previous function when point is on the first character of a
5388 function. Take care of that in `narrow-to-defun' (bug#6157).
5390 2012-04-11 Glenn Morris <rgm@gnu.org>
5392 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5393 not just file-errors.
5395 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5396 (vc-bzr-sha1): Use internal sha1.
5398 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5400 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5402 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5404 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5405 that start in the middle of the line (bug#10496).
5407 2012-04-10 Dan Nicolaescu <dann@gnu.org>
5409 * battery.el (battery-linux-proc-acpi): Only one battery is
5410 discharged at a time, but that seems to confuse battery.el when
5411 computing `rate-type' for the battery not being discharged
5414 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5416 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5418 * international/quail.el: Use dolist and simplify.
5419 (quail-define-package, quail-update-keyboard-layout)
5420 (quail-define-rules): Use dolist.
5421 (quail-insert-kbd-layout, quail-get-translation): CSE.
5423 * tmm.el: Use dolist, remove left over hook.
5424 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5426 (calendar-load-hook): Don't mess with it.
5428 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5429 Use derived-mode-p. Run the diff asynchronously.
5431 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5433 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5435 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
5437 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5438 (list-dynamic-libraries--loaded): New function.
5439 (list-dynamic-libraries--refresh): Use it.
5441 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
5443 * progmodes/python.el (python-fill-paragraph):
5444 Make python-fill-region in a multiline string work when font-lock is
5445 disabled (bug#7018).
5447 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5449 * language/european.el (cp775): Add oem/legacy (en)coding on
5450 DOS/MS Windows for the Baltic languages. There are still plenty
5451 of texts written in this encoding/codepage (bug#6519).
5453 2012-04-10 Glenn Morris <rgm@gnu.org>
5455 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5456 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5458 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5460 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
5461 next-line "n" and previous-line "p" in order to make recentf more
5462 consistent with ibuffer, dired or org-mode (bug#9387).
5464 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5466 * image.el (put-image): Return the overlay created instead of the
5467 optional input string (bug#7834). Note that this may break code
5468 that is (for some reason or other) depending on `put-image'
5469 returning the string.
5471 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5473 * simple.el (zap-to-char): Allow zapping using input methods
5476 * textmodes/fill.el (fill-region): Leave point and mark where they
5477 were before filling (bug#5399).
5479 2012-04-09 Glenn Morris <rgm@gnu.org>
5481 * version.el (emacs-bzr-get-version):
5482 Handle lightweight checkouts of local branches.
5484 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5486 * international/characters.el: Recover lost case pairs. (Bug#11209)
5488 2012-04-09 Chong Yidong <cyd@gnu.org>
5490 * custom.el (custom-variable-p): Return nil for non-symbol
5491 arguments instead of signaling an error.
5492 (user-variable-p): Obsolete alias for custom-variable-p.
5494 * apropos.el (apropos-variable):
5495 * files-x.el (read-file-local-variable):
5496 * simple.el (set-variable):
5497 * woman.el (woman-mini-help):
5498 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5500 2012-04-09 Glenn Morris <rgm@gnu.org>
5502 * startup.el (normal-top-level): Don't look for leim-list.el
5503 in places where it will not be found. (Bug#910)
5505 * international/mule-cmds.el (set-default-coding-systems):
5506 * files.el (normal-mode):
5507 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5508 This function was removed with ucs-tables.el in 2008.
5510 2012-04-08 Eli Zaretskii <eliz@gnu.org>
5512 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5513 ispell-encoding8-command to "-i", without a trailing space.
5514 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5515 separate command-line arguments, to specify the encoding, since
5516 that's how hunspell expects it.
5518 2012-04-08 Glenn Morris <rgm@gnu.org>
5520 * loadup.el: Load bindings before cus-start.
5521 This reduces somewhat the number of "rogue" settings in emacs -Q.
5523 2012-04-07 Glenn Morris <rgm@gnu.org>
5525 * version.el (emacs-bzr-get-version): New function.
5526 (emacs-bzr-version): New variable.
5527 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5528 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5530 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5532 * international/uni-bidi.el, international/uni-category.el:
5533 * international/uni-combining.el, international/uni-decimal.el:
5534 * international/uni-decomposition.el, international/uni-digit.el:
5535 * international/uni-lowercase.el, international/uni-mirrored.el:
5536 * international/uni-name.el, international/uni-numeric.el:
5537 * international/uni-titlecase.el, international/uni-uppercase.el:
5538 Update for Unicode 6.1.
5540 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5542 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5544 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5546 * window.el (shrink-window): Mention the `window-min-height'
5547 variable in the doc string.
5549 2012-04-05 Bastien Guerry <bzg@altern.org>
5551 * color.el (color-lighten-name): Fix typo.
5553 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5555 * server.el (server--on-display-p): New function.
5556 (server--on-display-p): Use it.
5558 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5560 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5563 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5565 * comint.el (comint--common-quoted-suffix): Check string boundary
5566 before comparing (bug#11158).
5567 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5569 2012-04-04 Chong Yidong <cyd@gnu.org>
5571 * minibuffer.el (completion-extra-properties): Doc fix.
5573 * subr.el (delayed-warnings-hook): Doc fix.
5575 2012-04-04 Daiki Ueno <ueno@unixuser.org>
5577 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5578 selection (Bug#11159).
5579 (epa-insert-keys): Inform that the default public key will be
5580 exported if no key is selected.
5582 2012-04-04 Richard Stallman <rms@gnu.org>
5584 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5586 2012-04-03 Chong Yidong <cyd@gnu.org>
5588 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5589 mail-insert-file, not its obsolete alias mail-attach-file.
5591 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
5593 * notifications.el (notifications-notify): Fix docstring.
5595 2012-04-02 Glenn Morris <rgm@gnu.org>
5597 * emacs-lisp/authors.el (authors-aliases): Another addition.
5599 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
5601 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5602 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5603 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5605 2012-04-01 Chong Yidong <cyd@gnu.org>
5607 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5608 Handle root directory properly.
5609 (copy-directory): Caller changed.
5611 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5612 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5614 2012-03-31 Glenn Morris <rgm@gnu.org>
5616 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5618 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5620 * calendar/calendar.el (calendar-window-list)
5621 (calendar-hide-window): Restore. (Bug#11140)
5622 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5624 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5626 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5628 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5629 Check if file is a symlink (Bug#10489).
5631 * files.el (copy-directory): Likewise.
5633 2012-03-30 Chong Yidong <cyd@gnu.org>
5635 * image.el (imagemagick-types-inhibit)
5636 (imagemagick-register-types): Doc fix.
5638 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5640 * textmodes/ispell.el (ispell-get-extended-character-mode):
5641 Disable extended-char-mode for hunspell. hunspell does not support it
5642 and treats ~word as ordinary words in pipe mode.
5644 2012-03-30 Glenn Morris <rgm@gnu.org>
5646 * tutorial.el (help-with-tutorial): Ensure local variables don't
5647 happen to make the buffer read-only. (Bug#11127)
5649 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5651 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5652 (perl-calculate-indent): Return `noindent' in strings.
5654 2012-03-28 Sam Steingold <sds@gnu.org>
5656 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5657 instead of the broken adhockery which does not prevent calendar
5658 buffers from being displayed at random after exit.
5659 (calendar-window-list, calendar-hide-window): Remove the broken
5662 2012-03-28 Glenn Morris <rgm@gnu.org>
5664 * replace.el (query-replace-map): Doc fix.
5666 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5668 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5669 contents. (Bug#11109)
5671 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5673 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5675 (avl-tree--check, avl-tree--check-node): New funs.
5677 2012-03-27 Martin Rudalics <rudalics@gmx.at>
5679 * window.el (switch-to-visible-buffer): New option.
5680 (switch-to-prev-buffer, switch-to-next-buffer):
5681 Observe switch-to-visible-buffer. Make sure that checking for a window
5682 showing a buffer already is done on the same frame.
5684 2012-03-27 Glenn Morris <rgm@gnu.org>
5686 * startup.el (mail-host-address): Doc fix.
5688 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5690 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5693 2012-03-26 Ami Fischman <ami@fischman.org>
5695 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5697 2012-03-26 Glenn Morris <rgm@gnu.org>
5699 * files.el (save-buffers-kill-emacs): Doc fix.
5701 * startup.el (normal-top-level, command-line, command-line-1):
5702 Give them doc strings.
5704 2012-03-25 Eli Zaretskii <eliz@gnu.org>
5706 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
5707 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
5709 2012-03-25 Chong Yidong <cyd@gnu.org>
5711 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5712 theme if it was previously enabled before (Bug#11031).
5714 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5715 spec with custom-face-get-current-spec if its :shown-value is not
5716 determined yet (Bug#9337).
5717 (customize-create-theme, custom-theme-revert): Doc fixes.
5719 * button.el (button-at): Minor addition to docstring.
5721 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
5723 * vc/vc.el (vc-merge): Fix a prompt.
5725 2012-03-24 Chong Yidong <cyd@gnu.org>
5727 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5730 * button.el (button-at): Minor addition to docstring.
5732 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5734 * newcomment.el (comment-choose-indent): No space after BOL.
5736 2012-03-22 Sam Steingold <sds@gnu.org>
5738 * window.el (switch-to-prev-buffer): Revert last patch because the
5739 bug turned out to be an advertised feature (Elisp manual 28.14).
5741 2012-03-22 Glenn Morris <rgm@gnu.org>
5743 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5744 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5746 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5748 * net/network-stream.el (network-stream-open-starttls): Make error
5749 message under Windows be less misleading.
5751 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5753 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5754 understands (bug#9942).
5756 2012-03-22 Chong Yidong <cyd@gnu.org>
5758 * simple.el (end-of-visible-line): Handle return value of
5759 next-single-property-change properly (Bug#9371).
5761 2012-03-22 Kenichi Handa <handa@m17n.org>
5763 * international/quail.el (quail-insert-kbd-layout): Fix previous
5764 change. To avoid unwanted bidi reordering, use
5765 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5767 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5769 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5770 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5771 (ruby-beginning-of-indent): Be more careful with the difference
5772 between word-boundary and symbol boundary.
5773 (ruby-mode-syntax-table): Make : a symbol constituent.
5775 2012-03-21 Andreas Politz <politza@fh-trier.de>
5777 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5779 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5781 * progmodes/etags.el (tags-completion-at-point-function):
5784 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5786 2012-03-21 Sam Steingold <sds@gnu.org>
5788 * progmodes/etags.el (tags-completion-at-point-function):
5789 Avoid the error when point is inside the pattern.
5791 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5793 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5796 2012-03-21 Drew Adams <drew.adams@oracle.com>
5798 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5800 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5802 * ido.el (ido-set-current-directory, ido-read-internal)
5803 (ido-choose-completion-string, ido-completion-help): Handle nil
5804 value of ido-completion-buffer (Bug#11008).
5806 2012-03-21 Sam Steingold <sds@gnu.org>
5808 * window.el (switch-to-prev-buffer): Do not switch to a visible
5809 window previous buffer, just like with the frame previous buffers.
5811 2012-03-21 Chong Yidong <cyd@gnu.org>
5813 * faces.el (make-face, make-empty-face, copy-face):
5814 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5817 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5819 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5820 (widget-complete): Remove broken use of it.
5822 2012-03-20 Chong Yidong <cyd@gnu.org>
5824 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5825 Use string-width and truncate-string-width to handle arbitrary
5828 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5830 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5831 to draw rectangles, not squares. (Regression introduced by revno
5834 2012-03-18 Chong Yidong <cyd@gnu.org>
5836 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5837 it is not yet defined (for temacs).
5839 2012-03-18 Leo Liu <sdl.web@gmail.com>
5841 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
5843 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5845 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5846 (ispell-choices-win-default-height, ispell-silently-savep)
5847 (ispell-dictionary-alist, ispell-encoding8-command)
5848 (ispell-check-version, ispell-aspell-find-dictionary)
5849 (ispell-valid-dictionary-list, ispell-words-keyword)
5850 (ispell-get-word, ispell-internal-change-dictionary)
5851 (ispell-region, ispell-skip-region-list)
5852 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5853 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5854 (ispell-message-text-end, ispell-message)
5855 (ispell-buffer-local-parsing): Doc fix.
5857 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
5859 * htmlfontify.el: Add support for code block fontification for ODT
5861 (hfy-optimisations): Define new option
5863 (hfy-fontify-buffer): Honor above setting.
5864 (hfy-begin-span, hfy-end-span): New routines factored out form
5865 `hfy-fontify-buffer'.
5866 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5867 that permit insertion of custom tags.
5868 (hfy-fontify-buffer): Use above handlers.
5869 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5870 (hfy-face-to-css): Re-defined to be a variable.
5871 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
5872 over multiple runs. This is made possible by having the caller let
5873 bind a special variable `hfy-user-sheet-assoc'.
5874 (htmlfontify-string): New defun.
5875 (hfy-compile-face-map): Make sure that the last char in the
5876 buffer is correctly fontified.
5877 (hfy-face-resolve-face): Whitespace only change.
5879 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5881 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5884 2012-03-16 Leo Liu <sdl.web@gmail.com>
5886 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5888 2012-03-16 Alan Mackenzie <acm@muc.de>
5890 Further optimise the handling of large macros.
5892 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5893 limit to a call of `c-literal-limits'.
5894 (c-determine-+ve-limit): New function.
5895 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5896 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
5897 In CASE 5B, restrict a search limit to 500.
5898 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5900 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5901 Restrict macro bounds to +-500 from after-change's BEG END.
5903 2012-03-16 Leo Liu <sdl.web@gmail.com>
5905 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5907 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5909 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
5910 `special-mode' setting of `buffer-read-only'. (Bug#11010)
5912 2012-03-16 Glenn Morris <rgm@gnu.org>
5914 * view.el (view-buffer, view-buffer-other-window)
5915 (view-buffer-other-frame): Doc fixes re special mode-class.
5917 * subr.el (eval-after-load): If named feature is provided not from
5918 a file, run after-load forms. (Bug#10946)
5920 * calendar/calendar.el (calendar-insert-at-column):
5921 Handle non-unit-width characters a bit better. (Bug#10978)
5923 2012-03-15 Chong Yidong <cyd@gnu.org>
5925 * emacs-lisp/ring.el (ring-extend): New function.
5926 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5928 * comint.el (comint-read-input-ring)
5929 (comint-add-to-input-history): Grow comint-input-ring lazily.
5931 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5933 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5934 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5936 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5937 (imenu-add-to-menubar): Don't add a redundant index.
5938 (imenu-update-menubar): Handle a dynamically composed keymap.
5940 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5942 * mail/sendmail.el (mail-encode-header):
5943 Bind rfc2047-encode-encoded-words to nil.
5945 2012-03-13 Glenn Morris <rgm@gnu.org>
5947 * calendar/calendar.el (calendar-string-spread):
5948 Handle non-unit-width characters a bit better. (Bug#10978)
5950 2012-03-13 Leo Liu <sdl.web@gmail.com>
5952 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5953 directory and file as argument (Bug#10822).
5955 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5957 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5958 For dynamically generated code, follow $PC.
5959 (gdb-disassembly-handler-custom): Handle no function name case.
5961 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5963 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5964 * emulation/ws-mode.el (ws-query-replace):
5965 * sort.el (sort-regexp-fields):
5966 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5968 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5970 * dabbrev.el: Fix cycle completion order (bug#10963).
5971 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5972 (dabbrev-completion): Don't use an obarray; provide
5973 a cycle-sort-function.
5975 2012-03-12 Leo Liu <sdl.web@gmail.com>
5977 * simple.el (kill-new): Use equal-including-properties for comparison.
5978 (kill-do-not-save-duplicates): Doc fix.
5980 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5982 * dabbrev.el: Fix cycle completion (bug#10963).
5983 Use lexical binding and wrap to 80 columns.
5984 (dabbrev-completion): Delay computing the list of completions.
5986 2012-03-12 Kenichi Handa <handa@m17n.org>
5988 * international/quail.el (quail-insert-kbd-layout): Surround each
5989 row by LRO and PDF instead of inserting many LRMs. Pad the left
5990 and right of each non-spacing marks. Insert invisible space
5991 between lower and upper characters to prevent composition.
5993 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5995 * minibuffer.el (minibuffer-complete): Don't get confused when the
5996 function is run twice via different commands (bug#10958).
5997 (complete-with-action): Fix docstring.
5999 2012-03-12 Chong Yidong <cyd@gnu.org>
6001 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6002 (nxml-completion-at-point-function): New function.
6003 (nxml-mode): Use it.
6004 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6006 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6007 Load generated autoloads file before byte compiling (Bug#10970).
6008 (package--make-autoloads-and-compile): New helper fun.
6010 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6012 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6014 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
6016 * autorevert.el (auto-revert-handler): Ensure, that
6017 file-readable-p is applied only for local files or in
6018 auto-revert-tail-mode.
6020 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6022 * server.el (server-eval-at): Handle non-tcp connections.
6023 Decode result string.
6025 * server.el (server-msg-size): New constant.
6026 (server-reply-print): New function.
6027 (server-eval-and-print): Use it.
6028 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6031 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6033 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6036 2012-03-11 Chong Yidong <cyd@gnu.org>
6038 * simple.el (goto-line): Doc fix (Bug#9938).
6040 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6042 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6043 when finished (Bug#10963).
6045 2012-03-11 Martin Rudalics <rudalics@gmx.at>
6047 * window.el (split-window-below): Fix bug in case where
6048 split-window-keep-point is nil (Bug#10971).
6050 2012-03-11 Juri Linkov <juri@jurta.org>
6052 * replace.el (replace-highlight): Set isearch-word to nil
6053 unconditionally. (Bug#10887)
6055 2012-03-10 Eli Zaretskii <eliz@gnu.org>
6057 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6058 mairix-replace-illegal-chars; all callers changed. Don't remove
6059 ^, ~, and = characters: they are meaningful in mairix search specs.
6060 (mairix-widget-create-query): Add usage information about mairix
6061 search forms: negating words, searching for substrings, etc.
6063 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6065 * international/fontset.el (font-encoding-alist): Add an entry for
6068 2012-03-10 Richard Stallman <rms@gnu.org>
6070 * mail/sendmail.el (mail-encode-header):
6071 Set rfc2047-encode-encoded-words.
6073 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6075 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6076 view buffer means not swapped.
6077 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6078 (rmail-write-region-annotate): Error if real text has disappeared.
6080 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6082 2012-03-10 Chong Yidong <cyd@gnu.org>
6084 * emulation/cua-rect.el (cua--init-rectangles):
6085 * emulation/cua-base.el (cua--init-keymaps):
6086 Add delete-forward-char to remappings (Bug#9666).
6088 2012-03-10 Martin Rudalics <rudalics@gmx.at>
6090 * speedbar.el (speedbar-unhighlight-one-tag-line):
6091 Avoid unhighlighting due to frame switching (Bug#10275).
6093 2012-03-10 Chong Yidong <cyd@gnu.org>
6095 * minibuffer.el (completion-in-region, completion-help-at-point):
6096 Give the completion field overlay a high priority (Bug#6830).
6098 * dired.el (dired-goto-file): Recognize absolute file name
6099 listings (Bug#7126).
6100 (dired-goto-file-1): New helper function.
6101 (dired-toggle-read-only): Inhibit warnings.
6103 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
6105 * net/dbus.el (dbus-property-handler): Return empty array if
6106 there are no properties.
6108 2012-03-09 Leo Liu <sdl.web@gmail.com>
6110 * savehist.el (savehist-printable): Stricter check for string
6113 2012-03-09 Eli Zaretskii <eliz@gnu.org>
6115 * mail/smtpmail.el (smtpmail-send-it):
6116 Bind coding-system-for-write to *-unix, so that FCC files are kept in
6119 2012-03-09 Glenn Morris <rgm@gnu.org>
6121 * files.el (dir-locals-find-file):
6122 Don't check result is regular, readable.
6123 (dir-locals-read-from-file): Demote errors.
6125 2012-03-08 Eli Zaretskii <eliz@gnu.org>
6127 * international/quail.el (quail-insert-kbd-layout):
6128 Insert invisible LRM characters before each character in a keyboard
6129 layout cell, to prevent their reordering by bidi display engine.
6130 For details, see the discussion in
6131 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6133 2012-03-08 Alan Mackenzie <acm@muc.de>
6135 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6136 the starting position; make it extend the marked region when
6137 invoked repeatedly - all under appropriate circumstances.
6138 Fixes bugs #5525, #10906.
6140 2012-03-08 Glenn Morris <rgm@gnu.org>
6142 * files.el (locate-dominating-file, dir-locals-find-file):
6143 Undo 2012-03-06 change.
6145 2012-03-07 Eli Zaretskii <eliz@gnu.org>
6147 * international/quail.el (quail-help):
6148 Force bidi-paragraph-direction be left-to-right. See discussion in
6149 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6152 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
6154 Avoid superfluous registering of signals. (Bug#10807)
6156 * notifications.el (notifications-on-action-object)
6157 (notifications-on-close-object): New defvars.
6158 (notifications-on-action-signal, notifications-on-closed-signal):
6159 Unregister the signal if not needed any longer.
6160 (notifications-notify): Register `notifications-action-signal' or
6161 `notifications-closed-signal', if :on-action or :on-close has been
6164 2012-03-07 Chong Yidong <cyd@gnu.org>
6166 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6169 2012-03-06 Glenn Morris <rgm@gnu.org>
6171 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6172 (x-disown-selection-internal, x-get-selection-internal):
6173 Doc fix (add arglist signatures). (Bug#10783)
6175 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6177 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6178 Handle breakpoints with no "type".
6180 2012-03-06 Glenn Morris <rgm@gnu.org>
6182 * files.el (locate-dominating-file): Add optional predicate argument.
6183 (dir-locals-find-file): Make use of above change.
6185 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6187 * info.el (Info-insert-dir): Also try "dir.gz".
6189 2012-03-06 Glenn Morris <rgm@gnu.org>
6191 * files.el (dir-locals-find-file):
6192 Ignore non-readable or non-regular files. (Bug#10928)
6194 * files.el (locate-dominating-file): Doc fix.
6196 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6198 * calendar/calendar.el (calendar-set-mode-line):
6199 `getenv' returns a string. (Bug#10951)
6201 2012-03-05 Leo Liu <sdl.web@gmail.com>
6203 * simple.el (backward-delete-char-untabify): Constrain point to
6206 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6208 2012-03-05 Chong Yidong <cyd@gnu.org>
6210 * simple.el (count-words): If called from Lisp, return the word
6211 count, for symmetry with `count-lines'. Arglist changed.
6212 (count-words--message): Args changed. Consolidate counting code
6213 from count-words and count-words-region.
6214 (count-words-region): Caller changed.
6215 (count-lines-region): Make it an obsolete alias.
6217 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6219 * saveplace.el (save-place-to-alist)
6220 (save-place-ignore-files-regexp): Allow value nil to disable this
6223 2012-03-04 Chong Yidong <cyd@gnu.org>
6225 * faces.el (face-spec-reset-face): For the default face, reset the
6226 attributes to default values (Bug#10748).
6228 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6230 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6231 previous patch: Check `message-send-mail-function', and not the
6232 default function (bug#10897).
6234 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
6236 * notifications.el (notifications-on-action-signal)
6237 (notifications-on-closed-signal): Check for unique service name of
6238 incoming event. Fix error in removing entry.
6239 (top): Register for signals with wildcard service name.
6240 (notifications-notify): Use daemon unique service name for map entries.
6242 2012-03-04 Chong Yidong <cyd@gnu.org>
6244 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
6246 2012-03-04 Glenn Morris <rgm@gnu.org>
6248 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6249 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6250 (expand-abbrev, define-abbrev-table): Doc fixes.
6252 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6254 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6255 `message-default-send-mail-function' and not `send-mail-function'
6256 when doing the prompting for `sendmail-query-once' before sending
6257 in Message buffers (bug#10897).
6259 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6260 This is inconsistent with all the other stream functions, which leave
6261 the setting up to the higher levels (if so wanted) (bug#10931).
6263 2012-03-02 Alan Mackenzie <acm@muc.de>
6265 Depessimize the handling of very large macros.
6267 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6268 (c-macro-cache-syntactic): New variables to implement a one
6269 element macro cache.
6270 (c-invalidate-macro-cache): New function.
6271 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6272 Adapt to use the new cache.
6273 (c-state-safe-place): Use better the cache of safe positions.
6274 (c-state-semi-nonlit-pos-cache)
6275 (c-state-semi-nonlit-pos-cache-limit):
6276 New variables for...
6277 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6278 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
6279 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6280 Use c-state-semi-safe-place.
6282 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6283 Add c-invalidate-macro-cache to the C, C++, Obj entries.
6285 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
6287 * jka-compr.el (jka-compr-call-process):
6288 Apply `file-accessible-directory-p' only when the default directory is
6291 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
6293 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6294 access of FILE2, if FILE1 does not exist.
6296 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6297 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6299 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6300 Add "PAGER=" to `process-environment'.
6302 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6304 * progmodes/sql.el: Bug fix
6305 (sql-get-login-ext): Save login values in globals.
6306 (sql-get-login): Use new version of `sql-get-login-ext'.
6307 (sql-interactive-mode): Set global `sql-connection' to nil.
6308 (sql-connect): Set global values for connection.
6309 (sql-product-interactive): Save global values as buffer local.
6311 2012-02-29 Leo Liu <sdl.web@gmail.com>
6313 * abbrev.el (define-abbrevs): Reset sys to nil.
6315 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6317 * files.el (file-equal-p): Rename from `files-equal-p'.
6318 Return nil when one or both files don't exist.
6319 (file-subdir-of-p): Now only top directory must exists,
6320 return nil if it doesn't.
6321 (copy-directory): No need to test with `file-subdir-of-p' after
6323 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6326 2012-02-28 Glenn Morris <rgm@gnu.org>
6328 * shell.el (shell-mode):
6329 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6330 * play/landmark.el (landmark-font-lock-face-O):
6331 * play/handwrite.el (handwrite):
6332 * play/gomoku.el (gomoku-O):
6333 * net/browse-url.el (browse-url-browser-display):
6334 * international/mule.el (define-charset):
6335 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6336 * filesets.el (filesets-find-file-delay):
6337 * eshell/em-xtra.el (eshell-xtra):
6338 * eshell/em-unix.el (eshell-grep):
6339 * emulation/viper.el (viper-mode):
6340 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6341 * emacs-lisp/easymenu.el (easy-menu-define):
6342 * calendar/timeclock.el (timeclock-use-display-time):
6344 * bookmark.el (bookmark-save-flag):
6345 Doc fix (standardize possessive apostrophe usage).
6347 2012-02-27 Chong Yidong <cyd@gnu.org>
6349 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6350 Fix key-binding lookup for ESC key (Bug#9146).
6352 * font-lock.el (font-lock-specified-p): Rename from
6353 font-lock-spec-present. Callers changed.
6355 2012-02-27 Daniel Hackney <dan@haxney.org>
6357 * emacs-lisp/package.el (package-compute-transaction):
6358 Handle holding a package version to t in package-load-list.
6360 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
6362 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6363 (tramp-get-inode, tramp-get-device): Use cached values.
6365 2012-02-26 Alan Mackenzie <acm@muc.de>
6367 Check there is a font-lock specification before doing initial
6370 * font-core.el (font-lock-mode): Move the conditional from
6371 :after-hook to font-lock-initial-fontify.
6372 (font-lock-default-function): Move the check for a specification
6373 to font-lock-spec-present.
6375 * font-lock.el (font-lock-initial-fontify): Call ...
6376 (font-lock-spec-present): New function.
6378 2012-02-26 Jim Blandy <jimb@red-bean.com>
6380 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6381 (gdb-send): Apply it to the operand of the '-interpreter-exec
6382 console' command, so that we can pass arguments with (say) quotes
6383 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6385 2012-02-26 Chong Yidong <cyd@gnu.org>
6387 * help-fns.el (describe-function-1): Clarify description of
6388 remapping (Bug#10844).
6390 * files.el (files-equal-p): Doc fix.
6391 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6392 and quit the loop once a mismatch is found.
6394 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
6396 * bs.el (bs--show-with-configuration): Don't throw an error
6397 if the window cannot be split; otherwise, subsequent calls to
6398 bs-show fail, restoring a stale window config. (Bug#10882)
6400 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6402 * term/ns-win.el (global-map): Bind ns-drag-file to
6403 ns-find-file (Bug#5855, Bug#10050).
6405 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6407 * calendar/parse-time.el (parse-time-string): Allow extractor to
6410 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
6412 * net/tramp.el (tramp-file-name-for-operation):
6413 Add `files-equal-p' and `file-subdir-of-p'.
6415 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6416 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6417 Add COPY-CONTENTS argument.
6419 2012-02-25 Chong Yidong <cyd@gnu.org>
6421 Add custom groups for VC backends, for consistency with vc-bzr.
6423 * vc/vc-arch.el (vc-arch):
6424 * vc/vc-cvs.el (vc-cvs):
6425 * vc/vc-git.el (vc-git):
6426 * vc/vc-hg.el (vc-hg):
6427 * vc/vc-mtn.el (vc-mtn):
6428 * vc/vc-rcs.el (vc-rcs):
6429 * vc/vc-sccs.el (vc-sccs):
6430 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6431 All relevant defcustoms reassigned.
6433 2012-02-25 Chong Yidong <cyd@gnu.org>
6435 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6437 * term/x-win.el (x-initialize-window-system): Reduce default for
6438 x-selection-timeout to 5 seconds (Bug#8869).
6440 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6442 * files.el (files-equal-p, file-subdir-of-p): New functions.
6443 (copy-directory): Error when trying to copy a directory on itself.
6444 Add missing copy-contents arg to tramp handler.
6445 * dired-aux.el (dired-copy-file-recursive): Same.
6446 (dired-create-files): Modify destination when source is equal to
6447 dest when copying files.
6448 Return also when dest is a subdir of source. (Bug#10489)
6450 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
6452 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6455 2012-02-23 Alan Mackenzie <acm@muc.de>
6457 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6458 parameter "after-hook:" to allow the expansion to run code after
6459 the execution of the mode hooks.
6461 * font-lock.el (font-lock-initial-fontify): New function extracted
6462 from font-lock-mode-internal.
6464 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
6467 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6469 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6470 (completion--cache-all-sorted-completions): New function.
6471 (completion-all-sorted-completions): Use it.
6472 (completion--do-completion, minibuffer-force-complete):
6473 Use it to re-instate the flush hook.
6475 * icomplete.el (icomplete-completions): Replace last fix with a better
6478 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6480 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6481 when it might call us back infinitely (bug#10797).
6483 2012-02-23 Glenn Morris <rgm@gnu.org>
6485 * minibuffer.el (completion-category-overrides): Doc fix.
6487 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6489 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6490 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6492 2012-02-23 Glenn Morris <rgm@gnu.org>
6494 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
6495 (authors-obsolete-files-regexps, authors-ignored-files)
6496 (authors-ambiguous-files, authors-renamed-files-alist):
6499 2012-02-23 Juri Linkov <juri@jurta.org>
6501 * isearch.el (isearch-occur): Sync interactive spec with occur's
6502 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6504 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6506 2012-02-22 Juri Linkov <juri@jurta.org>
6508 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6509 (ucs-insert): Doc fix. Check for hex digits in the string.
6510 Don't display `nil' in the error message. (Bug#10857)
6512 2012-02-22 Alan Mackenzie <acm@muc.de>
6514 * progmodes/cc-mode.el: Revert change #107149 from 2012-02-06.
6516 2012-02-22 Glenn Morris <rgm@gnu.org>
6518 * ffap.el (ffap-c-path):
6519 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6521 2012-02-22 Chong Yidong <cyd@gnu.org>
6523 * custom.el (load-theme): Doc fix.
6525 2012-02-22 Glenn Morris <rgm@gnu.org>
6527 * dired-x.el (dired-guess-shell-alist-default):
6528 Remove escape sequences from nroff output. (Bug#172)
6530 2012-02-21 Glenn Morris <rgm@gnu.org>
6532 * vc/emerge.el (emerge-defvar-local):
6533 Set `permanent-local' property rather than unused `preserved'.
6535 * textmodes/picture.el (picture-delete-char): New alias.
6536 (picture-mode-map): Use it. (Bug#10860)
6537 (picture-mode): Doc fix.
6539 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
6541 * newcomment.el (uncomment-region-default): Remove unused binding.
6543 2012-02-21 Glenn Morris <rgm@gnu.org>
6545 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6546 (picture-self-insert, picture-tab-chars): Doc fix.
6547 (picture-mode-map): Fix C-a, C-e.
6549 2012-02-20 Glenn Morris <rgm@gnu.org>
6551 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6553 2012-02-20 Leo Liu <sdl.web@gmail.com>
6555 * icomplete.el (icomplete-completions): Check FROM arg before
6556 passing to substring (Bug#10850).
6558 2012-02-19 Chong Yidong <cyd@gnu.org>
6560 * comint.el: Require ansi-color.
6561 (comint-output-filter-functions): Add ansi-color-process-output.
6563 * ansi-color.el: Don't set comint-output-filter-functions; it is
6564 now in the initial value defined in comint.el.
6565 (ansi-color-apply-face-function): New variable.
6566 (ansi-color-apply-on-region): Use it.
6567 (ansi-color-apply-overlay-face): New function.
6569 * shell.el (shell): No need to require ansi-color.
6570 (shell-mode): Use ansi-color-apply-face-function to highlight
6571 color escapes using font-lock-face property (Bug#10835).
6573 2012-02-19 Chong Yidong <cyd@gnu.org>
6575 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6576 mode-line formats (Bug#10839).
6578 2012-02-18 Glenn Morris <rgm@gnu.org>
6580 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6582 * mail/undigest.el (unforward-rmail-message): Doc fix.
6584 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6586 2012-02-18 Eli Zaretskii <eliz@gnu.org>
6588 * international/characters.el (script-list): Sync with the latest
6589 Unicode Character Database.
6591 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6593 * international/titdic-cnv.el: Remove duplicate coding tag.
6594 * language/cham.el: Likewise.
6595 * language/tai-viet.el: Likewise.
6597 2012-02-18 Glenn Morris <rgm@gnu.org>
6599 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6600 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6601 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6602 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6603 * calendar/holidays.el (holiday-bahai-holidays)
6604 (calendar-holidays, list-holidays):
6605 Use utf-8 Bahá'í in doc-strings, menus, etc.
6607 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6609 * saveplace.el (save-place-ignore-files-regexp): New variable
6610 allowing for excluding files from saving their location of point.
6611 The default value matches the temporary commit message editing
6612 files from Git, SVN, Bazaar, and Mercurial.
6613 (save-place-to-alist): Use it.
6615 2012-02-17 Lawrence Mitchell <wence@gmx.li>
6616 Stefan Monnier <monnier@iro.umontreal.ca>
6618 * newcomment.el (uncomment-region-default): Don't leave extra space
6619 when an arg is provided (bug#8150).
6621 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6623 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
6625 2012-02-17 Glenn Morris <rgm@gnu.org>
6627 * net/socks.el: Require network-stream. (Bug#10599)
6629 2012-02-17 Kenichi Handa <handa@m17n.org>
6631 * international/charprop.el:
6632 * international/uni-name.el:
6633 * international/uni-old-name.el:
6634 * international/uni-comment.el: Regenerate.
6636 2012-02-16 Glenn Morris <rgm@gnu.org>
6638 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6639 Interactively in calendar buffer, give an error if not on a date.
6641 2012-02-15 Glenn Morris <rgm@gnu.org>
6643 * shell.el (shell-delimiter-argument-list):
6644 Revert 2011-02-17 change. (Bug#8027)
6646 2012-02-15 Chong Yidong <cyd@gnu.org>
6648 * minibuffer.el (completion-at-point-functions): Doc fix.
6650 * custom.el (defcustom): Doc fix; note use of defvar.
6652 2012-02-15 Glenn Morris <rgm@gnu.org>
6654 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6657 2012-02-14 Glenn Morris <rgm@gnu.org>
6659 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6661 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6663 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6664 way the ports list is computed.
6665 (smtpmail-query-smtp-server): Prompt the user for a port number if
6666 we can't connect to any of the standard ports (bug#10810).
6668 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6670 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6672 2012-02-13 Glenn Morris <rgm@gnu.org>
6674 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6676 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6678 * net/gnutls.el (gnutls-trustfiles): New variable.
6679 (gnutls-negotiate): Use it.
6681 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6683 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6684 does its stuff if Gnus is running.
6686 2012-02-13 Alan Mackenzie <acm@muc.de>
6688 Fix a loop in c-set-fl-decl-start.
6690 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
6691 c-backward-syntactic-ws actually moves backwards.
6693 2012-02-13 Leo Liu <sdl.web@gmail.com>
6695 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6696 beginning so that all \C-o chars are removed.
6698 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6700 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
6702 2012-02-12 Alan Mackenzie <acm@muc.de>
6704 Fix infinite loop with long macros.
6705 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
6707 2012-02-12 Chong Yidong <cyd@gnu.org>
6709 * window.el (display-buffer): Doc fix (Bug#10785).
6711 2012-02-12 Glenn Morris <rgm@gnu.org>
6713 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6714 (x-disown-selection-internal, x-get-selection-internal):
6715 Sync docs with the xselect.c versions.
6717 * allout-widgets.el: Add missing license notice.
6719 2012-02-11 Glenn Morris <rgm@gnu.org>
6721 * select.el (x-get-selection-internal, x-own-selection-internal)
6722 (x-disown-selection-internal):
6723 * x-dnd.el (x-get-selection-internal): Update declarations.
6725 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6727 * window.el (window-sides-slots):
6728 * tool-bar.el (tool-bar-position):
6729 * term/xterm.el (xterm-extra-capabilities):
6730 * ses.el (ses-self-reference-early-detection):
6731 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6732 (verilog-auto-wire-type)
6733 (verilog-auto-delete-trailing-whitespace)
6734 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6735 (verilog-auto-tieoff-declaration):
6736 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6737 (sql-oracle-statement-starters, sql-oracle-scan-on):
6738 * progmodes/prolog.el (prolog-align-comments-flag)
6739 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6740 (prolog-left-indent-regexp, prolog-paren-indent-p)
6741 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6742 (prolog-types, prolog-mode-specificators)
6743 (prolog-determinism-specificators, prolog-directives)
6744 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6745 (prolog-electric-dot-flag)
6746 (prolog-electric-dot-full-predicate-template)
6747 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6748 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6749 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6750 (prolog-program-switches, prolog-prompt-regexp)
6751 (prolog-debug-on-string, prolog-debug-off-string)
6752 (prolog-trace-on-string, prolog-trace-off-string)
6753 (prolog-zip-on-string, prolog-zip-off-string)
6754 (prolog-use-standard-consult-compile-method-flag)
6755 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6756 (prolog-imenu-max-lines, prolog-info-predicate-index)
6757 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6758 (prolog-char-quote-workaround):
6759 * progmodes/cc-vars.el (c-defun-tactic):
6760 * net/tramp.el (tramp-encoding-command-interactive)
6761 (tramp-local-end-of-line):
6762 * net/soap-client.el (soap-client):
6763 * net/netrc.el (netrc-file):
6764 * net/gnutls.el (gnutls):
6765 * minibuffer.el (completion-category-overrides)
6766 (completion-cycle-threshold)
6767 (completion-pcm-complete-word-inserts-delimiters):
6768 * man.el (Man-name-local-regexp):
6769 * mail/feedmail.el (feedmail-display-full-frame):
6770 * international/characters.el (glyphless-char-display-control):
6771 * eshell/em-ls.el (eshell-ls-date-format):
6772 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6773 (lisp-lambda-list-keyword-parameter-indentation)
6774 (lisp-lambda-list-keyword-parameter-alignment):
6775 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6776 * dired-x.el (dired-omit-verbose):
6777 * cus-theme.el (custom-theme-allow-multiple-selections):
6778 * calc/calc.el (calc-highlight-selections-with-faces)
6779 (calc-lu-field-reference, calc-lu-power-reference)
6780 (calc-note-threshold):
6781 * battery.el (battery-mode-line-limit):
6782 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6783 (archive-7z-update):
6784 * allout.el (allout-prefixed-keybindings)
6785 (allout-unprefixed-keybindings)
6786 (allout-inhibit-auto-fill-on-headline)
6787 (allout-flattened-numbering-abbreviation):
6788 * allout-widgets.el (allout-widgets-auto-activation)
6789 (allout-widgets-icons-dark-subdir)
6790 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6791 (allout-widgets-theme-dark-background)
6792 (allout-widgets-theme-light-background)
6793 (allout-widgets-item-image-properties-emacs)
6794 (allout-widgets-item-image-properties-xemacs)
6795 (allout-widgets-run-unit-tests-on-load)
6796 (allout-widgets-time-decoration-activity)
6797 (allout-widgets-hook-error-post-time)
6798 (allout-widgets-track-decoration):
6799 Add missing :version tags to new defcustoms and defgroups.
6801 * progmodes/sql.el (sql-ansi-statement-starters)
6802 (sql-oracle-statement-starters): Add custom type.
6804 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6805 (prolog-system-version): Give it a type.
6807 2012-02-11 Eli Zaretskii <eliz@gnu.org>
6809 * term/pc-win.el (x-select-text, x-selection-owner-p)
6810 (x-own-selection-internal, x-disown-selection-internal)
6811 (x-get-selection-internal): Sync doc strings and argument lists
6812 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6814 2012-02-11 Leo Liu <sdl.web@gmail.com>
6816 * progmodes/python.el (python-end-of-statement): Fix infinite
6819 2012-02-10 Glenn Morris <rgm@gnu.org>
6821 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6822 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6824 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6826 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6827 about SMTP before checking the From header.
6829 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
6830 into own function for reuse by emacsbug.el.
6832 2012-02-10 Leo Liu <sdl.web@gmail.com>
6834 * subr.el (condition-case-unless-debug): Rename from
6835 condition-case-no-debug. All callers changed.
6836 (with-demoted-errors): Fix caller.
6838 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6839 * nxml/rng-valid.el (rng-do-some-validation):
6840 * emacs-lisp/package.el (package-refresh-contents)
6841 (package-menu-execute):
6842 * desktop.el (desktop-create-buffer):
6843 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
6845 2012-02-10 Glenn Morris <rgm@gnu.org>
6847 * textmodes/bibtex.el:
6848 Add missing :version tags for new/changed defcustoms.
6850 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6852 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
6854 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6855 (smtpmail-via-smtp): Use it, or fall back on the From address.
6856 (smtpmail-send-it): Ditto.
6858 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6860 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6861 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6862 (byte-compile-tmp-var): New const.
6863 (byte-compile-defvar): Use it to minimize .elc size.
6864 Just use `defvar' rather than simulate it (bug#10761).
6866 2012-02-09 Glenn Morris <rgm@gnu.org>
6868 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6870 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6873 * progmodes/compile.el (compilation-error-screen-columns)
6874 (compilation-first-column, compilation-filter-start): Doc fixes.
6876 * vc/log-view.el (log-view-toggle-entry-display):
6877 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6879 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6880 (report-emacs-bug-can-use-xdg-email):
6881 (report-emacs-bug-insert-to-mailer): Doc fixes.
6882 (report-emacs-bug): Message fix.
6884 * net/browse-url.el (browse-url-can-use-xdg-open)
6885 (browse-url-xdg-open): Doc fixes.
6887 * electric.el (electric-indent-mode, electric-pair-mode)
6888 (electric-layout-rules, electric-layout-mode): Doc fixes.
6889 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6891 2012-02-08 Martin Rudalics <rudalics@gmx.at>
6893 * server.el (server-unselect-display): Don't inadvertently kill
6894 the current buffer. (Bug#10729)
6896 2012-02-08 Glenn Morris <rgm@gnu.org>
6898 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6899 (sql-list-table): Doc fixes.
6901 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6902 Comment out (does nothing).
6904 * completion.el (dynamic-completion-mode):
6905 * dirtrack.el (dirtrack-debug-mode):
6906 * electric.el (electric-layout-mode):
6907 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6908 * face-remap.el (text-scale-mode, buffer-face-mode):
6909 * iimage.el (iimage-mode):
6910 * image-mode.el (image-transform-mode):
6911 * minibuffer.el (completion-in-region-mode):
6912 * scroll-lock.el (scroll-lock-mode):
6913 * simple.el (next-error-follow-minor-mode):
6914 * tar-mode.el (tar-subfile-mode):
6915 * tooltip.el (tooltip-mode):
6916 * vcursor.el (vcursor-use-vcursor-map):
6917 * wid-browse.el (widget-minor-mode):
6918 * emulation/tpu-edt.el (tpu-edt-mode):
6919 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6920 * international/iso-ascii.el (iso-ascii-mode):
6921 * language/thai-util.el (thai-word-mode):
6922 * mail/supercite.el (sc-minor-mode):
6923 * net/goto-addr.el (goto-address-mode):
6924 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6925 * progmodes/cwarn.el (cwarn-mode):
6926 * progmodes/flymake.el (flymake-mode):
6927 * progmodes/glasses.el (glasses-mode):
6928 * progmodes/hideshow.el (hs-minor-mode):
6929 * progmodes/pascal.el (pascal-outline-mode):
6930 * textmodes/enriched.el (enriched-mode):
6931 * vc/smerge-mode.el (smerge-mode):
6932 Doc fixes (minor mode argument).
6934 2012-02-07 Eli Zaretskii <eliz@gnu.org>
6936 * ls-lisp.el (ls-lisp-sanitize): New function.
6937 (ls-lisp-insert-directory): Use it to fix or remove any elements
6938 in file-alist with missing attributes. (Bug#4673)
6940 2012-02-07 Alan Mackenzie <acm@muc.de>
6942 Fix spurious recognition of c-in-knr-argdecl.
6944 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6945 putative K&R region.
6947 2012-02-07 Alan Mackenzie <acm@muc.de>
6949 * progmodes/cc-engine.el (c-forward-objc-directive):
6950 Prevent looping in "#pragma mark @implementation".
6952 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
6954 * notifications.el (notifications-on-closed-signal): Make `reason'
6955 optional. (Bug#10744)
6957 2012-02-07 Glenn Morris <rgm@gnu.org>
6959 * emacs-lisp/easy-mmode.el (define-minor-mode):
6960 Doc fixes for the macro and the mode it defines.
6962 * image.el (imagemagick-types-inhibit): Doc fix.
6964 * cus-start.el (imagemagick-render-type): Add it.
6966 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6968 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6969 Set the default at load time, too, so that `font-lock-fontify-buffer'
6970 can be called without setting up the entire mode first. This fixes
6971 a bug in `mm-inline-text' with C MIME parts.
6973 2012-02-06 Chong Yidong <cyd@gnu.org>
6975 * simple.el (list-processes--refresh): Delete exited processes
6978 * comint.el (comint-next-prompt): next-single-char-property-change
6979 and prev-single-char-property-change never return nil (Bug#8657).
6981 * custom.el (defcustom): Doc fix (Bug#9711).
6983 2012-02-05 Chong Yidong <cyd@gnu.org>
6985 * cus-edit.el (custom-variable-reset-backup): Quote the value
6986 before storing it in the customized-value property (Bug#6712).
6987 (custom-display): Add a customization type tag.
6988 (custom-buffer-create-internal): Improve tooltip message.
6990 * wid-edit.el (widget-field-value-get): New optional arg to
6991 suppress trailing whitespace truncation.
6992 (character): Use it (Bug#2689).
6994 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6996 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6997 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6999 2012-02-05 Chong Yidong <cyd@gnu.org>
7001 * cus-edit.el (custom-variable-value-create): For mismatched
7002 types, show the current value (Bug#7600).
7004 * custom.el (defcustom): Doc fix.
7006 2012-02-05 Glenn Morris <rgm@gnu.org>
7008 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7010 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
7012 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7013 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7014 (pp-last-sexp): Use `looking-at-p'.
7016 2012-02-04 Glenn Morris <rgm@gnu.org>
7018 * files.el (revert-buffer):
7019 Doc fix (mention revert-buffer-in-progress-p).
7021 * emacs-lisp/ert-x.el (ert-simulate-command):
7022 Check deferred-action-list (which is obsolete) is bound.
7024 * subr.el (with-wrapper-hook): Doc fixes.
7026 * simple.el (filter-buffer-substring-functions)
7027 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7029 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7031 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7032 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7034 2012-02-04 Leo Liu <sdl.web@gmail.com>
7036 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7038 2012-02-04 Glenn Morris <rgm@gnu.org>
7040 * image.el (image-extension-data): Add obsolete alias.
7042 * isearch.el (isearch-update): Doc fix.
7044 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7046 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7048 2012-02-03 Glenn Morris <rgm@gnu.org>
7050 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7051 (image-animate-timeout): Doc fix.
7053 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7055 2012-02-02 Glenn Morris <rgm@gnu.org>
7057 * server.el (server-auth-dir): Doc fix.
7058 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7060 * subr.el (run-mode-hooks): Doc fix.
7062 2012-02-02 Juri Linkov <juri@jurta.org>
7064 * image-mode.el (image-toggle-display-image): Remove tautological
7065 `major-mode' from the `derived-mode-p' test.
7067 2012-02-02 Kenichi Handa <handa@m17n.org>
7069 * composite.el (compose-region): Cancel previous change.
7071 2012-02-02 Kenichi Handa <handa@m17n.org>
7073 * composite.el (compose-region, compose-string): Signal error for
7074 a null string component (Bug#6988).
7076 2012-02-01 Chong Yidong <cyd@gnu.org>
7078 * view.el (view-buffer-other-window, view-buffer-other-frame):
7079 Handle special modes like view-buffer (Bug#10650).
7080 (view-buffer): Simplify.
7082 * frame.el (set-frame-font): Tweak meaning of third argument.
7084 * dynamic-setting.el (font-setting-change-default-font):
7085 Use set-frame-font (Bug#9982).
7087 2012-02-01 Glenn Morris <rgm@gnu.org>
7089 * progmodes/compile.el (compilation-internal-error-properties):
7090 Respect compilation-first-column in the "*compilation*" buffer.
7092 * emacs-lisp/easy-mmode.el (define-minor-mode):
7093 Relax :variable's test for a named function.
7095 2012-01-31 Alan Mackenzie <acm@muc.de>
7097 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7100 2012-01-31 Chong Yidong <cyd@gnu.org>
7102 * frame.el (set-frame-font): New arg ALL-FRAMES.
7104 * menu-bar.el (menu-set-font): Use set-frame-font.
7106 * faces.el (face-spec-reset-face): Don't apply unspecified
7107 attribute values to the default face.
7109 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
7111 * progmodes/cwarn.el (cwarn): Remove dead link.
7112 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7113 Remove * from defcustom docstrings.
7114 (turn-on-cwarn-mode): Make obsolete.
7115 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7116 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7118 2012-01-31 Glenn Morris <rgm@gnu.org>
7120 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
7121 Fix :variable handling of mode a symbol not equal to modefun.
7122 Allow named functions to be used as the cdr of :variable.
7124 2012-01-30 Glenn Morris <rgm@gnu.org>
7126 * emacs-lisp/authors.el (authors-fixed-entries):
7127 Remove reference to deleted file rnewspost.el.
7129 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
7131 * window.el (window-with-parameter): Remove unused variable `windows'.
7132 (window--side-check): Remove unused variable `code'.
7133 (window--resize-siblings): Remove unused variable `first'.
7134 (adjust-window-trailing-edge): Remove unused variable `failed'.
7135 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7136 Use `let', not `let*'.
7137 (balance-windows-2): Remove unused variable `found'.
7138 (window--state-put-2): Remove unused variable `splits'.
7139 (window-state-put): Remove unused variable `selected'.
7140 (same-window-p): Use `string-match-p'.
7141 (display-buffer-assq-regexp): Remove unused variable `value'.
7142 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7143 Mark argument ALIST as ignored.
7144 (pop-to-buffer): Remove unused variable `old-window'.
7146 2012-01-29 Eli Zaretskii <eliz@gnu.org>
7148 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7149 and .lzma compressed files.
7151 2012-01-29 Chong Yidong <cyd@gnu.org>
7153 * frame.el (window-system-default-frame-alist): Doc fix.
7155 * dynamic-setting.el (font-setting-change-default-font): Don't
7156 change the default face if SET-FONT argument is non-nil (Bug#9982).
7158 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7160 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7162 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
7164 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7165 breakpoints in files outside current directory (Bug#6098).
7167 2012-01-29 Chong Yidong <cyd@gnu.org>
7169 * progmodes/python.el: Require ansi-color at top-level.
7171 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7172 Define and use in Emacs Lisp mode (Bug#9360).
7173 (lisp-mode-abbrev-table): Add doc.
7174 (lisp-mode-variables): Don't set local-abbrev-table.
7175 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7177 2012-01-28 Roland Winkler <winkler@gnu.org>
7179 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7181 2012-01-28 Roland Winkler <winkler@gnu.org>
7183 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7184 (bibtex-set-dialect): Use it. Either set global values of
7185 dialect-dependent variables or bind these variables buffer-locally
7187 (bibtex-mode): Call bibtex-set-dialect via
7188 hack-local-variables-hook.
7189 (bibtex-dialect): Update docstring.
7190 Add safe-local-variable predicate.
7191 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7193 (bibtex-mode-map): Define menu for each dialect.
7194 (bibtex-entry): Fix docstring.
7196 2012-01-28 Chong Yidong <cyd@gnu.org>
7198 * eshell/esh-arg.el (eshell-quote-argument): New function.
7200 * eshell/esh-ext.el (eshell-invoke-batch-file):
7201 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7202 first arg to eshell-parse-command (Bug#10523).
7204 2012-01-28 Drew Adams <drew.adams@oracle.com>
7206 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7207 `default-directory' is non-nil.
7209 2012-01-28 Eli Zaretskii <eliz@gnu.org>
7211 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7212 line that displays system-configuration-options. (Bug#9924)
7214 2012-01-28 Drew Adams <drew.adams@oracle.com>
7216 * descr-text.el (describe-char): Show information about POS, in
7217 addition to information about the character at POS. Improve and
7218 update the doc string. Change "code point" to "code point in
7219 charset", to avoid confusion with the character's Unicode code
7220 point shown above that. (Bug#10129)
7222 2012-01-28 Eli Zaretskii <eliz@gnu.org>
7224 * descr-text.el (describe-char): Show the raw character, not only
7225 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7226 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7229 2012-01-28 Phil Hagelberg <phil@hagelb.org>
7231 * emacs-lisp/package.el (package-install):
7232 Run package-refresh-contents if there is no archive yet (Bug#9798).
7234 2012-01-28 Chong Yidong <cyd@gnu.org>
7236 * emacs-lisp/package.el (package-maybe-load-descriptor):
7237 New function, split from package-maybe-load-descriptor.
7238 (package-maybe-load-descriptor): Use it.
7239 (package-download-transaction): Fully load required packages
7240 inside the loop, so that `require' calls work (Bug#10593).
7241 (package-install): No need to call package-initialize now.
7243 2012-01-28 Chong Yidong <cyd@gnu.org>
7245 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7247 * tooltip.el (tooltip-mode): Doc fix.
7248 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7250 * frame.el (set-cursor-color): Doc fix (Bug#352).
7252 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7253 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7255 * cus-edit.el (custom-buffer-create-internal): Fix search button
7257 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
7259 2012-01-27 Eduard Wiebe <usenet@pusto.de>
7261 * dired.el (dired-mark-files-regexp):
7262 Include any subdirectory components. (Bug#10445)
7264 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7266 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7267 Handle [host]:port syntax. (Bug#10533)
7269 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
7271 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7273 2012-01-26 Glenn Morris <rgm@gnu.org>
7275 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7276 * term.el (term-raw-escape-map): Use Control-X-prefix.
7277 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7279 2012-01-25 Martin Rudalics <rudalics@gmx.at>
7281 * window.el (window-state-get, window--state-get-1): Don't deal
7282 with fixed-sizeness of windows. Simplify code.
7284 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7286 * window.el (window--state-get-1, window--state-put-2):
7287 Don't save and restore the mark.
7289 2012-01-25 Chong Yidong <cyd@gnu.org>
7291 * custom.el (custom-variable-p): Doc fix.
7293 2012-01-25 Glenn Morris <rgm@gnu.org>
7295 * dired.el (dired-goto-file): Handle some of the more common
7296 characters that `ls -b' escapes. (Bug#10596)
7298 * progmodes/compile.el (compilation-next-error-function):
7299 Respect compilation-first-column in the "*compilation*" buffer.
7300 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7302 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7304 2012-01-24 Glenn Morris <rgm@gnu.org>
7306 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7308 2012-01-24 Julien Danjou <julien@danjou.info>
7310 * color.el (color-rgb-to-hsl): Fix value computing.
7311 (color-hue-to-rgb): New function.
7312 (color-hsl-to-rgb): New function.
7313 (color-clamp, color-saturate-hsl, color-saturate-name)
7314 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7315 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7317 2012-01-24 Glenn Morris <rgm@gnu.org>
7319 * vc/vc-rcs.el (vc-rcs-create-tag):
7320 * vc/vc-sccs.el (vc-sccs-create-tag):
7321 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7323 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7325 * eshell/esh-util.el (eshell-read-hosts-file):
7326 Skip comment lines. (Bug#10549)
7328 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7330 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
7332 * subr.el (display-delayed-warnings): Doc fix.
7333 (collapse-delayed-warnings): New function to collapse identical
7335 (delayed-warnings-hook): Add it.
7337 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
7339 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7341 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7342 (tramp-default-user-alist): Don't add "pscp".
7343 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7344 property "login-as", if set. (Bug#10530)
7346 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
7348 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7349 "plink1" and "psftp". (Bug#10530)
7351 2012-01-21 Kenichi Handa <handa@m17n.org>
7353 * international/mule-cmds.el (prefer-coding-system): Show a
7354 warning message if the default value of file-name-coding-system
7357 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7359 * windmove.el (windmove-reference-loc):
7360 Fix windmove-reference-loc miscalculation.
7362 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7364 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7367 2012-01-21 Glenn Morris <rgm@gnu.org>
7369 * international/mule.el (auto-coding-alist): Add .tbz.
7371 * files.el (local-enable-local-variables): Doc fix.
7372 (inhibit-local-variables-regexps): Rename from
7373 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7374 Doc fix. Add some extensions from auto-coding-alist.
7375 (inhibit-local-variables-suffixes):
7376 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7377 (inhibit-local-variables-p):
7378 New function, extracted from set-auto-mode-1.
7379 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7380 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7381 (hack-local-variables): Doc fix. Make the mode-only case
7382 respect enable-local-variables and friends.
7383 Respect inhibit-local-variables-regexps for file-locals, but
7384 not for directory-locals.
7385 (set-visited-file-name):
7386 Take account of inhibit-local-variables-regexps.
7387 Whether it applies may change as the file name is changed.
7388 * jka-cmpr-hook.el (jka-compr-install):
7389 * jka-compr.el (jka-compr-uninstall):
7390 Update for inhibit-first-line-modes-suffixes name change.
7392 2012-01-20 Martin Rudalics <rudalics@gmx.at>
7394 * help-macro.el (make-help-screen): Temporarily restore original
7395 binding for minor-mode-map-alist (Bug#10454).
7397 2012-01-19 Julien Danjou <julien@danjou.info>
7399 * color.el (color-name-to-rgb): Use the white color to find the max
7400 color component value and return correctly computed values.
7401 (color-name-to-rgb): Add missing float conversion for max value.
7403 2012-01-19 Martin Rudalics <rudalics@gmx.at>
7405 * window.el (window--state-get-1, window-state-get): Do not use
7406 special state value for window-persistent-parameters.
7407 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
7408 (window--state-put-2): Reset all window parameters to nil before
7409 assigning values of persistent parameters.
7411 2012-01-18 Alan Mackenzie <acm@muc.de>
7413 Eliminate sluggishness and hangs in fontification of "semicolon
7416 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7417 Change value 10000 -> 3000.
7418 (c-state-safe-place): Reformulate so it doesn't stack up an
7419 infinite number of wrong entries in c-state-nonlit-pos-cache.
7420 (c-determine-limit-get-base, c-determine-limit): New functions to
7421 determine backward search limits disregarding literals.
7422 (c-find-decl-spots): Amend commenting.
7423 (c-cheap-inside-bracelist-p): New function which detects "={".
7425 * progmodes/cc-fonts.el
7426 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7428 (c-font-lock-declarations): Fix an occurrence of point being
7429 undefined. Check additionally for point being in a bracelist or
7430 near a macro invocation without a semicolon so as to avoid a
7431 fruitless time consuming search for a declarator. Give a more
7432 precise search limit for declarators using the new
7435 2012-01-18 Glenn Morris <rgm@gnu.org>
7437 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7438 (set-auto-mode): Doc fixes.
7440 2012-01-17 Glenn Morris <rgm@gnu.org>
7442 * isearch.el (search-nonincremental-instead): Fix doc typo.
7444 * dired.el (dired-insert-directory): Handle newlines in directory name.
7445 (dired-build-subdir-alist): Unescape newlines in directory name.
7447 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
7449 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7450 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7451 (tramp-action-terminal): Use it. (Bug#10530)
7453 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7455 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7457 2012-01-16 Martin Rudalics <rudalics@gmx.at>
7459 * window.el (window-state-ignored-parameters): Remove variable.
7460 (window--state-get-1): Rename argument MARKERS to IGNORE.
7461 Handle persistent window parameters. Make copy of clone-of
7462 parameter only if requested. (Bug#10348)
7463 (window--state-put-2): Install a window parameter only if it has
7464 a non-nil value or an existing parameter shall be overwritten.
7466 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
7468 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7470 2012-01-14 Eli Zaretskii <eliz@gnu.org>
7472 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7473 don't pass the (nil) value of `upnode' to string-match.
7475 2012-01-14 Chong Yidong <cyd@gnu.org>
7477 * startup.el (command-line): Fix X resource class for cursorColor.
7478 Fix values recognized by the cursorBlink resource.
7480 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7482 * epg.el (epg--make-temp-file): Avoid permission race condition
7483 when running on old Emacs versions (bug#10403).
7485 2012-01-14 Glenn Morris <rgm@gnu.org>
7487 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7489 2012-01-13 Alan Mackenzie <acm@muc.de>
7491 Fix filling for when filladapt mode is enabled.
7493 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7494 c-mask-paragraph, pass in `fill-paragraph' rather than
7495 `fill-region-as-paragraph'. (This is a reversion of a previous
7497 * progmodes/cc-mode.el (c-basic-common-init):
7498 Make fill-paragraph-handle-comment buffer local and set it to nil.
7500 2012-01-13 Glenn Morris <rgm@gnu.org>
7502 * dired.el (dired-switches-escape-p): New function.
7503 (dired-insert-directory): Use dired-switches-escape-p.
7504 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7506 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7508 2012-01-12 Glenn Morris <rgm@gnu.org>
7510 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7511 changes in adaptive-fill-regexp. (Bug#10276)
7513 2012-01-11 Alan Mackenzie <acm@muc.de>
7515 Fix Emacs bug #10463 - put `widen's around the critical spots.
7517 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
7518 widen around each invocation of c-state-pp-to-literal. Remove an
7519 unused let variable.
7521 2012-01-11 Glenn Morris <rgm@gnu.org>
7523 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
7526 2012-01-10 Chong Yidong <cyd@gnu.org>
7528 * net/network-stream.el (network-stream-open-starttls):
7529 Avoid emitting a confusing error message when the server gives a bad
7530 response to the capability command.
7532 2012-01-10 Glenn Morris <rgm@gnu.org>
7534 * mail/unrmail.el (unrmail): Tweak previous change.
7536 2012-01-09 Chong Yidong <cyd@gnu.org>
7538 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7540 2012-01-08 Alan Mackenzie <acm@muc.de>
7542 Optimise font locking in long enum definitions.
7544 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7545 arm to a cond form to handle enums.
7546 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7547 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7549 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
7551 * files.el (move-file-to-trash): Preserve default file modes on error.
7554 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7556 * faces.el (set-face-attribute): Clarify the meaning of the nil
7559 * subr.el (with-selected-frame): Mention that the selected frame
7560 is restored (bug#9980).
7562 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7565 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
7566 (password-read): Don't autoload unused function.
7568 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
7570 * progmodes/which-func.el (which-func-mode): Turn into a
7571 non-interactive function and mark as obsolete (bug#10428).
7573 2012-01-06 Chong Yidong <cyd@gnu.org>
7575 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7576 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7577 functions, along with 1 and -1.
7579 2012-01-06 Eli Zaretskii <eliz@gnu.org>
7581 * time.el (display-time-load-average)
7582 (display-time-default-load-average): Doc fixes. See the thread
7584 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7587 2012-01-06 Glenn Morris <rgm@gnu.org>
7589 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7590 has no messages. (Bug#10377)
7592 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7593 than Info-edit. (Bug#10385)
7595 * time.el (display-time-load-average, display-time-next-load-average):
7598 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7599 local setting of buffer-read-only to the input buffer. (Bug#10419)
7601 * calendar/calendar.el (calendar-mode):
7602 Locally set scroll-margin to 0. (Bug#10379)
7604 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
7606 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7608 2012-01-05 Glenn Morris <rgm@gnu.org>
7610 * eshell/em-unix.el (diff-no-select): Autoload it.
7611 (eshell/diff): Use diff-no-select. (Bug#10420)
7613 2012-01-05 Chong Yidong <cyd@gnu.org>
7615 * shell.el (shell-dynamic-complete-functions): Revert last change.
7616 (shell-command-completion-function): New function.
7617 (shell-completion-vars): Use it to implement
7618 shell-completion-execonly (Bug#10417).
7620 * custom.el (enable-theme): Don't set custom-safe-themes.
7622 * cus-theme.el (custom-theme-merge-theme):
7623 Ignore custom-enabled-themes and custom-safe-themes.
7625 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7627 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7628 first prompt in `sql-interacive-mode'.
7629 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
7631 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
7632 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7633 context of original buffer. Invoke `sql-login-hook'.
7635 2012-01-04 Eli Zaretskii <eliz@gnu.org>
7637 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7638 letters in cite-prefix.
7640 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7642 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7644 2012-01-03 Chong Yidong <cyd@gnu.org>
7646 * shell.el (shell-dynamic-complete-functions):
7647 Put pcomplete-completions-at-point, so as to try
7648 comint-filename-completion first (Bug#10417).
7650 2012-01-02 Richard Stallman <rms@gnu.org>
7652 * battery.el (battery-status-function):
7653 Detect when to use battery-yeeloong-sysfs.
7654 (battery-echo-area-format): Add string for Yeeloong.
7655 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7656 (battery-yeeloong-sysfs): New function.
7658 2012-01-02 Chong Yidong <cyd@gnu.org>
7660 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7661 (dirtrack): Merge code for handling relative filenames in prompt
7662 from shell-dir-cookie-watcher.
7663 (dirtrack-debug-message): New arg to avoid excess format calls.
7665 * shell.el (shell-dir-cookie-re): Variable deleted.
7666 (shell-dir-cookie-watcher): Function deleted.
7667 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7670 2012-01-01 Eli Zaretskii <eliz@gnu.org>
7672 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7673 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
7676 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7678 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7680 2011-12-31 Eli Zaretskii <eliz@gnu.org>
7682 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7683 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7685 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
7687 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7688 also for alternative shells.
7689 (tramp-open-connection-setup-interactive-shell): Check, whether
7690 the shell is a busybox.
7691 (tramp-send-command): Don't suppress multiple prompts for
7692 busyboxes, it hurts.
7694 2011-12-28 Chong Yidong <cyd@gnu.org>
7696 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7697 (gdb-get-source-file): Move mode line update to
7698 gdb-get-source-file (Bug#10087).
7700 2011-12-25 Chong Yidong <cyd@gnu.org>
7702 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7703 gud-gdb-marker-filter without taking it as an argument.
7704 (gud-gdb-run-command-fetch-lines): Caller changed.
7705 (gud-gdb-completion-function): New variable.
7706 (gud-gdb-completion-at-point): Use it.
7707 (gud-gdb-completions-1): Split from gud-gdb-completions.
7709 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7710 function as separate arguments.
7711 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7712 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7713 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7714 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7715 (gdb-stopped, def-gdb-auto-update-trigger)
7716 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
7717 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7719 (gud-gdbmi-completions): New function.
7720 (gdb): Use it for generating the completion table.
7722 2011-12-24 Alan Mackenzie <acm@muc.de>
7724 Introduce a mechanism to widen the region used in context font
7725 locking. Use this to protect declarations from losing their contexts.
7727 * progmodes/cc-langs.el (c-before-font-lock-functions):
7728 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
7729 (c-before-context-fontification-functions): New defvar, a list of
7730 functions to be run just before context (etc.) font locking.
7732 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
7733 New, functionality extracted from
7734 c-neutralize-syntax-in-and-mark-CPP.
7735 (c-in-after-change-fontification): New variable.
7736 (c-after-change): Set c-in-after-change-fontification.
7737 (c-set-fl-decl-start): Rejig its interface, so it can be called
7738 from both after-change and context fontifying.
7739 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7741 (c-standard-font-lock-fontify-region-function): New variable.
7742 (c-font-lock-fontify-region): New function.
7744 2011-12-24 Juri Linkov <juri@jurta.org>
7746 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7749 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
7751 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7752 existence of source file. (Bug#10325)
7754 2011-12-23 Alan Mackenzie <acm@muc.de>
7756 Fix unstable fontification inside templates.
7758 * progmodes/cc-langs.el (c-before-font-lock-functions):
7759 Newly created from the singular version. The (c c++ objc) entry now
7760 additionally has c-set-fl-decl-start. The other languages (apart
7761 from AWK) have that as a single entry.
7763 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7764 The functionality for "local" declarations has been extracted to
7765 c-set-fl-decl-start.
7767 * progmodes/cc-mode.el (c-common-init, c-after-change):
7768 Changes due to pluralisation of c-before-font-lock-functions.
7769 (c-set-fl-decl-start): New function, extracted from
7770 c-font-lock-enclosing-decls and enhanced.
7772 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
7774 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7776 2011-12-22 Juri Linkov <juri@jurta.org>
7778 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7780 2011-12-22 Chong Yidong <cyd@gnu.org>
7782 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7784 2011-12-21 Drew Adams <drew.adams@oracle.com>
7786 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7788 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7790 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7792 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7794 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7795 highlighting and support. Fix up comments for capitalization.
7796 (cfengine-mode-debug): New var.
7797 (cfengine3-mode): Change the modeline indicator to "CFE3".
7798 (cfengine3-font-lock-keywords): Improve defun highlighting.
7799 (cfengine2-actions): Rename from `cfengine-actions'.
7800 (cfengine2-font-lock-keywords): Rename from
7801 `cfengine-font-lock-keywords'.
7802 (cfengine2-imenu-expression): Rename from
7803 `cfengine-imenu-expression'.
7804 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7805 (cfengine2-beginning-of-defun): Rename from
7806 `cfengine-beginning-of-defun'.
7807 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7808 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7809 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7810 modeline indicator to "CFE2".
7811 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7812 (cfengine-mode-abbrevs): Mark obsolete.
7814 2011-12-21 Chong Yidong <cyd@gnu.org>
7816 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7819 2011-12-20 Martin Rudalics <rudalics@gmx.at>
7821 * window.el (window-normalize-buffer-to-display): Remove.
7822 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7824 2011-12-19 Chong Yidong <cyd@gnu.org>
7826 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7827 Don't signal an error in a predicate function; return non-nil.
7828 (vc-dir-mark-file): Move the error here.
7829 (vc-dir-mark-unmark): If acting on the region, keep going if one
7830 of the entries cannot be marked/unmarked.
7831 (vc-dir-mark-all-files): If current entry is a directory, mark
7832 only child files, as documented.
7834 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7836 * ses.el: Ooops... undo changes of revision 106664, as trunk
7837 branch is feature frozen, and revision 106664 was a feature
7840 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7842 * term/ns-win.el (ns-get-selection-internal)
7843 (ns-store-selection-internal): Declare.
7844 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7845 Declare as obsolete.
7846 (ns-get-pasteboard, ns-paste-secondary):
7847 Use ns-get-selection-internal.
7848 (ns-set-pasteboard, ns-copy-including-secondary):
7849 Use ns-store-selection-internal.
7851 2011-12-17 Chong Yidong <cyd@gnu.org>
7853 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
7854 (vc-deduce-fileset): Doc fix.
7856 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7858 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7860 2011-12-13 Sam Steingold <sds@gnu.org>
7862 * man.el (Man-getpage-in-background): When running under a
7863 window-system, ignore $MANWIDTH and $COLUMNS.
7865 2011-12-15 Kenichi Handa <handa@m17n.org>
7867 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7868 (setup-ethiopic-environment-internal): Comment out key-binding for
7869 ethio-toggle-punctuation.
7871 2011-12-13 Alan Mackenzie <acm@muc.de>
7873 Add the switch statement to AWK Mode.
7875 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
7876 "default" to the keywords regexp.
7878 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
7879 expression as the rest.
7880 (c-nonlabel-token-key): Allow string literals for AWK.
7881 Refactor for the other modes.
7883 Large brace-block initialisation makes CC Mode slow: Fix.
7884 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
7885 routines. Limit backward searching in c-font-lock-enclosing.decl.
7887 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7888 pp-state and literal type in addition to the limits.
7889 (c-state-safe-place): New defun, extracted from c-state-literal-at.
7890 (c-state-literal-at): Use the above new defun.
7891 (c-slow-in-literal, c-fast-in-literal): Remove.
7892 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
7894 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7895 being in a literal. Add a limit for backward searching.
7897 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7900 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7902 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7904 2011-12-13 Martin Rudalics <rudalics@gmx.at>
7906 * window.el (delete-other-windows): Use correct frame in call to
7907 window-with-parameter.
7909 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7911 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7912 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7913 (makefile-gmake-statements, makefile-makepp-statements):
7914 Use it and add new makepp keywords.
7915 (makefile-makepp-font-lock-keywords): Add new patterns.
7916 (makefile-match-function-end): Match new [...] and [[...]].
7918 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
7920 * ses.el (ses-call-printer-return, ses-cell-property-get)
7921 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7922 (ses-create-cell-variable, ses-reset-header-string)
7923 (ses-cell-set-formula, ses-repair-cell-reference-all)
7924 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7925 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7926 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7927 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7928 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7929 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7930 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7931 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7932 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7933 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7934 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7935 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7937 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7939 * ses.el: The overall change is to add cell renaming, that is
7940 setting fancy names for cell symbols other than name matching
7941 "\\`[A-Z]+[0-9]+\\'" regexp .
7942 (ses-create-cell-variable): New defun.
7943 (ses-relocate-formula): Relocate formulas only for cells the
7944 symbols of which are not renamed, i.e. symbols whose names do not
7945 match regexp "\\`[A-Z]+[0-9]+\\'".
7946 (ses-relocate-all): Relocate values only for cells the symbols of
7947 which are not renamed.
7948 (ses-load): Create cells variables as the (ses-cell ...) are read,
7949 in order to check row col consistency with cell symbol name only
7950 for cells that are not renamed.
7951 (ses-replace-name-in-formula): New defun.
7952 (ses-rename-cell): New defun.
7954 2011-12-11 Chong Yidong <cyd@gnu.org>
7956 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7957 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7959 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7961 * window.el (other-window): Fix docstring.
7963 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7965 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
7966 `from' or `to' address before taking its substring.
7967 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
7968 encoded name is chopped in the middle of the encoded string, and
7969 thus displayed encoded.
7971 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
7973 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7975 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7977 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7978 to use texinfo-update-node and commands that call it if the
7979 Texinfo file uses @node lines without next/prev/up pointers.
7980 Correct outdated description about texinfo-master-menu.
7981 (texinfo-all-menus-update, texinfo-master-menu)
7982 (texinfo-update-node, texinfo-every-node-update)
7983 (texinfo-multiple-files-update): Doc fix. Warn against updating
7984 all the @node lines.
7985 (texinfo-master-menu): Only call texinfo-update-node if the prefix
7986 argument is numeric. Explain better in the doc string what the
7987 function really does.
7988 (texinfo-insert-master-menu-list): Improve the error message
7989 displayed if there's no menu in the Top node.
7990 (Bug#2975) See also this thread:
7991 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7993 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7995 * speedbar.el (speedbar-supported-extension-expressions):
7996 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7998 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
8000 * printing.el (pr-mode-alist):
8001 * simple.el (filter-buffer-substring-functions)
8002 (completion-list-insert-choice-function):
8003 * window.el (window-with-parameter, window-atom-root)
8004 (window-sides-slots, window-size-fixed, window-min-delta)
8005 (window-max-delta, window--resize-mini-window)
8006 (window--resize-child-windows-normal, window-tree)
8007 (delete-other-windows, quit-window, split-window)
8008 (display-buffer-record-window, special-display-buffer-names)
8009 (special-display-regexps, special-display-popup-frame)
8010 (same-window-p, split-window-sensibly)
8011 (display-buffer-overriding-action, display-buffer-alist)
8012 (display-buffer-base-action, display-buffer, switch-to-buffer)
8013 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8014 (fit-window-to-buffer, recenter-positions)
8015 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8016 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8017 and remove unneeded backslashes in docstrings.
8019 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8021 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8023 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8024 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8026 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8027 when reading the makefile (bug#10116).
8029 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8031 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8034 2011-12-06 Glenn Morris <rgm@gnu.org>
8036 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8038 2011-12-06 Chong Yidong <cyd@gnu.org>
8040 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8042 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
8044 * textmodes/table.el (table-shorten-cell): Fix typo.
8046 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8048 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8050 2011-12-05 Eli Zaretskii <eliz@gnu.org>
8052 * descr-text.el (describe-char): Fix display of strong
8053 right-to-left characters and directional embeddings and overrides.
8055 * simple.el (what-cursor-position): Fix display of codepoints of
8056 strong right-to-left characters.
8058 2011-12-05 Chong Yidong <cyd@gnu.org>
8060 * faces.el (read-color): Doc fix.
8062 2011-12-05 Glenn Morris <rgm@gnu.org>
8064 * align.el (align--set-marker): Add doc-string.
8065 Don't try to move something that is not a marker. (Bug#10216)
8067 2011-12-04 Glenn Morris <rgm@gnu.org>
8069 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8070 overly zealous deletion of trailing whitespace.
8072 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
8074 * server.el (server-delete-client): On Windows, do not try to delete
8076 (server-process-filter): On Windows, treat requests for a tty frame as
8077 if they were for a GUI frame if the running server is in GUI mode.
8079 2011-12-03 Glenn Morris <rgm@gnu.org>
8081 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8083 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8085 * electric.el: Streamline electric-indent's hook.
8086 (electric-indent-chars): Revert to simple list.
8087 (electric-indent-functions): New var.
8088 (electric-indent-post-self-insert-function): Use it.
8090 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8091 there's no inferior buffer (bug#10196).
8092 (prolog-consult-compile): Don't use toggle-read-only.
8094 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
8096 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8097 interrupt. (Bug#10187)
8099 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8101 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8104 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8107 2011-12-02 Juri Linkov <juri@jurta.org>
8109 * info.el (Info-search): Display "end of manual" when Isearch
8110 reaches the end of single-file Info manual. (Bug#9918)
8112 2011-12-02 Eli Zaretskii <eliz@gnu.org>
8114 * isearch.el (isearch-message-prefix): Run the input method part
8115 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8117 2011-12-02 Juri Linkov <juri@jurta.org>
8119 * isearch.el (isearch-occur): Use `word-search-regexp' for
8121 (isearch-search-and-update): Add condition for `isearch-word' and
8122 call `word-search-regexp'. (Bug#10145)
8124 2011-12-01 Glenn Morris <rgm@gnu.org>
8126 * eshell/em-hist.el (eshell-hist-initialize):
8127 Handle eshell-history-size nil and HISTSIZE set or unset.
8128 (eshell-history-file-name, eshell-history-size): Fix custom type.
8130 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8132 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8134 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
8136 * progmodes/verilog-mode.el (verilog-pretty-expr):
8137 Rework verilog-pretty-expr to handle new assignment operators in system
8138 verilog, such as += *= and the like.
8139 (verilog-assignment-operator-re): Regular expression to find the
8140 assigment operator in a verilog assignment.
8141 (verilog-assignment-operation-re): Regular expression to find an
8142 assignment statement for pretty-expr.
8143 (verilog-in-attribute-p): Query returns true if point is in an
8144 attribute context; used to skip these for expression line up from
8146 (verilog-in-parameter-p): Query returns true if point is in an
8147 parameter definition context; used to skip these for expression
8148 line up from pretty-expr.
8149 (verilog-in-parenthesis-p): Query returns true if point is in a
8150 parenthetical expression, specifically ( ) but not [ ] or { };
8151 used by pretty-expr.
8152 (verilog-just-one-space): If there is no space, don't add one.
8153 (verilog-get-lineup-indent-2): Specifically skip just attribute
8154 contexts for expression lineup, rather than skipping all
8155 parenthetical expressions.
8156 (verilog-calculate-indent): Fix comment, and fix indent.
8157 (verilog-do-indent): Indent declarations in lists (suggested by
8159 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8161 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8164 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
8166 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8167 parameters with embedded comments. Reported by Ray Stevens.
8168 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8169 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8170 Reported by Tim Holt.
8171 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8172 instantiated by upper module causing wrong expansion until AUTOed a
8173 second time. Reported by K C Buckenmaier.
8174 (verilog-diff-auto): Fix showing .* as a difference when
8175 `verilog-auto-star-save' off. Reported by Dan Dever.
8176 (verilog-auto-reset, verilog-read-always-signals)
8177 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8178 temporary signals in reset list if
8179 verilog-auto-reset-blocking-in-non is nil, and match assignment
8180 style to each signal's assignment type, bug381.
8181 Reported by Thomas Esposito.
8182 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8183 (verilog-uvm-statement-re): Support UVM indentation and
8184 highlighting, with old OVM keywords only.
8185 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
8186 Support AUTOTIEOFF creating non-wire data types.
8187 Suggested by Jonathan Greenlaw.
8188 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8189 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8190 (verilog-inject-sense, verilog-read-inst-pins)
8191 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8192 Fix mismatching parenthesis inside commented out code when deleting
8193 AUTOINST, bug383. Reported by Jonathan Greenlaw.
8194 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8195 non-numeric vector width. Reported by Alex Reed.
8196 (verilog-auto-ascii-enum): Add "onehot" option to work around not
8197 detecting signals with parameter widths. Reported by Alex Reed.
8198 (verilog-auto-delete-trailing-whitespace):
8199 With `verilog-auto-delete-trailing-whitespace' remove trailing
8200 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8201 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8202 Fix verilog-scan-cache corruption when running user AUTO expansion
8203 hooks that call indentation routines.
8204 (verilog-simplify-range-expression): Fix typo ignoring lower case
8206 (verilog-delete-auto): Fix delete-autos to also remove user created
8207 automatics, as long as they start with AUTO.
8208 (verilog-batch-diff-auto, verilog-diff-auto)
8209 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8210 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8211 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8212 (verilog-in-paren-quick, verilog-re-search-backward-quick)
8213 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8214 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
8215 is disabled and its cache will get corrupt, causing AUTOS not to
8216 expand. Instead use only -quick functions.
8217 (verilog-scan-region): Fix scanning over escaped quotes.
8218 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8219 (verilog-re-search-backward-quick)
8220 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8221 related functions now ignore strings, to fix misparsing of strings
8222 with magic comments embedded in them.
8223 (verilog-read-auto-template):
8224 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8225 Reported by Brad Dobbie.
8226 (verilog-read-auto-template):
8227 Fix 'verilog-auto-inst-template-numbers' with comments.
8228 Reported by Brad Dobbie.
8229 (verilog-auto-inst, verilog-auto-inst-param)
8230 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8231 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8232 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
8233 debugging templates without merge conflicts, bug357.
8234 Reported by Brad Dobbie.
8235 (verilog-read-auto-template):
8236 Fix verilog-auto-inst-template-numbers with multiple templates.
8237 Reported by Brad Dobbie.
8238 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8239 abbrevs so user won't be asked to save.
8240 (verilog-read-auto-lisp-present): Fix to start at beginning of
8241 buffer in case called outside of verilog-auto.
8242 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8243 to "X-2". Reported by Matthew Myers.
8244 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8245 all inputs from module templates. Reported by Leith Johnson.
8246 (verilog-module-inside-filename-p): Fix locating programs as with
8248 (verilog-auto-inst-port): Fix vl-width expressions when using
8249 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8250 (verilog-decls-get-regs, verilog-decls-get-signals,
8251 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8252 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8253 verilog-read-decls): Combine reg and wire structures into one var
8254 structure to represent SystemVerilog concepts.
8255 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8256 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
8257 (verilog-auto-wire-type, verilog-insert-definition):
8258 Add verilog-auto-wire-type and AUTOLOGIC to support using
8259 SystemVerilog "logic" keyword instead of "wire"/"reg".
8260 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8261 to declares outputs that also have assignments (presumably in an
8262 ifdef or generate if so there's not a driver conflict).
8263 Reported by Matthew Myers.
8264 (verilog-auto-declare-nettype, verilog-insert-definition):
8265 Add verilog-auto-declare-nettype to fix declarations using
8266 `default_nettype none. Reported by Julian Gorfajn.
8267 (verilog-read-always-signals-recurse, verilog-read-decls)
8268 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8269 malformed end statement, bug325. Reported by Joshua Wise and
8271 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8272 (verilog-inst-comment-re): Fix not deleting Interfaced comment
8273 when expanding .* in interfaces, bug320.
8274 Reported by Pierre-David Pfister.
8275 (verilog-read-module-name): Fix import statements between module
8276 name and open parenthesis, bug317.
8277 Reported by Pierre-David Pfister.
8278 (verilog-simplify-range-expression): Fix simplification of
8279 multiplications inside AUTOWIRE connections, bug303.
8280 (verilog-auto-inst-port): Support parameter expansion in
8281 multidimensional arrays.
8282 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8283 after "assert property". Reported by Julian Gorfajn.
8284 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8285 with multiplication, bug303.
8286 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8287 Reported by Jan Frode Lonnum.
8289 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
8291 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8292 (hfy-shell-file-name, hfy-shell):
8293 * international/fontset.el (x-decompose-font-name): Fix typos.
8295 2011-11-29 Ken Brown <kbrown@cornell.edu>
8297 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8298 (gdb-version): Remove defvar.
8299 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8300 (gdb-gud-context-command, gdb-non-stop-handler)
8301 (gdb-current-context-command, gdb-stopped): Use it.
8302 (gdb-init-1): Enable pretty printing here.
8303 (gdb-non-stop-handler): Don't enable pretty-printing here.
8304 Check to see if the target supports non-stop mode; if not, turn off
8305 non-stop mode. Use the following.
8306 (gdb-check-target-async): New defun.
8307 (gud-watch, gdb-stopped): Fix whitespace.
8308 (gdb-get-source-file): Don't try to display the source file if
8309 `gdb-main-file' is nil.
8311 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8313 * align.el: Try to generate fewer markers (bug#10047).
8314 (align--set-marker): New macro.
8315 (align-region): Use it.
8317 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8319 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8321 2011-11-29 Chong Yidong <cyd@gnu.org>
8323 * indent.el (indent-for-tab-command, indent-according-to-mode):
8325 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8327 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
8329 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8330 aware of remote file names. (Bug#10124)
8332 2011-11-29 Chong Yidong <cyd@gnu.org>
8334 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8336 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8338 * files.el (find-file): Don't use force-same-window (bug#10144).
8339 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8340 use pop-to-buffer if the selected window can't be used.
8341 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8343 2011-11-28 Eli Zaretskii <eliz@gnu.org>
8345 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8348 2011-11-28 Chong Yidong <cyd@gnu.org>
8350 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8352 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
8354 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8355 gdb-get-source-file-list on gdb-create-source-file-list.
8357 2011-11-26 Eli Zaretskii <eliz@gnu.org>
8359 * whitespace.el (whitespace-newline): Use a different foreground
8360 color for 16-color light-background displays.
8362 2011-11-24 Chong Yidong <cyd@gnu.org>
8364 * window.el (display-buffer--special-action): Doc fix.
8366 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
8368 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8369 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8370 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8371 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8372 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8373 (avl-tree-stack-first):
8374 * emacs-lisp/cconv.el (cconv--analyse-use):
8375 * net/gnutls.el (gnutls-negotiate): Fix typos.
8377 2011-11-24 Glenn Morris <rgm@gnu.org>
8379 * lpr.el (lpr-windows-system, lpr-lp-system):
8380 * mail/binhex.el (binhex-begin-line):
8381 * progmodes/grep.el (grep-history, grep-find-history):
8382 * textmodes/flyspell.el:
8383 * vc/pcvs-defs.el (cvs-global-menu):
8384 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8385 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8386 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8388 * net/tls.el: Fix case of "GnuTLS".
8390 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8392 * version.el (emacs-build-system): Give it a doc-string.
8394 2011-11-24 Juri Linkov <juri@jurta.org>
8396 * view.el (view-buffer): Revert revno:105285 from 2011-07-19 (bug#8615).
8398 2011-11-24 Glenn Morris <rgm@gnu.org>
8400 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8401 if called on a non-mime message just toggle the headers. (Bug#8006)
8403 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
8405 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8406 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8407 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8408 (allout-rebullet-heading, allout-open-sibtopic)
8409 (allout-toggle-current-subtree-encryption)
8410 (allout-toggle-subtree-encryption, allout-encrypt-string)
8411 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8412 (allout-distinctive-bullets-string, allout-auto-activation):
8413 * window.el (window-normalize-buffer-to-display):
8414 * progmodes/verilog-mode.el (verilog-batch-indent):
8415 * textmodes/bibtex.el (bibtex-field-braces-opt)
8416 (bibtex-field-strings-opt):
8417 * vc/cvs-status.el (cvs-tree-merge):
8420 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
8422 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8423 `non-essential' to t, in order to avoid remote connections.
8425 2011-11-23 Eli Zaretskii <eliz@gnu.org>
8427 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8428 On MS-DOS and MS-Windows, compare with loaddefs.el
8431 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8433 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8435 2011-11-23 Glenn Morris <rgm@gnu.org>
8437 * paths.el (rmail-file-name): Reformat the doc-string so that it
8440 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8441 (rmail-auto-file): Ignore case in the "special" field names,
8442 as mail-fetch-field does for all others.
8444 * mail/rmail.el (rmail-forward):
8445 * mail/rmailkwd.el (rmail-set-label):
8446 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8447 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8449 * mail/rmail.el (rmail-current-message): Doc fix.
8451 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8453 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8455 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8457 2011-11-22 Glenn Morris <rgm@gnu.org>
8459 * mail/rmailmm.el (test-rmail-mime-handler)
8460 (test-rmail-mime-bulk-handler)
8461 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8463 2011-11-21 Juri Linkov <juri@jurta.org>
8465 * calc/calc.el (calc-read-key-sequence):
8466 Let-bind `input-method-function' to nil. (Bug#10018)
8468 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8470 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8471 Tell the caller that the next line needs recomputation, even
8472 though it doesn't start a sexp (bug#10094).
8474 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8476 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8478 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8480 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8481 Use force-same-window.
8483 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
8485 * descr-text.el (describe-char-unicode-data):
8486 * json.el (json-string-escape):
8487 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8488 (Footnote-unicode, Footnote-style-p):
8489 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8491 2011-11-20 Chong Yidong <cyd@gnu.org>
8493 * window.el (replace-buffer-in-windows): Restore interactive spec.
8495 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8497 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8499 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8500 (byte-compile-global-not-obsolete-vars): New var.
8501 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8503 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8505 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
8507 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8508 * progmodes/pascal.el (electric-pascal-equal):
8509 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8510 * xml.el (xml-substitute-special): Fix typos.
8512 2011-11-20 Glenn Morris <rgm@gnu.org>
8514 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8515 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8517 (rmail-decode-mime-charset): Mark as obsolete.
8519 * mail/rmailsum.el (rmail-message-regexp-p-1):
8520 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8521 Before using mime functions, check they are set. (Bug#10077)
8523 2011-11-19 Juri Linkov <juri@jurta.org>
8525 * info.el (Info-finder-find-node): Use `package--builtins' instead
8526 of `package-alist'. Use node names formed by the pattern "Keyword "
8527 and the keyword name.
8529 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8531 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
8533 2011-11-19 Juri Linkov <juri@jurta.org>
8535 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8536 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8537 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8538 `old-history', `old-history-forward'. Add let-binding
8539 `window-selected'. Remove calls to `kill-buffer',
8540 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8541 before calling `Info-find-node', so `Info-find-node-2' will reread
8542 the Info file. Restore window positions only when `window-selected'
8545 2011-11-19 Juri Linkov <juri@jurta.org>
8547 * isearch.el (isearch-lazy-highlight-new-loop):
8548 Remove condition `(not isearch-error)'. (Bug#9918)
8550 * misearch.el (multi-isearch-search-fun): Add condition
8551 `(not bound)' to ignore lazy-highlighting search.
8552 Add the search-failed message "end of multi" when the end of
8553 multi-sequence is reached. Uncapitalize the search-failed
8554 message "Repeat for next buffer".
8556 * info.el (Info-search): Add the search-failed message
8557 "end of the manual" when the end of the manual is reached
8560 2011-11-19 Juri Linkov <juri@jurta.org>
8562 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8563 Use non-destructive `remove' instead of `delete' because
8564 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8565 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8567 2011-11-19 Juri Linkov <juri@jurta.org>
8569 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8570 to nil instead of binding `search-ring' and `regexp-search-ring'.
8573 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8575 * simple.el (line-move): Force movement by logical lines for any
8576 hscrolled window, not only when auto-hscroll-mode is on.
8577 (line-move-visual): Update doc string to that effect. (Bug#10076)
8579 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8581 * language/european.el (macintosh): Define as alias for mac-roman.
8583 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8585 * mail/rmailmm.el (rmail-mime-display-header)
8586 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8587 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8588 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8589 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8590 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8592 (rmail-mime-entity-segment): To get past the tagline, move forward
8593 2 more lines, to account for the 2 empty lines that precede and
8594 follow the line with the buttons.
8595 (rmail-mime-update-tagline): Move one more line, to get past the
8596 empty line that follows the buttons in the tagline. (Bug#9520)
8598 2011-11-19 Martin Rudalics <rudalics@gmx.at>
8600 * window.el (window-max-delta-1, window-min-delta-1)
8601 (window-min-size-1, window-state-get-1, window-state-put-1)
8602 (window-state-put-2): Use "window--" prefix.
8604 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8606 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8607 (smie-warning-count): New var.
8608 (smie-set-prec2tab): Use it.
8609 (smie-bnf->prec2): Improve warnings. Add docstring.
8610 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8611 (smie-bnf--set-class): New function.
8612 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8615 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8616 (compilation-error-properties, compilation-move-to-column):
8617 Handle compilation-first-column while in the target buffer.
8619 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8620 Don't hardcode point-min==1.
8622 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8623 (eshell-rewrite-for-command): Remove workaround.
8624 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8625 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8626 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8628 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8630 2011-11-17 Glenn Morris <rgm@gnu.org>
8632 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8633 Ignore buffer-local generated-autoload-file if it is the same
8634 as the global value. (Bug#10049)
8636 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
8638 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8639 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8640 (reftex-toc-previous-heading, reftex-toc-max-level)
8641 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8642 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8643 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8644 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8645 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8646 (reftex-toc-rename-label, reftex-toc-visit-location)
8647 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8648 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8649 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8650 leaving "*toc*" only for references to the buffer.
8652 2011-11-17 Martin Rudalics <rudalics@gmx.at>
8654 * window.el (window-resize, delete-window, split-window):
8655 Replace window-splits by window-combination-resize.
8656 * cus-start.el (window-splits): Replace by window-combination-resize.
8658 2011-11-17 Glenn Morris <rgm@gnu.org>
8660 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8661 Make bash entry derive from sh entry, not shell entry.
8663 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
8665 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8668 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8670 * menu-bar.el (menu-bar-file-menu):
8671 * printing.el (pr-ps-utility):
8672 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8673 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8674 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8675 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8676 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8677 (icalendar--convert-cyclic-to-ical)
8678 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8679 (icalendar--convert-ical-to-diary)
8680 (icalendar--convert-recurring-to-diary)
8681 (icalendar--convert-non-recurring-all-day-to-diary)
8682 (icalendar-import-format-sample):
8683 * progmodes/idlw-shell.el (idlwave-shell-mode):
8684 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8685 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8686 (vhdl-ps-print-init): Fix typos.
8688 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8690 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8691 FSF and collapse date sequence, obscure author/maintainer email address
8692 better, remove extra version line, track relocation of author's webpage.
8694 * progmodes/python.el (python-pdbtrack-input-prompt)
8695 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8696 regular python pdb prompts. Adjustments shamelessly taken exactly as
8697 suggested in EmacsWiki page (tiny change):
8698 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8700 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8702 * expand.el (expand-pos, expand-index, expand-point):
8703 Remove redundant info from docstring.
8704 (expand-add-abbrevs): Doc fix.
8705 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8706 (expand-sample-perl-mode-expand-list): Fix typos.
8708 * net/dbus.el (dbus-event-member-name):
8709 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8710 * term/pc-win.el (msdos-create-frame-with-faces):
8711 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8713 2011-11-16 Martin Rudalics <rudalics@gmx.at>
8715 * window.el (split-window, window-state-get-1)
8716 (window-state-put-1, window-state-put-2): Rename occurrences of
8717 window-nest to window-combination-limit.
8718 * cus-start.el (window-nest): Rename to window-combination-limit.
8720 2011-11-16 Chong Yidong <cyd@gnu.org>
8722 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8725 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8727 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8728 `completing-read' will remove *Completions* and will preserve
8729 current-buffer for us.
8730 (tmm-add-prompt): Users of *Completions* will always (re)set its
8732 (tmm-old-comp-map): Remove.
8734 2011-11-16 Glenn Morris <rgm@gnu.org>
8736 * mail/rmailedit.el: Require rmailmm when compiling.
8737 (rmail-old-mime-state): New declaration.
8738 (rmail-edit-current-message): If editing a mime message,
8739 edit the "raw" message from the mbox buffer.
8740 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8742 2011-11-15 Glenn Morris <rgm@gnu.org>
8744 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8745 which wasn't being used. Add optional arg to force given state.
8746 (rmail-mime): Add optional arg to force given state.
8748 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8750 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8751 * frame.el (display-mm-dimensions-alist):
8752 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8753 (outline-move-subtree-down):
8754 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8755 (newsticker--treeview-do-get-node):
8756 * net/quickurl.el (quickurl-list-buffer-name):
8757 * progmodes/dcl-mode.el (dcl-mode):
8758 * progmodes/gdb-mi.el (gdb-mapcar*):
8759 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8761 2011-11-15 Glenn Morris <rgm@gnu.org>
8763 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8764 in a boolean sense, so just make it a boolean, and fix the doc.
8765 (rmail-show-mime-function, rmail-mime-feature)
8766 (rmail-require-mime-maybe): Doc fixes.
8767 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8769 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8771 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8773 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8774 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8775 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8776 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8778 2011-11-15 Glenn Morris <rgm@gnu.org>
8780 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8781 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8782 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8783 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8784 (rmail-mime, rmail-show-mime): Doc fixes.
8786 * term/ns-win.el (mode-line-frame-identification):
8787 Leave it alone. (Bug#10051)
8789 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8791 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8792 Handle empty buffers. (Bug#9978)
8794 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
8796 * international/mule.el (define-charset):
8797 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8798 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8799 * progmodes/verilog-mode.el (verilog-backward-token):
8800 * textmodes/ispell.el (lookup-words):
8801 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8803 2011-11-14 Glenn Morris <rgm@gnu.org>
8805 * progmodes/executable.el
8806 (executable-make-buffer-file-executable-if-script-p):
8807 Handle file-modes returning nil.
8809 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8810 message - not necessary, and causes problems. (Bug#9831)
8812 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8814 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8816 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8817 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8818 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8820 2011-11-12 Martin Rudalics <rudalics@gmx.at>
8822 * window.el (window-resize, delete-window): Use window-splits
8823 variable instead of function.
8824 (window-state-get-1, window-state-put-2, window-state-put):
8825 Don't deal with windows' splits status.
8827 2011-11-12 Glenn Morris <rgm@gnu.org>
8829 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8830 (apropos-documentation): Doc fixes.
8832 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
8834 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8835 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8837 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8839 * electric.el (electric-indent-post-self-insert-function): Make it
8840 possible for a char to only indent in some circumstances.
8841 (electric-indent-mode): Simplify.
8843 2011-11-11 Martin Rudalics <rudalics@gmx.at>
8845 * window.el (windows-with-parameter): Remove unused function.
8846 (windows-at-side): Rename to window-at-side-list.
8847 (window-check, window-atom-check, window-atom-check-1)
8848 (window-side-check, window-size-ignore, window-size-fixed-1)
8849 (window-in-direction-2): Prefix with "window--".
8850 (window-tree-1): Rename to window--subtree, fix doc-string.
8852 2011-11-11 Glenn Morris <rgm@gnu.org>
8854 * subr.el (eval-after-load): If FILE is already loaded,
8855 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8857 2011-11-10 Glenn Morris <rgm@gnu.org>
8859 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8860 Call svn via vc-svn-command rather than vc-do-command.
8861 (vc-svn-command): Add --non-interactive. (Bug#9993)
8862 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8864 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8865 Add toggle-read-only. (Bug#7292)
8866 * files.el (toggle-read-only): Mention that it should only
8867 be used interactively. (Bug#10006)
8869 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8871 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8872 Adjust regexp for OCaml warnings.
8874 * electric.el (electric-pair-post-self-insert-function): Let user
8875 turn it off buffer-locally (bug#9932).
8877 * progmodes/python.el (python-beginning-of-statement):
8880 * progmodes/compile.el: Better handle TABs (bug#9749).
8881 (compilation-internal-error-properties)
8882 (compilation-next-error-function): Obey the target buffer's
8883 compilation-error-screen-columns.
8885 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
8887 * progmodes/meta-mode.el: Remove obsolete comments.
8888 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8889 Fix typos in docstrings.
8891 2011-11-09 Martin Rudalics <rudalics@gmx.at>
8893 * window.el (window-size-fixed-p): Rewrite doc-string.
8894 (window-resizable-p): Rename to window--resizable-p. Update callers.
8895 (window--resizable): New function. Make all callers of
8896 window-resizable call window--resizable instead.
8897 (window-resizable): Rewrite in terms of window--resizable.
8899 2011-11-08 Glenn Morris <rgm@gnu.org>
8901 * progmodes/delphi.el (delphi-mode-syntax-table):
8902 Let define-derived-mode define a proper syntax table. (Bug#9994)
8904 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8906 * window.el: Stay away from defsubst.
8907 (window-list-no-nils): Remove.
8908 (window-state-get-1, window-state-get): Use backquote instead.
8910 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8912 * emacs-lisp/find-func.el (find-function-read):
8913 Fix incorrect use of default argument in `completing-read'.
8915 2011-11-08 Martin Rudalics <rudalics@gmx.at>
8917 * window.el (display-buffer-function, special-display-function):
8918 Mention display-buffer-record-window but do not mention
8919 help-setup parameter in doc-strings.
8920 (window-min-delta): Fix doc-string typo.
8922 2011-11-08 Chong Yidong <cyd@gnu.org>
8924 * window.el (window-total-height, window-total-width): Doc fix.
8925 (window-body-size): Move from C.
8926 (window-body-height, window-body-width): Move to C.
8928 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8930 * window.el: Make special-display like display-buffer-alist (bug#9532).
8931 (display-buffer--special-action): New function, morphed
8932 from display-buffer--special.
8933 (display-buffer): Use it to handle special-display-buffers at higher
8934 priority (just after display-buffer-alist).
8935 (display-buffer-fallback-action, display-buffer--other-frame-action)
8936 (pop-to-buffer-same-window): Remove display-buffer--special.
8938 2011-11-07 Glenn Morris <rgm@gnu.org>
8940 * calendar/cal-menu.el (cal-menu-set-date-title):
8941 Do nothing if not in a calendar. (Bug#9976)
8943 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8945 * files.el (find-file): Always use selected-window.
8947 2011-11-07 Martin Rudalics <rudalics@gmx.at>
8949 * window.el (window-combinations): Make WINDOW argument
8950 mandatory. Rewrite doc-string.
8951 (walk-window-subtree, window-atom-check, window-min-delta)
8952 (window-max-delta, window--resize-this-window)
8953 (window--resize-root-window-vertically, window-tree)
8954 (balance-windows, window-state-put): Rewrite doc-strings as to
8955 not mention the term "subwindow".
8956 (window--resize-subwindows-skip-p): Rename to
8957 window--resize-child-windows-skip-p.
8958 (window--resize-subwindows-normal): Rename to
8959 window--resize-child-windows-normal.
8960 (window--resize-subwindows): Rename to
8961 window--resize-child-windows.
8962 (window-or-subwindow-p): Rename to window--in-subtree-p.
8964 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8966 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8967 Ensure that mbox format messages end in two newlines (Bug#9974).
8969 2011-11-06 Chong Yidong <cyd@gnu.org>
8971 * window.el (window-combination-p): Function deleted; its
8972 side-effect is not used in any existing code.
8973 (window-combinations, window-combined-p): Call window-*-child
8976 2011-11-05 Chong Yidong <cyd@gnu.org>
8978 * window.el (window-valid-p): Rename from window-any-p.
8979 (window-size-ignore, window-state-get): Callers changed.
8980 (window-normalize-window): Rename from window-normalize-any-window.
8981 New arg LIVE-ONLY, replacing window-normalize-live-window.
8982 (window-normalize-live-window): Delete.
8983 (window-combination-p, window-combined-p, window-combinations)
8984 (walk-window-subtree, window-atom-root, window-min-size)
8985 (window-sizable, window-sizable-p, window-size-fixed-p)
8986 (window-min-delta, window-max-delta, window-resizable)
8987 (window-resizable-p, window-full-height-p, window-full-width-p)
8988 (window-current-scroll-bars, window-point-1, set-window-point-1)
8989 (window-at-side-p, window-in-direction, window-resize)
8990 (adjust-window-trailing-edge, maximize-window, minimize-window)
8991 (window-deletable-p, delete-window, delete-other-windows)
8992 (record-window-buffer, unrecord-window-buffer)
8993 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8994 (quit-window, split-window, window-state-put)
8995 (set-window-text-height, fit-window-to-buffer)
8996 (shrink-window-if-larger-than-buffer): Callers changed.
8998 2011-11-04 Eli Zaretskii <eliz@gnu.org>
9000 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9001 rfc2047-decode-string.
9002 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9005 * window.el (window-body-height, window-body-width): Mention in
9006 the doc string that the return values are in frame's canonical
9009 2011-11-03 Alan Mackenzie <acm@muc.de>
9011 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9012 change in cc-engine.el.
9014 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9016 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9018 2011-11-02 Martin Rudalics <rudalics@gmx.at>
9020 * window.el (quit-window): Call unrecord-window-buffer after
9021 showing another buffer in the window. (Bug#9937)
9022 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
9024 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
9026 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9027 Accept status with more than 9 shelves. (Bug#9935)
9028 Reported by Colin D Bennett <colin@gibibit.com>.
9030 2011-11-01 Martin Rudalics <rudalics@gmx.at>
9032 * help.el (with-help-window): Don't reference
9033 temp-buffer-show-specifiers in doc-string.
9035 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9037 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9040 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9042 * whitespace.el: New version 13.2.2.
9043 (whitespace-newline-mode): Disable properly. Reported by Sarah
9046 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
9048 * net/newst-treeview.el: Remove "Time-stamp".
9049 (newsticker--group-manage-orphan-feeds): Do not call
9050 newsticker--treeview-tree-update.
9051 (newsticker-treeview-update, newsticker-treeview):
9052 Call newsticker--treeview-tree-update if necessary.
9054 2011-10-30 Martin Rudalics <rudalics@gmx.at>
9056 * window.el (window-iso-combination-p, window-iso-combined-p)
9057 (window-iso-combinations): Remove "iso-" infix.
9058 Suggested by Chong Yidong.
9059 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9060 (window-max-delta-1, window-resize, window--resize-siblings)
9061 (window--resize-this-window, adjust-window-trailing-edge)
9062 (split-window, balance-windows-1)
9063 (shrink-window-if-larger-than-buffer):
9064 * calendar/calendar.el (calendar-generate-window):
9065 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
9067 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9069 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9070 in place (bug#9907).
9071 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9072 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9073 (eshell-structure-basic-command, eshell-rewrite-while-command)
9074 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9075 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9076 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9077 (eshell-do-pipelines-synchronously, eshell-eval-command):
9078 Use backquotes and prefer setq to set.
9079 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9080 (eshell-macrop): Use functionp.
9081 (eshell-do-eval): Handle multiple expressions in `while' body.
9083 2011-10-30 Chong Yidong <cyd@gnu.org>
9085 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9086 instead of set-mark (Bug#9810).
9088 2011-10-30 Chong Yidong <cyd@gnu.org>
9090 * window.el (split-window-below, split-window-right): Rename from
9091 split-window-above-each-other and split-window-side-by-side
9092 respectively. All callers changed.
9093 (split-window-sensibly, split-window-sensibly): Use them.
9094 (split-window-keep-point): Doc fix.
9096 * isearch.el: Add isearch-scroll property to split-window-below
9097 and split-window-right.
9099 * follow.el (follow-mode):
9100 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9101 * progmodes/ada-xref.el (ada-gdb-application):
9102 * emulation/vip.el (vip-buffer-in-two-windows):
9103 * image-dired.el (image-dired-dired-with-window-configuration):
9104 * dired-x.el (dired-do-find-marked-files):
9105 * dired.el (dired-pop-to-buffer):
9106 * bs.el (bs--show-with-configuration):
9107 * vc/emerge.el (emerge-setup-windows):
9108 * textmodes/two-column.el (2C-two-columns):
9109 * textmodes/reftex-toc.el (reftex-toc):
9110 * progmodes/gdb-mi.el (gdb-setup-windows):
9111 * progmodes/fortran.el (fortran-window-create):
9112 * net/newst-treeview.el (newsticker--treeview-window-init):
9113 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9114 * emulation/tpu-edt.el (tpu-gold-map):
9115 * emulation/crisp.el (crisp-mode-map):
9116 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9118 2011-10-29 Chong Yidong <cyd@gnu.org>
9120 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9122 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9124 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9125 forged Ispell output (Bug#7904).
9127 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9129 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9131 * doc-view.el: Avoid ugly errors about not finding nil.
9132 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9133 (doc-view-dvipdf-program, doc-view-unoconv-program)
9134 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9135 Avoid nil or absolute file name as default value.
9136 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9138 2011-10-28 Alan Mackenzie <acm@muc.de>
9140 * progmodes/cc-defs.el (c-version): -> 5.32.2.
9142 2011-10-28 Alan Mackenzie <acm@muc.de>
9144 Amend the handling of c-beginning/end-of-defun in nested declaration
9147 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9148 cc-langs.el. Change it to a defcustom.
9150 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9153 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9154 Prevent "class foo : bar" being spuriously recognized as a label.
9156 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
9157 Add parameter `inclusive' (to include enclosing braces in the region).
9158 (c-widen-to-enclosing-decl-scope): New function.
9159 (c-while-widening-to-decl-block): New macro.
9160 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9161 outward for defun boundaries, and correspondingly change symbol
9162 `respect-enclosure' to `go-outward'.
9163 (c-declaration-limits): Change algorithm to report only the "innermost"
9166 2011-10-28 Deniz Dogan <deniz@dogan.se>
9168 * net/rcirc.el (rcirc-mode): Use hard newlines.
9170 2011-10-28 Alan Mackenzie <acm@muc.de>
9172 Amend to indent and fontify macros "which include their own semicolon"
9173 correctly, using the "virtual semicolon" mechanism.
9175 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
9177 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
9178 Recode to scan one line at a time rather than having \n and \r
9179 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
9180 (c-forward-label): Amend for virtual semicolons.
9181 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
9183 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9184 of the new C macros.
9186 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
9187 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9188 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
9189 (c-opt-cpp-macro-define): Make into a full language variable.
9190 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9191 AWK Mode (including \n, \r) removed, no longer needed.
9193 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9194 Invoke c-make-macro-with-semi-re.
9196 * progmodes/cc-vars.el (c-macro-with-semi-re):
9197 (c-macro-names-with-semicolon): New variables.
9198 (c-make-macro-with-semi-re): New function.
9200 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9202 * vc/log-edit.el: Fill empty field rather than adding new one.
9203 (log-edit-add-field): New function.
9204 (log-edit-insert-changelog): Use it.
9206 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9208 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9210 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9212 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9213 (gdb--check-interpreter): New function.
9216 2011-10-27 Glenn Morris <rgm@gnu.org>
9218 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9219 (least-positive-float, least-negative-float)
9220 (least-positive-normalized-float, least-negative-normalized-float)
9221 (float-epsilon, float-negative-epsilon):
9222 Remove unnecessary declarations.
9224 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9225 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9226 (least-positive-float, least-negative-float)
9227 (least-positive-normalized-float, least-negative-normalized-float)
9228 (float-epsilon, float-negative-epsilon): Add doc-strings,
9229 based on those in cl.texi.
9231 * files.el (set-visited-file-name): If the major-mode changed,
9232 reload the local variables. (Bug#9796)
9234 2011-10-27 Chong Yidong <cyd@gnu.org>
9236 * subr.el (change-major-mode-after-body-hook): New hook.
9237 (run-mode-hooks): Run it.
9239 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9240 Use change-major-mode-before-body-hook.
9242 * simple.el (fundamental-mode):
9243 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9244 change introducing fundamental-mode-hook.
9246 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
9248 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
9250 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
9252 * ido.el (ido-file-name-all-completions-1): Do not require
9253 tramp.el explicitly. (Bug#7583)
9255 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9257 * progmodes/octave-mod.el:
9258 * progmodes/octave-inf.el: Update maintainer.
9260 2011-10-26 Chong Yidong <cyd@gnu.org>
9262 * subr.el (with-wrapper-hook): Rewrite doc.
9264 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
9266 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
9267 filenames "/method:foo:". (Bug#9793)
9269 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9271 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9274 2011-10-24 Glenn Morris <rgm@gnu.org>
9276 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9278 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
9280 * notifications.el: Add the requirement of a running D-Bus session
9281 bus to the Commentary.
9283 2011-10-24 Juri Linkov <juri@jurta.org>
9285 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9286 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9289 2011-10-24 Juri Linkov <juri@jurta.org>
9291 * info.el (Info-following-node-name-re): Add newline to the list
9292 of allowed characters for leading space. (Bug#9824)
9294 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9296 * progmodes/octave-inf.el (inferior-octave-mode-map):
9297 Fix C-c C-h binding.
9298 * progmodes/octave-mod.el (octave-help): Remove.
9300 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
9302 Sync with Tramp 2.2.3.
9304 * net/tramp-cache.el (top): Pacify byte-compiler using
9305 `init-file-user' and `site-run-file'.
9307 * net/trampver.el: Update release number.
9309 2011-10-23 Chong Yidong <cyd@gnu.org>
9311 * files.el (toggle-read-only): Remove obsolete comment about
9314 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9315 for toggle-read-only. Note that this hasn't called vc-next-action
9316 since 2008-05-02, though it wasn't documented at the time.
9318 * vc/ediff-init.el (ediff-toggle-read-only-function):
9319 Use toggle-read-only.
9321 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9323 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9326 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9327 correct faulty logical expression.
9328 (c-parse-state-state, c-record-parse-state-state):
9329 (c-replay-parse-state-state): New defvar/defuns.
9330 (c-debug-parse-state): Use new functions.
9332 2011-10-22 Martin Rudalics <rudalics@gmx.at>
9334 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
9335 last fix. Use window-in-direction correctly.
9337 2011-10-21 Chong Yidong <cyd@gnu.org>
9339 * progmodes/idlwave.el (idlwave-mode):
9340 * progmodes/vera-mode.el (vera-mode): No need to set
9341 require-final-newline; that's done in prog-mode.
9342 Suggested by Stefan Monnier.
9344 2011-10-21 Martin Rudalics <rudalics@gmx.at>
9346 * mouse.el (mouse-drag-window-above)
9347 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9348 (mouse-drag-mode-line-1, mouse-drag-header-line)
9349 (mouse-drag-vertical-line-rightward-window): Remove.
9350 (mouse-drag-line): New function.
9351 (mouse-drag-mode-line, mouse-drag-header-line)
9352 (mouse-drag-vertical-line): Call mouse-drag-line.
9353 * window.el (window-at-side-p, windows-at-side): New functions.
9355 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
9357 * tar-mode.el (tar-grind-file-mode):
9358 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9360 2011-10-21 Chong Yidong <cyd@gnu.org>
9362 * progmodes/idlwave.el (idlwave-mode):
9363 * progmodes/vera-mode.el (vera-mode):
9364 Use mode-require-final-newline.
9366 2011-10-20 Glenn Morris <rgm@gnu.org>
9368 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
9370 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9372 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9374 2011-10-20 Chong Yidong <cyd@gnu.org>
9376 * emulation/cua-base.el (cua-mode):
9377 * mail/footnote.el (footnote-mode):
9378 * mail/mailabbrev.el (mail-abbrevs-mode):
9379 * net/xesam.el (xesam-minor-mode):
9380 * progmodes/bug-reference.el (bug-reference-mode):
9381 * progmodes/cap-words.el (capitalized-words-mode):
9382 * progmodes/compile.el (compilation-minor-mode)
9383 (compilation-shell-minor-mode):
9384 * progmodes/gud.el (gud-tooltip-mode):
9385 * progmodes/hideif.el (hide-ifdef-mode):
9386 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9387 * progmodes/subword.el (subword-mode):
9388 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9389 * progmodes/which-func.el (which-function-mode):
9390 * term/tvi970.el (tvi970-set-keypad-mode):
9391 * term/vt100.el (vt100-wide-mode):
9392 * textmodes/flyspell.el (flyspell-mode):
9393 * textmodes/ispell.el (ispell-minor-mode):
9394 * textmodes/nroff-mode.el (nroff-electric-mode):
9395 * textmodes/paragraphs.el (use-hard-newlines):
9396 * textmodes/refill.el (refill-mode):
9397 * textmodes/reftex.el (reftex-mode):
9398 * textmodes/rst.el (rst-minor-mode):
9399 * textmodes/sgml-mode.el (html-autoview-mode)
9400 (sgml-electric-tag-pair-mode):
9401 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9402 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9403 * emulation/crisp.el (crisp-mode):
9404 * emacs-lisp/eldoc.el (eldoc-mode):
9405 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9406 minor mode behavior.
9408 2011-10-19 Juri Linkov <juri@jurta.org>
9410 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9411 the list of hard-coded chars with escape-glyph face.
9413 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9415 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9417 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
9419 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9422 2011-10-19 Glenn Morris <rgm@gnu.org>
9424 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9425 Ignore ignored files. (Bug#9726)
9427 2011-10-19 Chong Yidong <cyd@gnu.org>
9429 Doc fix for minor modes, stating that an omitted argument enables
9430 the mode unconditionally when called from Lisp.
9432 * abbrev.el (abbrev-mode):
9433 * allout.el (allout-mode):
9434 * autoinsert.el (auto-insert-mode):
9435 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9436 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9437 (global-auto-revert-mode):
9438 * battery.el (display-battery-mode):
9439 * composite.el (global-auto-composition-mode)
9440 (auto-composition-mode):
9441 * delsel.el (delete-selection-mode):
9442 * desktop.el (desktop-save-mode):
9443 * dired-x.el (dired-omit-mode):
9444 * dirtrack.el (dirtrack-mode):
9445 * doc-view.el (doc-view-minor-mode):
9446 * double.el (double-mode):
9447 * electric.el (electric-indent-mode, electric-pair-mode):
9448 * emacs-lock.el (emacs-lock-mode):
9449 * epa-hook.el (auto-encryption-mode):
9450 * follow.el (follow-mode):
9451 * font-core.el (font-lock-mode):
9452 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9453 * help.el (temp-buffer-resize-mode):
9454 * hilit-chg.el (highlight-changes-mode)
9455 (highlight-changes-visible-mode):
9456 * hi-lock.el (hi-lock-mode):
9457 * hl-line.el (hl-line-mode, global-hl-line-mode):
9458 * icomplete.el (icomplete-mode):
9459 * ido.el (ido-everywhere):
9460 * image-file.el (auto-image-file-mode):
9461 * image-mode.el (image-minor-mode):
9462 * iswitchb.el (iswitchb-mode):
9463 * jka-cmpr-hook.el (auto-compression-mode):
9464 * linum.el (linum-mode):
9465 * longlines.el (longlines-mode):
9466 * master.el (master-mode):
9467 * mb-depth.el (minibuffer-depth-indicate-mode):
9468 * menu-bar.el (menu-bar-mode):
9469 * minibuf-eldef.el (minibuffer-electric-default-mode):
9470 * mouse-sel.el (mouse-sel-mode):
9471 * msb.el (msb-mode):
9472 * mwheel.el (mouse-wheel-mode):
9473 * outline.el (outline-minor-mode):
9474 * paren.el (show-paren-mode):
9475 * recentf.el (recentf-mode):
9476 * reveal.el (reveal-mode, global-reveal-mode):
9477 * rfn-eshadow.el (file-name-shadow-mode):
9478 * ruler-mode.el (ruler-mode):
9479 * savehist.el (savehist-mode):
9480 * scroll-all.el (scroll-all-mode):
9481 * scroll-bar.el (scroll-bar-mode):
9482 * server.el (server-mode):
9483 * shell.el (shell-dirtrack-mode):
9484 * simple.el (auto-fill-mode, transient-mark-mode)
9485 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9486 (line-number-mode, column-number-mode, size-indication-mode)
9487 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9488 * strokes.el (strokes-mode):
9489 * time.el (display-time-mode):
9490 * t-mouse.el (gpm-mouse-mode):
9491 * tool-bar.el (tool-bar-mode):
9492 * tooltip.el (tooltip-mode):
9493 * type-break.el (type-break-mode-line-message-mode)
9494 (type-break-query-mode):
9495 * view.el (view-mode):
9496 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9497 (global-whitespace-mode, global-whitespace-newline-mode):
9498 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9500 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9501 Fix autogenerated docstring.
9503 2011-10-19 Juri Linkov <juri@jurta.org>
9505 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9506 by checking environment variables "DESKTOP_SESSION" and
9507 "XDG_CURRENT_DESKTOP". (Bug#9779)
9509 2011-10-19 Juri Linkov <juri@jurta.org>
9511 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9512 (browse-url-chromium-program, browse-url-chromium-arguments):
9514 (browse-url-default-browser): Check for `browse-url-chromium' and
9515 call `browse-url-chromium-program'.
9516 (browse-url-chromium): New command. (Bug#9779)
9518 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
9520 * facemenu.el (list-colors-duplicates): On Windows, detect more
9521 duplicates by assuming that only colors matching "^System" are
9522 special "system colors". (Bug#9722)
9524 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9526 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9527 to distinguish the author from the committer.
9529 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
9531 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9533 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9535 * international/mule.el (sgml-html-meta-auto-coding-function):
9536 Add support for detecting encoding in HTML5 specified only as
9537 <meta charset="UTF-8">. Implementation just makes http-equiv and
9538 content-type parts from HTML4 encoding string optional. (Bug#9716)
9540 2011-10-18 Glenn Morris <rgm@gnu.org>
9542 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9544 2011-10-18 Chong Yidong <cyd@gnu.org>
9546 * faces.el (cursor): Doc fix.
9548 2011-10-17 Chong Yidong <cyd@gnu.org>
9550 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9552 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
9554 * dirtrack.el (dirtrack): Support shell buffers with path
9555 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9557 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9559 * json.el: Bump version to 1.3 and note change in History.
9560 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9562 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9564 * comint.el (comint-insert-input, comint-send-input)
9565 (comint-get-old-input-default, comint-backward-matching-input)
9566 (comint-next-prompt): Use nil instead of `input' for field property of
9567 past user input (bug#114).
9569 * minibuffer.el (completion--replace): Inherit surrounding properties
9571 (minibuffer-complete-and-exit): Use it.
9573 * comint.el (comint--table-subvert): Quote the all-completions output
9576 2011-10-17 Martin Rudalics <rudalics@gmx.at>
9578 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
9580 * menu-bar.el (menu-bar-file-menu): Add entry for making new
9581 window on right of selected. (Bug#9350) Reword other window
9582 entries and separate them from frame entries.
9584 2011-10-15 Glenn Morris <rgm@gnu.org>
9586 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9589 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
9591 * net/network-stream.el (network-stream-open-starttls):
9592 Improve detection of failure due to lack of TLS support.
9594 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9595 putting the input text in front and in bold.
9597 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9599 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9601 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9604 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9605 unread-command-events rather than pushing yet-another event.
9607 2011-10-14 Eli Zaretskii <eliz@gnu.org>
9609 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9610 the explanation of the possible choices. Make the options passed
9611 to completing-read shorter.
9613 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9615 * textmodes/flyspell.el (flyspell-large-region): Make sure
9616 extended character mode is used if defined (Bug#1339).
9618 2011-10-13 Eli Zaretskii <eliz@gnu.org>
9620 * simple.el (what-cursor-position): Fix the display of the
9621 character info for LRE, LRO, RLE, and RLO characters by appending
9624 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9626 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9627 even in case of error; add debug spec; simplify data flow.
9628 (with-timeout-handler): Remove.
9630 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
9632 Fix Bug#6019, Bug#9315.
9634 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9635 complete `buffer-file-name', the local file name part could look
9636 remotely (for example on VMS).
9638 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9639 `tramp-run-real-handler'.
9640 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9641 already quoted by '"'.
9643 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9644 Let `file-name-handler-alist' be nil, the local file name part
9645 could look remotely (for example on VMS).
9647 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9649 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9651 (flyspell-post-command-hook): ...to here.
9653 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9655 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9657 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9658 using completion. Protect against "slow" callers.
9659 Remove the "message hack".
9661 2011-10-11 Juri Linkov <juri@jurta.org>
9663 * isearch.el (isearch-lazy-highlight-word): New variable.
9664 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9667 2011-10-11 Glenn Morris <rgm@gnu.org>
9669 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9670 like f90-previous-statement does.
9672 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9674 * eshell/eshell.el (eshell-command): History should be saved
9675 only in interactive use, to avoid error.
9677 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9679 * minibuffer.el (completion-file-name-table): Fix last change,
9680 i.e. ignore normal errors but not the other ones.
9682 2011-10-10 Martin Rudalics <rudalics@gmx.at>
9684 * window.el (special-display-buffer-names)
9685 (special-display-regexps): Remove some remnants of earlier
9686 changes from doc-strings.
9687 (quit-windows-on): New function.
9689 * vc/vc.el (vc-revert, vc-rollback):
9690 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9691 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9692 (Bug#6183) (Bug#7074) (Bug#7447)
9694 2011-10-09 Martin Rudalics <rudalics@gmx.at>
9696 * window.el (frame-auto-hide-function): Add version tag.
9699 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
9701 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9704 2011-10-09 Leo Liu <sdl.web@gmail.com>
9706 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9709 2011-10-08 Glenn Morris <rgm@gnu.org>
9711 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9712 before the first code statement zero indent. (Bug#9690)
9714 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
9716 * simple.el (count-words-region): Always count in the region.
9717 Report the number of lines and characters too.
9718 (count-words): New command, which counts in the buffer if the
9719 region is inactive, as count-words-region used to.
9720 (count-words--message): New function. Handle plurals.
9721 (count-lines-region): Make it an alias for count-words-region.
9723 * bindings.el (esc-map): Replace count-lines-region with
9726 2011-10-08 Martin Rudalics <rudalics@gmx.at>
9728 * window.el (window--delete): Delete dedicated frame
9729 unconditionally when argument KILL is non-nil. (Bug#9699)
9730 (switch-to-buffer): Fix doc-string typo.
9732 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9734 * eshell/eshell.el (eshell-command): Avoid using hooks.
9736 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
9738 * bindings.el ([M-left],[M-right]): Bind to left-word and
9739 right-word respectively.
9741 2011-10-07 Glenn Morris <rgm@gnu.org>
9743 * cus-start.el (debug-on-quit): Fix custom type.
9745 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9747 * subr.el (define-key-after): Clarify that the function is not
9748 useful for non-menu keymaps.
9750 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9752 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9754 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
9755 in current minibuffer (Fix bug with recursive minibuffers).
9757 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
9759 * progmodes/gdb-mi.el (gdb): Doc fix.
9761 2011-10-05 Martin Rudalics <rudalics@gmx.at>
9763 * window.el (frame-auto-hide-function): New option replacing
9764 frame-auto-delete. Suggested by Stefan Monnier.
9765 (window--delete): Call frame-auto-hide-function instead of
9766 investigating frame-auto-delete.
9767 (window-point-1, set-window-point-1): New functions.
9768 (window-in-direction, record-window-buffer, window-state-get-1)
9769 (display-buffer-record-window): Use window-point-1 instead of
9771 (set-window-buffer-start-and-point): Use set-window-point-1.
9773 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9775 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9777 2011-10-05 Glenn Morris <rgm@gnu.org>
9779 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9780 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9782 2011-10-05 Leo Liu <sdl.web@gmail.com>
9784 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9785 works with buffer object.
9787 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9789 * mpc.el (mpc-tool-bar-map): Add labels.
9791 2011-10-04 Glenn Morris <rgm@gnu.org>
9793 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9795 2011-10-04 Martin Rudalics <rudalics@gmx.at>
9797 * window.el (window--delete): New function.
9798 (frame-auto-delete): Resuscitate option.
9799 (bury-buffer, replace-buffer-in-windows)
9800 (quit-window): Rewrite using window--delete.
9801 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9802 Pass display-buffer-mark-dedicated to window--display-buffer-2
9805 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9807 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9808 returns a list (bug#9554). Add remote file name completion.
9809 * comint.el (comint--table-subvert): Curry and get quote&unquote
9810 functions as arguments.
9811 (comint--complete-file-name-data): Adjust call accordingly.
9812 * pcomplete.el (pcomplete--table-subvert): Remove.
9813 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9815 * minibuffer.el (completion-table-case-fold): Use currying.
9816 (completion--styles-type, completion--cycling-threshold-type):
9818 (completion-styles, completion-category-overrides)
9819 (completion-cycle-threshold): Use them.
9820 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9821 completion-table-case-fold.
9823 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
9825 * minibuffer.el (completion-category-overrides): Fix type of styles
9826 and add more user friendly tags (bug#9660).
9828 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9830 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9831 (mule-input-method-string): New widget.
9832 (default-input-method, language-info-custom-alist): Use it.
9834 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9836 * pcomplete.el: Require comint.
9837 (pcomplete--common-suffix): Remove.
9838 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9839 (pcomplete--table-subvert): Sync with comint--table-subvert.
9840 (pcomplete--entries): Use comint-completion-file-name-table.
9841 * comint.el (comint-unquote-filename): Simplify.
9842 (comint-completion-file-name-table): New function (bug#9616).
9843 (comint--complete-file-name-data): Use it.
9845 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9846 (pcmpl-gnu-tar-buffer): Remove.
9847 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9848 around. Make sure pcomplete-suffix-list is only changed temporarily.
9849 Don't look inside the tar's file if it's too large.
9851 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
9853 * cus-edit.el (custom-mode-map):
9854 * epa.el (epa-key-list-mode-map):
9855 * man.el (Man-mode-map):
9856 * startup.el (splash-screen-keymap):
9857 * simple.el (special-mode-map): Use scroll-up-command and
9858 scroll-down-command.
9860 * progmodes/idlw-help.el (idlwave-help-mode-map):
9861 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9862 * net/newst-plainview.el (newsticker-mode-map):
9863 * emulation/ws-mode.el (wordstar-mode-map):
9864 * emulation/vi.el (vi-com-map):
9865 * calc/calc-graph.el (calc-graph-show-dumb):
9866 * term/sun.el (terminal-init-sun):
9867 * term/ns-win.el (global-map):
9868 * progmodes/grep.el (grep-mode-map):
9869 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9870 * mail/rmail.el (rmail-mode-map):
9871 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9873 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9874 custom-safe-themes as special.
9876 2011-10-01 Julien Danjou <julien@danjou.info>
9878 * notifications.el (notifications-notify): Fix docstring.
9880 2011-10-01 Per Starbäck <per@starback.se>
9882 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9884 2011-09-30 Martin Rudalics <rudalics@gmx.at>
9886 * startup.el (command-line-1): Fix last fix by inserting
9887 initial-scratch-message into *scratch* before displaying it.
9888 (Bug#9605) and (Bug#9636)
9890 2011-09-29 Eli Zaretskii <eliz@gnu.org>
9892 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9893 window is hscrolled, move by logical lines. (Bug#9607)
9894 (line-move-visual): Update the doc string to the above effect.
9896 2011-09-29 Martin Rudalics <rudalics@gmx.at>
9898 * window.el (display-buffer-record-window): When WINDOW is the
9899 selected window use `point' instead of `window-point'. (Bug#9626)
9901 * startup.el (command-line-1): Use insert-before-markers when
9902 inserting initial-scratch-message. (Bug#9605)
9904 * help.el (help-window): Remove variable.
9906 2011-09-29 Glenn Morris <rgm@gnu.org>
9908 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9910 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
9912 * descr-text.el (describe-char-categories): Accept category
9913 descriptions more than one line long.
9915 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9917 * simple.el (delete-trailing-whitespace): Fix last change.
9919 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9920 Don't confuse "y => 3" as the beginning of a `y' operation.
9922 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9923 object has more than 4 slots (bug#9613).
9925 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
9927 * subr.el (with-output-to-temp-buffer):
9928 * net/quickurl.el (quickurl, quickurl-browse-url):
9929 Fix typos in docstrings.
9931 2011-09-27 Eli Zaretskii <eliz@gnu.org>
9933 * minibuffer.el (completion-styles)
9934 (completion-category-overrides): Cross reference each other in doc
9937 2011-09-27 Glenn Morris <rgm@gnu.org>
9939 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9940 to split-string. (Bug#9606)
9942 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9944 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9947 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
9949 * emacs-lisp/package.el (list-packages): Fix echo area message.
9951 2011-09-27 Leo Liu <sdl.web@gmail.com>
9953 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9955 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
9957 * net/dbus.el (dbus-unregister-object): Don't release services for
9958 registered signals. (Bug#9581)
9960 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9962 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9963 function that picks between cfengine 2 and 3 support
9964 automatically. Update docs accordingly.
9966 2011-09-22 Kenichi Handa <handa@m17n.org>
9968 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9970 (indian-itrans-v5-table-for-tamil): New variable.
9971 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9973 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9975 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9976 that's true if the current command involved collapsing of text.
9977 It's reset to false at the beginning of the next command.
9978 (allout-post-command-business): Move the cursor to the beginning
9979 of entry if the cursor is hidden and collapsing activity just
9982 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
9984 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9985 tracking (Bug#9541).
9987 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
9989 * net/newst-reader.el (newsticker-html-renderer)
9990 (newsticker-show-news): Automatically load html rendering package
9991 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9992 because w3m-fill-column is let-bound" and the error "Symbol's value
9993 as variable is void: w3m-fill-column".
9995 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
9997 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9998 Release services only if they are defined. (Bug#9581)
10000 2011-09-23 Richard Stallman <rms@gnu.org>
10002 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10003 distinguish start of paragraph from start of its text.
10005 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10007 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10008 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10009 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10011 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10013 * international/mule-diag.el (mule-diag): Insert a newline after
10014 each fontset description.
10016 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10018 * simple.el (delete-trailing-whitespace):
10019 Document last change; simplify.
10021 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10023 * simple.el (delete-trailing-whitespace): Also delete
10024 extra newlines at the end of the buffer.
10026 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10027 (picture-newline): Use forward-line so as to ignore fields.
10029 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10031 * subr.el (with-wrapper-hook): Fix edebug spec.
10033 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10035 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10038 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
10040 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10041 Fix nasty bug using wrong cached values.
10043 2011-09-23 Alan Mackenzie <acm@muc.de>
10045 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10047 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
10049 * window.el (pop-to-buffer): Ensure right window is selected if we
10050 chose another frame.
10052 2011-09-22 Eli Zaretskii <eliz@gnu.org>
10054 * simple.el (what-cursor-position): Use get-char-property-change
10055 and next-single-char-property-change, to be able to show display
10056 properties that come from overlays as well as text properties.
10058 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
10060 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10062 * cmuscheme.el (run-scheme, switch-to-scheme):
10063 * cus-edit.el (customize-group, custom-buffer-create)
10064 (customize-browse):
10066 * shell.el (shell):
10067 * mail/sendmail.el (mail):
10068 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10070 2011-09-22 Richard Stallman <rms@gnu.org>
10072 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10073 move back only to line beg, don't move back over blank lines.
10075 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
10077 * files.el (copy-directory): Set directory attributes only in case
10078 they could be retrieved from the source directory. (Bug#9565)
10080 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10082 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10083 (hs-find-block-beginning, hs-hide-level-recursive):
10084 Ignore strings as well as comments. (Bug#9502)
10086 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10088 * progmodes/sql.el (sql-comint-postgres):
10089 Convert port number to a string. (Bug#9566)
10091 2011-09-22 Martin Rudalics <rudalics@gmx.at>
10093 * window.el (quit-window): Undedicate window when switching to
10094 previous buffer. Reported by Thierry Volpiatto
10095 <thierry.volpiatto@gmail.com>.
10096 (special-display-popup-frame): When popping up a new frame reset
10097 its previous buffers to nil. Simplify code.
10099 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
10101 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10102 and process filter, as done also in `shell-command'.
10104 2011-09-21 Martin Rudalics <rudalics@gmx.at>
10106 * window.el (set-window-buffer-start-and-point):
10107 Call set-window-start with NOFORCE argument t.
10108 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10109 (quit-window): Reword doc-string. Handle new format of
10110 quit-restore parameter. Don't delete window if it has a
10111 previous buffer we can show instead of the present one.
10112 (display-buffer-record-window): Rewrite using a new format for
10113 the quit-restore window parameter
10114 (special-display-popup-frame, display-buffer-same-window)
10115 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10116 (display-buffer-pop-up-window, display-buffer-use-some-window):
10117 Adapt symbol passed to display-buffer-record-window.
10118 * help.el (help-window-setup): Handle new format of quit-restore
10121 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10123 * faces.el (face-list): Fix docstring (bug#9564).
10125 * window.el (display-buffer--action-function-custom-type):
10126 Don't include internal functions in the Custom interface.
10128 2011-09-20 Juri Linkov <juri@jurta.org>
10130 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10131 (Info-forward-node, Info-backward-node, Info-next-preorder)
10132 (Info-last-preorder): Use it. (Bug#9528)
10134 2011-09-20 Juri Linkov <juri@jurta.org>
10136 * info.el (Info-last-preorder): Visit last menu item only when
10137 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10139 2011-09-20 Julien Danjou <julien@danjou.info>
10141 * password-cache.el (password-cache-remove): Remove entries even if the
10142 value is nil, so that password with a nil value (negative caching) is
10143 possible to invalidate.
10145 2011-09-20 Lawrence Mitchell <wence@gmx.li>
10147 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10148 all whitespace around breakpoint. (Bug#9553)
10149 (f90-find-breakpoint): Only break at whitespace inside a comment.
10151 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10153 * minibuffer.el (completion-file-name-table): Keep track of errors.
10154 (completion-table-with-predicate): Handle the case where pred1 is nil.
10155 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10157 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10159 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10160 (debugger-return-value): Signal an error if the debugging context does
10161 not await any return value.
10163 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10164 * image-mode.el (image-toggle-display-text)
10165 (image-toggle-display-image): Stay away from evil `intangible'.
10167 2011-09-19 Leo Liu <sdl.web@gmail.com>
10169 * replace.el (occur-revert-arguments): Make it permanent-local.
10170 (occur-mode): Don't call font-lock-defontify.
10172 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
10174 * net/ldap.el (ldap-search-internal): Don't push empty search
10177 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10179 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10181 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
10183 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10184 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10186 2011-09-18 Juri Linkov <juri@jurta.org>
10188 * buff-menu.el (Buffer-menu-mode-map):
10189 * dired.el (dired-mode-map):
10190 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10191 (lisp-interaction-mode-map):
10192 * emacs-lisp/package.el (package-menu-mode-map):
10193 * epa.el (epa-key-list-mode-map):
10194 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10195 (menu-bar-options-menu):
10196 * outline.el (outline-mode-menu-bar-map):
10197 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10198 * vc/vc-dir.el (vc-dir-menu-map):
10199 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10200 Capitalize non-function content words in menu item strings.
10202 * dired.el (dired-mode-map): Add menu item for
10203 `image-dired-dired-toggle-marked-thumbs'.
10205 2011-09-18 Juri Linkov <juri@jurta.org>
10207 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10208 to `isearch-case-fold-search' and restore its original value
10209 after the `isearch-mode' call.
10211 2011-09-18 Juri Linkov <juri@jurta.org>
10213 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10214 because `zgrep' returns 1 for successful matches (bug#9226).
10216 2011-09-18 Juri Linkov <juri@jurta.org>
10218 * info.el (Info-extract-menu-node-name): Check the second match
10219 for empty string (second test-case of bug#9528).
10220 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10221 intermediate nodes to the history (first test-case of bug#9528).
10223 2011-09-18 Juri Linkov <juri@jurta.org>
10225 * info.el (Info-mode-syntax-table): New variable.
10226 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
10228 2011-09-18 Juri Linkov <juri@jurta.org>
10230 * info.el (Info-file-supports-index-cookies):
10231 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10232 outputs one more line for long file names (bug#4142).
10234 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
10236 * newcomment.el (comment-normalize-vars): If prompting for
10237 comment-start, set comment-start-skip too (Bug#8424).
10239 2011-09-18 Johan Bockgård <bojohan@gnu.org>
10241 * icomplete.el: Fix previous fix of Bug#5849.
10242 (icomplete-mode): Don't set completion-show-inline-help.
10243 (icomplete-minibuffer-setup): Set completion-show-inline-help
10244 locally during icompletion.
10246 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
10248 * woman.el (woman2-process-escapes): Don't delete unrecognized
10249 escapes (Bug#7843).
10251 * files.el (inhibit-first-line-modes-regexps): Add image files.
10252 (hack-local-variables-prop-line): Return nil for malformed
10253 prop-lines (Bug#9044).
10255 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
10257 * net/tramp.el (top): Don't require 'shell.
10258 (tramp-methods): Fix docstring.
10259 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
10260 Return complete remote file name. Handle "smb" case.
10261 Use `tramp-tmpdir', if defined for the respective method.
10262 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10264 * net/tramp-compat.el (top): Require 'shell.
10266 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10267 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10268 `tramp-current-host'.
10269 (tramp-get-remote-tmpdir): Remove.
10271 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10272 `tramp-tmpdir' entries.
10273 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10274 (tramp-smb-handle-file-attributes): Ignore errors.
10275 (tramp-smb-wait-for-output): Check also for process end.
10277 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10279 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10280 when sending QUIT (bug#9312).
10282 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
10284 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10285 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10286 occur-mode-display-occurrence.
10287 (occur-edit-mode): Add usage message.
10288 (occur-cease-edit): New command.
10289 (occur-after-change-function): Use text properties to find the
10290 position of the prefix text.
10291 (occur-engine): Set stickiness of prefix text properties.
10293 2011-09-17 Glenn Morris <rgm@gnu.org>
10295 * progmodes/etags.el (complete-tag):
10296 Fix call to completion-in-region. (Bug#9526)
10298 2011-09-17 Juri Linkov <juri@jurta.org>
10300 * textmodes/ispell.el (ispell-word): Add to the error message
10301 the word, ispell program name and current dictionary (bug#9121).
10302 (ispell-tex-arg-end): Capitalize "error" in the error message.
10304 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10306 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10309 2011-09-17 Juri Linkov <juri@jurta.org>
10311 * window.el (window-safe-min-height, window-safe-min-width):
10312 Fix typos (followup to bug#9522).
10314 2011-09-17 Sven Joachim <svenjoac@gmx.de>
10316 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10318 2011-09-16 Eli Zaretskii <eliz@gnu.org>
10320 * simple.el (line-move): If goal-column is set, move by logical
10321 lines, not by display lines. (Bug#971)
10322 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10323 to reflect the above change.
10325 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10327 * image.el (imagemagick-register-types): Use regexp-opt.
10329 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
10331 * window.el (display-buffer-base-action): Rename from
10332 display-buffer-default-action. Make default value empty.
10333 (display-buffer-overriding-action): Convert to defvar.
10334 (display-buffer-fallback-action): New var.
10336 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
10338 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10340 (package--add-to-archive-contents): If there is a duplicate entry
10341 with an older version, remove it.
10342 (package-menu-mark-delete, package-menu-mark-install)
10343 (package-menu-mark-unmark): Make unused args optional.
10344 (package-menu-mark-obsolete-for-deletion):
10345 Use package-menu-get-status instead of a regexp search.
10346 (package-menu-get-status): Use tabulated-list-entry.
10347 (package-menu-mark-upgrades): New command.
10348 (package-menu-mode-map): Bind it to U. Add it to menu bar.
10349 (package-menu-execute): Do installation before deletion.
10350 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10351 instead of checking major-mode.
10352 (package-menu--find-upgrades): New function.
10354 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10356 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10357 passwords in the log buffer.
10358 (smtpmail-process-filter): Update the process marker so that the
10359 "broken by peer" status message is inserted in the right place.
10361 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10363 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10364 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10365 bibtex-completion-at-point-function.
10366 (bibtex-completion-at-point-function): Use them.
10368 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10370 * mpc.el (mpc-constraints-tag-lookup): New function.
10371 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10372 also to browser "album|playlist".
10374 2011-09-14 Juri Linkov <juri@jurta.org>
10376 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10377 (isearch-edit-string): Use length of `isearch-string' when
10378 `isearch-fail-pos' returns nil.
10379 (isearch-message): Remove duplicate code and call
10380 `isearch-fail-pos' with arg `t'.
10382 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
10384 * replace.el (occur-mode-goto-occurrence): Don't force using other
10387 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10389 2011-09-14 Martin Rudalics <rudalics@gmx.at>
10391 * window.el (display-buffer-window): Remove.
10392 (display-buffer-record-window): Use help-setup window parameter
10393 instead of variable display-buffer-window.
10394 (display-buffer-function, special-display-buffer-names)
10395 (special-display-function): Mention help-setup parameter instead
10396 of display-buffer-window in doc-string.
10397 * help.el (help-window-setup): New argument help-window.
10398 Use help-window-setup parameter instead of display-buffer-window.
10399 Reword some messages.
10400 (with-help-window): Pass window used for displaying the buffer
10401 to help-window-setup. Don't set display-buffer-window.
10403 2011-09-13 Glenn Morris <rgm@gnu.org>
10405 * emacs-lisp/debug.el (debugger-make-xrefs):
10406 Preserve point. (Bug#9462)
10408 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
10410 * window.el (window-deletable-p): Use next-frame.
10412 2011-09-13 Martin Rudalics <rudalics@gmx.at>
10414 * window.el (window-auto-delete): Remove.
10415 (window-deletable-p): Remove argument FORCE. Don't deal with
10416 dedication and previous buffers.
10417 (switch-to-prev-buffer): Don't delete window.
10418 (delete-windows-on): Delete a window's frame if and only if the
10419 window is dedicated.
10420 (replace-buffer-in-windows): Delete buffer's window or frame if
10421 and only if window is dedicated.
10422 (quit-window): Handle quit-restore as before last change.
10423 (bury-buffer): Delete window only if window-deletable-p returns t.
10425 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
10427 * window.el (window-deletable-p): Never delete the last frame on a
10430 2011-09-13 Glenn Morris <rgm@gnu.org>
10432 * help.el (describe-key-briefly): Copy previous standard-output change.
10434 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
10436 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10438 2011-09-13 Glenn Morris <rgm@gnu.org>
10440 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10441 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10443 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
10445 * dired-aux.el (dired-mark-read-string): Don't return default
10446 value on empty input (Bug#9361).
10447 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10448 Omit initial minibuffer contents.
10449 (dired-do-chmod): Signal an error on empty input.
10450 (dired-mark-read-string): Don't return default on empty input.
10452 * files.el (file-modes-symbolic-to-number): Doc fix.
10454 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10456 * international/mule-cmds.el (ucs-completions): Remove.
10457 (read-char-by-name): Use complete-with-action instead; add metadata.
10459 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
10461 * window.el (display-buffer--action-function-custom-type)
10462 (display-buffer--action-custom-type): New vars.
10463 (display-buffer-alist, display-buffer-default-action)
10464 (display-buffer-overriding-action): Add defcustom types.
10466 * frame.el (delete-other-frames): Doc fix (Bug#276).
10468 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10470 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10472 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
10474 Change modes that used same-window-* vars to use switch-to-buffer.
10476 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10477 Use switch-to-buffer.
10479 * cus-edit.el (customize-group, custom-buffer-create)
10480 (customize-browse, custom-buffer-create-other-window):
10481 Use switch-to-buffer or switch-to-buffer-other-window.
10483 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10484 (Info-prev, Info-up, Info-speedbar-goto-node)
10485 (info-display-manual): Use switch-to-buffer.
10486 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10488 * mail/sendmail.el (mail): Use switch-to-buffer.
10489 (mail-recover): Use switch-to-buffer-other-window.
10491 * cmuscheme.el (run-scheme, switch-to-scheme):
10493 * shell.el (shell):
10494 * net/rlogin.el (rlogin):
10495 * net/telnet.el (telnet, rsh):
10496 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10498 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10500 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10502 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10504 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10505 so don't mention it (bug#9301).
10506 (dired-sort-toggle-or-edit): Clarify string further.
10508 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10509 match `x', `w32' and `ns', like the manual says (bug#9029).
10511 * subr.el (eval-after-load): Doc string clarification (bug#9125).
10512 (process-kill-buffer-query-function): Mention the buffer name in
10515 * image-mode.el (image-next-line): The line parameter is mandatory
10518 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10519 which can be useful (bug#9301).
10521 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10523 * subr.el (match-string): Mention that the current buffer should
10524 be the same as the search was done in (bug#9282).
10526 * facemenu.el: Disable the remove-* commands if the mark isn't
10529 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10531 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10533 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10535 * replace.el (occur-mode-goto-occurrence)
10536 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10537 and display-buffer.
10539 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10542 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10543 special-display and same-window variables.
10544 (mail-other-window): Use switch-to-buffer-other-window.
10545 (mail-other-frame): USe switch-to-buffer-other-frame.
10547 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10548 Use display-buffer-other-frame.
10549 (gdb-display-gdb-buffer): Use pop-to-buffer.
10551 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10553 * progmodes/python.el: Don't set same-window-buffer-names.
10555 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10557 * window.el (display-buffer-alist): Add *Python*.
10559 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10561 * window.el (display-buffer-alist): Add entry for buffers
10562 previously handled same-window-*.
10563 (display-buffer-alist, display-buffer-default-action)
10564 (display-buffer-overriding-action): Mark as risky.
10565 (display-buffer-alist): Document action function changes.
10566 (display-buffer--same-window-action)
10567 (display-buffer--other-frame-action): New variables.
10568 (switch-to-buffer, display-buffer-other-frame): Use them.
10569 (display-buffer): Rename reuse-frame entry to reusable-frames.
10570 (display-buffer-reuse-selected-window): Function deleted.
10571 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10572 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10573 (display-buffer-special): New function.
10574 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10575 display-buffer-reuse-or-pop-window. Split off special-display
10576 part into display-buffer-special.
10577 (display-buffer-use-some-window): Don't perform any special
10578 pop-up-frames handling.
10579 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
10580 (display-buffer--maybe-same-window): Rename from
10581 display-buffer-maybe-same-window.
10583 * info.el: Don't set same-window-regexps.
10584 (info-setup): New function.
10585 (info-other-window, info): Call it.
10587 * cus-edit.el: Don't set same-window-regexps.
10588 (customize-group): New argument.
10589 (customize-group-other-window): Use it.
10590 (customize-face, customize-face-other-window): Likewise.
10591 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10595 * progmodes/gud.el: Don't set same-window-regexps.
10600 * mail/sendmail.el:
10601 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10603 2011-09-10 Juri Linkov <juri@jurta.org>
10605 * isearch.el (isearch-edit-string): Remove obsolete mention of
10606 `C-w' (`isearch-yank-word-or-char') from docstring.
10607 (isearch-query-replace): Fix typo in docstring (bug#9466).
10609 2011-09-10 Juri Linkov <juri@jurta.org>
10611 * paren.el (show-paren-function): Don't show escaped parens.
10612 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10614 2011-09-10 Eli Zaretskii <eliz@gnu.org>
10616 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10617 (mm-default-file-encoding): Remove autoload forms, they are
10618 replaced with autoload cookies in mml.el and mm-encode.el.
10619 (mail-add-attachment): New command.
10620 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10621 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10623 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10625 2011-09-10 Reuben Thomas <rrt@sc3d.org>
10627 * simple.el (count-words-region): Use buffer if there's no region
10630 2011-09-09 Juri Linkov <juri@jurta.org>
10632 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10633 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10634 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10636 2011-09-09 Alan Mackenzie <acm@muc.de>
10638 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10639 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10641 2011-09-09 Eli Zaretskii <eliz@gnu.org>
10643 Fix for Savannah bug#9392.
10644 * simple.el (mail-encode-mml): New defvar.
10646 * mail/rmail.el (mail-encode-mml): Add a defvar.
10647 (rmail-enable-mime-composing): Default to t.
10648 (rmail-forward): Use MIME method of forwarding only if both
10649 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10650 Set mail-encode-mml non-nil if the MIME method was used.
10652 * mail/sendmail.el (mml-to-mime): Add autoload form.
10653 (mail-encode-mml): Add a defvar.
10654 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10656 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10657 message through mml-to-mime, and reset mail-encode-mml to nil.
10659 2011-09-09 Glenn Morris <rgm@gnu.org>
10661 * woman.el (woman-if-body): When processing an .el block,
10662 do not delete the next .el block as well. (Bug#9447)
10663 (woman-special-characters): Add oq, cq, and hy characters.
10665 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10667 * window.el (window-deletable-p): Make sure window is live before
10668 invoking window-prev-buffers.
10670 2011-09-08 Leo Liu <sdl.web@gmail.com>
10672 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10674 2011-09-08 Juri Linkov <juri@jurta.org>
10676 * progmodes/compile.el (compilation-environment): Make it
10677 a defcustom (bug#8340).
10679 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10681 * window.el (frame-auto-delete): Rename to window-auto-delete.
10682 Make it control auto-deletion of windows and/or frames.
10683 (window-deletable-p): New argument FORCE. Rewrite conditions
10684 for deleting window/frame. (Bug#9419)
10685 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10686 Rewrite handling of case when window/frame can be deleted.
10687 (delete-windows-on): Call window-deletable-p with new FORCE
10688 argument t. (Bug#9456)
10690 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
10692 * help-mode.el (help-mode): Restore autoload.
10694 2011-09-07 Juri Linkov <juri@jurta.org>
10696 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10697 `compilation-environment'. Set buffer-local
10698 `compilation-environment' to `thisenv' later after (funcall mode).
10701 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10702 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10703 instead of replacing its value. (Bug#8340)
10705 2011-09-07 Juri Linkov <juri@jurta.org>
10707 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10708 based on text properties put by `grep-filter' instead of matching
10710 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10711 to the value of `grep-error-screen-columns' (bug#9438).
10713 2011-09-07 Juri Linkov <juri@jurta.org>
10715 * simple.el (next-error-highlight, next-error-highlight-no-select):
10716 Doc fix (bug#9432).
10718 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10720 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10721 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10723 2011-09-07 Leo Liu <sdl.web@gmail.com>
10725 * net/rcirc.el (rcirc-mode): Conditionally initialize
10728 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10730 * emacs-lisp/find-func.el (find-function-C-source): Only set
10731 find-function-C-source-directory after checking that we found a source
10732 file there (bug#9440).
10734 2011-09-06 Alan Mackenzie <acm@muc.de>
10736 * isearch.el (isearch-other-meta-char): Wherever a key list is
10737 unread, "unread" the prefix arg, too. This fixes bug #8901.
10739 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10741 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10743 2011-09-05 Juri Linkov <juri@jurta.org>
10745 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10747 2011-09-05 Juri Linkov <juri@jurta.org>
10749 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10750 keeping point where processing of grep matches begins, and
10751 continue to delete remaining escape sequences from the same point.
10752 (grep-filter): Make leading zero optional in "0?1;31m" because
10753 git-grep emits "\033[1;31m" escape sequences unlike expected
10754 "\033[01;31m" as GNU Grep does (bug#9408).
10755 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10757 2011-09-05 Juri Linkov <juri@jurta.org>
10759 * subr.el (y-or-n-p): Capitalize "yes".
10761 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
10763 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10764 `tramp-cache-unload-hook' where appropriate.
10765 (tramp-methods): Rename `tramp-remote-sh' to
10766 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10767 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10769 * net/tramp-sh.el (top): Don't require 'shell.
10770 (tramp-methods): Add `tramp-remote-shell' and
10771 `tramp-remote-shell-args' entries.
10772 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10773 (tramp-sh-handle-shell-command): Remove.
10774 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10775 Use `tramp-remote-shell'.
10777 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
10779 * mail/sendmail.el (sendmail-query-once-function): Delete.
10780 (sendmail-query-once): Save directly to send-mail-function.
10781 Update message-send-mail-function too.
10783 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10785 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10787 * progmodes/python.el (python-mode-map): Use correct function to
10788 start python interpreter from menu-bar (as reported by Geert
10790 (inferior-python-mode-map): Fix typo.
10791 (python-shell-map): Remove.
10793 2011-09-03 Deniz Dogan <deniz@dogan.se>
10795 * net/rcirc.el (rcirc-print): Simplify code for
10796 rcirc-scroll-show-maximum-output. There is no need to walk
10797 through all windows to find the right one.
10799 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10801 * help.el (help-return-method): Doc fix.
10803 2011-09-03 Martin Rudalics <rudalics@gmx.at>
10805 * window.el (window-deletable-p): Don't return a non-nil value
10806 when there's a buffer that was shown in the window before.
10808 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10809 Set window's previous buffers to nil.
10811 2011-09-03 Eli Zaretskii <eliz@gnu.org>
10813 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10814 newline before and after the tag line, so it doesn't interfere
10815 with determining the paragraph direction of bidirectional text.
10817 2011-09-03 Leo Liu <sdl.web@gmail.com>
10819 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10821 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10823 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
10824 (pop-to-buffer): Change interactive spec. Pass second argument
10825 directly to display-buffer.
10826 (display-buffer): Fix interactive spec. Use functionp to
10827 distinguish between a function and a list of functions.
10829 * abbrev.el (edit-abbrevs):
10830 * arc-mode.el (archive-extract):
10831 * autoinsert.el (auto-insert):
10832 * bookmark.el (bookmark-bmenu-list):
10833 * files.el (find-file):
10834 * view.el (view-buffer):
10835 * progmodes/compile.el (compilation-goto-locus):
10836 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10838 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10840 * window.el (display-buffer-alist): Doc fix.
10841 (display-buffer): Add docstring. Don't treat
10842 display-buffer-default specially.
10843 (display-buffer-reuse-selected-window)
10844 (display-buffer-same-window, display-buffer-maybe-same-window)
10845 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10846 (display-buffer-pop-up-window)
10847 (display-buffer-reuse-or-pop-window)
10848 (display-buffer-use-some-window): New functions.
10849 (display-buffer-default-action): Use them.
10850 (display-buffer-default): Delete.
10851 (pop-to-buffer-1): Fix choice of actions.
10853 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10855 * minibuffer.el (completion--insert-strings): Don't get confused by
10856 completion entries that end with an LF char.
10858 2011-09-01 Eli Zaretskii <eliz@gnu.org>
10860 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10862 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
10864 * window.el (display-buffer): Restore interactive spec.
10865 (display-buffer-same-window, display-buffer-other-window):
10867 (pop-to-buffer-1): New function. Use the above.
10868 (pop-to-buffer, pop-to-buffer-same-window): Use it.
10869 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
10871 * view.el (view-buffer-other-window, view-buffer-other-frame):
10872 Just use pop-to-buffer.
10874 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10876 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10878 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10880 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10882 2011-08-31 Richard Stallman <rms@gnu.org>
10884 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10885 of the separation of rmail-view-buffer from rmail-buffer.
10886 If you say no to "replace original", the decrypt is in the
10887 view buffer. If you say yes, the decrypt goes into the
10890 2011-08-31 Martin Rudalics <rudalics@gmx.at>
10892 * window.el (display-buffer-window): Rewrite doc-string.
10893 (display-buffer-record-window): New function.
10894 (display-buffer-macro-specifiers)
10895 (display-buffer-even-window-sizes, display-buffer-set-height)
10896 (display-buffer-set-width, display-buffer-in-window)
10897 (display-buffer-reuse-window, display-buffer-split-specifiers)
10898 (display-buffer-side-specifiers, display-buffer-split-window-1)
10899 (display-buffer-split-window, display-buffer-split-atom-window)
10900 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10901 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10902 (display-buffer-other-window-means-other-frame)
10903 (display-buffer-normalize-special)
10904 (display-buffer-normalize-default)
10905 (display-buffer-normalize-argument)
10906 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10907 (display-buffer-normalize-specifiers, display-buffer-frame)
10908 (display-buffer-same-window, display-buffer-same-frame)
10909 (display-buffer-other-window)
10910 (display-buffer-same-frame-other-window)
10911 (display-buffer-other-frame, pop-to-buffer-same-window)
10912 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10913 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10914 (switch-to-buffer-same-frame)
10915 (switch-to-buffer-other-window-same-frame)
10916 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10917 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10918 (display-buffer-alist-set): Remove.
10919 (display-buffer-function, special-display-buffer-names)
10920 (special-display-regexps, special-display-function):
10921 In doc-string refer to display-buffer-window and quit-restore
10923 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10924 (special-display-frame-alist, special-display-popup-frame)
10925 (same-window-buffer-names, same-window-regexps, same-window-p)
10926 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10927 (split-window-preferred-function, split-height-threshold)
10928 (split-width-threshold, window-splittable-p)
10929 (split-window-sensibly, window--try-to-split-window)
10930 (window--frame-usable-p, even-window-heights)
10931 (window--even-window-heights, window--display-buffer-1)
10932 (window--display-buffer-2, display-buffer-other-frame):
10933 Restore old Emacs 23 code, order and doc-strings where applicable.
10934 (display-buffer-default, display-buffer-assq-regexp): New functions.
10935 (display-buffer-alist): Rewrite doc-string.
10936 (display-buffer-default-action)
10937 (display-buffer-overriding-action): New variables.
10938 (display-buffer, switch-to-buffer): Rewrite.
10939 (pop-to-buffer): Restore Emacs 23 behavior but use
10940 window-normalize-buffer-to-display.
10941 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10942 Restore Emacs 23 behavior but use
10943 window-normalize-buffer-to-switch-to.
10944 (pop-to-buffer-same-window): Rewrite.
10945 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10946 Rewrite using Emacs 23 options.
10948 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
10950 * net/tramp.el (tramp-root-regexp): Remove.
10951 (tramp-completion-file-name-regexp-unified)
10952 (tramp-completion-file-name-regexp-separate)
10953 (tramp-completion-file-name-regexp-url): Don't use leading volume
10954 letter on w32 systems. (Bug#5303, Bug#9311)
10955 (tramp-drop-volume-letter): Simplify definition.
10956 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10958 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10960 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10963 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10965 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
10967 2011-08-29 Juri Linkov <juri@jurta.org>
10969 * isearch.el (isearch-done): Don't display message "Mark saved"
10970 when arg `edit' is non-nil to prevent its flicker in the echo area.
10972 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10974 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10975 obsolete packages for deletion.
10977 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10979 * help-mode.el (help-mode-map): Add special-mode-map to parent.
10980 (help-mode): Derive help-mode from special-mode. Don't invoke
10981 view-mode from help-mode.
10982 (help-xref-override-view-map): Remove.
10983 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10984 view-mode is not used anymore.
10986 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10988 * server.el (server-port): Doc fix.
10990 * cus-theme.el (custom-theme-choose-mode): Inherit from
10991 special-mode (Bug#9124).
10992 (custom-theme-choose-mode-map): Add special-mode to parent.
10994 2011-08-28 Alan Mackenzie <acm@muc.de>
10996 * progmodes/cc-fonts.el
10997 (c-make-font-lock-BO-decl-search-function): New function.
10998 (c-basic-matchers-after - "Fontify the clauses after various
10999 keywords"): Extract the three keyword lists for the 3 erroneous
11000 constructs from the list of four, and use the new function above
11001 in place of an old one.
11003 2011-08-28 Deniz Dogan <deniz@dogan.se>
11005 * net/rcirc.el (rcirc-insert-prev-input)
11006 (rcirc-insert-next-input): Remove unused argument.
11008 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11010 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11012 2011-08-27 Alan Mackenzie <acm@muc.de>
11014 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11015 handle function pointer parameters properly.
11017 2011-08-27 Martin Rudalics <rudalics@gmx.at>
11019 * window.el (display-buffer-reuse-window): Fix case where
11020 selected window was reused with non-nil OTHER-WINDOW argument.
11023 2011-08-27 Deniz Dogan <deniz@dogan.se>
11025 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11026 oftc's NickServ messages.
11028 2011-08-27 Glenn Morris <rgm@gnu.org>
11030 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11032 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
11034 * emacs-lisp/package.el (package-install): Call package-initialize
11035 if called interactively.
11037 2011-08-26 Leo Liu <sdl.web@gmail.com>
11039 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11041 2011-08-25 Juri Linkov <juri@jurta.org>
11043 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11044 `search-whitespace-regexp' (bug#9364).
11046 2011-08-25 Juri Linkov <juri@jurta.org>
11048 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11049 `regexp-search-ring' to their global values to protect from
11050 updating by `read-from-minibuffer' (bug#9185).
11052 2011-08-25 Juri Linkov <juri@jurta.org>
11054 * textmodes/ispell.el (ispell-command-loop): Add newline
11055 at the end of the "Use option `i'..." line.
11057 2011-08-25 Juri Linkov <juri@jurta.org>
11059 * battery.el (display-battery-mode): If `battery-status-function'
11060 or `battery-mode-line-format' is nil, display the message and set
11061 `display-battery-mode' to nil (bug#9363).
11063 2011-08-25 Eli Zaretskii <eliz@gnu.org>
11065 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11066 bidi-string-mark-left-to-right; they are unnecessary now.
11068 2011-08-25 Deniz Dogan <deniz@dogan.se>
11070 * net/quickurl.el: Documentation typo fixes.
11072 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
11074 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11076 2011-08-25 Glenn Morris <rgm@gnu.org>
11078 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11080 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11081 (smtpmail-via-smtp): Handle nil response from smtp.
11083 2011-08-24 Juri Linkov <juri@jurta.org>
11085 * proced.el (proced-marked): Inherit from `error' instead of
11086 `font-lock-warning-face'.
11088 * ibuffer.el (ibuffer-marked-face): Change default face from
11089 `font-lock-warning-face' to `warning'.
11090 (ibuffer-deletion-face): Change default face from
11091 `font-lock-type-face' to `error'.
11093 * battery.el (battery-update): Use the face `error' instead of
11094 `font-lock-warning-face' (bug#6117).
11096 2011-08-24 Juri Linkov <juri@jurta.org>
11098 * faces.el (success): Change face color from "Green3" to
11099 "ForestGreen" on light background (bug#9353).
11101 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
11103 * window.el (quit-window): Rename from quit-restore-window.
11104 Use same arglist as old quit-window.
11105 (frame-auto-delete): Doc fix.
11107 * view.el (view-mode-exit): Use quit-window.
11109 2011-08-24 Juri Linkov <juri@jurta.org>
11111 * isearch.el (isearch-ring-adjust1): Start visiting previous
11112 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11113 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11114 for empty search string (when the last search string is reused
11115 automatically) to adjust the isearch ring to the last element and
11116 prepare the correct index for further M-p commands (bug#9185).
11118 2011-08-24 Kenichi Handa <handa@m17n.org>
11120 * international/ucs-normalize.el: If decomposition property of
11121 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11123 (nfd, nfkd): Likewise.
11125 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11127 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11128 from process filters aren't reliably transmitted to the surrounding
11129 accept-process-output.
11130 (mpc-proc-check): New function.
11131 (mpc-proc-sync): Use it (bug#8293)
11133 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11135 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11136 Add compatibility functions (bug#9313).
11138 2011-08-23 Eli Zaretskii <eliz@gnu.org>
11140 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11142 * international/uni-bidi.el: Regenerate.
11144 2011-08-23 Kenichi Handa <handa@m17n.org>
11146 * international/charprop.el:
11147 * international/uni-bidi.el:
11148 * international/uni-category.el:
11149 * international/uni-combining.el:
11150 * international/uni-comment.el:
11151 * international/uni-decimal.el:
11152 * international/uni-decomposition.el:
11153 * international/uni-digit.el:
11154 * international/uni-lowercase.el:
11155 * international/uni-mirrored.el:
11156 * international/uni-name.el:
11157 * international/uni-numeric.el:
11158 * international/uni-old-name.el:
11159 * international/uni-titlecase.el:
11160 * international/uni-uppercase.el: Regenerate.
11162 2011-08-23 Martin Rudalics <rudalics@gmx.at>
11164 * help.el (help-window-setup): Fix message displayed when other
11165 window is reused. (Bug#9341)
11167 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11169 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11170 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11172 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11174 * shell.el (shell-parse-pcomplete-arguments): New function.
11175 (shell-completion-vars): Use it instead (bug#9160).
11177 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11179 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11180 strings and comments (bug#9333).
11182 * emacs-lisp/debug.el (debug-arglist): New function.
11183 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11184 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11186 2011-08-22 Juri Linkov <juri@jurta.org>
11188 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11189 Revert regexp that highlights output switches to its old
11190 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11192 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11193 to check for empty output (bug#9226).
11195 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
11197 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11198 symbol-constituent as the default, as that stops font-lock from
11199 working properly (Bug#8843).
11201 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11203 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11204 `coding-system-for-*' around the process open call to avoid
11205 auth-source side effects.
11206 (smtpmail-try-auth-methods): Expand the secret password.
11207 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11210 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
11212 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11214 * emacs-lisp/find-func.el (find-function-noselect): New arg
11217 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11218 signal an error for built-in functions (Bug#6664).
11220 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11222 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11223 (smtpmail-try-auth-methods): Use it.
11225 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
11227 * font-lock.el (font-lock-fontify-region)
11228 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11229 (font-lock-default-unfontify-buffer)
11230 (font-lock-default-fontify-region)
11231 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11233 * progmodes/compile.el (compilation-error-properties):
11234 Fix confusion between file struct and message struct (Bug#9319).
11235 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11238 * net/browse-url.el (browse-url-firefox): Don't call
11239 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11241 2011-08-20 Glenn Morris <rgm@gnu.org>
11243 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11245 * tutorial.el (tutorial--default-keys): Update some default bindings.
11247 * files.el (hack-local-variables): Fully ignore case for "mode:".
11249 2011-08-20 Alan Mackenzie <acm@muc.de>
11251 Resolve invalid use of a regexp in regexp-opt.
11253 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11254 detection for a java annotation.
11256 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
11257 detection for a java annotation.
11259 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11261 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11263 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
11265 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11268 2011-08-20 Alan Mackenzie <acm@muc.de>
11270 Fontify CPP expressions correctly when starting in the middle of
11271 such a construct. Mainly for when jit-lock etc. starts a chunk
11274 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
11276 (c-make-font-lock-search-form): New function, extracted from
11277 c-make-font-lock-search-function.
11278 (c-make-font-lock-search-function): Use the above function.
11279 (c-make-font-lock-context-search-function): New function.
11280 (c-cpp-matchers): Enhance the preprocessor expression case with
11282 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11283 which takes an expression.
11285 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11287 2011-08-20 Martin Rudalics <rudalics@gmx.at>
11289 * window.el (display-buffer-reuse-window)
11290 (display-buffer-pop-up-window): Don't reuse or split a side
11293 2011-08-19 Glenn Morris <rgm@gnu.org>
11295 * files.el (hack-local-variables-prop-line, hack-local-variables):
11296 Downcase "Mode:". (Bug#9331)
11298 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
11300 * international/characters.el: Add L and R categories.
11302 * subr.el (bidi-string-mark-left-to-right): Rename from
11303 string-mark-left-to-right. Use category search.
11305 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11307 2011-08-18 Juri Linkov <juri@jurta.org>
11309 * faces.el (error, warning, success): New faces with definitions
11310 copied from old default values of `font-lock-warning-face',
11311 `compilation-warning', `compilation-info' (bug#6117).
11313 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11315 * progmodes/compile.el (compilation-error): Inherit from `error'.
11316 (compilation-warning): Inherit from `warning'.
11317 (compilation-info): Inherit from `success'.
11319 * dired.el (dired-marked): Inherit from `warning'.
11320 (dired-flagged): Inherit from `error'.
11322 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11324 * mail/smtpmail.el (auth-source): Require to avoid problems with
11325 binding variables (bug#9298). Also clean up some unused
11328 * net/network-stream.el (network-stream-open-starttls):
11329 Support using starttls.el without using gnutls-cli.
11331 2011-08-17 Juri Linkov <juri@jurta.org>
11333 * progmodes/grep.el (rgrep): Handle the case when
11334 `grep-find-command' is a cons cell (bug#9278).
11336 2011-08-17 Martin Rudalics <rudalics@gmx.at>
11338 * window.el (display-buffer-pop-up-frame): Run frame creation
11339 function with BUFFER current (as special-display-popup-frame
11340 does). Reported by Drew Adams.
11342 2011-08-17 Daiki Ueno <ueno@unixuser.org>
11344 * epa-mail.el: Simplify GnuPG group expansion using
11346 (epa-mail-group-alist, epa-mail-group-modtime)
11347 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11348 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11349 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11352 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
11354 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11356 2011-08-16 Alan Mackenzie <acm@muc.de>
11358 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11359 Correct, to avoid the inside of macros.
11361 2011-08-16 Richard Stallman <rms@gnu.org>
11363 * epa-mail.el: Handle GnuPG group definitions.
11364 (epa-mail-group-alist, epa-mail-group-modtime)
11365 (epa-mail-gnupg-conf-file): New variables.
11366 (epa-mail-parse-groups, epa-mail-sync-groups)
11367 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11368 (epa-mail-expand-recipients): New functions.
11369 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11371 * mail/rmail.el (rmail-epa-decrypt): New command.
11373 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11374 Don't bind buffer-read-only, just inhibit-read-only.
11375 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11376 (epa-decrypt-armor-in-region): Make error message clearer.
11378 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11380 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11381 and "a2b" to "ab" for `prefix'.
11383 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
11385 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11387 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11388 Fourquet (Bug#8804).
11390 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
11392 * startup.el (argi): Declare as global variable (bug#9275).
11394 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
11396 * subr.el (string-mark-left-to-right): Search the entire string
11397 for RTL script, not just the terminating character. Doc fix.
11399 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11401 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11403 (js--regexp-literal, js-syntax-propertize-function): Remove.
11404 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11405 (js-mode-map): Don't rebind electric keys.
11406 (js-insert-and-indent): Remove.
11407 (js-mode): Setup electric-layout and electric-indent instead.
11409 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11411 2011-08-12 Daiki Ueno <ueno@unixuser.org>
11413 * epa.el (epa-progress-callback-function): Fix the logic of
11414 displaying progress.
11415 * epa-file.el (epa-file-insert-file-contents): Make progress
11416 display more user-friendly.
11417 (epa-file-write-region): Ditto.
11419 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
11421 * subr.el (string-mark-left-to-right): New function.
11423 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11424 Use string-mark-left-to-right.
11425 (list-buffers-noselect): Caller changed.
11427 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11428 Use string-mark-left-to-right.
11429 (tabulated-list-print): Recenter after moving point.
11431 2011-08-10 Juri Linkov <juri@jurta.org>
11433 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11434 This finishes incomplete reversion of revno:104787 (2011-06-30)
11435 intended by revno:104988 (2011-07-06).
11437 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
11439 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11442 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11444 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11445 character. (Bug#6594)
11447 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
11449 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11450 (image-dired--with-db-file): New macro.
11451 (image-dired-write-tags, image-dired-remove-tag)
11452 (image-dired-create-gallery-lists, image-dired-write-comments)
11453 (image-dired-get-comment, image-dired-mark-tagged-files)
11454 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11455 (image-dired-gallery-generate): Use insert-file-contents.
11457 * time.el (display-time-world-list, display-time-world-display):
11458 * time-stamp.el (time-stamp-string):
11459 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11460 set-time-zone-rule (Bug#7337).
11462 2011-08-08 Daiki Ueno <ueno@unixuser.org>
11464 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11465 (epg-error-to-string, epg-errors-to-string): New function.
11466 (epg-wait-for-completion): Reverse errors list.
11467 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11468 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11469 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11470 (epg-sign-keys, epg-generate-key-from-file)
11471 (epg-generate-key-from-string): Format errors by using
11472 epg-errors-to-string (bug#9255).
11473 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11475 2011-08-07 Juri Linkov <juri@jurta.org>
11477 * faces.el (list-faces-display): Remove extra angle bracket
11478 from `help-mode-map'.
11480 * info.el (Info-history-toc-nodes): Doc fix.
11482 * longlines.el (longlines-mode): Doc fix.
11484 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11486 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11487 of statements and in a few more cases (bug#9183).
11489 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11491 (cl-transform-lambda): Use them (bug#9239).
11493 2011-08-05 Martin Rudalics <rudalics@gmx.at>
11495 * window.el (display-buffer-same-window)
11496 (display-buffer-same-frame, display-buffer-other-window)
11497 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11498 (pop-to-buffer-other-window)
11499 (pop-to-buffer-same-frame-other-window)
11500 (pop-to-buffer-other-frame): Make them defuns.
11501 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11503 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11505 * subr.el (make-composed-keymap): Move from C. Change calling
11506 convention, and improve docstring to bring attention to a subtle point.
11507 * minibuffer.el (completing-read-default): Adjust accordingly.
11509 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
11511 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11512 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11514 * net/trampver.el: Update release number.
11516 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11518 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11521 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11523 * mail/sendmail.el (sendmail-query-once): Restore the current
11524 buffer after querying (bug#9074).
11526 * dired.el (dired-flagged): Use different faces for marked and
11527 flagged files (bug#6117).
11529 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11532 * ido.el (ido-mode): Switch off the message if called
11535 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11536 before 587, since it appears that that's more likely to work for
11539 * cus-edit.el (custom-file): When running under emacs -q, always
11540 refuse to save the customizations, even if the .emacs file doesn't
11543 * info.el: Remove the `Info-beginning-of-buffer' function
11546 * net/network-stream.el (network-stream-open-starttls):
11547 Use `starttls-available-p' to see whether starttls.el can be used.
11549 2011-08-01 Martin Rudalics <rudalics@gmx.at>
11551 * window.el (display-buffer-in-window): Don't set dedicated status
11552 of window here (Bug#9215).
11553 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11554 (display-buffer-pop-up-side-window)
11555 (display-buffer-in-side-window): Set dedicated status of window here.
11557 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11559 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11560 before binding generated-autoload-file.
11562 2011-08-01 Deniz Dogan <deniz@dogan.se>
11564 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11566 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
11568 Sync with Tramp 2.2.2.
11570 * net/trampver.el: Update release number.
11572 2011-07-30 Juri Linkov <juri@jurta.org>
11574 * dired-aux.el (dired-touch-initial): Remove function.
11575 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11576 current time, and `default' to the last modification time of the
11577 current marked file (bug#6887).
11579 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11581 * simple.el (goto-line): Use string-to-number to provide a
11582 numeric argument to read-number (bug#9163).
11584 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
11586 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11587 connection process, it could be nil.
11589 2011-07-27 Leo Liu <sdl.web@gmail.com>
11591 Simplify url handling in rcirc-mode.
11593 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11594 (rcirc-browse-url-at-mouse): Remove.
11595 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11597 2011-07-26 Alan Mackenzie <acm@muc.de>
11599 Fontify bitfield declarations properly.
11601 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11602 (c-symbol-chars): Now exported as a lang variable.
11603 (c-not-primitive-type-keywords): New lang variable.
11605 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11606 QT keyword "more" to prevent "more slots: ...." being spuriously
11607 parsed as a bitfield declaration.
11609 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11610 Refactor and enhance to handle bitfield declarations.
11611 (c-punctuation-in): New function.
11612 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11613 declarations properly.
11615 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
11617 * calendar/icalendar.el (icalendar--all-events): Take care of
11618 multiple vcalendars in a single file.
11619 (icalendar--convert-float-to-ical): Checkdoc fixes.
11621 2011-07-25 Deniz Dogan <deniz@dogan.se>
11623 * image.el (insert-image): Clarifying docstring.
11625 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
11627 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11628 `tramp-send-command-and-check' if there is no error.
11629 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11631 2011-07-22 Alan Mackenzie <acm@muc.de>
11633 Prevent cc-langs.elc being loaded at run time.
11635 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11638 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
11639 "(require 'cc-langs)". Quote a form so it will evaluate at
11640 (cc-mode's) compilation time.
11642 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
11644 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11645 loading. (Bug#9114)
11647 2011-07-21 Martin Rudalics <rudalics@gmx.at>
11649 * window.el (display-buffer-pop-up-window)
11650 (display-buffer-pop-up-side-window)
11651 (display-buffer-in-side-window): Call display-buffer-set-height
11652 and display-buffer-set-width after setting the new window's
11653 buffer so `fit-window-to-buffer' and friends work on the right buffer.
11655 2011-07-20 Sam Steingold <sds@gnu.org>
11657 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11658 (etags-tags-included-tables): Call `convert-standard-filename' on
11659 the file names contained in TAGS so that windows Emacs can handle
11660 TAGS files created by cygwin ctags.
11662 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11664 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11665 which apparently didn't work.
11667 2011-07-19 Roland Winkler <winkler@gnu.org>
11669 * proced.el (proced-send-signal): For *Marked Processes* buffer
11670 put point at beginning of buffer.
11672 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
11674 * proced.el (proced-format): Make header lines align with the text
11677 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11679 * view.el (view-buffer): Allow running in `special' modes if we're
11680 visiting a file (bug#8615).
11682 2011-07-19 Martin Rudalics <rudalics@gmx.at>
11684 * window.el (display-buffer-alist-of-strings-p)
11685 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11687 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11690 2011-07-18 Alan Mackenzie <acm@muc.de>
11692 Fontify declarators properly when, e.g., a jit-lock chunk begins
11693 inside a declaration.
11695 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11697 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11699 (c-complex-decl-matchers): Insert reference to
11700 c-font-lock-enclosing-decls.
11702 * progmodes/cc-engine.el (c-backward-single-comment):
11703 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11704 to nil around calls to (forward-comment -1).
11706 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11708 * image.el (put-image): Doc typo fix.
11710 * progmodes/etags.el (tags-search): Doc typo fix.
11712 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11713 password if we get errors 550 to 554.
11715 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11717 * net/gnutls.el (gnutls-log-level): Remove.
11719 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11720 indentation character (bug#6380).
11722 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11724 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11725 to clarify what the problem is (bug#4291).
11727 * simple.el (current-kill): Clarify what
11728 `interprogram-paste-function' does (bug#7500).
11729 (auto-fill-mode): Document `auto-fill-function' in relation to
11730 `auto-fill-mode' (bug#2470).
11732 2011-07-16 Lawrence Mitchell <wence@gmx.li>
11734 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11735 method if slot is read-only (bug#9035).
11737 2011-07-16 Martin Rudalics <rudalics@gmx.at>
11739 * frame.el (select-frame-set-input-focus): New argument NORECORD.
11740 * window.el (pop-to-buffer): Select window used even if it was
11741 selected before, see discussion of (Bug#8615), (Bug#6954).
11742 Pass argument NORECORD on to select-frame-set-input-focus.
11744 2011-07-15 Glenn Morris <rgm@gnu.org>
11746 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
11749 2011-07-09 Lawrence Mitchell <wence@gmx.li>
11751 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11752 (gnutls-negotiate): Use it.
11754 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11756 * net/gnutls.el (gnutls-negotiate):
11757 Upcase `gnutls-algorithm-priority'.
11759 2011-07-15 Glenn Morris <rgm@gnu.org>
11761 * jka-compr.el (jka-compr-verbose): Move from here...
11762 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11763 Add missing :version tag.
11764 * info.el: No need to require jka-compr when compiling.
11766 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11768 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11769 (gnutls-negotiate): Use it.
11771 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11773 * info.el (Info-beginning-of-buffer): New command.
11774 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11775 announcing `b' as the key (bug#8325).
11776 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
11778 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11780 * international/mule-cmds.el
11781 (describe-specified-language-support): Make the error message
11782 clearer (bug#8905).
11784 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11786 * isearch.el (isearch-barrier): Add a doc string, since it's
11787 mentioned in a function doc string (bug#8678).
11789 2011-07-15 Martin Rudalics <rudalics@gmx.at>
11791 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11792 buffer argument (Bug#9083) and self-identifying label argument.
11794 2011-07-15 Glenn Morris <rgm@gnu.org>
11796 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11798 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11800 * man.el (Man-fontify-manpage): Fix message when formatting the
11801 man page (bug#7929).
11803 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11805 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11806 argument LRM; if non-nil, append an invisible LRM character to the
11808 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11809 last argument non-nil, when formatting buffer names.
11810 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11811 paragraph direction.
11813 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11815 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11816 the man page name (bug#7929).
11818 * image.el (put-image): Mention the `put-image' overlay property
11821 * scroll-bar.el (set-scroll-bar-mode): Mention that
11822 `scroll-bar-mode' lists the values (bug#7772).
11824 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11825 command (bug#7729).
11827 * rect.el (apply-on-rectangle): Return the point after the last
11829 (string-rectangle): Go to the point after the last operation
11832 * printing.el (pr-toggle-region): Clarify the documentation
11833 slightly (bug#7493).
11835 * time.el (display-time-update):
11836 Allow `display-time-mail-function' to return nil (bug#7158).
11837 Fix suggested by Detlev Zundel.
11839 * vc/diff.el (diff): Clarify the order the file names are read
11842 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11843 the doc string (bug#7015).
11845 * font-lock.el (font-lock-maximum-decoration): Mention what
11846 numeric levels mean (bug#6935).
11848 * startup.el (initial-buffer-choice): Don't mention the `none'
11849 selection, which is against policy.
11851 2011-07-14 Martin Rudalics <rudalics@gmx.at>
11853 * window.el (display-buffer-normalize-special):
11854 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
11856 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11858 * subr.el (version<, version<=, version=): Mention "-CVS" and
11859 "-12345" alpha version numbers.
11861 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11863 * bindings.el: Add advertised binding for set-mark-command
11866 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11868 * bindings.el (mode-line-other-buffer):
11869 * bookmark.el (bookmark-bmenu-2-window):
11870 * bs.el (bs-cycle-next, bs-cycle-previous):
11871 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11874 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11877 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
11879 * follow.el (follow-debug-message, follow-redisplay):
11880 * jka-cmpr-hook.el (with-auto-compression-mode):
11881 Fix typos in docstrings.
11883 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11885 * subr.el (with-silent-modifications): Clarify somewhat what the
11886 macro inhibits (bug#6525).
11888 * simple.el (eval-expression): Note what it does if called
11889 interactively (bug#6495).
11891 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11893 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11894 Use pop-to-buffer buffer-or-name if it is nil.
11896 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11897 Remove switch-to-buffer.
11899 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11901 * files.el (make-directory): Clarify that an error will be raised
11902 if there's an error (bug#6397).
11904 * startup.el (initial-buffer-choice): Add `none' as a choice
11907 * subr.el (add-hook): Clarify section about buffer-local hooks
11910 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11912 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11914 * tabify.el (untabify): Preserve the current column so that point
11915 doesn't move (bug#6032).
11917 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11919 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11920 Rewrite to avoid awkward possessive "s" (bug#5986).
11922 2011-07-13 Glenn Morris <rgm@gnu.org>
11924 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11925 (dired-insert-directory): Give a message the first time
11926 if ls is found not to support --dired.
11928 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11930 * simple.el (toggle-truncate-lines): Clarify what is toggled
11931 (bug#5580). Text by Drew Adams.
11933 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11935 * simple.el (blink-matching-open): Make the error message from the
11936 last change less verbose.
11938 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11940 * font-lock.el (font-lock-comment-face): Use the high contrast
11941 "yellow" color for font-lock-comment-face on low color terminals
11942 using a dark background color (bug#4221).
11944 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11946 * dired.el (dired-insert-set-properties): Make the doc string
11947 reflect what it does now (bug#5325).
11949 * simple.el (blink-matching-open): Say that we were unable to find
11950 the match within the limit, if we're limited (bug#5122).
11952 * international/mule-cmds.el (prefer-coding-system): Add an
11953 example (bug#4869).
11955 * progmodes/etags.el (tags-search): Document `file-list-form'
11958 2011-07-13 Lawrence Mitchell <wence@gmx.li>
11960 * net/browse-url.el (browse-url-default-browser)
11961 (browse-url-browser-function): Make the default browser choice a
11962 bit more logical (bug#4300). Also clean up the doc string.
11964 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11966 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11967 binary endings (bug#4440).
11969 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11971 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11972 which can be pretty annoying (bug#8971).
11974 * jka-compr.el (jka-compr-verbose): New variable, and use
11975 throughout (bug#8971).
11977 * info.el (Info-find-file): Fall back on the installation
11978 directory if we can't find the info node anywhere else.
11980 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11982 * vc/vc.el (vc-revert-file):
11983 Don't set file time-stamp in the past. (Bug#5181)
11985 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11987 * files.el (after-find-file): Give a better error message when
11988 trying to find a symlink that points to a file that doesn't exist
11991 * progmodes/cc-vars.el: Remove (probably) misleading comment
11994 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11996 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11998 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
12000 * mouse-sel.el: Hack restoring functionality, while keeping
12001 compatibility with 2010-07-03 changes to mouse selection.
12002 (mouse-sel-primary-overlay): New var.
12003 (mouse-sel-selection-alist): Use it.
12004 (mouse-sel-mode): Doc fix; remove points that are default features
12007 2011-07-12 Johan Bockgård <bojohan@gnu.org>
12009 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12010 Fix previous fix (bug#2490).
12012 2011-07-12 Roland Winkler <winkler@gnu.org>
12014 * textmodes/bibtex.el (bibtex-initialize):
12015 Use pop-to-buffer-same-window.
12016 (bibtex-search-entries): Fix interactive call.
12018 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12020 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12021 Fontise bytecomp Error lines more correctly (bug#2490).
12022 Fix suggested by Johan Bockgård.
12024 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12026 * dired-x.el (dired-guess-default): Use `delete-dups'.
12028 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
12030 * dired.el (dired-mark-prompt):
12031 * dired-aux.el (dired-read-shell-command): Doc fix.
12033 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12035 * mail/sendmail.el (sendmail-query-once):
12036 Use `customize-save-variable' unconditionally, now that it works under
12039 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12041 * cus-edit.el (custom-file): Take an optional no-error variable.
12042 (customize-save-variable): Set the variable, and give a warning if
12043 running under "emacs -q".
12045 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
12047 * loadhist.el (unload-feature-special-hooks):
12048 Add `auto-coding-functions', `fill-nobreak-predicate' and
12049 `find-directory-functions' (bug#5327).
12051 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12053 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12055 * cus-edit.el (custom-guess-name-alist): -alist variables should
12056 use the `alist' type (bug#3120). Suggested by Drew Adams.
12058 * printing.el: Add documentation to all the `pr-toggle-' commands.
12060 2011-07-11 Leo Liu <sdl.web@gmail.com>
12062 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12063 backends where it makes sense (bug#2623).
12065 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12067 * dired-x.el (dired-guess-default): Remove duplicate shell command
12068 entries (bug#2028).
12069 (dired-guess-default): Fix grammar in doc string (bug#2028).
12070 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
12072 * subr.el (remove-duplicates): New conveniency function.
12074 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12076 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12079 2011-07-10 Martin Rudalics <rudalics@gmx.at>
12081 * window.el (display-buffer-normalize-default): Don't invert
12082 meaning of even-window-heights. Reported by Eli Zaretskii
12085 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12087 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12089 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
12091 * window.el (display-buffer): Fix arguments to
12092 display-buffer-reuse-window in last change.
12094 * faces.el (link): Use a less saturated blue on light backgrounds.
12096 * startup.el (fancy-startup-text, fancy-about-text)
12097 (fancy-startup-tail): Use font-lock faces, for background safety.
12099 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12101 * emulation/viper-cmd.el (viper-change-state-to-vi):
12102 Limit triggering of abbrev expansion (Bug#9038).
12104 2011-07-09 Martin Rudalics <rudalics@gmx.at>
12106 * window.el (display-buffer-default-specifiers): Remove.
12107 (display-buffer-macro-specifiers): Remove default specifiers.
12108 (display-buffer-alist): Default to nil.
12109 (display-buffer-reuse-window): New optional argument other-window.
12110 (display-buffer-pop-up-window): Allow splitting internal
12111 windows. Check whether a live window was created.
12112 (display-buffer-other-window-means-other-frame)
12113 (display-buffer-normalize-arguments): Rename to
12114 display-buffer-normalize-argument and rewrite. Set the
12115 other-window specifier.
12116 (display-buffer-normalize-special): New function.
12117 (display-buffer-normalize-options): Rename to
12118 display-buffer-normalize-default and rewrite.
12119 (display-buffer-normalize-options-inhibit): Remove.
12120 (display-buffer-normalize-specifiers): Rewrite.
12121 (display-buffer): Process other-window specifier and call
12122 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12124 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
12125 (display-buffer-alist-set): Don't handle 'unset default values.
12126 (display-buffer-in-window, display-buffer-alist-set):
12127 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
12128 <tassilo@member.fsf.org>.
12130 2011-07-09 Leo Liu <sdl.web@gmail.com>
12132 * register.el (insert-register): Restore accidental change on
12133 2011-06-26. (Bug#9028)
12135 2011-07-09 Glenn Morris <rgm@gnu.org>
12137 * subr.el (remq): Handle the empty list. (Bug#9024)
12139 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12141 * mail/sendmail.el (send-mail-function): No longer delay custom
12143 * custom.el (custom-initialize-delay): Doc fix.
12145 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12147 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12149 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
12151 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12152 human-friendly prompt.
12154 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12156 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12157 provided by a particular plugin.
12159 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12161 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12162 save customizations (with "emacs -Q"), just set the variable
12163 instead of erroring out.
12165 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12167 2011-07-08 Juri Linkov <juri@jurta.org>
12169 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12170 (archive-zip-update-case): Use 7z if found by `executable-find'.
12171 The order of searching the available programs is the same as in
12172 `archive-zip-extract' (bug#8968).
12174 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12176 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12177 (menu-bar-options-menu): Tweak descriptions.
12179 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12181 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12182 menu items into verb phrases (bug#1421). Also refill to fit under
12185 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12187 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12188 (Info-read-node-name): Doc fix (Bug#1084).
12190 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12191 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12192 (end-of-sexp, beginning-of-sexp)
12193 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12194 (forward-symbol, forward-same-syntax, word-at-point)
12195 (sentence-at-point): Doc fix (Bug#1144).
12197 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12199 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12200 should cover it (bug#1281).
12202 * cus-edit.el (custom-show): Mark as obsolete.
12204 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12205 negotiation fails, then possibly try again with a non-encrypted
12206 connection (bug#9017).
12208 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12211 2011-07-07 Richard Stallman <rms@gnu.org>
12213 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12214 property, and handle its changed format.
12215 Look for the correct line number.
12216 Use file's line contents (but not past first =) to find
12217 correct line in message.
12219 2011-07-07 Kenichi Handa <handa@m17n.org>
12221 * international/characters.el (build-unicode-category-table):
12223 (unicode-category-table): Set it by unicode-property-table-internal.
12225 * international/mule-cmds.el (char-code-property-alist): Move to
12227 (get-char-code-property): Call unicode-property-table-internal to
12228 load a file. Call get-unicode-property-internal where necessary.
12229 (put-char-code-property): Call unicode-property-table-internal to
12230 load a file. Call put-unicode-property-internal where necessary.
12231 put-unicode-property-internal where necessary.
12232 (char-code-property-description):
12233 Call unicode-property-table-internal to load a file.
12235 * international/charprop.el:
12236 * international/uni-bidi.el:
12237 * international/uni-category.el:
12238 * international/uni-combining.el:
12239 * international/uni-comment.el:
12240 * international/uni-decimal.el:
12241 * international/uni-decomposition.el:
12242 * international/uni-digit.el:
12243 * international/uni-lowercase.el:
12244 * international/uni-mirrored.el:
12245 * international/uni-name.el:
12246 * international/uni-numeric.el:
12247 * international/uni-old-name.el:
12248 * international/uni-titlecase.el:
12249 * international/uni-uppercase.el: Regenerate.
12251 * loadup.el: Load international/charprop.el before
12252 international/characters.
12254 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12256 * window.el (next-buffer, previous-buffer): Signal an error if
12257 called from a minibuffer window.
12259 * bindings.el: Revert 2011-07-04 change.
12261 2011-07-06 Richard Stallman <rms@gnu.org>
12263 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12264 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12265 Treat markers like ints.
12266 (rmail-mime-entity): Doc fix.
12268 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12270 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12271 defcustom again for backwards compatibility.
12273 * simple.el (shell-command-on-region): Fill.
12275 * dired-aux.el (dired-kill-line): Add a doc string.
12277 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12278 to "\\sw\\|\\s_" (bug#358).
12280 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12281 (dired-unmark-backward): Ditto.
12282 (dired-flag-backup-files): Ditto.
12284 * dired-x.el (dired-mark-sexp): Ditto.
12286 2011-07-06 Richard Stallman <rms@gnu.org>
12288 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12289 (rmail-mime-entity): New arg TRUNCATED.
12290 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12292 (rmail-mime-save): Warn if entity is truncated.
12293 (rmail-mime-toggle-hidden): Likewise, for showing.
12294 (rmail-mime-process-multipart): Record when an entity is truncated.
12296 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12297 if ENTITY is a string.
12299 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12301 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
12302 of faces when `M-C-x'-ing their definitions (bug#8378).
12303 Also clean up the code slightly.
12305 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
12306 because that makes the colors go away.
12308 * mail/sendmail.el (send-mail-function): Change the default to
12309 `sendmail-query-once'.
12310 (sendmail-query-once): Add an autoload cookie.
12312 * net/network-stream.el (network-stream-open-starttls): Try using
12313 a plain connection even if the server offered STARTTLS, and we
12314 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12315 capability. This should make smtpmail.el work in slightly more
12318 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
12320 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12322 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12324 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12326 * progmodes/sql.el: Version 3.0
12327 (sql-product-alist): Add product :completion-object,
12328 :completion-column, and :statement attributes.
12329 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
12330 (sql-mode-syntax-table): Mark all punctuation.
12331 (sql-font-lock-keywords-builder): Temporarily remove fallback on
12333 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
12334 (sql-mode-oracle-font-lock-keywords): Improve.
12335 (sql-oracle-show-reserved-words): New function for development.
12336 (sql-product-font-lock): Simplify for source code buffers.
12337 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12339 (sql-highlight-product): Set product specific syntax table.
12340 (sql-mode-map): Add statement movement functions.
12341 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12343 (sql-statement-regexp, sql-beginning-of-statement)
12344 (sql-end-of-statement, sql-signum): New functions.
12345 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
12346 (sql-show-sqli-buffer): Bug fix.
12347 (sql-interactive-mode): Store connection data as buffer local.
12348 (sql-connect): Add NEW-NAME parameter. Redesign interaction
12349 with sql-interactive-mode.
12350 (sql-save-connection): Save buffer local settings.
12351 (sql-connection-menu-filter): Change menu entry name.
12352 (sql-product-interactive): Bug fix.
12353 (sql-preoutput-hold): New variable.
12354 (sql-interactive-remove-continuation-prompt): Bug fixes.
12355 (sql-debug-redirect): New variable.
12356 (sql-str-literal): New function.
12357 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
12359 (sql-oracle-save-settings, sql-oracle-restore-settings)
12360 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12361 (sql-completion-object, sql-completion-column)
12362 (sql-completion-sqlbuf): New variables.
12363 (sql-build-completions-1, sql-build-completions)
12364 (sql-try-completion): New functions.
12365 (sql-read-table-name): Use them.
12366 (sql-contains-names): New buffer local variable.
12367 (sql-list-all, sql-list-table): Use it.
12368 (sql-oracle-completion-types): New variable.
12369 (sql-oracle-completion-object, sql-sqlite-completion-object)
12370 (sql-postgres-completion-object): New functions.
12372 2011-07-06 Glenn Morris <rgm@gnu.org>
12374 * window.el (pop-to-buffer): Doc fix.
12376 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
12378 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12380 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
12382 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
12384 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
12386 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
12388 * button.el (button): Inherit from link face. Suggested by Dan
12391 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12393 * progmodes/gdb-mi.el: Fit in 80 columns.
12394 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12397 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12398 if imenu is simply not configured (bug#8941).
12400 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12402 * allout.el (allout-post-undo-hook): New allout outline-change
12403 event hook to signal undo activity.
12404 (allout-post-command-business): Run allout-post-undo-hook if an
12405 undo just occurred.
12406 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12407 * allout-widgets.el (allout-widgets-after-undo-function):
12408 Ensure the integrity of the current item's decoration after it has been
12409 in the vicinity of an undo.
12410 (allout-widgets-mode): Include allout-widgets-after-undo-function
12411 on the new allout-post-undo-hook.
12413 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12415 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12416 Let define-derived-mode define it.
12417 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12418 cycles of abbrev-table inheritance (bug#8998).
12420 2011-07-05 Roland Winkler <winkler@gnu.org>
12422 * textmodes/bibtex.el: Add support for biblatex.
12423 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12424 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12425 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12426 (bibtex-entry-alist, bibtex-field-alist): New variables.
12427 (bibtex-entry-field-alist): Obsolete alias for
12428 bibtex-BibTeX-entry-alist.
12429 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12430 (bibtex-set-dialect): New command.
12431 (bibtex-entry-type, bibtex-entry-head)
12432 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12433 Bind via bibtex-set-dialect.
12434 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12435 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12436 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12437 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12438 Define via bibtex-set-dialect.
12439 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12440 Obey bibtex-no-opt-remove-re.
12441 (bibtex-vec-push, bibtex-vec-incr): New functions.
12442 (bibtex-format-entry, bibtex-field-list)
12443 (bibtex-print-help-message, bibtex-validate)
12444 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12446 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12448 * progmodes/compile.el (compilation-goto-locus):
12449 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12450 * bs.el (bs-cycle-next, bs-cycle-previous):
12451 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12452 * bindings.el (mode-line-other-buffer):
12453 * autoinsert.el (auto-insert):
12454 * arc-mode.el (archive-extract):
12455 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12457 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12459 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12460 Fix check of `emacs-lock-unlockable-modes'.
12461 Coerce true values of `emacs-lock--try-unlocking' to t.
12463 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12465 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12466 * emacs-lock.el: New file.
12468 2011-07-05 Julien Danjou <julien@danjou.info>
12470 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12471 than `boundp' to check if face is set.
12473 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12475 * register.el (registerv-make):
12476 * window.el (window-min-height): Fix typos in docstrings.
12478 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12480 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
12483 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12485 * server.el (server-execute): Catch quit and call
12486 `server-return-error' to pass the error back to emacsclient and
12487 close the connection (bug#8942).
12489 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12491 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12492 insecure exception for current topic. Also note that auto-saves
12493 are handled differently.
12495 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
12496 State variables for tracking auto-save inhibition situation.
12498 (allout-write-contents-hook-handler): Rename from
12499 'allout-write-file-hook-handler', and describe how it depends on
12500 write-contents-functions sensitivity to non-nil value to prevent
12503 (allout-auto-save-hook-handler): Remove. auto-save does not check
12504 this in individual buffers, only in the starting buffer, so this
12505 is not the right way for us to inhibit auto-save in a buffer
12506 according to its condition.
12508 (allout-mode): Use new allout-write-contents-hook-handler, and
12509 only with write-contents-functions. Remove auto-save provisions -
12510 they're implemented elsewhere.
12512 (allout-before-change-handler): If undo is in progress, note that
12513 for attention of allout-post-command-business.
12515 (allout-post-command-business): If the command we're following was
12516 an undo, check for change in the status of encrypted items and
12517 adjust auto-save inhibitions accordingly.
12519 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12520 according to whether there are or aren't any plain-text topics
12521 pending encryption.
12523 (allout-inhibit-auto-save-info-for-decryption):
12524 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12525 if there are plain-text topics pending encryption.
12527 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12528 buffer-saved-size and some allout state to not inhibit auto-saves
12529 if there are no longer any plain-text topics pending encryption.
12531 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12532 No longer provide for exemption of the current topic.
12534 2011-07-04 Juri Linkov <juri@jurta.org>
12536 Add 7z operations to delete and save changed members (bug#8968).
12537 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12539 (archive-7z-write-file-member): New function.
12540 (archive-7z-summarize): Fix the number of dashes in the
12543 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12545 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12548 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
12550 * bindings.el: Ignore next-buffer and previous-buffer in
12551 minibuffer-local-map.
12553 * font-lock.el (font-lock-builtin-face): Change light background
12554 color to dark slate blue (Bug#6693).
12556 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12558 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12560 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12562 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12563 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12564 Add switch-to-buffer.
12566 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12568 * isearch.el (isearch-search-fun-function): Clarify further the
12569 meaning of the function returned.
12571 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
12573 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12575 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12576 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12578 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12579 `tramp-default-remote-path' does not exist.
12580 (tramp-send-command-and-read): New optional argument NOERROR.
12581 (tramp-open-connection-setup-interactive-shell)
12582 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12583 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12584 (tramp-process-sentinel): Flush also process' connection property.
12585 (tramp-sh-handle-start-file-process): Do not set process
12586 sentinel. It is done now ...
12587 (tramp-maybe-open-connection): ... here. (Bug#8929)
12589 2011-07-04 MON KEY <monkey@sandpframing.com>
12591 * play/animate.el (animate-string): Doc fixes and allow changing
12592 the buffer name (bug#5417).
12594 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12596 * play/animate.el (animation-buffer-name): Rename from *animate*.
12598 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12600 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12601 This is simpler and helps future-proof the code.
12602 (timer-until): Use time-subtract and float-time.
12603 (timer--time-less-p): Use time-less-p.
12605 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12607 * type-break.el (timep): Use the value of `float-time' to avoid a
12608 byte-compiler warning.
12610 * server.el (server-eval-and-print): Return any result, even nil.
12612 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12614 * type-break.el: Accept time formats that the builtins accept.
12615 (timep, type-break-time-difference): Accept any format that
12616 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12617 This is simpler and helps future-proof the code.
12618 (type-break-time-difference): Round rather than ignoring
12619 subseconds components.
12621 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12623 * info.el (Info-apropos-matches): Make non-interactive, since it
12624 doesn't seem to do anything useful as a command (bug#8829).
12626 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
12628 * frame.el (frame-background-mode, frame-set-background-mode):
12629 Move from faces.el.
12630 (frame-default-terminal-background): New function.
12632 * custom.el (custom-push-theme): Don't record faces in `changed'
12633 theme; this doesn't work correctly for per-frame face settings.
12634 (disable-theme): Use face-set-after-frame-default to reset faces.
12635 (custom--frame-color-default): New function.
12637 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12639 * dired.el (dired-flagging-regexp): Remove unused variable
12642 2011-03-29 Kevin Ryde <user42@zip.com.au>
12644 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12645 `perl-Test2' extend to match possible "fail #N" rep count
12648 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12650 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12651 `smtpmail-via-smtp' now returns the error instead of nil.
12653 * isearch.el (isearch-search-fun-function): Clarify the doc string
12656 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
12658 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12659 unnecessary spaces (bug#8987).
12661 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12663 * net/network-stream.el (open-network-stream): Use the
12664 :end-of-capability command thoughout.
12666 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12668 * net/network-stream.el (open-network-stream): Add the
12669 :end-of-capability command parameter, used by pop3.el.
12671 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12673 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12675 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12676 for list)" (bug#6475).
12678 * files.el (file-expand-wildcards): Ignore non-readable
12679 sub-directories while trying to find matches instead of signaling
12680 an error (bug#6297).
12682 * man.el (Man-reference-regexp): Allow matching possible
12683 word-wrapped references (bug#6289).
12685 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12686 for consistency with the other vc buffers (bug#6197).
12687 (vc-checkin): Ditto.
12689 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12691 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12693 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12695 * custom.el (defcustom): Clarify that :set is only used in the
12696 Customize user interface (bug#6089).
12698 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12699 associated with a file, refuse to run instead of erroring out
12702 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12703 the doc string, since it appears that using `fill-column' always
12704 controls the width (bug#7845).
12706 * simple.el (shell-command-on-region): Say where the error output
12707 went if `shell-command-default-error-buffer' is set (bug#6857).
12709 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12711 * allout.el (allout-yank-processing): Adjust cursor position for
12712 backwards-deleted space.
12714 (allout-rebullet-heading): Register changes with
12715 allout-exposure-changed-hook, so the modified topic is properly
12718 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12720 * minibuffer.el (completion-in-region): Document PREDICATE
12723 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12724 of keyword/argument pairs (bug#6904).
12726 * replace.el (multi-occur):
12727 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
12729 2011-07-02 Drew Adams <drew.adams@oracle.com>
12731 * dired.el (dired-mark-if): Make the message about whether it's
12732 marking or unmarking clearer (bug#8523).
12734 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12736 * disp-table.el (display-table-print-array): New function.
12737 (describe-display-table): Use it to print the vectors more pretty
12740 2011-07-02 Martin Rudalics <rudalics@gmx.at>
12742 * window.el (window-state-get-1): Don't assign clone numbers.
12743 Add clone-of item to list of window parameters.
12744 (window-state-put-2): Don't process clone numbers.
12745 (display-buffer-alist): Fix doc-string.
12747 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12749 * subr.el (remq): Don't allocate if it's not needed.
12750 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12751 (keymap--merge-bindings): New functions.
12752 (keymap-canonicalize): Use them to refine the canonicalization.
12753 * minibuffer.el (minibuffer-local-completion-map)
12754 (minibuffer-local-must-match-map): Move initialization from C.
12755 (minibuffer-local-filename-completion-map): Move initialization from C;
12756 don't inherit from anything here.
12757 (minibuffer-local-filename-must-match-map): Make obsolete.
12758 (completing-read-default): Use make-composed-keymap to combine
12759 minibuffer-local-filename-completion-map with either
12760 minibuffer-local-must-match-map or
12761 minibuffer-local-filename-completion-map.
12763 2011-07-01 Glenn Morris <rgm@gnu.org>
12765 * type-break.el (type-break-time-sum): Use dolist.
12767 * textmodes/flyspell.el (flyspell-word-search-backward):
12768 Replace CL function.
12770 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12772 * mouse.el (mouse--strip-first-event): New function.
12773 (function-key-map): Use it to map fringe clicks to normal clicks
12776 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12777 (vc-bzr-revision-completion-table): Add support for annotate and date.
12779 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12780 inherit from parent.
12782 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12784 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
12785 (dired-show-file-type): Doc fixup (bug#8818).
12787 * dired.el (dired-mode): Fix up the doc string as suggested by
12788 Drew Adams (bug#8817).
12790 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12791 cookie, since the manual says that it should be possible to add
12792 this function to `find-file-hook' (bug#8709).
12794 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12796 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12797 here. Noted Ted Zlatanov as the maintainer.
12798 (cfengine-common-settings, cfengine-common-syntax): New functions
12799 to set up common things between `cfengine-mode' and
12801 (cfengine3-mode): New mode.
12802 (cfengine3-defuns cfengine3-defuns-regex
12803 (cfengine3-class-selector-regex cfengine3-category-regex)
12804 (cfengine3-vartypes cfengine3-font-lock-keywords)
12805 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
12806 (cfengine3-indent-line): Add from cfengine3.el.
12808 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
12810 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12812 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12814 2011-07-01 Martin Rudalics <rudalics@gmx.at>
12816 * window.el (same-window-buffer-names, same-window-regexps)
12817 (same-window-p, special-display-frame-alist)
12818 (special-display-popup-frame, special-display-function)
12819 (special-display-buffer-names, special-display-regexps)
12820 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12821 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12822 (split-window-preferred-function, split-height-threshold)
12823 (split-width-threshold, even-window-heights)
12824 (display-buffer-mark-dedicated, window-splittable-p)
12825 (split-window-sensibly, window-safely-shrinkable-p):
12827 (display-buffer): Don't spread args with function specifier
12828 because special-display-popup-frame won't like it.
12830 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12832 Time-stamp simplifications and fixes.
12833 These improve accuracy slightly, and future-proof the code
12834 against some potential changes to current-time format.
12836 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12837 by using time-since and float-time.
12839 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12840 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12841 + NNN microseconds".
12843 * type-break.el (type-break-time-sum): Rewrite using time-add.
12845 * play/hanoi.el (hanoi-current-time-float): Remove.
12846 All uses replaced by float-time.
12848 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12849 This yields a more-accurate answer.
12850 (rng-time-to-float): Remove; no longer needed.
12852 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12854 * calendar/timeclock.el (timeclock-seconds-to-time):
12855 Defalias to seconds-to-time, since they're the same thing.
12857 * emacs-lisp/elp.el (elp-elapsed-time):
12858 * emacs-lisp/benchmark.el (benchmark-elapse):
12859 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12861 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12863 * window.el (bury-buffer): Don't iconify the only frame.
12864 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12865 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12867 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
12869 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12870 Add mouse-yank-primary.
12872 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12874 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12876 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12878 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12879 (find-library-name): Use it to find relative load names when provided
12880 absolute file name (bug#8803).
12882 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12884 * textmodes/flyspell.el (flyspell-word): Consider words that
12885 differ only in case as potential doublons (bug#5687).
12887 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12888 Remove two rather uninteresting debugging-like messages to make
12889 debbugs.el more silent.
12891 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12892 a password-like phrase.
12894 2011-06-30 Masatake YAMATO <yamato@redhat.com>
12896 * progmodes/cc-guess.el: New file.
12898 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
12900 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12901 derived from `c-basic-common-init'.
12903 * progmodes/cc-mode.el (top-level): Require cc-guess.
12904 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12906 2011-06-30 Lawrence Mitchell <wence@gmx.li>
12908 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12910 2011-06-30 Alan Mackenzie <acm@muc.de>
12912 * progmodes/cc-engine.el (c-guess-continued-construct):
12913 Correct the handling of template-args-cont, particularly for when font
12914 lock is disabled. Name this case as "CASE G".
12916 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12918 * allout.el (allout-yank-processing): Fix injection of extra space
12919 between bullet and non-whitespace character in first topic when
12920 pasting, ensuring that the actual spacing in the pasted topic
12921 following the bullet char is preserved. This extra space was
12922 causing pasted encrypted topics to get a decrypted status even
12923 when the content was actually still encrypted. Now the decryption
12924 status from before the paste is preserved.
12926 (allout-flag-region): Set all allout overlays so they evaporate
12927 when reduced to zero length (evanescent), to prevent overlay
12930 2011-06-30 Glenn Morris <rgm@gnu.org>
12932 * w32-fns.el (w32-charset-info-alist): Declare.
12934 * find-dired.el (find-grep-options): Simplify.
12936 * term/ns-win.el (ns-set-resource): Declare.
12938 * ses.el (row, col): Declare dynamic variables honestly.
12940 * textmodes/reftex-parse.el (index-tags): Declare.
12942 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
12944 * cus-edit.el (customize-push-and-save): New function.
12946 * files.el (hack-local-variables-confirm): Use it.
12948 * custom.el (load-theme): New arg NO-CONFIRM.
12949 Use customize-push-and-save (Bug#8720).
12950 (custom-enabled-themes): Doc fix.
12952 * cus-theme.el (customize-create-theme)
12953 (custom-theme-merge-theme): Callers to load-theme changed.
12955 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12957 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12958 short URLs have at least one dot in them (bug #7614).
12960 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12961 nil, because using a pty is apparently too slow (bug #895).
12963 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12965 * mail/sendmail.el (sendmail-query-once): New function.
12966 (sendmail-query-once-function): New variable.
12968 2011-06-29 Glenn Morris <rgm@gnu.org>
12970 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12972 * ses.el (top-level): Require cl when compiling.
12973 (ses-set-localvars): Fix error statement.
12974 Call it at compile time to silence a storm of warnings.
12976 2011-06-29 Martin Rudalics <rudalics@gmx.at>
12978 * window.el (normalize-live-buffer): Rename to
12979 window-normalize-buffer.
12980 (normalize-live-frame): Rename to window-normalize-frame.
12981 (normalize-any-window): Rename to window-normalize-any-window.
12982 (normalize-live-window): Rename to window-normalize-live-window.
12983 (make-window-atom): Rename to window-make-atom.
12984 (window-resize-reset): Rename to window--resize-reset.
12985 (window-resize-reset-1): Rename to window--resize-reset-1.
12986 (resize-mini-window): Rename to window--resize-mini-window.
12987 (resize-subwindows-skip-p): Rename to
12988 window--resize-subwindows-skip-p.
12989 (resize-subwindows-normal): Rename to
12990 window--resize-subwindows-normal.
12991 (resize-subwindows): Rename to window--resize-subwindows.
12992 (resize-other-windows): Rename to window--resize-siblings.
12993 (resize-this-window): Rename to window--resize-this-window.
12994 (resize-root-window): Rename to window--resize-root-window.
12995 (resize-root-window-vertically): Rename to
12996 window--resize-root-window-vertically.
12997 (normalize-buffer-to-display): Rename to
12998 window-normalize-buffer-to-display.
12999 (normalize-buffer-to-switch-to): Rename to
13000 window-normalize-buffer-to-switch-to.
13001 Correspondingly update all callers of the functions listed
13003 (display-buffer-alist, display-buffer-normalize-arguments)
13004 (display-buffer-normalize-options, display-buffer)
13005 (display-buffer-alist-set): Use "function" instead of
13008 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
13010 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13011 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13012 debbugs.gnu.org. Mention acknowledgment email.
13014 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13016 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13017 buffer multibyteness, since it shouldn't matter.
13019 2011-06-28 Martin Rudalics <rudalics@gmx.at>
13021 * window.el (display-buffer-in-side-window): Handle dedicated
13022 windows as in display-buffer-reuse-window.
13023 (display-buffer-normalize-alist): Use value of override
13025 (display-buffer-normalize-specifiers): Use value of
13026 other-window-means-other-frame specifier.
13027 (display-buffer-alist): Rewrite some texts in widgets.
13028 (display-buffer): Spread arguments when calling function
13029 specified by fun-with-args.
13031 2011-06-28 Deniz Dogan <deniz@dogan.se>
13033 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13036 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13037 selectors (Bug#5732).
13038 (css-proprietary-nmstart-re): Use `regexp-opt'.
13040 2011-06-27 Jari Aalto <jari.aalto@cante.net>
13042 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13043 (eshell-ls-date-format): New defcustom.
13044 (eshell-ls-file): Use it.
13046 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13048 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13050 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13052 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13053 (ange-ftp-make-tmp-name): New arg.
13054 (ange-ftp-file-local-copy): Use it.
13056 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
13058 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13059 no-conversion (Bug#8870).
13061 2011-06-27 Martin Rudalics <rudalics@gmx.at>
13063 * window.el (window-right, window-left, window-child)
13064 (window-child-count, window-last-child)
13065 (window-iso-combination-p, walk-window-tree-1)
13066 (window-atom-check-1, window-tree-1, delete-window)
13067 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13068 new naming conventions - window-vchild, window-hchild,
13069 window-next and window-prev are now called window-top-child,
13070 window-left-child, window-next-sibling and window-prev-sibling
13072 (resize-window-reset): Rename to window-resize-reset.
13073 (resize-window-reset-1): Rename to window-resize-reset-1.
13074 (resize-window): Rename to window-resize.
13075 (window-min-height, window-min-width)
13076 (resize-mini-window, resize-this-window, resize-root-window)
13077 (resize-root-window-vertically, adjust-window-trailing-edge)
13078 (enlarge-window, shrink-window, maximize-window)
13079 (minimize-window, delete-window, quit-restore-window)
13080 (split-window, balance-windows, balance-windows-area-adjust)
13081 (balance-windows-area, window-state-put-2)
13082 (display-buffer-even-window-sizes, display-buffer-set-height)
13083 (display-buffer-set-width, set-window-text-height)
13084 (fit-window-to-buffer): Rename all "resize-window" prefixed
13085 calls to use the "window-resize" prefix convention.
13086 (display-buffer-alist): Fix symbol for label specifier.
13087 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13088 corresponding specifier.
13089 Reported by Juanma Barranquero <lekktu@gmail.com>.
13091 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13093 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13095 (ses-call-printer): Does not pass an empty string to formatter when the
13096 cell is empty to keep from barking printer Calc math-format-value.
13098 2011-06-27 Richard Stallman <rms@gnu.org>
13100 * battery.el (battery-mode-line-limit): New variable.
13101 (battery-update): Handle it.
13103 * mail/rmailmm.el (rmail-mime-process-multipart):
13104 Handle truncated messages.
13106 2011-06-27 Glenn Morris <rgm@gnu.org>
13108 * progmodes/flymake.el (flymake-err-line-patterns):
13109 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13111 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13113 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
13114 (ses--clean-!, ses--clean-_): New functions.
13115 (ses-range): Add configurability of readout order, and conversion
13118 * ses.el (ses-repair-cell-reference-all): New function.
13119 (ses-cell-symbol): Set macro as safe, so that it can be used in
13122 * ses.el: Update cycle detection algorithm.
13123 (ses-localvars): Add ses--Dijkstra-attempt-nb and
13124 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
13125 (ses-set-localvars): New function.
13126 (ses-make-cell): Add property-list as a cell element.
13127 (ses-cell-property-get-fun, ses-cell-property-get)
13128 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
13129 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13131 (ses-cell-property-set, ses-cell-property-pop)
13132 (ses-cell-property-get-handle): New macro.
13133 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13134 New aliases, used for code readability.
13135 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13137 (ses-self-reference-early-detection): New defcustom.
13138 (ses-formula-references): Robustify against self-referring cells.
13139 (ses-mode): Use ses-set-localvars.
13140 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13141 before lauching the update processing.
13142 (ses-initialize-Dijkstra-attempt): New function.
13143 (ses-recalculate-cell): Update for cycle detection based on
13144 Dijkstra algorithm.
13146 * ses.el: Fix commenting and indenting convention.
13148 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13150 * bs.el (bs-cycle-next): Complete last change.
13152 2011-06-27 Drew Adams <drew.adams@oracle.com>
13154 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13156 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13158 * net/network-stream.el (network-stream-open-starttls):
13159 Don't re-get capabilities unless we've reestablished connection.
13160 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13162 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13163 to binary to possibly avoid line encoding issues on Windows (among
13166 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13168 * net/network-stream.el (open-network-stream): Return an :error
13169 saying what the problem was, if possible.
13171 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13174 * net/network-stream.el (network-stream-open-starttls): If we
13175 wanted to use STARTTLS, and the server offered it, but we weren't
13176 able to because we had no STARTTLS support, then close the connection.
13177 (open-network-stream): Return an :error element, if present.
13179 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
13181 * hl-line.el (hl-line-sticky-flag): Doc fix.
13182 (global-hl-line-sticky-flag): New option (Bug#8323).
13183 (global-hl-line-highlight): Obey it.
13185 * vc/vc.el (vc-revert-show-diff): Default to t.
13187 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13189 * allout-widgets.el (allout-widgets-post-command-business):
13190 Stop decorating intermediate isearch matches. They're not being
13191 undecorated when an isearch is continued past, and isearch
13192 automatically collapses them. This leads to "widget leaks", where
13193 decorated items accumulate in collapsed areas. Lines with lots of
13194 hidden widgets can slow down cursor travel, substantially.
13195 Too much complicated machinery would be needed to ensure undecoration,
13196 so we're doing without this nicety.
13198 (allout-widgets-tally-string): Don't try to do a hash-table-count
13199 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13200 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13201 *Messages* when allout-widgets-maintain-tally is t.
13203 2011-06-26 Martin Rudalics <rudalics@gmx.at>
13205 * window.el (display-buffer-normalize-argument): Rename to
13206 display-buffer-normalize-arguments. Handle special meaning of
13207 LABEL argument. Respect special-display-function when popping up
13208 a new frame. Fix code searching for a window showing the buffer
13210 (display-buffer-normalize-specifiers):
13211 Call display-buffer-normalize-arguments.
13212 (display-buffer-in-window): Don't undedicate the window if its
13213 buffer remains the same.
13214 Reported by Drew Adams <drew.adams@oracle.com>.
13215 (display-buffer-alist): Add choice for same-window macro
13217 (display-buffer): Mention special meaning of LABEL argument in
13218 doc-string. Fix quoting. Don't pop up a new frame even as
13221 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
13223 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13224 avoid deleting the current window in some cases (bug#8911).
13226 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13228 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13231 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13233 * net/network-stream.el (network-stream-open-starttls):
13234 Use built-in TLS support if `gnutls-available-p' is true.
13235 (network-stream-open-tls): Ditto.
13237 2011-06-26 Leo Liu <sdl.web@gmail.com>
13239 * register.el (registerv): New struct.
13240 (registerv-make): New function.
13241 (jump-to-register, describe-register-1, insert-register):
13242 Support the jump-func, print-func and insert-func slot of a registerv
13245 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
13247 * vc/vc.el (vc-revert-show-diff): New defcustom.
13248 (vc-diff-internal): New arg specifying diff buffer.
13249 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13250 reuse an existing *vc-diff* buffer (Bug#8927).
13252 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13254 2011-06-26 Glenn Morris <rgm@gnu.org>
13256 * progmodes/f90.el (f90-critical-indent): New option.
13257 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13258 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13259 (f90-mode): Doc fix.
13260 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13261 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13262 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13263 (f90-match-end): Handle block, critical.
13265 2011-06-25 Glenn Morris <rgm@gnu.org>
13267 * calendar/diary-lib.el (diary-included-files): Doc fix.
13268 (diary-include-files): New function, extracted from
13269 diary-include-other-diary-files and diary-mark-included-diary-files.
13270 (diary-include-other-diary-files, diary-mark-included-diary-files):
13271 Just call diary-include-files.
13272 (diary-mark-entries): Reset diary-included-files on first call.
13274 * calendar/diary-lib.el (diary-mark-entries)
13275 (diary-mark-included-diary-files):
13276 Visit included diary-files in temp buffers.
13278 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13279 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13280 (f90-start-block-re, f90-imenu-generic-expression)
13281 (f90-looking-at-program-block-start, f90-no-block-limit):
13282 Add support for submodules.
13284 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13285 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
13287 2011-06-25 Eli Zaretskii <eliz@gnu.org>
13289 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13290 buffer-file-type before setting its value, to avoid disastrous
13291 global effects on decoding files for DOS/Windows systems. (Bug#8780)
13293 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
13295 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13297 * ses.el (ses-unload-function):
13298 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13300 * proced.el (proced-unload-function):
13301 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13303 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13305 * server.el (server-create-window-system-frame): Add parameters arg.
13306 (server-process-filter): Doc fix. Handle frame-parameters.
13308 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
13310 Fix bug#8730, bug#8781.
13312 * loadhist.el (unload--set-major-mode): New function.
13313 (unload-feature): Use it.
13315 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13316 (python-unload-function): New function.
13318 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13320 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13322 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13324 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13325 the candidates list.
13327 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
13329 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13331 2011-06-23 Richard Stallman <rms@gnu.org>
13333 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13334 (rmail-variables): Set next-error-move-function.
13335 (rmail-what-message): Take argument POS.
13336 (rmail-next-error-move): New function.
13338 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13340 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13341 messages for adjacent non-terminals.
13343 2011-06-23 Richard Stallman <rms@gnu.org>
13345 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
13346 (rmail-show-message-1): Preserve buffer modified flag.
13347 (rmail-start-mail): Don't specify use of rmail-mail-return;
13348 that's done by mail-bury now.
13349 (rmail-mail-return): Handle arg NEWBUF.
13351 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
13353 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13356 2011-06-23 Martin Rudalics <rudalics@gmx.at>
13358 * window.el (get-lru-window, get-mru-window)
13359 (get-largest-window): Never return a minibuffer window.
13360 (display-buffer-pop-up-window): Fix a bug that could lead to
13361 reusing the minibuffer window.
13362 (display-buffer): Pass original specifier argument to
13363 display-buffer-function instead of the normalized one.
13364 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13366 2011-06-22 Leo Liu <sdl.web@gmail.com>
13368 * minibuffer.el (completing-read-function)
13369 (completing-read-default): Move from minibuf.c
13371 2011-06-22 Richard Stallman <rms@gnu.org>
13373 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13374 to Rmail even if not started by a special Rmail command.
13376 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13377 Copy the buffer currently showing just one message.
13379 2011-06-22 Roland Winkler <winkler@gnu.org>
13381 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13382 (bibtex-clean-entry): First delete the old key so that a
13383 customized algorithm for generating the new key does not get
13384 confused by the old key.
13385 (bibtex-url): Obey regexp of first step.
13386 (bibtex-search-entries): Do not use add-to-list with local
13389 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13391 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13392 stored a user name, then query for the password first, instead of
13393 waiting for SMTP to give an error message and the trying again.
13395 2011-06-22 Lawrence Mitchell <wence@gmx.li>
13397 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13398 BUFFER in call-process.
13400 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13402 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13404 (smtpmail-try-auth-methods): Require user name and password from
13407 2011-06-22 Martin Rudalics <rudalics@gmx.at>
13409 * window.el (display-buffer-default-specifiers)
13410 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13411 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
13412 (split-window): Normalize SIDE argument (Bug#8916).
13414 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13415 (special-display-frame-alist, special-display-popup-frame):
13416 Remove duplicate declarations. These are now in window.el.
13418 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13420 * mail/smtpmail.el (smtpmail-via-smtp):
13421 Set :use-starttls-if-possible so that we always use STARTTLS if the
13422 server supports it. SMTP servers that support STARTTLS commonly
13425 * net/network-stream.el (network-stream-open-starttls): Support
13426 upgrading to STARTTLS always, even if we don't have built-in support.
13427 (open-network-stream): Add the :always-query-capabilities keyword.
13429 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13430 upgrades with `open-network-stream', and rely solely on
13431 auth-source for all credentials. Big changes throughout the file,
13433 (smtpmail-auth-credentials): Remove.
13434 (smtpmail-starttls-credentials): Remove.
13435 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13438 * net/network-stream.el (network-stream-open-starttls):
13439 Provide support for client certificates both for external and built-in
13441 (auth-source): Require.
13442 (open-network-stream): Document the :client-certificate keyword.
13443 (network-stream-certificate): Change cert-cert to cert and
13446 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
13448 * net/tramp-cache.el (top): Don't load the persistency file when
13449 "emacs -Q" has been called.
13451 2011-06-21 Tim Harper <timcharper@gmail.com>
13453 * term/ns-win.el (ns-initialize-window-system):
13454 Set application-specific `ApplePressAndHoldEnabled' system
13455 resource to NO as it is not yet supported by the NS port.
13457 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
13459 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13460 (list-dynamic-libraries): ...not here.
13462 2011-06-21 Leo Liu <sdl.web@gmail.com>
13464 * subr.el (sha1): Implement sha1 using secure-hash.
13466 2011-06-21 Martin Rudalics <rudalics@gmx.at>
13468 * window.el (display-buffer-alist): In default value do not
13469 enforce searching a window on any but the selected frame.
13470 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13471 (display-buffer-select-window): Remove function.
13472 (display-buffer-in-window): When a window on another frame gets
13473 reused, do not select it any more but just raise its frame if
13474 necessary (Bug#8851) and (Bug#8856).
13475 (display-buffer-normalize-options): Handle pop-up-frames related
13476 options more faithfully.
13477 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13478 window if it is on another frame.
13479 (display-buffer-alist, display-buffer-default-specifiers):
13480 Don't make new frame unsplittable by default.
13481 (display-buffer-normalize-argument): Fix doc-string typo and use
13482 'same-frame-other-window instead of 'other-window when associating
13483 with display-buffer-macro-specifiers.
13485 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13487 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13489 (5x5-mode-map, 5x5-mode-menu): Bind them.
13490 (5x5-draw-grid): Tweak the solver's rendering.
13492 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13494 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13495 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13497 2011-06-21 Drew Adams <drew.adams@oracle.com>
13499 * menu-bar.el: Use function variable instead of switch-to-buffer.
13500 (menu-bar-select-buffer-function): New variable.
13501 (menu-bar-update-buffers): Use it (bug#8876).
13503 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13505 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13508 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13510 * x-dnd.el (x-dnd-version-from-flags)
13511 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13512 and long as number (Bug#8899).
13513 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13515 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13517 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
13518 (completion-try-completion, completion-all-completions): Compute the
13519 metadata argument if it's missing; make it optional (bug#8795).
13521 * wid-edit.el: Use lex-bind and move towards completion-at-point.
13522 (widget-complete): Use new :completion-function property.
13523 (widget-completions-at-point): New function.
13524 (default): Use :completion-function instead of :complete.
13525 (widget-default-completions): Rename from widget-default-complete;
13527 (widget-string-complete, widget-file-complete, widget-color-complete):
13529 (file, symbol, function, variable, coding-system, color):
13530 * international/mule-cmds.el (default-input-method, charset)
13531 (language-info-custom-alist):
13532 * cus-edit.el (face): Use new property :completions.
13534 * progmodes/pascal.el (pascal-completions-at-point): New function.
13535 (pascal-mode): Use it.
13536 (pascal-mode-map): Use completion-at-point.
13537 (pascal-toggle-completions): Make obsolete.
13538 (pascal-complete-word, pascal-show-completions):
13539 * progmodes/octave-mod.el (octave-complete-symbol):
13540 Redefine as obsolete alias.
13541 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13542 Signal absence of completion info for old Octave,
13543 (inferior-octave-complete): Redefine as obsolete alias.
13544 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13545 (meta-completions-at-point): Rename from meta-complete-symbol and
13546 adapt it for use on completion-at-point-functions.
13547 (meta-common-mode): Use it.
13548 (meta-looking-at-backward, meta-match-buffer): Remove.
13549 (meta-complete-symbol): Redefine as obsolete alias.
13550 (meta-common-mode-map): Use completion-at-point.
13551 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13552 (makefile-mode-map): Use completion-at-point.
13553 (makefile-completions-at-point): Rename from makefile-complete and
13554 adapt it for use on completion-at-point-functions.
13555 (makefile-mode): Use it.
13556 (makefile-complete): Redefine as obsolete alias.
13558 2011-06-20 Deniz Dogan <deniz@dogan.se>
13560 * net/rcirc.el: Delete trailing whitespaces once and for all.
13562 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13564 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13566 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
13568 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13570 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13572 2011-06-19 Martin Rudalics <rudalics@gmx.at>
13574 * window.el (display-buffer-other-window-means-other-frame):
13575 Call display-buffer-normalize-alist.
13576 (display-buffer-normalize-specifiers-1): Rename to
13577 display-buffer-normalize-argument. New argument other-frame.
13579 (display-buffer-normalize-specifiers-2): Rename to
13580 display-buffer-normalize-options.
13581 (display-buffer-normalize-alist-1): New function.
13582 (display-buffer-normalize-specifiers-3): Rename to
13583 display-buffer-normalize-alist.
13584 Call display-buffer-normalize-alist-1.
13585 (display-buffer-normalize-options-inhibit): New variable.
13586 (display-buffer-normalize-specifiers): Rewrite calling
13587 display-buffer-normalize-alist,
13588 display-buffer-normalize-argument, and
13589 display-buffer-normalize-options. Don't call the latter if
13590 display-buffer-normalize-options-inhibit is non-nil.
13591 (frame-auto-delete): New option.
13592 (window-deletable-p): Use frame-auto-delete.
13593 (window-list-no-nils, window-state-ignored-parameters)
13594 (window-state-get-1, window-state-get, window-state-put-list)
13595 (window-state-put-1, window-state-put-2, window-state-put):
13597 (display-buffer-normalize-options): Move special-display-p group
13598 after pop-up-frame group (Bug#8851) and (Bug#8856).
13600 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
13602 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13604 (rx-submatch-n): New function.
13607 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13610 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13612 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13614 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13615 anytime existing face settings are present (Bug#8889).
13617 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13618 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13619 Remove unused argument.
13621 2011-06-18 Martin Rudalics <rudalics@gmx.at>
13623 * window.el (display-buffer-default-specifiers):
13624 Remove pop-up-frame. Add pop-up-window-min-height,
13625 pop-up-window-min-width, and another reuse-window specifier
13626 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
13627 (display-buffer-normalize-specifiers-2):
13628 Handle split-height-threshold and split-width-threshold also when
13629 pop-up-windows is unset. Add a reuse-window specifier for the
13630 case popping up a new window fails.
13631 (special-display-popup-frame): Remove double quoting.
13632 (display-buffer-normalize-specifiers-1): Fix thinko.
13634 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13636 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13637 according to comint-completion-addsuffix.
13639 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13640 (pcomplete-suffix-list): Mark as obsolete.
13641 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13642 pcomplete-seen in the closure.
13643 (pcomplete-comint-setup): Setup completion-at-point as well.
13644 (pcomplete--entries): New function.
13645 (pcomplete--env-regexp): New var.
13646 (pcomplete-entries): Rewrite to work with partial-completion and
13647 without relying on pcomplete-suffix-list.
13648 (pcomplete-pare-list): Remove, unused.
13650 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13652 * window.el (display-buffer-alist): Set pop-up-window-min-height
13653 and pop-up-window-min-width in default value. Reported by
13654 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13655 other-window-means-other-frame.
13656 (display-buffer-macro-specifiers): Comment out entry for
13657 other-window specifier.
13658 (display-buffer-other-window-means-other-frame): New function.
13659 (display-buffer-normalize-specifiers-1): New arguments
13660 buffer-name and label. Treat other-window case specially.
13661 (display-buffer-normalize-specifiers-2): Treat other-window case
13663 (display-buffer-normalize-specifiers-3): New function.
13664 (display-buffer-normalize-specifiers):
13665 Call display-buffer-normalize-specifiers-3.
13667 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13669 * window.el (same-window-p): Fix two typos introduced when
13670 adding with-no-warnings.
13671 (display-buffer-normalize-specifiers-1): Don't check
13672 pop-up-frames for 'unset initialization.
13673 (display-buffer-normalize-specifiers-2): Major rewrite using
13674 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13675 (pop-up-frames, display-buffer-reuse-frames)
13676 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13677 Suggested by David Engster <deng@randomsample.de>.
13678 (even-window-heights): Initialize to 'unset.
13679 (display-buffer-alist-set): Handle new 'unset initializations.
13680 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13683 2011-06-16 Martin Rudalics <rudalics@gmx.at>
13685 * window.el (display-buffer-normalize-specifiers-1):
13686 Respect current value of pop-up-frames for most reasonable values of
13687 second argument of display-buffer (Bug#8865).
13688 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13689 (switch-to-buffer-other-window-same-frame)
13690 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13692 (display-buffer): Don't check noninteractive when calling
13693 display-buffer-pop-up-frame.
13694 (display-buffer-pop-up-frame): Never pop up a frame in
13695 noninteractive mode (Bug#8857).
13696 (enlarge-window, shrink-window): Don't report an error when the
13697 window can't be resized as requested (Bug#8862).
13699 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13701 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13703 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13705 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13707 2011-06-15 Alan Mackenzie <acm@muc.de>
13709 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13710 for declarators, disable knr checking to speed up for normal files.
13711 2: Refactor, replacing a sequence of nested if forms by a cond form.
13713 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13715 * net/network-stream.el (open-network-stream): Add the keyword
13716 :always-query-capabilities for the case where you want to force a
13717 `plain' network connection, but the protocol still requires the
13718 capabilitiy command (i.e., SMTP and EHLO).
13720 * subr.el (process-live-p): Rename from `process-alive-p' for
13721 consistency with other `-live-p' functions.
13723 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13725 * window.el (same-window-buffer-names, same-window-regexps)
13726 (special-display-frame-alist, special-display-popup-frame)
13727 (special-display-function, special-display-buffer-names)
13728 (special-display-regexps, pop-up-frame-alist)
13729 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13730 (pop-up-windows, split-window-preferred-function)
13731 (split-height-threshold, split-width-threshold, even-window-heights)
13732 (display-buffer-mark-dedicated): Don't encourage the use of
13733 display-buffer-alist from Elisp code.
13735 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13737 * progmodes/python.el (python-mode): Derive from prog-mode.
13738 * progmodes/ps-mode.el (ps-mode):
13739 * progmodes/mixal-mode.el (mixal-mode):
13740 * progmodes/cfengine.el (cfengine-mode):
13741 * progmodes/ld-script.el (ld-script-mode): Likewise.
13743 2011-06-15 Martin Rudalics <rudalics@gmx.at>
13745 * window.el (display-buffer-alist): Trim default value to avoid
13746 popping up a new frame (Bug#8857) or reusing an arbitrary window
13748 (display-buffer): Do not fall back on popping up a new frame in
13749 batch mode (Bug#8857).
13751 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
13753 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13754 (custom-theme-summary): New function.
13755 (customize-themes): Use it.
13757 2011-06-13 Glenn Morris <rgm@gnu.org>
13759 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13761 2011-06-13 Martin Rudalics <rudalics@gmx.at>
13763 * help.el (help-window): Remove variable.
13764 (help-window-point-marker, temp-buffer-max-height)
13765 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13766 (help-print-return-message): Don't set help-window.
13767 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13768 (help-window-setup-finish): Remove.
13769 (help-window-display-message, help-window-setup)
13770 (with-help-window): Major rewrite based on new
13771 display-buffer-window variable.
13773 * help-mode.el (help-mode-finish): Remove help-window related
13776 * view.el (view-exits-all-viewing-windows): Remove reference to
13777 view-return-to-alist in doc-string.
13778 (view-return-to-alist): Make obsolete.
13779 (view-buffer): Call pop-to-buffer-same-window and remove
13781 (view-buffer-other-window): Call pop-to-buffer-other-window and
13782 simplify code. Ignore second argument.
13783 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13784 simplify code. Ignore second argument.
13785 (view-return-to-alist-update): Make obsolete.
13786 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13787 Rewrite using quit-restore window parameters.
13788 (view-mode-exit): Rename second argument to EXIT-ONLY.
13789 Rewrite using quit-restore-window.
13790 (View-exit, View-exit-and-edit, View-leave, View-quit)
13791 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13792 appropriate arguments.
13793 (view-end-message): Use quit-restore window parameter.
13795 * window.el (display-buffer-function): Rewrite doc-string.
13796 (display-buffer-window, display-buffer-alist): New variables.
13797 (display-buffer-split-specifiers)
13798 (display-buffer-side-specifiers)
13799 (display-buffer-macro-specifiers): New constants.
13800 (display-buffer-even-window-sizes, display-buffer-set-height)
13801 (display-buffer-set-width, display-buffer-select-window)
13802 (display-buffer-in-window, display-buffer-reuse-window)
13803 (display-buffer-split-window-1, display-buffer-split-window)
13804 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13805 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13806 (display-buffer-in-side-window, normalize-buffer-to-display)
13807 (display-buffer-normalize-specifiers-1)
13808 (display-buffer-normalize-specifiers-2)
13809 (display-buffer-normalize-specifiers, display-buffer-frame):
13811 (display-buffer): Major rewrite.
13812 (display-buffer-other-window, display-buffer-other-frame)
13813 (pop-to-buffer, switch-to-buffer-other-window)
13814 (switch-to-buffer-other-frame): Rewrite.
13815 (display-buffer-same-window, display-buffer-same-frame)
13816 (display-buffer-same-frame-other-window)
13817 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13818 (pop-to-buffer-other-window)
13819 (pop-to-buffer-same-frame-other-window)
13820 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13821 (switch-to-buffer-other-window-same-frame): New functions.
13822 (same-window-p, special-display-p): Rewrite disabling warnings.
13824 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13825 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13827 (same-window-buffer-names, same-window-regexps)
13828 (special-display-frame-alist, special-display-popup-frame)
13829 (special-display-function, special-display-buffer-names)
13830 (special-display-regexps, pop-up-frame-alist)
13831 (pop-up-frame-function, split-window-preferred-function)
13832 (split-height-threshold, split-width-threshold)
13833 (even-window-heights): Make obsolete.
13835 2011-06-12 Glenn Morris <rgm@gnu.org>
13837 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
13838 Misc simplifications.
13840 2011-06-12 Martin Rudalics <rudalics@gmx.at>
13842 * window.el (window-safely-shrinkable-p): Restore function which
13843 was inadvertently removed in change from 2011-06-11. Declare as
13846 * calendar/calendar.el (calendar-generate-window):
13847 Use window-iso-combined-p instead of combination of one-window-p and
13848 window-safely-shrinkable-p.
13850 2011-06-12 Glenn Morris <rgm@gnu.org>
13852 * progmodes/fortran.el (fortran-mode-syntax-table):
13853 * progmodes/f90.el (f90-mode-syntax-table):
13854 Set % to punctuation. (Bug#8820)
13855 (f90-find-tag-default): Remove, no longer needed.
13857 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13859 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13861 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
13863 * image.el (image-animated-p): Return animation delay in seconds.
13864 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13865 (image-animate-timeout): Remove DELAY argument. Don't assume
13866 every subimage has the same delay; get it from image-animated-p.
13867 (image-animate): Caller changed.
13869 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
13871 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13872 to ignored backtrace functions.
13874 2011-06-11 Glenn Morris <rgm@gnu.org>
13876 * calendar/appt.el (appt-disp-window-function): Doc fix.
13877 (appt-check): Handle overlapping appointments. (Bug#8337)
13879 2011-06-11 Martin Rudalics <rudalics@gmx.at>
13881 * window.el (window-tree-1, window-tree): New functions, moving
13882 the latter to window.el.
13883 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13884 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13885 (bw-refresh-edges): Remove.
13886 (balance-windows-1, balance-windows-2): New functions.
13887 (balance-windows): Rewrite in terms of window tree functions,
13888 balance-windows-1 and balance-windows-2.
13889 (bw-adjust-window): Remove.
13890 (balance-windows-area-adjust): New function with functionality of
13891 bw-adjust-window but using resize-window.
13892 (set-window-text-height): Rewrite doc-string.
13893 Use normalize-live-window and resize-window.
13894 (enlarge-window-horizontally, shrink-window-horizontally):
13895 Rename argument to DELTA.
13896 (window-buffer-height): New function.
13897 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13898 Rewrite using new window resize routines.
13899 (kill-buffer-and-window, mouse-autoselect-window-select):
13900 Use ignore-errors instead of condition-case.
13901 (quit-window): Call delete-frame instead of delete-windows-on
13902 for the only buffer on frame.
13904 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13906 * loadup.el (top-level): Load window before files for the sake
13907 of replace-buffer-in-windows.
13909 * files.el (read-buffer-to-switch)
13910 (switch-to-buffer-other-window)
13911 (switch-to-buffer-other-frame, display-buffer-other-frame):
13914 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13915 (previous-buffer): Move to window.el.
13917 * bindings.el (unbury-buffer): Move to window.el.
13919 * window.el (delete-other-windows-vertically): Move after
13920 definition of delete-other-windows.
13921 (other-window, delete-windows-on, replace-buffer-in-windows):
13922 Move here from window.c.
13923 (record-window-buffer, unrecord-window-buffer)
13924 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13925 (switch-to-next-buffer): New functions.
13926 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13927 from simple.el. Call switch-to-next-buffer.
13928 (previous-buffer): Move here from simple.el.
13929 Call switch-to-prev-buffer.
13930 (bury-buffer): Move here from buffer.c. Switch to previous
13931 buffer when window cannot be deleted.
13932 (unbury-buffer): Move here from bindings.el.
13933 (ctl-x-map): Move binding for other-window from window.c to
13935 (read-buffer-to-switch, switch-to-buffer-other-window)
13936 (switch-to-buffer-other-frame): Move here from files.el.
13937 (normalize-buffer-to-switch-to): New functions.
13938 (switch-to-buffer): Move here from buffer.c.
13939 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
13941 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13943 * window.el (window-min-height, window-min-width): Move here
13944 from window.c. Add defcustoms and rewrite doc-strings.
13945 (resize-mini-window, resize-window): New functions.
13946 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13947 Move here from window.c.
13948 (maximize-window, minimize-window): New functions.
13949 (delete-window, delete-other-windows, split-window): Move here
13951 (window-split-min-size): New function.
13952 (split-window-keep-point): Mention split-window-above-each-other
13953 instead of split-window-vertically.
13954 (split-window-above-each-other, split-window-vertically):
13955 Rename split-window-vertically to split-window-above-each-other
13956 and provide defalias for old definition.
13957 (split-window-side-by-side, split-window-horizontally):
13958 Rename split-window-horizontally to split-window-side-by-side
13959 and provide defalias for the old definition.
13960 (ctl-x-map): Move bindings for delete-window,
13961 delete-other-windows and enlarge-window here from window.c.
13962 Replace bindings for split-window-vertically and
13963 split-window-horizontally by bindings for
13964 split-window-above-each-other and split-window-side-by-side.
13966 * cus-start.el (all): Remove entries for window-min-height and
13967 window-min-width. Add entries for window-splits and
13970 2011-06-09 Glenn Morris <rgm@gnu.org>
13972 * calendar/appt.el (appt-mode-line): New function.
13973 (appt-check, appt-disp-window): Use it.
13975 * files.el (hack-one-local-variable-eval-safep):
13976 Allow minor-modes with explicit +/-1 arguments.
13978 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13980 * term/xterm.el (xterm): Add defgroup.
13981 (xterm-extra-capabilities): Add defcustom to supply known xterm
13982 capabilities, skip querying them, or query them (default).
13983 (terminal-init-xterm): Use it.
13984 (terminal-init-xterm-modify-other-keys): New function to set up
13985 modifyOtherKeys support to simplify `terminal-init-xterm'.
13987 2011-06-09 Martin Rudalics <rudalics@gmx.at>
13989 * window.el (resize-window-reset, resize-window-reset-1)
13990 (resize-subwindows-skip-p, resize-subwindows-normal)
13991 (resize-subwindows, resize-other-windows, resize-this-window)
13992 (resize-root-window, resize-root-window-vertically)
13993 (window-deletable-p, window-or-subwindow-p)
13994 (frame-root-window-p): New functions.
13996 2011-06-09 Glenn Morris <rgm@gnu.org>
13998 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13999 (ange-ftp-get-files): Use it.
14001 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14003 * mail/sendmail.el (mail-recover-1, mail-recover):
14004 * files.el (recover-file, recover-session):
14005 Handle dired-listing-switches not being just a single short option.
14007 2011-06-09 Glenn Morris <rgm@gnu.org>
14009 * calendar/appt.el (appt-display-message, appt-disp-window):
14010 Handle lists of appointments.
14012 2011-06-08 Martin Rudalics <rudalics@gmx.at>
14014 * window.el (one-window-p): Move down in code.
14015 Rewrite doc-string.
14016 (window-current-scroll-bars): Rewrite doc-string.
14017 Normalize live window argument.
14018 (walk-windows, get-window-with-predicate, count-windows):
14019 Rewrite doc-string. Use window-list-1.
14020 (window-in-direction-2, window-in-direction, get-mru-window):
14023 2011-06-08 Reuben Thomas <rrt@sc3d.org>
14025 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14026 Doc fix (Bug#8713).
14028 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
14030 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14032 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
14034 * loadhist.el (unload-feature-special-hooks):
14035 Add `comint-output-filter-functions'.
14037 2011-06-08 Ivan Kanis <gnu@kanis.fr>
14039 * calendar/appt.el (appt-check): Move some initializations into the let.
14041 2011-06-08 Martin Rudalics <rudalics@gmx.at>
14043 * window.el (window-height): Defalias to window-total-height.
14044 (window-width): Defalias to window-body-width.
14046 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
14048 * image-mode.el (image-toggle-animation): New command.
14049 (image-mode-map): Bind it to RET.
14050 (image-mode): Update message.
14051 (image-toggle-display-image): Avoid a spurious cache flush.
14052 (image-transform-rotation): Doc fix.
14053 (image-transform-properties): Return quickly in the normal case.
14054 (image-animate-loop): Rename from image-animate-max-time.
14056 * image.el (image-animate-max-time): Move to image-mode.el.
14057 (create-animated-image): Remove unnecessary function.
14058 (image-animate): Rename from image-animate-start. New arg.
14059 (image-animate-stop): Remove; just use image-animate-timer.
14060 (image-animate-timer): Use car-safe.
14061 (image-animate-timeout): Rename argument.
14063 2011-06-07 Martin Rudalics <rudalics@gmx.at>
14065 * window.el (get-lru-window, get-largest-window): Move here from
14066 window.c. Rename first argument to ALL-FRAMES.
14067 Rephrase doc-strings.
14068 (get-buffer-window-list): Rewrite using window-list-1.
14069 Rephrase doc-string.
14070 (window-safe-min-height, window-safe-min-width): New constants.
14071 (window-size-ignore, window-min-size, window-min-size-1)
14072 (window-sizable, window-sizable-p, window-size-fixed-1)
14073 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14074 (window-max-delta-1, window-max-delta, window-resizable)
14075 (window-resizable-p, window-total-height, window-total-width)
14076 (window-body-width): New functions.
14077 (window-full-height-p, window-full-width-p): Rewrite using
14079 (window-body-height): Rewrite using window-body-size.
14081 2011-06-06 Martin Rudalics <rudalics@gmx.at>
14083 * window.el (window-right, window-left, window-child)
14084 (window-child-count, window-last-child, window-any-p)
14085 (normalize-live-buffer, normalize-live-frame)
14086 (normalize-any-window, normalize-live-window)
14087 (window-iso-combination-p, window-iso-combined-p)
14088 (window-iso-combinations)
14089 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14090 (windows-with-parameter, window-with-parameter)
14091 (window-atom-root, make-window-atom, window-atom-check-1)
14092 (window-atom-check, window-side-check, window-check):
14094 (ignore-window-parameters, window-sides, window-sides-vertical)
14095 (window-sides-slots): New variables.
14096 (window-size-fixed): Move down in code. Minor doc-string fix.
14098 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14100 * comint.el (comint-dynamic-complete-as-filename)
14101 (comint-dynamic-complete-filename): Correctly call
14102 completion-in-region.
14104 2011-06-05 Deniz Dogan <deniz@dogan.se>
14106 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14109 2011-06-05 Deniz Dogan <deniz@dogan.se>
14111 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14112 (rcirc): Use it to prompt for encryption.
14114 2011-06-05 Roland Winkler <winkler@gnu.org>
14116 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14117 (bibtex-search-entries): New command bound to C-c C-a.
14118 (bibtex-display-entries): New function.
14120 2011-06-05 Roland Winkler <winkler@gnu.org>
14122 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14123 (bibtex-insert-kill): After yanking insert newline if necessary.
14124 (bibtex-initialize): Call bibtex-string-files-init only once.
14125 (bibtex-mode): Do not call easy-menu-add.
14126 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14127 (bibtex-yank): Set arg properly if nil.
14129 2011-06-05 Roland Winkler <winkler@gnu.org>
14131 * textmodes/bibtex.el (bibtex-search-entry-globally):
14133 (bibtex-search-entry): Use it.
14135 2011-06-05 Roland Winkler <winkler@gnu.org>
14137 * textmodes/bibtex.el (bibtex-entry-format): New option
14139 (bibtex-format-entry, bibtex-reformat): Honor this option.
14140 (bibtex-parse-entry): Return fields in proper order.
14142 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
14144 * doc-view.el (doc-view-remove-if): Move computation of result out
14145 of `dolist' to silence misleading lexical-binding warning.
14147 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
14149 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14150 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14152 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
14154 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14157 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
14159 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14160 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14161 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14162 (tramp-parse-putty):
14163 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14164 (tramp-completion-function-alist-ssh)
14165 (tramp-completion-function-alist-telnet)
14166 (tramp-completion-function-alist-su)
14167 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14170 * net/tramp-ftp.el:
14172 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14173 load "tramp.el" `tramp-set-completion-function'.
14175 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14177 * shell.el: Require and use pcomplete.
14178 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14179 (shell-completion-vars): Set pcomplete-default-completion-function.
14181 2011-06-04 Deniz Dogan <deniz@dogan.se>
14183 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14186 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14188 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14190 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
14192 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14193 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14194 * vc/log-view.el (log-view-beginning-of-defun):
14195 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14196 (smerge-refine-forward, smerge-refine-chopup-region):
14197 Silence warning for unused `dotimes' counter variables.
14199 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14201 * net/tramp.el (tramp-with-progress-reporter): Rename from
14202 with-progress-reporter. Use `declare'.
14203 * net/tramp-smb.el:
14205 * net/tramp-gvfs.el: Update all uses.
14207 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14209 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14210 buffer isn't killed before making it current.
14212 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14214 Silence various byte-compiler warnings.
14215 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14216 `access-type' and new obsolescence format.
14217 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14219 (byte-compile-check-variable): New `access-type' argument.
14220 Only warn if the access-type is obsolete.
14221 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14222 (byte-compile-variable-set): Adjust callers.
14223 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14224 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14225 setting it as obsolete.
14226 * simple.el (minibuffer-completing-symbol):
14227 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14228 access as obsolete.
14229 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14231 * international/quail.el (quail-mouse-choose-completion): Remove unused
14232 code referring to obsolete var.
14233 (quail-choose-completion-string): Remove.
14234 * server.el (server-clients-with, server-kill-buffer-query-function)
14235 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14236 * proced.el (proced-send-signal):
14237 * emacs-lisp/lisp.el (lisp-complete-symbol):
14238 Replace completion-annotate-function with completion-extra-properties.
14240 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14242 * simple.el (goto-line): Use read-number.
14243 (overriding-map-is-bound): Remove.
14244 (saved-overriding-map): Change default.
14245 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14246 Take the map as argument.
14247 (universal-argument, negative-argument, digit-argument): Use it.
14248 (restore-overriding-map): Adjust.
14249 (do-auto-fill): Use fill-forward-paragraph.
14250 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14252 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14253 (minibuffer-inactive-mode): New major mode.
14254 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14255 the *Messages* buffer" hack.
14256 (mouse-popup-menubar): Don't burp if the event is a normal key.
14258 Miscellaneous tweaks.
14259 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14260 lexical scoping as in subr.el's dolist and dotimes.
14261 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14262 Silence compiler warning.
14263 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14264 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14265 * international/ccl.el (ccl-compile): Trivial simplification.
14266 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14267 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14268 `printflag' argument.
14269 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14270 Purecopy the whole obsolescence data.
14272 2011-06-01 Leo Liu <sdl.web@gmail.com>
14274 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14275 improve doc-string as suggested by Marco Pessotto
14276 <melmothx@gmail.com>.
14277 (rcirc-print): Fix last change.
14279 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14281 * minibuffer.el (complete-with-action): Return nil for the metadata and
14282 boundaries of non-functional tables.
14283 (completion-table-dynamic): Return nil for the metadata.
14284 (completion-table-with-terminator): Add default case, using
14285 complete-with-action.
14286 (completion--metadata): New function.
14287 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14288 to try and avoid pathological performance problems.
14289 (completion--embedded-envvar-table): Return `category' metadata.
14291 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14293 * subr.el (process-alive-p): New tiny convenience function.
14295 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14297 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14298 content but also its previous major mode.
14300 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
14302 * emacs-lisp/debug.el (debug): Restore the previous content of the
14303 *Backtrace* buffer when we exit with C-M-c.
14305 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14307 * minibuffer.el: Add metadata method to completion tables.
14308 (completion-category-overrides): New defcustom.
14309 (completion-metadata, completion--field-metadata)
14310 (completion-metadata-get, completion--styles)
14311 (completion--cycle-threshold): New functions.
14312 (completion-try-completion, completion-all-completions):
14313 Add `metadata' argument to choose completion-styles.
14314 (completion--do-completion): Use metadata to choose cycling.
14315 (completion-all-sorted-completions): Use metadata for sorting.
14316 Remove :completion-cycle-penalty which is not needed any more.
14317 (completion--try-word-completion): Add `metadata' argument.
14318 (minibuffer-completion-help): Check metadata for annotation function
14320 (completion-file-name-table): Return `category' metadata.
14321 (minibuffer-completing-file-name): Make obsolete.
14322 * simple.el (minibuffer-completing-symbol): Make obsolete.
14323 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14324 completion-try-completion.
14326 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14328 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14330 2011-05-30 Leo Liu <sdl.web@gmail.com>
14332 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
14333 (rcirc-print): Decode all incoming messages (bug#8744).
14334 (rcirc-decode-coding-system): Allow value nil for automatic coding
14337 2011-06-01 Glenn Morris <rgm@gnu.org>
14339 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14341 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14343 * image.el (image-animate-max-time): Allow nil and t values.
14345 (create-animated-image): Doc fix.
14346 (image-animate-start): Remove second arg; just use
14347 image-animate-max-time.
14348 (image-animate-timeout): Doc fix. Args changed.
14350 * image-mode.el (image-toggle-display-image): Ensure that the
14351 image spec passed to the animate timer is the same object as in
14352 the buffer's display property (Bug#6981).
14353 (image-transform-properties): Doc fix.
14355 * image.el (image-animate-max-time): Default to nil.
14357 2011-05-29 Martin Rudalics <rudalics@gmx.at>
14359 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14360 entire buffer list (Bug#8184).
14362 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14364 * image.el (imagemagick-types-inhibit)
14365 (imagemagick-register-types): Doc fix.
14367 2011-05-29 Deniz Dogan <deniz@dogan.se>
14369 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14372 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14374 * select.el: Don't perform clipboard-manager saving in hooks;
14375 leave the hooks empty.
14377 2011-05-28 Leo Liu <sdl.web@gmail.com>
14379 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14380 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14381 (occur-edit-mode): New major mode (Bug#8463).
14382 (occur-after-change-function): New function.
14383 (occur-engine): Give Occur tags a read-only property.
14385 2011-05-28 Kevin Ryde <user42@zip.com.au>
14387 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14389 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14391 * bindings.el (help-echo): Make the initial non-indicator dash
14392 empty on graphical terminals (Bug#7295).
14394 * files.el (auto-mode-alist): Move config rule after the
14395 in-stripping one (Bug#8547).
14397 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14399 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14400 setting (Bug#8740).
14402 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14404 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14405 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14408 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14410 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14412 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14414 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14415 (hs-hide-block-at-point, hs-find-block-beginning)
14416 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14419 2011-05-28 Glenn Morris <rgm@gnu.org>
14421 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14423 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14425 * help-fns.el (describe-function-1): If the function is a derived
14426 major mode, print the parent mode.
14428 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14429 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14431 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14433 * minibuffer.el (completion--capf-wrapper): Check applicability before
14434 returning non-nil for non-exclusive completion data.
14435 * progmodes/etags.el (tags-completion-at-point-function):
14436 * info-look.el (info-lookup-completions-at-point): Mark as
14438 (info-complete): Adjust accordingly.
14440 * info-look.el: Convert to lexical-binding and completion-at-point.
14441 (info-lookup-completions-at-point): New function.
14442 (info-complete): Use it and completion-in-region.
14444 2011-05-28 Drew Adams <drew.adams@oracle.com>
14446 * isearch.el: Let M-e start with point at the first mismatched char.
14447 (isearch-fail-pos): New function.
14448 (isearch-edit-string): Use it.
14450 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14452 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14454 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
14456 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14457 traversal functions for avl-trees.
14458 (avl-tree--stack): New struct.
14459 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14460 (avl-tree-enter): Add optional `updatefun' arg.
14461 (avl-tree--do-enter): Add optional `updatefun' arg.
14462 Change return value.
14463 (avl-tree-delete): Add optional `test' and `nilflag' args.
14464 (avl-tree--do-delete): Add `test' and `nilflag' args.
14465 Change return value.
14466 (avl-tree-member): Add optional `nilflag'
14467 (avl-tree-member-p): New function.
14468 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14469 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14470 (avl-tree-stack-empty-p): New functions.
14472 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14473 avl-tree--del-balance1 and make it work both ways.
14474 (avl-tree--del-balance2): Remove.
14475 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14476 make it work both ways.
14477 (avl-tree--enter-balance2): Remove.
14478 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14480 (avl-tree--mapc, avl-tree-map): Add direction argument.
14482 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
14484 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14486 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
14488 * select.el: Support clipboard managers with built-in function
14489 x-clipboard-manager-save, via delete-frame-functions and
14491 (xselect-convert-to-targets): Add MULTIPLE target to list.
14492 (xselect-convert-to-save-targets): New function.
14494 2011-05-27 Kenichi Handa <handa@m17n.org>
14496 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14497 let-binding rfc2047-encode-encoded-words to nil.
14499 2011-05-27 Glenn Morris <rgm@gnu.org>
14501 * mail/emacsbug.el: Don't require url-util.
14503 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14505 * files.el (set-auto-mode):
14506 Also respect mode: entries at the end of the file. (Bug#8586)
14508 2011-05-26 Glenn Morris <rgm@gnu.org>
14510 * files.el (hack-local-variables-prop-line, hack-local-variables):
14511 Downcase mode names, as seems to be traditional.
14512 (hack-local-variables, hack-local-variables-apply): Doc fixes.
14514 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14515 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14517 2011-05-25 Julien Danjou <julien@danjou.info>
14519 * textmodes/rst.el (rst-define-level-faces): Do not define face
14520 symbol if it is already defined.
14522 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14524 * play/5x5.el (5x5-new-game, 5x5-randomize):
14525 Reset 5x5-solver-output to nil when a new grid is cast.
14526 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14527 these debugging traces, as defmacro breaks the compiled code.
14529 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14531 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14533 2011-05-24 Leo Liu <sdl.web@gmail.com>
14535 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14536 (vc-bzr-sha1): Adapt.
14538 * sha1.el: Remove. Function `sha1' is now builtin.
14540 * bindings.el: Provide sha1 feature.
14542 2011-05-24 Kenichi Handa <handa@m17n.org>
14544 * mail/sendmail.el: Require `rfc2047'.
14545 (mail-insert-from-field): Do not perform RFC2047 encoding.
14546 (mail-encode-header): New function.
14547 (sendmail-send-it): Set buffer-file-coding-system of the work
14548 buffer to the return value of select-message-coding-system.
14549 Call mail-encode-header.
14551 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14553 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
14555 * mail/supercite.el (sc-default-cite-frame):
14556 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
14558 2011-05-24 Glenn Morris <rgm@gnu.org>
14560 * progmodes/python.el (brm-menu): Declare.
14562 * emulation/viper.el (viper-set-hooks): Declare.
14564 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14565 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14566 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14567 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14568 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14569 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14571 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14573 Add an :exit-function for completion-at-point.
14575 * minibuffer.el (completion--done): New fun.
14576 (completion--do-completion): Use it. New arg `expect-exact'.
14577 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14578 since completion--do-completion does it for us now.
14579 (minibuffer-force-complete): Use completion--done and
14580 completion--replace. Handle sole-completion case with more care.
14581 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14582 (completion-extra-properties): New var.
14583 (completion-annotate-function): Make obsolete.
14584 (minibuffer-completion-help): Adjust accordingly.
14585 Use completion-list-insert-choice-function.
14586 (completion-at-point, completion-help-at-point):
14587 Bind completion-extra-properties.
14588 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14589 * simple.el (completion-list-insert-choice-function): New var.
14590 (completion-setup-function): Preserve it.
14591 (choose-completion): Pay attention to it, shuffle the code a bit.
14592 (choose-completion-string): New arg `insert-function'.
14594 * textmodes/bibtex.el: Convert to lexical binding.
14595 (bibtex-mode-map): Use completion-at-point.
14596 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14597 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14598 (bibtex-complete): Define as obsolete alias.
14599 (bibtex-complete-internal): Remove.
14600 (bibtex-format-entry): Remove unused sub-group in regexp.
14601 * shell.el (shell--command-completion-data)
14602 (shell-environment-variable-completion):
14603 * pcomplete.el (pcomplete-completions-at-point):
14604 * comint.el (comint--complete-file-name-data): Use :exit-function
14605 instead of completion-table-with-terminator so it also works for
14608 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14610 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14612 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14615 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14617 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14619 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14620 customization variable and implement: If non-nil, auto-fill will
14621 be inhibited while on topic's header line.
14623 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14625 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
14626 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
14627 always have a solution in grid size = 5 cases.
14628 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14629 (5x5-solver-output, 5x5-log-buffer): New vars.
14630 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14631 Make these variables buffer local to achieve 5x5 multi-session-ness.
14632 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14633 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14634 (5x5-solve-suggest): New funs.
14635 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14636 randomize a grid so that we ensure that there is always a solution.
14637 (5x5-make-random-grid): Allow other movement than flipping.
14639 2011-05-23 Kevin Ryde <user42@zip.com.au>
14641 * emacs-lisp/advice.el (ad-read-advised-function):
14642 Use `function-called-at-point' as the default, if it has
14643 advice and passes PREDICATE.
14645 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14647 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14648 byte-compile-lambda if it's actually a lambda.
14650 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14651 Fix function quoting. Use backquote better.
14653 2011-05-22 Yuanle Song <sylecn@gmail.com>
14655 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14656 matching (Bug#8516).
14658 2011-01-22 Jari Aalto <jari.aalto@cante.net>
14660 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14661 different face (Bug#8178).
14663 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
14665 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14666 defface (Bug#8144).
14668 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14670 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14671 funcall as well (bug#8712). Warn when performing those conversions.
14672 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14674 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14676 2011-05-22 Glenn Morris <rgm@gnu.org>
14678 * files.el (hack-local-variables-prop-line): Small simplifications.
14679 (hack-local-variables, hack-local-variables-prop-line):
14680 If MODE-ONLY, return the mode, rather than just `t'.
14682 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14684 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14686 2011-05-21 Glenn Morris <rgm@gnu.org>
14688 * files.el (hack-local-variables-prop-line, hack-local-variables):
14689 If only interested in the mode, don't bother doing the other stuff.
14691 * image-mode.el (image-after-revert-hook):
14692 Redraw all frames on which the image is visible. (Bug#8567)
14694 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14696 * wid-edit.el (widget-checklist-match-inline):
14697 Fix 2011-04-19 change. (Bug#8649)
14699 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14701 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14702 Also allow singlespace after single-letter capitals followed by a dot.
14704 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14705 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14707 2011-05-20 Nix <nix@esperi.org.uk>
14709 * files.el (basic-save-buffer-2):
14710 Fix handling of break-hardlink-on-save with non-existent files.
14712 2011-05-19 Deniz Dogan <deniz@dogan.se>
14714 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
14715 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
14717 2011-05-19 Glenn Morris <rgm@gnu.org>
14719 * progmodes/f90.el (f90-type-def-re):
14720 Handle "type, bind(c)". (Bug#8691)
14722 * emacs-lisp/autoload.el (batch-update-autoloads):
14723 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14725 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
14727 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14728 property for the correct connection in case of multihops.
14730 2011-05-18 Glenn Morris <rgm@gnu.org>
14732 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
14733 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14735 Rationalize calendar handling of day and month abbrev-arrays.
14736 * calendar/calendar.el (calendar-customized-p): New function.
14737 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14738 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14740 (calendar-abbrev-length, calendar-day-abbrev-array)
14741 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14742 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14743 Elements may no longer be nil.
14744 (calendar-day-name, calendar-month-name):
14745 Update for changed nature of abbrev arrays.
14746 * calendar/diary-lib.el (diary-name-pattern):
14747 Update for changed nature of abbrev arrays.
14748 (diary-mark-entries-1): Update calendar-make-alist calls.
14749 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14750 * calendar/cal-html.el (cal-html-day-abbrev-array):
14751 Simply inherit from calendar-day-abbrev-array.
14753 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14755 * progmodes/grep.el (grep-mode): Disable default
14756 compilation-directory-matcher setting (bug#8684).
14758 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
14760 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14761 instead of "head" and "tail". There were problems with SunOS 5.9,
14762 and it performs better.
14764 2011-05-17 Glenn Morris <rgm@gnu.org>
14766 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14768 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14769 Replace obsolete function.
14771 * shell.el (pcomplete-parse-arguments-function): Declare.
14773 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14774 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14775 (appt-check): Doc fixes.
14776 (appt-disp-window-function, appt-delete-window-function):
14777 Remove needless special case in custom :type.
14778 (appt-display-count): Default to 0, not nil.
14779 (appt-check): Reset appt-display-count to 0, not nil.
14781 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
14783 * progmodes/python.el (python-font-lock-keywords):
14784 Add the Python 3.X keyword "nonlocal" (bug#8639).
14786 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14788 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14790 2011-05-16 Kevin Ryde <user42@zip.com.au>
14792 * info-look.el (makefile-automake-mode): New setups, looking in
14793 automake manual, then makefile-mode.
14794 (makefile-mode): Remove automake manual, have it just in
14795 makefile-automake-mode since there's various things different or
14796 not relevant to plain make.
14797 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14798 believe a hypothetical automake-mode would go to makefile-mode,
14799 not the other way around.
14801 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
14803 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14804 hunk-end tags (Bug#8672).
14806 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14807 vc-annotate-show-diff-revision-at-line (Bug#8671).
14809 2011-05-14 Glenn Morris <rgm@gnu.org>
14811 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14812 in the middle of an existing one with multiple authors. (Bug#8645)
14813 (change-log-font-lock-keywords): Also handle multiple author lines
14814 with leading tabs. (Bug#8644)
14816 * calendar/appt.el (appt-check): Rename some local variables.
14817 Some simplification/reordering.
14819 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14820 (feedmail-sendmail-f-doesnt-sell-me-out)
14821 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14822 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14823 (feedmail-queue-runner-message-sender): Set :version.
14824 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14825 (bbdb-dwim-net-address, vm-mail): Declare.
14826 (feedmail-binmail-gnulinuxish-template):
14827 Rename from feedmail-binmail-linuxish-template.
14828 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14829 Use insert-buffer-substring.
14831 2011-05-14 Bill Carpenter <bill@carpenter.org>
14833 * mail/feedmail.el (feedmail-patch-level): Increase.
14834 (feedmail-debug): New custom group.
14835 (feedmail-confirm-outgoing-timeout)
14836 (feedmail-sendmail-f-doesnt-sell-me-out)
14837 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14838 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14839 (feedmail-sender-line, feedmail-from-line)
14840 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
14841 (feedmail-spray-this-address)
14842 (feedmail-spray-address-fiddle-plex-list)
14843 (feedmail-queue-use-send-time-for-date)
14844 (feedmail-queue-use-send-time-for-message-id)
14845 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14846 (feedmail-buffer-eating-function):
14848 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14849 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14850 (feedmail-message-action-scroll-down): New functions.
14851 (feedmail-queue-directory, feedmail-queue-draft-directory):
14852 Use expand-file-name.
14853 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14854 Remove C-v help entry.
14855 (feedmail-queue-buffer-file-name): New variable.
14856 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14857 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14858 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14859 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14860 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14861 (feedmail-message-action-toggle-spray)
14862 (feedmail-run-the-queue-no-prompts)
14863 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14864 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14865 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14866 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14867 (feedmail-envelope-deducer, feedmail-fiddle-from)
14868 (feedmail-fiddle-sender, feedmail-default-date-generator)
14869 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14870 (feedmail-fiddle-spray-address)
14871 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14872 (feedmail-fiddle-list-of-fiddle-plexes)
14873 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14874 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14875 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14876 Change default. Doc fix.
14877 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14878 (feedmail-binmail-linuxish-template): New constant.
14879 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14880 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14881 (feedmail-send-it): Add debug call.
14882 Use feedmail-queue-buffer-file-name, and
14883 feedmail-send-it-immediately-wrapper.
14884 (feedmail-message-action-send): Add debug call.
14885 Use feedmail-send-it-immediately-wrapper.
14886 (feedmail-queue-express-to-queue): Add debug call.
14887 Run feedmail-queue-express-hook.
14888 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14889 (feedmail-message-action-help-blat):
14890 Rename from feedmail-queue-send-edit-prompt-help-first.
14891 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14892 Check line-endings. Handle errors better.
14893 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14894 Doc fix. Add debug call.
14895 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14896 Use feedmail-queue-send-edit-prompt-inner.
14897 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14898 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14899 from feedmail-queue-send-edit-prompt.
14900 (feedmail-queue-send-edit-prompt-help)
14901 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14902 (feedmail-tidy-up-slug): Add debug call.
14903 Respect feedmail-queue-slug-suspect-regexp.
14904 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14905 (feedmail-dump-message-to-queue): Add debug call.
14906 Expand queue-directory.
14907 (feedmail-dump-message-to-queue): Change message slightly.
14908 Use feedmail-say-chatter.
14909 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14910 (feedmail-send-it-immediately-wrapper): New function.
14911 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14912 Insert empty string rather than newline. Handle full-frame case.
14913 Use catch/throw. Use feedmail-say-chatter.
14914 (feedmail-fiddle-from): Try mail-host-address.
14915 (feedmail-default-message-id-generator): Doc fix.
14916 Bind system-time-locale. Handle missing end.
14917 (feedmail-fiddle-x-mailer): Add debug call.
14918 Handle feedmail-x-mailer-line being nil.
14919 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14920 Add debug call. Use buffer-substring-no-properties.
14921 (feedmail-say-debug, feedmail-say-chatter): New functions.
14922 (feedmail-find-eoh): Give an explicit error.
14924 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
14926 * net/newst-treeview.el (newsticker-treeview-face): Change default
14927 family from helvetica to sans.
14928 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
14929 etc/images/newsticker.
14931 * net/newst-reader.el (newsticker-feed-face): Change default
14932 family from helvetica to sans.
14934 * net/newst-plainview.el (newsticker-new-item-face)
14935 (newsticker-old-item-face, newsticker-immortal-item-face)
14936 (newsticker-obsolete-item-face, newsticker-date-face)
14937 (newsticker-statistics-face): Change default family from
14939 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
14940 etc/images/newsticker.
14942 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14943 (newsticker--process-auto-mark-filter-match): Tell user about
14946 2011-05-13 Didier Verna <didier@xemacs.org>
14948 Common Lisp indentation improvements on defmethod and lambda-lists.
14949 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14951 (lisp-lambda-list-keyword-parameter-indentation)
14952 (lisp-lambda-list-keyword-parameter-alignment)
14953 (lisp-lambda-list-keyword-alignment): New customizable user options.
14954 (lisp-indent-defun-method): Improve docstring.
14955 (extended-loop-p): Fix comment.
14956 (lisp-indent-lambda-list-keywords-regexp): New variable.
14957 (lisp-indent-lambda-list): New function.
14958 (lisp-indent-259): Use it.
14959 (lisp-indent-defmethod): Support for more than one
14960 method qualifier and properly indent methods lambda-lists.
14961 (defgeneric): Provide a missing common-lisp-indent-function property.
14963 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14965 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14966 bounds for the empty string (bug#8667).
14968 2011-05-13 Glenn Morris <rgm@gnu.org>
14970 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14972 * mail/sendmail.el (sendmail-program): Try executable-find first.
14973 (sendmail-send-it): `sendmail-program' cannot be unbound.
14975 * calendar/appt.el (appt-make-list): Simplify.
14976 (appt-time-msg-list): Doc fix.
14977 (appt-check): Change mode-line message at the time of the appointment.
14979 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14981 * progmodes/ld-script.el (ld-script-keywords)
14982 (ld-script-builtins): Update keywords list.
14984 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14986 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14988 * shell.el (shell-completion-vars): New function.
14990 * simple.el (read-shell-command): Use it.
14991 (blink-matching-open): No need for " [...]" in minibuffer-message.
14993 2011-05-12 Glenn Morris <rgm@gnu.org>
14995 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14996 (appt-check): Simplify.
14998 2011-05-12 Eli Zaretskii <eliz@gnu.org>
15000 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
15001 literal "/dev/null".
15003 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15005 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15008 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
15010 * progmodes/which-func.el (which-function):
15011 Use add-log-current-defun instead of add-log-current-defun-function,
15012 which might not be defined (Bug#8260).
15014 2011-05-12 Glenn Morris <rgm@gnu.org>
15016 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15017 Let byte-compile-initial-macro-environment always take precedence.
15019 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15021 * net/rcirc.el: Add support for SSL/TLS connections.
15022 (rcirc-server-alist): New field `encryption'.
15023 (rcirc): Check `encryption' settings.
15024 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15025 Merge make-local-variable into `set'.
15026 (rcirc--connection-open-p): New function.
15027 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15028 the process is not a network process (e.g. running gnutls-cli).
15029 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15030 Make rcirc-(en|de)code-coding-system local here.
15031 (rcirc-mode): Merge make-local-variable into `set'.
15032 (rcirc-parent-buffer): Make permanent buffer-local.
15033 (rcirc-multiline-minor-mode): Don't do it here.
15034 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15035 there's no server buffer.
15037 2011-05-11 Glenn Morris <rgm@gnu.org>
15039 * newcomment.el (comment-kill): Prefix "unused" local.
15041 * term/w32console.el (get-screen-color): Declare.
15043 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15044 Handle symbol elements of byte-compile-initial-macro-environment.
15046 2011-05-10 Leo Liu <sdl.web@gmail.com>
15048 * bookmark.el (bookmark-bmenu-mode-map):
15049 Bind bookmark-bmenu-search to `/'.
15051 * mail/footnote.el: Convert to utf-8 encoding.
15052 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15053 (Footnote-unicode): New function.
15054 (footnote-style-alist): Add unicode style to the list.
15055 (footnote-style): Doc fix.
15057 2011-05-10 Jim Meyering <meyering@redhat.com>
15059 Fix doubled-word typos.
15060 * international/quail.el (quail-insert-kbd-layout): and and -> and
15061 * kermit.el: and and -> and
15062 * net/ldap.el (ldap-search-internal): to to -> to
15063 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15064 * progmodes/js.el (js-mode): and and -> and
15065 * textmodes/artist.el (artist-move-to-xy): at at -> at
15066 (artist-draw-region-trim-line-endings): if if -> if
15067 And Safetyc -> Safety.
15068 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15070 2011-05-10 Glenn Morris <rgm@gnu.org>
15071 Stefan Monnier <monnier@iro.umontreal.ca>
15073 * files.el (hack-one-local-variable-eval-safep):
15074 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15076 2011-05-10 Glenn Morris <rgm@gnu.org>
15078 * calendar/diary-lib.el (diary-list-entries-hook)
15079 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15080 (diary-nongregorian-marking-hook, diary-list-entries)
15081 (diary-include-other-diary-files, diary-mark-entries)
15082 (diary-mark-included-diary-files): Doc fixes.
15084 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
15086 * misc.el: Require tabulated-list.el during compilation.
15088 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
15090 * progmodes/compile.el (compilation-start):
15091 Run compilation-filter-hook for the async case too.
15092 (compilation-filter-hook): Doc fix.
15094 2011-05-09 Deniz Dogan <deniz@dogan.se>
15096 * wdired.el: Remove outdated installation comment. Fix usage
15099 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
15101 * misc.el: Implement new command `list-dynamic-libraries'.
15102 (list-dynamic-libraries--loaded-only-p): New variable.
15103 (list-dynamic-libraries--refresh): New function.
15104 (list-dynamic-libraries): New command.
15106 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
15108 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15109 Fix the ant regexp to handle end-line and end-column info from jikes.
15110 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15111 higher priority to avoid clobbering by gnu.
15113 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
15115 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15116 if the face has existing theme settings (Bug#8454).
15118 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15120 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15121 Only match variables declared via `my' or `our' (Bug#8261).
15123 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15124 special file names `.' and `..' (Bug#8259).
15126 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
15128 * progmodes/grep.el (grep-mode-font-lock-keywords):
15129 Remove buffer-changing entries.
15130 (grep-filter): New function.
15131 (grep-mode): Add it to compilation-filter-hook.
15133 * progmodes/compile.el (compilation-filter-hook)
15134 (compilation-filter-start): New defvars.
15135 (compilation-filter): Call compilation-filter-hook prior to
15136 updating the process mark.
15138 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15140 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15142 2011-05-07 Eli Zaretskii <eliz@gnu.org>
15144 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15145 mailclient-send-it even if window-system is nil. (Bug#8595)
15147 * term/w32console.el (terminal-init-w32console):
15148 Call get-screen-color and use its output to set the frame
15149 background-mode. (Bug#8597)
15151 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15153 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15154 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15156 (defgeneric, eieio--defmethod): Use them.
15157 (eieio-defgeneric): Remove.
15158 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15160 2011-05-07 Glenn Morris <rgm@gnu.org>
15162 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15163 Use let rather than let*.
15164 (timeclock-find-discrep): Remove unused local.
15166 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15168 * calendar/appt.el (appt-time-msg-list): Doc fix.
15170 2011-05-06 Noah Friedman <friedman@splode.com>
15172 * apropos.el (apropos-print-doc): Only use
15173 emacs-lisp-docstring-fill-column when it is bound to an integer,
15174 per that variable's documentation.
15176 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15178 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
15179 and warnings are not silently discarded (e.g. use -d instead of -P).
15181 2011-05-06 Glenn Morris <rgm@gnu.org>
15183 * calendar/appt.el (appt-message-warning-time): Doc fix.
15184 (appt-warning-time-regexp): New option.
15185 (appt-make-list): Respect appt-message-warning-time.
15187 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15189 (diary-add-to-list): Strip comments from the displayed string.
15190 (diary-mode): Set comment-start and comment-end.
15192 * vc/diff-mode.el (smerge-refine-subst): Declare.
15193 (diff-refine-hunk): Don't require smerge-mode when compiling.
15195 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
15197 * simple.el (list-processes): Return nil as the docstring says.
15199 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
15201 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15203 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15204 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15205 determining of binary transfer. (Bug#7383)
15207 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
15209 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15210 Fix port computation bug. (Bug#8618)
15212 2011-05-05 Glenn Morris <rgm@gnu.org>
15214 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15216 * simple.el (shell-dynamic-complete-functions)
15217 (comint-dynamic-complete-functions): Declare.
15219 * net/network-stream.el (gnutls-negotiate):
15220 * simple.el (tabulated-list-print): Fix declarations.
15222 * progmodes/gud.el (syntax-symbol, syntax-point):
15223 Remove unnecessary and incorrect declarations.
15225 * emacs-lisp/check-declare.el (check-declare-scan):
15226 Handle byte-compile-initial-macro-environment in bytecomp.el
15228 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15230 Fix earlier half-done eieio-defmethod change (bug#8338).
15231 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15232 Streamline and change calling convention.
15233 (defmethod): Adjust accordingly and simplify.
15234 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15235 new eieio--defmethod.
15236 (slot-boundp): Minor CSE simplification.
15238 2011-05-05 Milan Zamazal <pdm@zamazal.org>
15240 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15241 (glasses-make-readable): Use glasses-separate-capital-groups.
15243 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
15245 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15246 (warning-series): Doc fix.
15247 (display-warning): Don't try to create the buffer if we just found it.
15249 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
15251 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15252 (autoload-find-generated-file): New function.
15253 (generate-file-autoloads): Bind generated-autoload-file to
15255 (update-file-autoloads, update-directory-autoloads):
15256 Use autoload-find-generated-file. If called interactively, prompt for
15257 output file (Bug#7989).
15258 (batch-update-autoloads): Doc fix.
15260 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
15262 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15264 2011-05-04 Glenn Morris <rgm@gnu.org>
15266 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15267 function, so it follows changes in calendar-date-style.
15268 (diary-fancy-date-matcher): New function.
15269 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15270 (diary-fancy-font-lock-fontify-region-function):
15271 Use diary-fancy-date-pattern as a function.
15273 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15274 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15276 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15278 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15279 instead of positional arguments. Allow :keylist and :crlfiles
15281 (open-gnutls-stream): Call it.
15283 * net/network-stream.el (network-stream-open-starttls): Adjust to
15284 call `gnutls-negotiate' with :process and :hostname arguments.
15286 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15288 * minibuffer.el (completion--message): New function.
15289 (completion--do-completion, minibuffer-complete)
15290 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15291 (completion--do-completion): Don't ignore completion-auto-help when in
15294 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15295 internal encoding (e.g. tibetan zero is not whitespace).
15296 (global-whitespace-mode): Prefer save-current-buffer.
15297 (whitespace-trailing-regexp): Remove useless save-match-data.
15298 (whitespace-empty-at-bob-regexp): Minor simplification.
15300 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
15302 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15304 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15306 * textmodes/ispell.el (ispell-add-per-file-word-list):
15307 Use `concat' to create string for insertion.
15309 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15311 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15312 Avoid open-line which runs post-self-insert-hook.
15313 (bibtex-fill-entry): Remove unused `end' var.
15315 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15317 * textmodes/ispell.el (ispell-add-per-file-word-list):
15318 Protect against `nil' value of `comment-start' (Bug#8579).
15320 2011-05-03 Leo Liu <sdl.web@gmail.com>
15322 * isearch.el (isearch-yank-pop): New command.
15323 (isearch-mode-map): Bind it to `M-y'.
15324 (isearch-forward): Mention it.
15326 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15328 * simple.el (minibuffer-complete-shell-command): Remove.
15329 (minibuffer-local-shell-command-map): Use completion-at-point.
15330 (read-shell-command): Setup completion vars here instead.
15331 (read-expression-map): Bind TAB to symbol completion.
15333 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15334 error directly rather via storing it into `results'.
15336 2011-05-02 Leo Liu <sdl.web@gmail.com>
15338 * vc/diff.el: Fix description.
15340 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15342 * server.el (server-eval-at): New function.
15344 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15346 * net/network-stream.el (open-network-stream): Take a :nowait
15347 parameter and pass it on to `make-network-process'.
15348 (network-stream-open-plain): Ditto.
15350 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15352 * faces.el (face-spec-set-match-display): Don't match toolkit
15353 options on terminal frames.
15355 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15357 * progmodes/pascal.el: Use lexical binding.
15358 (pascal-mode-map): Remove author preferences.
15360 * pcomplete.el (pcomplete-std-complete): Don't abuse
15361 completion-at-point.
15363 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
15365 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15366 removing code that has been dead since 1991 or so.
15368 * startup.el (command-line): When warning about "_emacs", use a
15369 delayed warning to allow the user to filter it out.
15371 2011-04-28 Deniz Dogan <deniz@dogan.se>
15373 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15374 user has not joined.
15376 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15378 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15379 aren't any completions at point.
15381 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
15383 * subr.el (display-delayed-warnings): New function.
15384 (delayed-warnings-hook): New variable.
15386 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15388 * minibuffer.el (completion-at-point, completion-help-at-point):
15389 Don't presume that a given completion-at-point-function will always
15390 use the same calling convention.
15392 * pcomplete.el (pcomplete-completions-at-point):
15393 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15394 pcomplete-seen is non-nil.
15395 (pcomplete-comint-setup): Also recognize the new comint/shell
15396 completion functions.
15397 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15398 pcomplete-seen is non-nil.
15400 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
15402 * calendar/icalendar.el (diary-lib): Add require statement.
15403 (icalendar--create-uid): Read out a uid from a text-property on
15404 the first character in the entry. This allows for code to add its
15405 own uid to the entry.
15406 (icalendar--convert-float-to-ical): Add export of
15407 `diary-float'-entries save for those with the optional DAY
15410 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15412 * subr.el (shell-quote-argument): Use alternate escaping strategy
15413 when we spot a variable reference in a string.
15415 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15417 * cus-start.el (all): Define customization for debug-on-event.
15419 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15421 * subr.el (shell-quote-argument): Escape correctly under Windows.
15423 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15425 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15427 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
15429 * net/tramp.el (tramp-process-actions): Add POS argument.
15430 Delete region between POS and (pos).
15432 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15433 Use `nil' position in `tramp-process-actions' call.
15434 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15436 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15437 position in `tramp-process-actions' call.
15439 * net/trampver.el: Update release number.
15441 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15443 * custom.el (defcustom): Obey lexical-binding.
15445 Fix octave-inf completion problems reported by Alexander Klimov.
15446 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15447 Inherit from octave-mode-syntax-table.
15448 (inferior-octave-mode): Set info-lookup-mode.
15449 (inferior-octave-completion-at-point): New function.
15450 (inferior-octave-complete): Use it and completion-in-region.
15451 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15452 comint-filename-completion.
15453 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15454 symbol elements which shouldn't be word elements.
15455 (octave-font-lock-keywords, octave-beginning-of-defun)
15456 (octave-function-header-regexp): Adjust regexps accordingly.
15457 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15459 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
15461 * net/gnutls.el (gnutls-errorp): Declare before first use.
15463 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15465 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15466 verify-error, and verify-hostname-error parameters. Check whether
15467 default trustfile exists before going to use it. Add missing
15468 argument to gnutls-message-maybe call. Return value.
15469 Reported by Claudio Bley <claudio.bley@gmail.com>.
15470 (open-gnutls-stream): Add usage example.
15472 * net/network-stream.el (network-stream-open-starttls): Give host
15473 parameter to `gnutls-negotiate'.
15474 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
15475 * subr.el (shell-quote-argument): Escape correctly under Windows.
15477 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
15479 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15480 Use correct match group (bug#8438).
15482 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
15484 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15485 (package-menu--generate): New arg specifying packages to show.
15486 (package-menu-refresh, package-menu-execute, list-packages):
15488 (package-show-package-list): New function, replacing deleted
15489 package--list-packages (renamed because it is non-internal).
15491 * finder.el (finder-list-matches): Use package-show-package-list
15492 instead of deleted package--list-packages.
15494 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15495 Based on a previous implementation by Juanma Barranquero (Bug#8366).
15496 (vc-annotate-mode-map): Bind it to RET.
15498 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15500 * progmodes/etags.el (next-file): Don't use set-buffer to change
15501 buffers (Bug#8478).
15503 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
15505 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15507 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15508 (apropos-accumulator): Doc fix.
15509 (apropos-function, apropos-macro, apropos-command)
15510 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15511 (apropos-plist): Add face property.
15512 (apropos-symbols-internal): Fix indentation.
15513 (apropos-print): Simplify help, and recognize apropos-multi-type.
15514 (apropos-print-doc): Use button-type-get to extract the button's
15515 face property. Fill docstring (Bug#8352).
15517 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
15519 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15521 * play/mpuz.el (mpuz-silent): Doc fix.
15522 (mpuz-mode-map): Use mapc.
15523 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15524 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15525 Fix typos in docstrings.
15527 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15528 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15530 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15532 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
15534 * minibuffer.el (completion--do-completion): Avoid the "Next char
15535 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15537 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15538 mouse-2 into unread-command-events, it is interpreted correctly.
15540 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
15541 (image-toggle-display): Doc fix.
15543 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
15545 * textmodes/page.el (what-page): Use line-number-at-pos to
15546 calculate line number (Bug#6825).
15548 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15550 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15551 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15552 Pass argument NO-DEFAULT to `find-tag-interactive'.
15554 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15556 Lexical-binding cleanup.
15558 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15559 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15560 * progmodes/ada-prj.el (ada-prj-initialize-values)
15561 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15562 (ada-prj-show-value):
15563 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15564 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15565 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15566 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15567 * progmodes/bug-reference.el (bug-reference-push-button):
15568 * progmodes/fortran.el (fortran-line-length):
15569 * progmodes/glasses.el (glasses-change):
15570 * progmodes/octave-mod.el (octave-fill-paragraph):
15571 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15572 (python-pdbtrack-grub-for-buffer, python-sentinel):
15573 * progmodes/sql.el (sql-save-connection):
15574 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15575 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15576 Mark unused parameters.
15578 * progmodes/compile.el (compilation--flush-directory-cache)
15579 (compilation--flush-parse, compile-internal): Mark unused parameters.
15580 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15581 (compilation-next-error-function): Remove unused variable `timestamp'.
15583 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15584 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15586 * progmodes/dcl-mode.el (dcl-end-of-command):
15587 Remove unused variable `start'.
15588 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15589 (dcl-option-value-basic, dcl-option-value-offset)
15590 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15591 Mark unused parameters.
15592 (dcl-save-local-variable): Remove unused variable `val'.
15595 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15596 Mark unused parameters.
15597 (delphi-ignore-changes): Move before first use.
15598 (delphi-charset-token-at): Remove unused variable `start'.
15599 (delphi-else-start): Remove unused variable `if-count'.
15600 (delphi-comment-block-start, delphi-comment-block-end):
15601 Remove unused variable `kind'.
15602 (delphi-indent-line): Remove unused variable `new-point'.
15604 * progmodes/ebrowse.el (ebrowse-files-list)
15605 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15606 Mark unused parameters. Don't quote `lambda'.
15607 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15608 Don't quote `lambda'.
15609 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15610 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15611 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15612 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15613 Use `ignore-errors'.
15614 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15615 (ebrowse-view/find-file-and-search-pattern)
15616 (ebrowse-view/find-member-declaration/definition):
15617 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15618 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15619 Rename parameter PREFIX-ARG to PREFIX.
15620 (ebrowse-tags-read-name): Remove unused variables `start' and
15622 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15625 * progmodes/etags.el (local-find-tag-hook): Declare.
15626 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15627 Mark unused parameters.
15629 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15630 (executable-interpret): Mark unused parameter.
15632 * progmodes/flymake.el (flymake-process-sentinel)
15633 (flymake-after-change-function)
15634 (flymake-create-temp-with-folder-structure)
15635 (flymake-get-include-dirs-dot): Mark unused parameters.
15636 (flymake-safe-delete-directory): Remove unused variable `err'.
15638 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15639 (speedbar-timer-fn, speedbar-line-text)
15640 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15641 (speedbar-center-buffer-smartly): Declare functions.
15642 (gdb-find-watch-expression): Remove unused variable `array'.
15643 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15644 (gdb-starting): Mark unused parameters.
15645 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15646 (gdb-table-string): Remove unused variable `res'.
15647 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15648 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15649 (gdb-display-buffer): Remove unused variable `cur-size'.
15651 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15652 allow lexical-binding compilation.
15653 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15654 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15655 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15656 Mark unused parameters.
15657 (gud-gdb-marker-filter): Remove unused variable `match'.
15658 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15659 lambda expressions and funcall them, instead of using `fset'.
15661 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15662 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15664 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15665 variable `header-beg'; use `let'.
15667 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15668 `restart', `last-sexp' and `at-do'.
15670 * progmodes/js.el (js--debug): Mark unused parameter.
15671 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15672 (js--splice-into-items): Remove unused variable `item'.
15673 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15675 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15676 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15677 (makefile-complete): Remove unused variable `try'.
15678 (makefile-fill-paragraph, makefile-match-function-end):
15679 Mark unused parameters.
15681 * progmodes/octave-inf.el (inferior-octave-complete):
15682 Remove unused variable `proc'.
15683 (inferior-octave-output-digest): Mark unused parameter.
15685 * progmodes/perl-mode.el (perl-calculate-indent):
15686 Remove unused variable `err'.
15688 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15689 (prolog-indent-line): Mark unused parameters.
15690 (prolog-indent-line): Remove unused variable `beg'.
15692 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15693 (reporter-dont-compact-list): Declare.
15695 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15696 Remove unused variable `char'.
15697 (sh-debug): Mark unused parameter.
15698 (sh-get-indent-info): Remove unused variable `start'.
15699 (sh-calculate-indent): Remove unused variable `var'.
15701 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15702 (simula-electric-keyword): Remove unused variable `null'.
15703 (simula-search-backward, simula-search-forward): Remove unused
15704 variables `begin' and `end'.
15706 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15707 Remove unused variable `pos'.
15708 (vera-electric-tab, vera-comment-uncomment-region):
15709 Mark unused parameters.
15710 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15712 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
15714 * emacs-lisp/package.el (package--builtins, package-alist)
15715 (package-load-descriptor, package-built-in-p, package-activate)
15716 (define-package, package-installed-p)
15717 (package-compute-transaction, package-buffer-info)
15718 (package--push): Doc fix. Distinguish more clearly between
15719 version strings and version lists.
15721 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
15723 Lexical-binding cleanup.
15725 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15726 (5x5-make-mutate-best):
15727 * play/fortune.el (fortune-in-buffer):
15728 * play/gomoku.el (gomoku-init-display):
15729 * play/solitaire.el (solitaire, solitaire-do-check):
15730 * play/tetris.el (tetris-default-update-speed-function):
15731 Mark unused parameters.
15733 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15734 (bubbles--shift): Remove unused variable `char-org'.
15735 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15736 (bubbles--show-images): Remove unused variable `char'.
15738 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15739 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15740 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15741 (decipher-analyze-buffer): Use ?\s.
15742 (decipher-make-checkpoint): Remove unused variable `mapping'.
15744 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15746 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15747 Remove unused variable `result'; use `let'.
15749 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15750 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15751 (gametree-children-shown-p, gametree-compute-reduced-score):
15752 Use `ignore-errors'.
15754 * play/handwrite.el (ps-lpr-switches): Declare.
15755 (handwrite): Remove unused variables `pmin' and `lastp'.
15757 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15759 * play/landmark.el (landmark-init-display)
15760 (landmark-update-naught-weights): Mark unused parameters.
15761 (landmark-y): Remove unused variable `noise'. Simplify.
15762 (landmark-human-plays): Remove unused variable `score'.
15764 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15765 (mpuz-try-proposal): Remove unused variable `game'.
15767 * play/zone.el (life-patterns): Declare.
15769 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
15771 * vc/vc.el (ediff-vc-internal): Declare function.
15773 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15775 * shell.el: Use lexical-binding and std completion UI.
15776 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15777 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15778 comint-preoutput-filter-functions rather than on
15779 comint-output-filter-functions.
15780 (shell-command-completion, shell--command-completion-data)
15781 (shell-filename-completion, shell-environment-variable-completion)
15782 (shell-c-a-p-replace-by-expanded-directory): New functions.
15783 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15784 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15785 (shell-dynamic-complete-environment-variable): Use them.
15786 (shell-dynamic-complete-as-environment-variable)
15787 (shell-dynamic-complete-as-command): Remove.
15788 (shell-match-partial-variable): Match past point.
15789 * comint.el: Clean up use of completion-at-point-functions.
15790 (comint-completion-at-point): New function.
15791 (comint-mode): Use it completion-at-point-functions.
15792 (comint-dynamic-complete): Make it obsolete.
15793 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15794 (comint-c-a-p-replace-by-expanded-history): New function.
15795 (comint-dynamic-complete-functions)
15796 (comint-replace-by-expanded-history): Use it.
15797 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15798 termination strings. Try harder to avoid second try-completion.
15799 (completion-in-region-mode-map): Disable bindings that don't work yet.
15801 * comint.el: Use lexical-binding. Require CL.
15802 (comint-dynamic-complete-functions): Use comint-filename-completion.
15803 (comint-completion-addsuffix): Tweak custom type.
15804 (comint-filename-completion, comint--common-suffix)
15805 (comint--common-quoted-suffix, comint--table-subvert)
15806 (comint--complete-file-name-data): New functions.
15807 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15808 (comint-dynamic-list-filename-completions): Use them.
15809 (comint-dynamic-simple-complete): Make obsolete.
15811 * minibuffer.el (completion-in-region-mode):
15812 Keep completion-in-region-mode--predicate global.
15813 (completion-in-region--postch):
15814 Assume completion-in-region-mode--predicate is not null.
15816 * progmodes/flymake.el (flymake-start-syntax-check-process):
15817 Obey `dir'. Simplify.
15819 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15820 we're in VC after all.
15822 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15824 * vc/vc.el (vc-diff-build-argument-list-internal)
15825 (vc-version-ediff, vc-ediff): New commands.
15826 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15828 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15830 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15833 * obsolete/erc-hecomplete.el: Make obsolete.
15834 * obsolete/: Standardize obsolescence info in the header.
15836 2011-04-20 Glenn Morris <rgm@gnu.org>
15838 * calendar/solar.el (solar-horizontal-coordinates):
15839 Use the longitude argument rather than `calendar-longitude'.
15840 (solar-date-next-longitude): Remove unused locals.
15842 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15844 * whitespace.el: New version 13.2.1.
15846 2011-04-20 felix <EmacsWiki> (tiny change)
15848 * whitespace.el (global-whitespace-mode): Keep highlight when
15849 switching between major modes on a file.
15851 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15853 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15854 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15855 multi-line comments as well.
15857 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
15859 Lexical-binding cleanup.
15861 * arc-mode.el (archive-mode-revert):
15862 * cmuscheme.el (scheme-interactively-start-process):
15863 * custom.el (custom-initialize-delay):
15864 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15865 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15866 * emacs-lock.el (emacs-lock-clear-sentinel):
15867 * ezimage.el (defezimage):
15868 * follow.el (follow-avoid-tail-recenter):
15869 * fringe.el (set-fringe-mode-1):
15870 * generic-x.el (bat-generic-mode-compile):
15871 * help-mode.el (help-info-variable, help-do-xref)
15872 (help-mode-revert-buffer):
15873 * help.el (view-emacs-todo):
15874 * iswitchb.el (iswitchb-completion-help):
15875 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15876 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15877 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15878 * locate.el (locate-update):
15879 * longlines.el (longlines-encode-region)
15880 (longlines-after-change-function):
15881 * outline.el (outline-isearch-open-invisible):
15882 * ps-def.el (declare-function, charset-dimension, char-width)
15884 * ps-mule.el (ps-mule-plot-string):
15885 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15886 (recentf-edit-list-select, recentf-edit-list-validate)
15887 (recentf-open-files-action):
15888 * rect.el (delete-whitespace-rectangle-line)
15889 (rectangle-number-line-callback):
15890 * register.el (window-configuration-to-register)
15891 (frame-configuration-to-register):
15892 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15893 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15894 (xselect-convert-to-targets, xselect-convert-to-delete)
15895 (xselect-convert-to-filename, xselect-convert-to-charpos)
15896 (xselect-convert-to-lineno, xselect-convert-to-colno)
15897 (xselect-convert-to-os, xselect-convert-to-host)
15898 (xselect-convert-to-user, xselect-convert-to-class)
15899 (xselect-convert-to-name, xselect-convert-to-integer)
15900 (xselect-convert-to-atom, xselect-convert-to-identity):
15901 * subr.el (declare, ignore, process-kill-without-query)
15902 (text-clone-maintain):
15903 * terminal.el (te-get-char, te-tic-sentinel):
15904 * tool-bar.el (tool-bar-make-keymap):
15905 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15906 * type-break.el (type-break-mode, type-break-noninteractive-query):
15907 * view.el (View-back-to-mark):
15908 * wid-browse.el (widget-browse-action, widget-browse-widget)
15909 (widget-browse-widgets, widget-browse-sexp):
15910 * widget.el (define-widget-keywords):
15911 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15912 Mark unused parameters.
15914 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15915 (align-areas): Remove unused variable `look'.
15916 (align-region): Remove unused variables `real-end' and `pos-list'.
15918 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15920 * bindings.el (mode-line-modified, mode-line-remote):
15921 Mark unused parameters.
15922 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15924 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15925 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15927 * comint.el (comint-history-isearch-pop-state)
15928 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15929 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15930 (comint-substitute-in-file-name): Doc fix.
15932 * completion.el (cmpl-statistics-block): Mark unused parameter.
15933 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15934 (save-completions-to-file, load-completions-from-file):
15935 Remove unused local variable `e'.
15937 * composite.el (compose-chars): Remove unused variable `len'.
15938 (lgstring-insert-glyph): Remove unused variable `g'.
15939 (compose-glyph-string): Remove unused variables `ascent',
15940 `descent', `lbearing' and `rbearing'.
15941 (compose-glyph-string-relative): Remove unused variables
15942 `lbearing', `rbearing' and `wadjust'.
15943 (compose-gstring-for-graphic): Remove unused variables `header',
15944 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15945 (compose-gstring-for-terminal): Remove unused variables `header'
15946 and `nchars'. Use `let', not `let*'.
15948 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15949 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15950 (Custom-buffer-done, custom-buffer-create-internal)
15951 (custom-browse-visibility-action, custom-browse-group-tag-action)
15952 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15953 (widget-magic-mouse-down-action, custom-toggle-parent)
15954 (custom-add-parent-links, custom-toggle-hide-variable)
15955 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15956 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15957 (custom-face-menu-create, custom-variable-menu-create, get)
15958 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15959 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15960 (customize-apropos): Remove unused variable `tests'.
15961 (custom-group-value-create): Remove unused variable `hidden-p'.
15962 (sort-fold-case): Declare.
15964 * cus-theme.el (custom-reset-standard-faces-list)
15965 (custom-reset-standard-variables-list): Declare.
15966 (customize-create-theme, custom-theme-revert, custom-theme-write)
15967 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15968 Mark unused parameters.
15970 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15972 * delim-col.el (delimit-columns-max): Move defvar before first use.
15974 * descr-text.el (describe-char-categories): Don't quote `lambda'.
15975 (describe-char): Don't quote `lambda'. Mark unused parameter.
15977 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15978 (auto-insert): Declare.
15979 (desktop-restore-file-buffer): Rename desktop-* parameters;
15981 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15982 (desktop-buffer): Rename desktop-* parameters.
15984 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15985 (dframe-reposition-frame-xemacs, dframe-help-echo)
15986 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15987 Mark unused parameters.
15989 * dired-aux.el (backup-extract-version-start, overwrite-query)
15990 (overwrite-backup-query, rename-regexp-query)
15991 (rename-non-directory-query): Declare.
15992 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15993 (dired-add-entry): Remove unused variable `orig-file-name'.
15994 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15995 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15996 `dired-copy-preserve-time' directly.
15997 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15998 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16000 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16001 (dired-virtual-revert, dired-make-relative-symlink):
16002 Mark unused parameters.
16003 (manual-program): Declare.
16004 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16005 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16006 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16008 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16010 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16012 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16015 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16017 * electric.el (Electric-command-loop): Rename parameter
16018 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16020 * expand.el (expand-in-literal): Remove unused variable `here'.
16022 * facemenu.el (facemenu-add-new-color):
16023 Remove unused variable `docstring'.
16025 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16026 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16027 (face-attr-construct): Mark unused parameter. Doc fix.
16028 (read-color): Remove unused variable `hex-string'.
16030 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16031 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16032 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16033 (display-buffer-other-frame): Remove unused variable `old-window'.
16034 (kill-buffer-hook): Declare.
16035 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16036 Mark unused parameters.
16037 (after-find-file): Pass 1 to `auto-save-mode', not t.
16039 * files-x.el (auto-insert): Declare.
16040 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16042 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
16043 variable `buf'. Mark unused parameter.
16044 (find-lisp-insert-directory): Mark unused parameter.
16046 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16047 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16048 (format-common-tail): Remove, unused.
16049 (format-deannotate-region): Remove unused variable `loc'.
16050 (format-annotate-region): Remove unused variable `p'.
16051 (format-annotate-single-property-change): Remove unused variables
16052 `default' and `tail'.
16054 * forms.el (read-file-filter): Declare.
16055 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16057 * frame.el (frame-creation-function-alist): Mark unused parameter.
16058 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16060 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16061 Remove unused parameters.
16062 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16063 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16065 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16066 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16067 (hfy-prepare-tag-map): Mark unused parameters.
16068 (htmlfontify-buffer): Use `called-interactively-p'.
16070 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16071 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16072 (ibuffer-do-occur): Mark unused parameters.
16073 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16074 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16076 * ibuffer.el: Don't quote `lambda'.
16077 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16078 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16079 Mark unused parameters.
16081 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16082 (ido-completing-read): Mark unused parameters.
16083 (ido-copy-current-word): Mark unused parameters;
16084 remove unused variable `name'.
16085 (ido-sort-merged-list): Remove unused parameter `dirs'.
16087 * ielm.el (ielm-input-sender): Mark unused parameter.
16088 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16089 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16090 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16091 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16092 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16094 * image-dired.el (image-dired-display-thumbs): Remove unused
16095 variables `curr-file' and `count'.
16096 (image-dired-remove-tag): Remove unused variable `start'.
16097 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16098 variable `curr-file'
16099 (image-dired-rotate-original): Remove unused variable `temp-file'.
16100 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16101 Remove unused variable `file'.
16102 (image-dired-gallery-generate): Remove unused variable `curr'.
16103 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16105 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16107 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16109 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16111 * isearch.el (minibuffer-history-symbol): Declare.
16112 (isearch-edit-string): Remove unused variable `err'.
16113 (isearch-message-prefix, isearch-message-suffix):
16114 Mark unused parameters.
16116 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16118 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16120 * makesum.el (double-column): Remove unused variable `cnt'.
16122 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16123 (ido-ignore-item-temp-list): Declare.
16125 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16126 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16127 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16128 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16131 * mouse-sel.el (mouse-extend-internal):
16132 Remove unused variable `orig-window-frame'.
16134 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16135 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16136 Move declarations before first use.
16137 (pcomplete-opt): Mark unused parameters; doc fix.
16139 * proced.el (proced-revert): Mark unused parameter.
16140 (proced-send-signal): Remove unused variable `err'.
16142 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16143 Rename parameter PREFIX-ARG to ARG.
16144 (ps-basic-plot-string, ps-basic-plot-whitespace):
16145 Mark unused parameters.
16147 * replace.el (replace-count): Define.
16148 (occur-revert-function): Mark unused parameters.
16149 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16150 (isearch-case-fold-search, isearch-string): Declare.
16151 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16152 bind `case-fold-search'. Remove unused variables `beg' and `end',
16154 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16155 COUNT and bind `replace-count'.
16156 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16159 * savehist.el (print-readably, print-string-length): Declare.
16161 * shadowfile.el (shadow-expand-cluster-in-file-name):
16162 Remove unused variable `cluster'.
16163 (shadow-copy-file): Remove unused variable `i'.
16164 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16165 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16166 (shadow-define-literal-group, shadow-define-regexp-group)
16167 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16169 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16170 (shell): Use `called-interactively-p'.
16171 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16173 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16174 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16175 (delete-backward-char): Remove unused variable `ocol'.
16176 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16177 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16178 (event-apply-hyper-modifier, event-apply-shift-modifier)
16179 (event-apply-control-modifier, event-apply-meta-modifier):
16180 Mark unused parameters.
16181 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16182 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16184 * speedbar.el (speedbar-ignored-directory-expressions)
16185 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16186 (speedbar-find-file, speedbar-dir-follow)
16187 (speedbar-directory-buttons-follow, speedbar-tag-find)
16188 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16189 (speedbar-buffers-line-directory, speedbar-buffer-click):
16190 Mark unused parameters.
16191 (speedbar-tag-file): Remove unused variable `mode'.
16192 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16194 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16196 * talk.el (talk): Remove unused variable `display'.
16198 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16199 (tar-write-region-annotate): Mark unused parameter.
16201 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16202 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16203 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16204 warning by another.
16206 * time-stamp.el (time-stamp-string-preprocess):
16207 Remove unused variable `require-padding'.
16209 * tree-widget.el (widget-glyph-enable): Declare.
16210 (tree-widget-action): Mark unused parameter.
16212 * w32-fns.el (x-get-selection): Mark unused parameter.
16213 (autoload-make-program, generated-autoload-file): Declare.
16215 * wdired.el (wdired-revert): Mark unused parameters.
16216 (wdired-xcase-word): Remove unused variable `err'.
16218 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16219 (whitespace-help-scroll): Remove unused variable `data-help'.
16221 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16222 (widget-image-insert, widget-after-change, default)
16223 (widget-default-format-handler, widget-default-notify)
16224 (widget-default-prompt-value, widget-info-link-action)
16225 (widget-url-link-action, widget-function-link-action)
16226 (widget-variable-link-action, widget-file-link-action)
16227 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16228 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16229 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16230 (widget-insert-button-action, widget-delete-button-action, visibility)
16231 (widget-documentation-link-action, widget-documentation-string-action)
16232 (widget-const-prompt-value, widget-regexp-match, symbol)
16233 (widget-coding-system-prompt-value)
16234 (widget-key-sequence-value-to-external, sexp)
16235 (widget-sexp-value-to-internal, character, vector, cons)
16236 (widget-choice-prompt-value, widget-boolean-prompt-value)
16237 (widget-color--choose-action): Mark unused parameters.
16238 (widget-item-match-inline, widget-choice-match-inline)
16239 (widget-checklist-match, widget-checklist-match-inline)
16240 (widget-group-match): Rename parameter VALUES to VALS.
16241 (widget-field-value-set): Remove unused variable `size'.
16242 (widget-color-action): Remove unused variables `value' and `start'.
16244 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
16245 variable `dir'. Doc fix.
16246 (windmove-find-other-window): Don't pass it.
16248 * window.el (count-windows): Mark unused parameter.
16249 (bw-adjust-window): Remove unused variable `err'.
16251 * woman.el (woman-file-name): Remove unused variable `default'.
16252 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16253 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16254 (global-font-lock-mode): Declare.
16255 (woman-decode-region): Mark unused parameter.
16256 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16258 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16259 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16260 (x-dnd-handle-moz-url): Remove unused variable `title'.
16261 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16263 * xml.el (xml-parse-tag, xml-parse-attlist):
16264 Remove unused variable `pos'.
16266 2011-04-19 Glenn Morris <rgm@gnu.org>
16268 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16269 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16270 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16271 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16272 * calendar/cal-html.el (cal-html-insert-minical):
16273 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16274 (calendar-mark-date-pattern):
16275 Prefix "unused" locals.
16277 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16278 optional argument `style'.
16280 * calendar/appt.el (appt-make-list):
16281 * calendar/cal-china.el (calendar-chinese-date-string):
16282 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16283 (diary-hebrew-yahrzeit):
16284 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16285 * calendar/calendar.el (calendar-generate-window):
16286 * calendar/time-date.el (time-to-days):
16287 Remove unused local variables.
16289 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
16291 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16292 glyphless-char-display table.
16293 (tabulated-list-glyphless-char-display): New var.
16295 2011-04-18 Sam Steingold <sds@gnu.org>
16297 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16298 to acknowledgments.
16300 2011-04-17 Glenn Morris <rgm@gnu.org>
16302 * calendar/diary-lib.el (diary-sexp-entry):
16303 * calendar/holidays.el (holiday-sexp):
16304 Set debug-on-error rather than the removed stack-trace-on-error.
16306 2011-04-16 Glenn Morris <rgm@gnu.org>
16308 * progmodes/f90.el: Use lexical-binding.
16309 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16311 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16313 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16314 (mail-mode): Setup mailalias completion here instead.
16315 * mail/mailalias.el: Use lexical-binding.
16316 (pattern, mailalias-done): Declare dynamic.
16317 (mail-completion-at-point-function): New function, from mail-complete.
16318 (mail-complete): Use it.
16319 (mail-completion-expand): New function.
16320 (mail-get-names): Use it.
16321 (mail-directory, mail-directory-process, mail-directory-stream):
16322 Don't use `pattern' for lexically bound arg.
16324 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16326 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16327 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16328 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16330 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16331 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16332 (byte-interactive-p): Define them again, for use when inlining
16335 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
16337 * loadup.el: Use `string-to-number', not `string-to-int'.
16339 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16341 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16342 gud-gdb-complete-command.
16343 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16344 (gud-gdb-completion-at-point): New function.
16345 (gud-gdb-completions): Remove.
16347 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
16349 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16350 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16351 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16352 whether `executable-find' is bound.
16354 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16356 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16358 * minibuffer.el (completion-in-region-mode-predicate)
16359 (completion-in-region-mode--predicate): New vars.
16360 (completion-in-region, completion-in-region--postch)
16361 (completion-in-region-mode): Use them.
16362 (completion--capf-wrapper): Also return the hook function.
16363 (completion-at-point, completion-help-at-point):
16364 Adjust and provide a predicate.
16366 Preserve arg names for advice of subr and lexical functions (bug#8457).
16367 * help-fns.el (help-function-arglist): Consolidate the subr and
16368 new-byte-code cases. Add argument `preserve-names' to extract names
16369 from the docstring when needed.
16370 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16371 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16372 (ad-arglist): Use help-function-arglist's new arg.
16373 (ad-definition-type): Use cond.
16375 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
16377 * autorevert.el (auto-revert-handler):
16378 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16379 which was removed in revno:101730 (2010-10-02).
16380 Don't quote lambda.
16382 * image-mode.el (image-transform-set-scale):
16383 Fix change in revno:103877 (2011-04-09).
16385 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16387 * net/network-stream.el (network-stream-open-starttls): Only do
16388 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
16389 Upgrades via gnutls-cli are too slow to be done opportunistically.
16391 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
16393 * dframe.el (dframe-current-frame): Remove spurious quote.
16395 2011-04-12 Glenn Morris <rgm@gnu.org>
16397 * calendar/cal-tex.el (cal-tex-end-document):
16398 Try to automatically use latin1 input if needed.
16400 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16401 Don't try to cons a mark onto an empty element.
16403 2011-04-11 Leo Liu <sdl.web@gmail.com>
16405 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16407 (ido-kill-buffer-at-head): Support killing virtual buffers.
16409 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
16411 * minibuffer.el (completion-show-inline-help): New var.
16412 (completion--do-completion, minibuffer-complete)
16413 (minibuffer-force-complete, minibuffer-complete-word):
16414 Inhibit minibuffer messages if completion-show-inline-help is nil.
16416 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16417 to avoid interference from inline help (Bug#5849).
16419 2011-04-10 Leo Liu <sdl.web@gmail.com>
16421 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16424 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
16426 * image-mode.el (image-toggle-display-image): Signal an error if
16428 (image-transform-mode, image-transform-resize)
16429 (image-transform-set-rotation): Doc fix.
16430 (image-transform-set-resize): Delete.
16431 (image-transform-set-scale, image-transform-fit-to-height)
16432 (image-transform-fit-to-width): Handle image-toggle-display-image
16433 and image-transform-resize directly.
16435 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
16437 * doc-view.el (doc-view-fit-width-to-window)
16438 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16439 New functions for fitting the shown image to the Emacs window size.
16440 (doc-view-mode-map): Add bindings for the new functions.
16442 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
16444 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
16445 Fix typo in docstring.
16447 2011-04-08 Eli Zaretskii <eliz@gnu.org>
16449 * files.el (file-size-human-readable): Produce one digit after
16450 decimal, like "ls -lh" does.
16452 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16453 the file size representation.
16455 * simple.el (list-processes): If async subprocesses are not
16456 available, error out with a clear error message.
16458 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
16460 * help.el (help-form-show): New function, to be called from C.
16461 Put help-form output in a buffer named differently than *Help*.
16463 2011-04-08 Eli Zaretskii <eliz@gnu.org>
16465 * files.el (file-size-human-readable): New function.
16467 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16468 computing the representation inline. Don't require `cl'.
16470 2011-04-08 Glenn Morris <rgm@gnu.org>
16472 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16474 * net/browse-url.el (browse-url-firefox):
16475 Test system-type, not system-configuration.
16477 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16478 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16479 Use log-edit-empty-buffer-p. (Bug#7598)
16481 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16482 (rlogin-mode-map): Initialize in the defvar.
16483 (rlogin): Use ignore-errors.
16485 * replace.el (occur-mode-map): Some fixes for menu items.
16487 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16489 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16491 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
16493 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16494 issuing unused warnings.
16496 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16499 * simple.el: Lisp reimplement of list-processes. Based on an
16500 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16501 (process-menu-mode): New major mode.
16502 (list-processes--refresh, list-processes):
16503 (process-menu-visit-buffer): New functions.
16505 * files.el (save-buffers-kill-emacs): Don't assume any return
16506 value of list-processes, which is undocumented anyway.
16508 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
16510 * emacs-lisp/tabulated-list.el: New file.
16512 * emacs-lisp/package.el: Use Tabulated List mode.
16513 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16514 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16515 table format using Tabulated List mode variables.
16516 (package--push): New macro, replacing package-list-maybe-add.
16517 (package-menu--generate): Use package--push. Renamed from
16518 package--generate-package-list.
16519 (package-menu-refresh, list-packages): Use it.
16520 (package-menu--print-info): Rename from package-print-package.
16521 Return insertion data instead of inserting it directly.
16522 (package-menu-describe-package, package-menu-execute):
16523 Use tabulated-list-get-id.
16524 (package-menu-mark-delete, package-menu-mark-install)
16525 (package-menu-mark-unmark, package-menu-backup-unmark)
16526 (package-menu-mark-obsolete-for-deletion):
16527 Use tabulated-list-put-tag.
16528 (package--list-packages, package-menu-revert)
16529 (package-menu-get-package, package-menu-get-version)
16530 (package-menu-sort-by-column): Functions deleted.
16531 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16532 (package-menu--status-predicate, package-menu--version-predicate)
16533 (package-menu--name-predicate)
16534 (package-menu--description-predicate): Handle arguments in the
16535 Tabulated List format.
16536 (package-list-packages-no-fetch): Call list-packages.
16538 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
16540 * files.el (after-find-file-from-revert-buffer): Remove variable.
16541 (after-find-file): Don't bind it.
16542 (revert-buffer-in-progress-p): New variable.
16543 (revert-buffer): Bind it.
16544 Pass nil for `after-find-file-from-revert-buffer'.
16546 * saveplace.el (save-place-find-file-hook): Use new variable
16547 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16549 2011-04-06 Glenn Morris <rgm@gnu.org>
16551 * Makefile.in (AUTOGEN_VCS): New variable.
16552 (autoloads): Use $AUTOGEN_VCS.
16554 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16555 * calendar/calendar.el (calendar-mode-map):
16556 Check for toolkit scroll bars. (Bug#8305)
16558 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16560 * minibuffer.el (completion-in-region--postch)
16561 (completion-in-region-mode): Remove unnecessary messages.
16563 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
16565 * font-lock.el (font-lock-refresh-defaults):
16566 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16567 revno:99634.2.463 (2010-10-09) and revno:101913 (2010-10-12).
16569 * info.el (Info-directory-list, Info-read-node-name-2)
16570 (Info-split-parameter-string): Doc fixes.
16571 (Info-virtual-nodes): Reflow docstring.
16572 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16573 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16574 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16575 Fix typos in docstrings.
16576 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16577 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16578 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16579 (Info-restore-desktop-buffer): Mark unused parameters.
16580 (Info-directory-find-file, Info-directory-find-node)
16581 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16582 (Info-virtual-index-find-node, Info-apropos-find-file)
16583 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
16584 Mark unused parameters; fix typos in docstrings.
16585 (Info-virtual-index): Remove unused local variable `nodename'.
16587 2011-04-05 Deniz Dogan <deniz@dogan.se>
16589 * net/rcirc.el: Update my e-mail address.
16590 (rcirc-mode-map): Remove M-o binding.
16592 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16594 * startup.el (command-line): Save the cursor's theme-face
16595 directly, instead of using face-override-spec.
16597 * custom.el (load-theme): Minor optimization in assigning faces.
16599 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16601 * help-fns.el (describe-variable): Complete all variables having
16602 documentation, including keywords.
16603 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16605 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16607 Convert to lexical-binding.
16609 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16610 (bs--get-marked-string, bs--get-modified-string)
16611 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16612 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16613 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16615 * ehelp.el (electric-help-execute-extended)
16616 (electric-help-ctrl-x-prefix):
16617 * hexl.el (hexl-revert-buffer-function):
16618 * linum.el (linum-after-change, linum-after-scroll):
16619 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16621 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16623 2011-04-04 Daiki Ueno <ueno@unixuser.org>
16630 * epg.el: Use lexical binding.
16632 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
16634 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16636 * textmodes/flyspell.el (flyspell-word): Recognize default
16637 dictionary case for flyspell-mark-duplications-exceptions.
16638 Use regexp matching for languages.
16639 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16640 default dictionary (Bug#7926).
16642 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
16644 * emacs-lisp/package.el (package--with-work-buffer):
16645 Recognize https URLs.
16647 * net/network-stream.el: Move from gnus/proto-stream.el.
16648 Change prefix to network-stream throughout.
16649 (open-protocol-stream): Merge into open-network-stream, leaving
16650 open-protocol-stream as an alias. Handle nil BUFFER args.
16652 * subr.el (open-network-stream): Move to net/network-stream.el.
16654 2011-04-02 Glenn Morris <rgm@gnu.org>
16656 * find-dired.el (find-exec-terminator): New option.
16657 (find-ls-option): Test for -ls support.
16658 (find-ls-subdir-switches): Test for -b in find-ls-option.
16659 (find-dired, find-grep-dired): Doc fixes.
16660 (find-dired): Use find-exec-terminator.
16662 * find-dired.el (find-ls-option, find-ls-subdir-switches)
16663 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16664 (find-name-arg): Remove purecopy.
16666 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16667 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16668 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16669 accordingly. Don't add the null-device if not needed.
16671 * files.el (save-some-buffers): Doc fix.
16673 2011-04-02 Eli Zaretskii <eliz@gnu.org>
16675 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16677 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
16679 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16680 Use `dolist' rather than `mapcar'.
16682 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16684 Add lexical binding.
16686 * subr.el (apply-partially): Use new closures rather than CL.
16687 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16688 (dolist, dotimes): Use slightly different expansion for lexical code.
16689 (functionp): Move to C.
16690 (letrec): New macro.
16691 (with-wrapper-hook): Use it and apply-partially instead of CL.
16692 (eval-after-load): Preserve lexical-binding.
16693 (save-window-excursion, with-output-to-temp-buffer): Turn them
16696 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16698 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16700 (help-add-fundoc-usage): Don't add `Not documented'.
16701 (help-function-arglist): Handle closures, subroutines, and new
16702 byte-code-functions.
16703 (help-make-usage): Remove leading underscores.
16704 (describe-function-1): Handle closures.
16705 (describe-variable): Use special-variable-p for completion.
16707 * files.el (lexical-binding): Declare safe.
16709 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16710 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16711 (pcase): Add `let' pattern.
16712 Change memoization so it actually works.
16713 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16714 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16717 * emacs-lisp/macroexp.el: Use lexical binding.
16718 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16719 Don't convert ' to #' without checking that it's indeed quoting
16722 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
16723 Use eval-sexp-add-defvars.
16724 (eval-sexp-add-defvars): New fun.
16726 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16728 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16730 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16731 than the internal `byte-compile-lambda'.
16732 (defmethod): Don't hide code under quotes.
16733 (eieio-defmethod): New `code' argument.
16735 * emacs-lisp/eieio-comp.el: Remove.
16737 * emacs-lisp/edebug.el (edebug-eval-defun)
16738 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16739 (edebug-toggle): Avoid `eval'.
16741 * emacs-lisp/disass.el (disassemble-internal): Handle new
16743 (disassemble-1): Handle new byte codes.
16745 * emacs-lisp/cl.el (pushnew): Silence warning.
16747 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16748 (cl-byte-compile-throw): Remove.
16749 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16751 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16754 * emacs-lisp/cconv.el: New file.
16756 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16757 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16758 (byte-compile-initial-macro-environment):
16759 Handle declare-function here.
16760 (byte-compile--lexical-environment): New var.
16761 (byte-stack-ref, byte-stack-set, byte-discardN)
16762 (byte-discardN-preserve-tos): New lap codes.
16763 (byte-interactive-p): Don't use any more.
16764 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16766 (byte-compile-lapcode): Use them and handle new lap codes.
16767 (byte-compile-obsolete): Remove.
16768 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16769 (byte-compile-arglist-warn): Check late def of inlinable funs.
16770 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16771 since they should have been expanded by now.
16772 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16773 (byte-compile-from-buffer): Remove unused second arg.
16774 (byte-compile-preprocess): New function.
16775 (byte-compile-toplevel-file-form): New function to distinguish
16776 file-form calls from outside from file-form calls from hunk-handlers.
16777 (byte-compile-file-form): Simplify.
16778 (byte-compile-file-form-defsubst): Remove.
16779 (byte-compile-file-form-defmumble): Simplify now that
16780 byte-compile-lambda always returns a byte-code-function.
16781 (byte-compile): Preprocess.
16782 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16783 Remove, not used any more.
16784 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16785 (byte-compile-make-args-desc): New funs.
16786 (byte-compile-lambda): Handle lexical functions. Always return
16787 a byte-code-function.
16788 (byte-compile-reserved-constants): New var, to make up room for
16789 closed-over variables.
16790 (byte-compile-constants-vector): Obey it.
16791 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16792 (byte-compile-macroexpand-declare-function): New function.
16793 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16794 byte-code-functions.
16795 (byte-compile-form): Check obsolescence here.
16796 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16797 (byte-compile-variable-ref): Remove.
16798 (byte-compile-dynamic-variable-op): New fun.
16799 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16800 (byte-compile-variable-set): New funs.
16801 (byte-compile-discard): Add 2 args.
16802 (byte-compile-stack-ref, byte-compile-stack-set)
16803 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16804 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16805 macroexpand-all instead.
16806 (byte-compile-quote-form): Remove.
16807 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16808 (byte-compile-bind, byte-compile-unbind): New funs.
16809 (byte-compile-let): Handle let* and lexical binding.
16810 (byte-compile-let*): Remove.
16811 (byte-compile-catch, byte-compile-unwind-protect)
16812 (byte-compile-track-mouse, byte-compile-condition-case):
16813 Handle a new :fun-body form, used for lexical scoping.
16814 (byte-compile-save-window-excursion)
16815 (byte-compile-with-output-to-temp-buffer): Remove.
16816 (byte-compile-defun): Simplify.
16817 (byte-compile-stack-adjustment): New fun.
16818 (byte-compile-out): Use it.
16819 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16821 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16824 * emacs-lisp/byte-opt.el: Use lexical binding.
16825 (byte-inline-lapcode): Remove (to bytecomp).
16826 (byte-compile-inline-expand): Pay attention to inlining to/from
16827 lexically bound code.
16828 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16830 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16831 any more and don't call compiler-macros.
16832 (byte-compile-splice-in-already-compiled-code): Remove.
16833 (byte-code): Don't inline any more.
16834 (disassemble-offset): Receive `bytes' as argument rather than via
16836 (byte-compile-tag-number): Declare before first use.
16837 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16838 `return' even if make-spliceable.
16839 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16840 obsolete interactive-p.
16841 (byte-optimize-lapcode): Optimize new lap-codes.
16842 Don't trip up on new form of `byte-constant' lap code.
16844 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16846 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16848 * custom.el (custom-initialize-default, custom-declare-variable):
16851 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16853 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16854 (COMPILE_FIRST): Add macroexp and cconv.
16855 * makefile.w32-in: Mirror changes in Makefile.in.
16857 * vc/cvs-status.el:
16861 * vc/smerge-mode.el:
16862 * textmodes/bibtex-style.el:
16863 * textmodes/css-mode.el:
16871 * emacs-lisp/smie.el:
16874 * abbrev.el: Use lexical binding.
16876 2011-04-01 Eli Zaretskii <eliz@gnu.org>
16878 * info.el (info-display-manual): New function.
16880 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16882 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16884 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16886 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
16887 an entry for that server in rcirc-authinfo. (Bug#8385)
16889 2011-03-31 Glenn Morris <rgm@gnu.org>
16891 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16893 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16895 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16897 * progmodes/python.el (python-default-interpreter)
16898 (python-python-command-args, python-jython-command-args)
16899 (python-which-shell, python-which-args, python-which-bufname)
16900 (python-file-queue, python-comint-output-filter-function)
16901 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16902 variables and functions.
16904 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16906 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16907 (completion-in-region-mode): New minor mode.
16908 (completion-in-region): Use it.
16909 (completion-in-region--data, completion-in-region-mode-map): New vars.
16910 (completion-in-region--postch): New function.
16911 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16913 (completion--capf-wrapper): New function.
16914 (completion-at-point): Use it to track well-behavedness of
16916 (completion-help-at-point): New command.
16918 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16920 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16921 syntax class to search for whitespace on a single line
16922 (Message-ID: <4D938140.4030905@redhat.com>).
16924 2011-03-30 Leo Liu <sdl.web@gmail.com>
16926 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16928 (edit-abbrevs-map): Bind them here.
16929 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16931 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16933 * allout.el (allout-hide-by-annotation, allout-flag-region):
16934 Reduce possibility of overlay leakage by making them volatile.
16936 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16937 hash is not shared between buffers. Mode initialization is
16938 responsible for giving it a useful starting value.
16939 (allout-item-span): Reduce possibility of overlay leakage by
16940 making them volatile.
16941 (allout-widgets-count-buttons-in-region): Add diagnostic function
16942 for tracking down button overlay leaks.
16944 2011-03-29 Leo Liu <sdl.web@gmail.com>
16946 * ido.el (ido-read-internal): Use the default history var
16947 minibuffer-history if no HISTORY is specified.
16949 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16951 * net/imap.el (imap-shell-open, imap-process-connection-type):
16952 Use imap-process-connection-type for 'shell' streams as well as
16953 Kerberos, SSL, other subprocesses.
16955 2011-03-28 Leo Liu <sdl.web@gmail.com>
16957 * abbrev.el (abbrev-table-empty-p): New function.
16958 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16959 nonempty ones. (Bug#5937)
16961 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16963 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16965 2011-03-27 Leo Liu <sdl.web@gmail.com>
16967 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16968 for foreground and background colors.
16969 (ansi-color-make-color-map): Adapt.
16971 2011-03-25 Leo Liu <sdl.web@gmail.com>
16973 * midnight.el (midnight-time-float): Remove. Note it calculates
16974 the microsecond component incorrectly and seconds-to-time does the
16976 Remove redundant (require 'timer).
16978 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16979 (ido-completions): Remove unused arguments. (Bug#8329)
16981 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16983 * minibuffer.el (completion--flush-all-sorted-completions):
16984 Remove itself from hook.
16985 (completion-at-point): Let the functions perform the completion
16986 immediately and return nil or t.
16987 * comint.el (comint-dynamic-complete-functions): Now identical to
16988 completion-at-point-functions.
16989 (comint-dynamic-list-input-ring): Remove unused var `index'.
16990 (comint--match-partial-filename, comint--unquote&expand-filename):
16991 New funs, split from comint-match-partial-filename.
16992 (comint-dynamic-complete): Use completion-at-point.
16993 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16995 2011-03-24 Drew Adams <drew.adams@oracle.com>
16997 * thingatpt.el: Support `defun'.
16999 2011-03-23 Leo Liu <sdl.web@gmail.com>
17001 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17003 * help-mode.el (help-mode-finish): Tweak regexp.
17005 2011-03-23 Glenn Morris <rgm@gnu.org>
17007 * eshell/esh-opt.el (eshell-eval-using-options):
17008 Do not bind unused local variable `eshell-option-stub'.
17010 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17012 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
17014 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17015 keymap variable in `with-no-warnings' to avoid a warning when the
17016 keymap has been already `defconst'ed.
17018 2011-03-22 Leo Liu <sdl.web@gmail.com>
17020 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17021 encode all chars in abbrevs; otherwise use emacs-mule or
17022 utf-8-emacs. (Bug#8308)
17024 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
17026 * simple.el (backward-delete-char-untabify):
17027 Avoid warning about using `delete-backward-char'.
17029 * image.el (image-type-file-name-regexps): Make it variable.
17030 `imagemagick-register-types' modifies it, and the user may want
17031 to add new extensions for known image types.
17032 (imagemagick-register-types): Throw error if not using ImageMagick.
17034 2011-03-22 Leo Liu <sdl.web@gmail.com>
17036 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17037 located before rcirc-prompt-end-marker.
17038 (rcirc-complete): Error if point is not after rcirc prompt.
17039 Handle the case when table is nil.
17040 (rcirc-user-authenticated): Define to fix compiler warning.
17042 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
17044 * custom.el (custom--inhibit-theme-enable): Make it affect only
17045 custom-theme-set-variables and custom-theme-set-faces.
17046 (provide-theme): Ignore custom--inhibit-theme-enable.
17047 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17048 (custom-enabling-themes): Delete variable.
17049 (enable-theme): Accept only loaded themes as arguments.
17050 Ignore the special custom-enabled-themes variable.
17051 (custom-enabled-themes): Forbid themes from setting this.
17052 Eliminate use of custom-enabling-themes.
17053 (custom-push-theme): Quote "changed" custom var entry.
17055 2011-03-21 Leo Liu <sdl.web@gmail.com>
17057 * ido.el (ido-read-internal): Add ido-selected to history instead
17060 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17062 * subr.el (deferred-action-list, deferred-action-function):
17065 2011-03-21 Leo Liu <sdl.web@gmail.com>
17067 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17068 change on 2011-02-13 (bug#8309).
17070 * minibuffer.el (read-file-name-function): Change default value.
17071 (read-file-name--defaults): Rename from read-file-name-defaults.
17072 (read-file-name-default): Rename from read-file-name.
17073 (read-file-name): Call read-file-name-function.
17075 2011-03-21 Glenn Morris <rgm@gnu.org>
17077 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17080 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
17082 * cus-theme.el: Add missing provide statement.
17083 (customize-create-theme): Extract theme value correctly.
17084 (custom-theme-visit-theme): Autoload.
17085 (customize-create-theme): Prompt before inserting default faces.
17087 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17089 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17090 units and musical notes.
17092 2011-03-20 Leo Liu <sdl.web@gmail.com>
17094 * ido.el (ido-read-internal): Use completing-read-default.
17095 (ido-completing-read): Fix compatibility with completing-read.
17097 2011-03-20 Christian Ohler <ohler@gnu.org>
17099 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17100 (ert-delete-all-tests): Use `called-interactively-p' rather than
17102 (ert--make-xrefs-region): Respect END.
17104 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
17106 * dired-aux.el (dired-create-directory): Signal an error if the
17107 directory already exists (Bug#8246).
17109 * facemenu.el (list-colors-display): Call list-faces-display
17110 inside with-help-window.
17111 (list-colors-print): Use display property to align the final
17112 column, instead of checking window-width.
17114 2011-03-19 Eli Zaretskii <eliz@gnu.org>
17116 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
17117 windows-nt systems.
17118 (emerge-protect-metachars): Quote correctly for ms-dos and
17119 windows-nt systems.
17121 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
17123 * info.el (info-initialize): Replace all uses of `:' with
17124 path-separator for compatibility with non-Unix systems.
17125 Cache quoting of path-separator. (Bug#8258)
17127 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
17129 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17130 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17131 (mouse-avoidance-mode): Fix typos in docstrings.
17133 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
17135 * startup.el (package-subdirectory-regexp): Move from package.el.
17136 Omit \\` and \\', and let callers add them.
17138 * emacs-lisp/package.el (package-strip-version)
17139 (package-load-all-descriptors): Add \\` and \\' to
17140 package-subdirectory-regexp before using it.
17141 (package-untar-buffer): New arg DIR; ensure that file untars only
17142 into this expected directory. Remove superfluous delete-region.
17143 (package-unpack): Caller changed.
17144 (package-tar-file-info): Use package-subdirectory-regexp.
17146 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
17148 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17149 diff-mode-shared-map (bug#8284).
17150 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
17152 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17154 * calendar/time-date.el (format-seconds): Use assoc instead of
17155 assoc-string, since assoc-string doesn't exist in XEmacs.
17157 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
17159 * custom.el (custom-known-themes): Reflow docstring.
17160 (custom-theme-load-path): Fix typo in docstring.
17161 (load-theme): Fix typo in error message.
17162 (custom-available-themes, custom-variable-theme-value):
17163 Use `let', not `let*'.
17165 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17167 * calc/README: Mention inclusion of musical notes.
17169 * calc/calc-units.el (calc-lu-quant): Rename from
17170 `calc-logunits-quantity'.
17171 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17172 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17173 (calc-db): Rename from `calc-dblevel'.
17174 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17175 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17176 (calc-np): Rename from `calc-nplevel'.
17177 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17178 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17179 (calc-lu-plus): Rename from `calc-logunits-add'.
17180 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17181 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17182 (calc-lu-minus): Rename from `calc-logunits-sub'.
17183 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17184 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17185 (calc-lu-times): Rename from `calc-logunits-mul'.
17186 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17187 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17188 (calc-lu-divide): Rename from `calc-logunits-div'.
17189 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17190 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17192 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17193 functions being autoloaded.
17195 * calc/calc.el (calc-lu-power-reference): Rename from
17196 `calc-logunits-power-reference'.
17197 (calc-lu-field-reference): Rename from
17198 `calc-logunits-field-reference'.
17200 * calc/calc-help.el (calc-l-prefix-help):
17201 Mention musical note functions.
17203 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17205 * minibuffer.el (completion-all-sorted-completions):
17206 Use :completion-cycle-penalty text property if present.
17208 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17210 * allout.el (allout-yank-processing): Adjust for new rebulleting
17211 regime so bullet being yanked is used without prompting the user
17214 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
17216 * startup.el (command-line): Warn the user that _emacs is deprecated.
17218 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
17220 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17221 (delphi-verbose, delphi-comment-face, delphi-string-face)
17222 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17223 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17224 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17225 (delphi-new-comment-line, delphi-font-lock-defaults)
17226 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17227 Fix typos in docstrings.
17229 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17231 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
17232 Invert the roles of character and string values for INSTEAD, so a
17233 string is used for the more common case of a defaulting prompt.
17235 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17237 * progmodes/ruby-mode.el (ruby-backward-sexp):
17238 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17239 * play/gamegrid.el (gamegrid-make-face):
17240 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17241 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17242 * notifications.el (notifications-notify):
17243 * net/xesam.el (xesam-search-engines):
17244 * net/quickurl.el (quickurl-list-insert):
17245 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17247 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
17249 * startup.el (command-line): Update package subdirectory regexp.
17251 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17253 * allout.el (allout-abbreviate-flattened-numbering)
17254 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17256 * subr.el (read-char-choice): Only show the cursor after the prompt,
17257 not after the answer.
17259 2011-03-15 Kevin Ryde <user42@zip.com.au>
17261 * help-fns.el (variable-at-point): Skip leading quotes, if any
17264 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17266 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17269 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
17271 * shell.el (shell): When called interactively, offer to change the
17272 shell file name on remote hosts.
17274 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17276 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17277 integration for LDAP parameters. The host, base, user or binddn,
17278 and secret tokens can be specified in a netrc file, for instance.
17279 This is optional because an `auth-source' parameter must be
17280 specified in the search attributes.
17282 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
17284 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17286 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17288 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17289 into declaration. Remove redundant and harmful binding.
17291 2011-03-12 Eli Zaretskii <eliz@gnu.org>
17293 * files.el (file-ownership-preserved-p): Pass `integer' as an
17294 explicit 2nd argument to `file-attributes'. If the file's owner
17295 is the Administrators group on Windows, and the current user is
17296 Administrator, consider that a match.
17298 * server.el (server-ensure-safe-dir): Consider server directory
17299 safe on MS-Windows if its owner is the Administrators group while
17300 the current Emacs user is Administrator. Use `=' to compare
17301 numerical UIDs, since they could be integers or floats.
17303 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
17305 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17307 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
17309 Sync with Tramp 2.2.1.
17311 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17313 * net/trampver.el: Update release number.
17315 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17317 * progmodes/compile.el (compilation--previous-directory): Fix up
17318 various nil/dead-marker mismatches (bug#8014).
17319 (compilation-directory-properties, compilation-error-properties):
17320 Don't call it at a position past the one we're about to change.
17322 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17323 Disable obsolescence warnings in the file that declares it.
17325 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17327 * allout-widgets.el (allout-widgets-tally):
17328 Initialize allout-widgets-tally as a hash table rather than nil to
17329 prevent mode-line redisplay warnings. Also, clarify the module
17330 description and fix a comment typo.
17332 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
17334 * help-fns.el (describe-variable): Don't complete keywords.
17335 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17337 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
17339 * emacs-lisp/package.el (package-version-join): Impose a standard
17340 string representation for pre/alpha/beta version lists.
17341 (package-unpack-single): Standardize the directory name by passing
17342 it through package-version-join.
17343 (package-strip-rcs-id): Accept any version string that does not
17344 signal an error in version-to-list.
17346 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
17348 * simple.el (delete-trailing-whitespace): Return nil for the
17349 benefit of `write-file-functions'.
17351 2011-03-10 Glenn Morris <rgm@gnu.org>
17353 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17355 * vc/vc-git.el (vc-git-program): New option.
17356 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17357 (vc-git--call): Use it.
17359 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17361 * cus-edit.el (Custom-newline): If no button at point, look
17362 for a subgroup button at start-of-line. (Bug#2298)
17364 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17366 2011-03-10 Julien Danjou <julien@danjou.info>
17368 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17369 `cursor-type' is nil.
17371 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17373 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17375 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17377 * allout.el: Change so yank of distinctive-bullet items
17378 preserves the existing header prefix, rebulleting it if necessary,
17379 rather than replacing it. This is necessary for proper operation
17380 of cooperative addons like allout-widgets.
17381 (allout-make-topic-prefix, allout-rebullet-heading):
17382 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17383 value as alternate bullet to be used, instead of prompting the user
17384 for a bullet character.
17386 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
17388 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17389 Do not use `tramp-file-name-port', because this returns also
17390 `tramp-default-port'.
17392 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17394 * net/rcirc.el (rcirc-handler-001): Remove useless
17395 with-rcirc-process-buffer.
17396 (rcirc-check-auth-status): Swap arguments to string-match.
17398 2011-03-09 Glenn Morris <rgm@gnu.org>
17400 * shell.el (shell-mode):
17401 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17403 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17404 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17406 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
17408 * emacs-lisp/package.el (package-refresh-contents)
17409 (package-menu-execute): Use condition-case-no-debug.
17411 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
17413 * simple.el (shell-command-to-string): Use `process-file'.
17415 * emacs-lisp/package.el (package-tar-file-info): Handle also
17418 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17419 Use `equal' for upload base check.
17421 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17423 * textmodes/texinfo.el (texinfo-environments):
17424 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17426 2011-03-08 Glenn Morris <rgm@gnu.org>
17428 * cus-start.el (cursor-in-non-selected-windows):
17429 Fix :set quoting oddness. (Bug#8192)
17431 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17432 in some setf expressions. (Bug#2159)
17434 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
17436 * custom.el (custom-available-themes): Return themes in
17437 alphabetical order.
17439 See ChangeLog.15 for earlier changes.
17441 ;; Local Variables:
17445 Copyright (C) 2011-2012 Free Software Foundation, Inc.
17447 This file is part of GNU Emacs.
17449 GNU Emacs is free software: you can redistribute it and/or modify
17450 it under the terms of the GNU General Public License as published by
17451 the Free Software Foundation, either version 3 of the License, or
17452 (at your option) any later version.
17454 GNU Emacs is distributed in the hope that it will be useful,
17455 but WITHOUT ANY WARRANTY; without even the implied warranty of
17456 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17457 GNU General Public License for more details.
17459 You should have received a copy of the GNU General Public License
17460 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.