1 2012-08-05 Chong Yidong <cyd@gnu.org>
3 * help-fns.el (describe-variable): Add hyperlink for
4 directory-local variables files. Improve buffer-local and
5 permanent-local reporting; suggested by MON KEY (Bug#6644).
7 * help-mode.el (help-dir-local-var-def): New button type.
9 * files.el (kill-buffer-hook): Provide a defvar.
11 2012-08-05 Glenn Morris <rgm@gnu.org>
13 * eshell/esh-ext.el (eshell/addpath):
14 Also update eshell-path-env. (Bug#12013)
16 2012-08-05 Chong Yidong <cyd@gnu.org>
18 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
20 * fringe.el (fringe-styles): Add docstring.
21 (fringe--check-mode): New function.
22 (set-fringe-mode, set-fringe-style): Use it.
23 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
25 * files.el (set-auto-mode): Fix invalid setq call.
27 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
29 * isearch.el: Misc simplification; use defstruct.
30 (isearch-mode-map): Dense maps now work like sparse ones.
31 (isearch--state): New defstruct.
32 (isearch-string-state, isearch-message-state, isearch-point-state)
33 (isearch-success-state, isearch-forward-state)
34 (isearch-other-end-state, isearch-word-state, isearch-error-state)
35 (isearch-wrapped-state, isearch-barrier-state)
36 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
37 replaced by defstruct's accessors.
38 (isearch--set-state): Rename from isearch-top-state and change
40 (isearch-push-state): Use new isearch--get-state.
41 (isearch-toggle-word): Disable regexp when enabling word.
42 (isearch-message-prefix): Remove unused arg _c-q-hack.
43 (isearch-message-suffix): Remove unused arg _ellipsis.
45 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
47 * simple.el (list-processes--refresh): For a server use :host or
48 :local as the address.
49 (list-processes): Doc fix.
51 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
53 * lisp/mpc.el: Support password in host argument.
54 (mpc--proc-connect): Parse and use new password element.
55 Set mpc-proc variable instead of returning process.
56 (mpc-proc): Adjust accordingly.
58 2012-08-03 Eli Zaretskii <eliz@gnu.org>
60 * whitespace.el (whitespace-display-mappings): Use Unicode
61 codepoints, instead of emacs-mule codepoints. See
62 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
65 * files.el (file-truename): Don't skip symlink-chasing part on
66 windows-nt. Incorporate the resolution of 8+3 short aliases on
67 Windows into the loop that recursively chases symlinks. Compare
68 directory and its parent case-insensitively on MS-Windows and
71 2012-08-03 Chong Yidong <cyd@gnu.org>
73 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
75 * sort.el (sort-regexp-fields): Doc fix.
77 2012-08-03 Tassilo Horn <tsdh@gnu.org>
79 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
80 labels regex position point at the expected place.
82 2012-08-03 MON KEY <monkey@sandpframing.com>
84 * net/imap.el (imap-interactive-login, imap-authenticate)
85 (imap-mailbox-lsub, imap-mailbox-list)
86 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
87 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
88 (imap-parse-response): Doc fix.
90 2012-08-03 João Távora <joaotavora@gmail.com>
92 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
93 if sexp scanning does not move point (Bug#5734).
95 2012-08-02 Tassilo Horn <tsdh@gnu.org>
97 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
98 Add listings, minted, and ctable packages.
99 (reftex-label-alist-builtin): Move listings, minted, and ctable
100 entries before LaTeX.
101 (reftex-label-alist): Docfix.
103 2012-08-02 Bastien Guerry <bzg@gnu.org>
105 * replace.el (occur): Fix docstring (bug#12122).
107 2012-08-02 Glenn Morris <rgm@gnu.org>
109 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
111 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
113 Obsolete alias inactivate-current-input-method-function (Bug#10150).
114 * international/mule-cmds.el: Create
115 inactivate-current-input-method-function as an obsolete alias for
116 deactivate-current-input-method-function. See Katsumi Yamaoka in
117 <http://bugs.gnu.org/10150#46>.
119 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
121 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
124 2012-08-01 Glenn Morris <rgm@gnu.org>
126 * progmodes/autoconf.el (autoconf-definition-regexp):
127 Add AH_TEMPLATE, adjust submatch numbering.
128 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
129 (autoconf-current-defun-function): Update for above change.
130 (autoconf-current-defun-function): First skip to end of current word.
132 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
134 * calendar/cal-html.el (cal-html-insert-agenda-days):
135 Fix typo. (Bug#12018)
137 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
139 Shell processes: enhancements to startup and CEDET compatibility.
140 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
141 (python-shell-make-comint): accept-process-output at startup.
142 (run-python-internal): Set inferior-python-mode-hook to nil.
143 (python-shell-internal-get-or-create-process): call sit-for.
144 (python-preoutput-result): Add obsolete alias.
145 (python-shell-internal-send-string): Use it.
146 (python-shell-send-setup-code): Remove call to
147 accept-process-output.
149 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
151 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
154 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
156 * calc-mode.el (calc-basic-simplification-mode): Rename from
157 `calc-limited-simplification-mode'.
158 (calc-alg-simplification-mode): New function.
159 (calc-set-simplify-mode): Adjust message.
161 * calc.el (calc-set-mode-line): Adjust mode line display for
162 basic simplification mode.
164 * calc-help.el (calc-m-prefix-help): Update help message.
166 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
167 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
169 2012-07-31 Bastien Guerry <bzg@gnu.org>
171 * man.el (man): Fix comment. (bug#12101)
173 2012-07-31 Martin Rudalics <rudalics@gmx.at>
175 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
176 Don't return a non-nil value when no suitable buffer was found.
178 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
180 * progmodes/python.el (run-python-internal): Disable font lock for
183 2012-07-30 Stefan Merten <smerten@oekonux.de>
185 * rst.el: Silence `checkdoc-ispell'.
186 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
187 (rst-official-version, rst-official-cvs-rev)
188 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
189 (rst-mode-map): New key binding.
191 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
193 Update .PHONY listings in makefiles.
194 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
195 autoloads, update-subdirs, updates, bzr-update, update-authors,
196 compile-onefile, compile-calc, backup-compiled-files,
197 compile-after-backup, compile-one-process, mh-autoloads,
198 bootstrap-clean, distclean, maintainer-clean.
200 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
202 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
203 (calc-set-mode-line): Don't display "AlgSimp ".
205 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
206 (calc-lim-simplify-mode): New function.
207 (calc-set-simplify-mode): Default to 'alg.
208 (calc-default-simplify-mode): Make algebraic simplifications
211 * calc/calc-ext.el (calc-init-extensions): Remove binding for
212 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
214 * calc/calc-help.el (calc-m-prefix-help): Change messages to
215 indicate new simplification modes.
217 * calc/README: Mention new default simplification mode.
219 * calc/calc.el (math-normalize-error): New variable.
220 (math-normalize): Set `math-normalize-error' to t
221 when there's an error.
223 * calc/calc-alg.el (math-simplify): Don't simplify when
224 `math-normalize' returns an error.
226 2012-07-29 Eli Zaretskii <eliz@gnu.org>
228 * international/mule-cmds.el (set-locale-environment): Revert last
229 change, since display-graphic-p returns nil when this function is
230 called during startup. Instead...
232 * term/w32console.el (terminal-init-w32console): ...setup the
233 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
235 2012-07-29 Juri Linkov <juri@jurta.org>
237 * simple.el (goto-line): Don't display default line number in the
238 prompt because it should be displayed by `read-number' (bug#9952).
239 Add the current line number to the defaults of `goto-line' to
240 allow its easier modification by users with `M-n' (bug#9201).
242 * subr.el (read-number): Support multiple default values like in
243 other minibuffer reading functions. Replace `read' with
244 `string-to-number' for consistency with `number-to-string'.
246 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
248 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
249 * emulation/viper-init.el (viper-deactivate-input-method-action):
250 Rename from viper-inactivate-input-method-action.
251 (viper-deactivate-input-method):
252 Rename from viper-inactivate-input-method.
253 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
254 * international/mule-cmds.el (deactivate-input-method):
255 Rename from inactivate-input-method.
256 Also run input-method-deactivate-hook.
257 (deactivate-current-input-method-function):
258 Rename from inactivate-current-input-method-function.
259 (input-method-deactivate-hook): New hook.
260 (input-method-inactivate-hook): Mark obsolete.
261 (inactivate-input-method): Mark obsolete.
263 * international/quail.el (quail-activate):
264 Also run quail-deactivate-hook.
265 (quail-deactivate): Rename from quail-inactivate.
266 * international/robin.el (robin-activate):
267 Also run robin-deactivate-hook.
268 (robin-deactivate): Rename from robin-inactivate.
270 2012-07-29 Chong Yidong <cyd@gnu.org>
272 * simple.el (indicate-copied-region): New function.
273 (kill-ring-save): Split off from here.
275 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
276 (kill-rectangle): Set deactivate-mark to t on read-only error.
278 * register.el (copy-to-register, copy-rectangle-to-register):
279 Deactivate the mark, and use indicate-copied-region (Bug#10056).
280 (append-to-register, prepend-to-register): Call
282 2012-07-29 Juri Linkov <juri@jurta.org>
284 * simple.el (async-shell-command-buffer): New defcustom.
285 (shell-command): Use it. (Bug#4719)
287 2012-07-28 Eli Zaretskii <eliz@gnu.org>
289 * international/mule-cmds.el (set-locale-environment): In a
290 console session on MS-Windows, set up keyboard and terminal
291 encoding from the OEM codepage, not the ANSI codepage.
294 2012-07-28 Chong Yidong <cyd@gnu.org>
296 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
299 2012-07-25 Leo Liu <sdl.web@gmail.com>
301 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
302 the alist (bug#12029).
304 2012-07-28 Eli Zaretskii <eliz@gnu.org>
306 * makefile.w32-in (custom-deps, finder-data, updates, compile)
307 (compile-always, compile-first)
308 ($(lisp)/calendar/cal-loaddefs.el)
309 ($(lisp)/calendar/diary-loaddefs.el)
310 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
311 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
312 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
313 instead of on update-subdirs.
314 (bootstrap-clean): Delete $(lisp)/subdirs.el.
316 2012-07-28 Chong Yidong <cyd@gnu.org>
318 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
319 directory if vc-deduce-backend returns nil (Bug#7350).
321 * simple.el (delete-trailing-lines): New option.
322 (delete-trailing-whitespace): Obey it (Bug#11879).
324 2012-07-28 David Engster <deng@randomsample.de>
326 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
327 Explanation of new 'symbol-qnames feature in doc-strings.
328 (xml-maybe-do-ns): Return expanded names as plain symbols if
329 'symbol-qnames was provided in XML-NS argument (Bug#11916).
330 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
332 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
334 Consistent completion in inferior python with emacs -nw.
335 * progmodes/python.el (inferior-python-mode): replace "<tab>"
336 binding in inferior-python-mode-map with "\t".
337 (python-shell-completion-complete-at-point)
338 (python-completion-complete-at-point): Remove interactive spec.
340 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
342 * calc/calccomp.el (math-compose-expr): Undo previous change.
344 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
346 * progmodes/python.el (python-mode-map): Added keybinding for
348 (python-shell-make-comint): Fix pop-to-buffer call.
349 (run-python): Autoload. New arg SHOW.
350 (python-shell-get-or-create-process): Do not pop python process
353 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
355 * notifications.el (notifications-on-action-signal)
356 (notifications-on-closed-signal): Use also the bus address for the map.
357 (notifications-notify, notifications-close-notification)
358 (notifications-get-capabilities): Add optional argument BUS.
360 2012-07-27 Tassilo Horn <tsdh@gnu.org>
362 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
363 support for the lstlisting and minted environments, and for the
365 * textmodes/reftex.el (reftex-compile-variables): Also recognize
366 labels written in keyvals syntax.
368 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
370 * calc/calccomp.el (math-compose-expr): Use parentheses when
371 there is a product in the denominator of a fraction.
373 2012-07-26 Eli Zaretskii <eliz@gnu.org>
375 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
376 ($(lisp)/calendar/diary-loaddefs.el)
377 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
378 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
379 failures in parallel bootstrap because subdirs.el is being
380 rewritten while the autoload files are built at the same time,
381 which needs to load subdirs.el.
383 2012-07-26 Martin Rudalics <rudalics@gmx.at>
385 * mouse.el (popup-menu): Fix doc-string and re-indent code.
386 (mouse-drag-line): Don't exit tracking when a switch-frame or
387 switch-window event occurs (Bug#12006).
389 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
391 * mouse.el (popup-menu): Fix last change.
393 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
395 Autoload from Lisp with more care. Follow aliases when looking for
397 * subr.el (autoloadp): New function.
398 (symbol-file): Use it.
399 (function-get): New function.
400 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
402 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
403 (lisp-indent-function):
404 * emacs-lisp/gv.el (gv-get):
405 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
406 * emacs-lisp/byte-opt.el (byte-optimize-form):
407 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
408 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
410 * emacs-lisp/cl.el: Don't propagate function properties any more.
412 * speedbar.el (speedbar-add-localized-speedbar-support):
413 * emacs-lisp/disass.el (disassemble-internal):
414 * desktop.el (desktop-load-file):
415 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
416 (describe-function-1):
417 * emacs-lisp/find-func.el (find-function-noselect):
418 * emacs-lisp/elp.el (elp-instrument-function):
419 * emacs-lisp/advice.el (ad-has-proper-definition):
420 * apropos.el (apropos-safe-documentation, apropos-macrop):
421 * emacs-lisp/debug.el (debug-on-entry):
422 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
423 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
424 * calc/calc.el (name): Use autoloadp & autoload-do-load.
426 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
428 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
429 function, not an obsolete variable (Bug#12046).
431 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
433 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
435 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
437 * emacs-lisp/pp.el (pp-display-expression): Select old selected
438 window only if it is still live (Bug#12034).
440 2012-07-25 Martin Rudalics <rudalics@gmx.at>
442 * subr.el (redirect-frame-focus): Add advertised calling
443 convention (Bug#12030).
445 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
447 Prefer typical American spelling for "acknowledgment".
448 * vc/add-log.el (change-log-acknowledgment): Rename from
449 change-log-acknowledgement, with an alias for the old name.
451 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
453 * calc-alg.el (math-simplify-divide): Don't cross multiply
454 in an equation when the lhs is a variable.
456 2012-07-24 Julien Danjou <julien@danjou.info>
458 * net/netrc.el (netrc-find-service-number, netrc-store-data):
461 2012-07-23 Eli Zaretskii <eliz@gnu.org>
463 * startup.el (command-line): Don't display an empty user name in
464 the error message about non-existent home directory, when
465 init-file-user was set to an empty string. See
466 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
467 for the details and context.
469 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
471 * ses.el (ses-cell-formula-aset): New macro.
472 (ses-cell-references-aset): New macro.
473 (ses-cell-p): New function.
474 (ses-rename-cell): Do no longer rely on complex operations like
475 ses-cell-set-formula or ses-set-cell to change the cell and handle
476 the undo at the same time, but rather use lower level new macros
477 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
478 the undo directly. Refresh the mode line.
480 2012-07-21 Leo Liu <sdl.web@gmail.com>
482 * progmodes/cc-cmds.el (c-defun-name):
483 Use match-string-no-properties instead for consistency.
485 2012-07-20 Leo Liu <sdl.web@gmail.com>
487 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
490 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
492 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
494 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
495 * progmodes/bug-reference.el, misearch.el: Provide themselves
498 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
499 of narrowed buffer (bug#11966).
501 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
503 * ses.el (ses-rename-cell): Set new name also in reference list of
504 cells of which the renamed cell depends.
506 2012-07-20 Masatake YAMATO <yamato@redhat.com>
508 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
509 to check whether menu-bar is shown or not. If not shown,
510 show the menu-bar as a popup menu instead of using tmm.
511 * mouse.el (popup-menu): Accept `point' as `position' argument.
513 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
515 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
516 up inside string symbol literal (bug#11923).
518 2012-07-20 Eli Zaretskii <eliz@gnu.org>
520 * startup.el (fancy-startup-text): Read the whole tutorial, not
521 just its first 256 bytes. Prevents gibberish in display of the
524 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
526 Drop idle buffer compaction due to an absence of the
528 * compact.el: Remove.
530 2012-07-19 Sam Steingold <sds@gnu.org>
532 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
533 vc-bzr-pull & vc-bzr-merge-branch.
534 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
535 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
536 for consistency with compilation-error-regexp-alist.
537 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
538 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
539 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
540 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
542 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
544 * emacs-lisp/chart.el: Use lexical-binding.
545 (chart-emacs-storage): Don't hardcode the list of entries.
547 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
549 Next round of tweaks caused by Fgarbage_collect changes.
550 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
552 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
554 Compact buffers when idle.
555 * compact.el: New file.
557 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
559 * subr.el (eventp): Presume that if it looks vaguely like an event,
560 it's an event (bug#10190).
562 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
564 Enhancements to ppss related code (thanks Stefan).
565 * progmodes/python.el (python-indent-context)
566 (python-indent-calculate-indentation, python-indent-dedent-line)
567 (python-indent-electric-colon, python-nav-forward-block)
568 (python-mode-abbrev-table)
569 (python-info-assignment-continuation-line-p): Simplify checks
571 (python-info-continuation-line-p): Cleanup.
572 (python-info-ppss-context): Do not catch 'quote.
573 (python-info-ppss-context-type)
574 (python-info-ppss-comment-or-string-p): Simplify.
576 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
578 * progmodes/python.el: Enhancements to eldoc support.
579 (python-info-current-symbol): New function.
580 (python-eldoc-at-point): Use python-info-current-symbol.
581 (python-info-current-defun): Fix cornercase on first defun scan.
582 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
583 and signal error when no inferior python process is available.
585 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
587 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
588 assume it's always t.
589 (vc-git-registered): Remove caching, the function is only called
591 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
593 2012-07-18 Chong Yidong <cyd@gnu.org>
595 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
597 * simple.el (count-words): Report on narrowing (Bug#9959).
599 * bindings.el: Bind M-= to count-words.
601 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
603 2012-07-18 Masatake YAMATO <yamato@redhat.com>
605 * progmodes/sh-script.el (sh-imenu-generic-expression):
606 Capture a function with `function' keyword and without parentheses
607 like "function FOO" (bug#11856).
609 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
611 * window.el (split-window-sensibly): Make WINDOW argument
614 2012-07-18 Chong Yidong <cyd@gnu.org>
616 * subr.el (keyboard-translate): Doc fix (Bug#7261).
618 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
619 and make C-x 8 RET exit isearch (Bug#11439).
621 * international/iso-transl.el: Move isearch-mode-map key
622 definitions to isearch.el.
624 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
626 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
627 (eieio-defclass): Use gv-define-setter when possible.
629 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
631 Reflect recent changes in Fgarbage_collect.
632 * emacs-lisp/chart.el (chart-emacs-storage): Change to
633 reflect new format of data returned by Fgarbage_collect.
635 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
637 New utility functions + python-info-ppss-context fix (Bug#11910).
638 * progmodes/python.el (python-info-beginning-of-block-statement-p)
639 (python-info-ppss-comment-or-string-p): New functions.
640 (python-info-ppss-context): Small fix for string check.
642 2012-07-17 Juri Linkov <juri@jurta.org>
644 * dired-aux.el (dired-do-async-shell-command): Doc fix.
645 (dired-do-async-shell-command): Don't add `*' at the end of the
647 (dired-do-shell-command): Doc fix.
648 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
649 Join the individual commands using either "&" or ";" as the
650 separator depending on the values of these trailing characters.
651 At the end re-add the trailing "&". (Bug#10598)
653 * simple.el (async-shell-command): Sync the interactive spec with
654 `shell-command'. Doc fix.
655 (shell-command): Doc fix.
657 2012-07-17 Juri Linkov <juri@jurta.org>
659 * descr-text.el (describe-char): Fix format args. (Bug#10129)
661 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
663 Final renames and doc fixes for movement commands (bug#11899).
664 * progmodes/python.el (python-nav-beginning-of-statement):
665 Rename from python-nav-statement-start.
666 (python-nav-end-of-statement): Rename from
667 python-nav-statement-end.
668 (python-nav-beginning-of-block): Rename from
669 python-nav-block-start.
670 (python-nav-end-of-block): Rename from python-nav-block-end.
672 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
674 * progmodes/python.el (python-shell-send-string-no-output):
675 Allow accept-process-output to quit, keeping shell process ready for
676 future interactions (Bug#11868).
678 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
680 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
682 * emacs-lisp/elint.el (elint-find-args-in-code):
683 Use help-function-arglist, so as to handle lexical byte-code.
685 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
688 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
690 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
691 Avoid spuriously marking the buffer as modified because of c-is-sws.
693 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
694 as not-a-comment (bug#11946).
696 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
699 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
700 Use read-event since we don't really want to read chars but bytes.
702 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
703 $$..$$ but also $..$ using regexps (bug#11953).
704 Use tex-verbatim for \url and \path.
705 (tex-font-lock-keywords): Define as defconst like the others.
706 (tex-common-initialization): Don't use font-lock-syntax-table any more.
708 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
710 * international/mule-cmds.el (ucs-insert): Make it an obsolete
711 alias for insert-char.
713 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
715 * progmodes/python.el: Simplified imenu implementation.
716 (python-nav-jump-to-defun): Remove command.
717 (python-mode-map): Use `imenu' instead.
718 (python-nav-list-defun-positions-cache)
719 (python-imenu-include-defun-type, python-imenu-make-tree)
720 (python-imenu-subtree-root-label, python-imenu-index-alist):
722 (python-nav-list-defun-positions, python-nav-read-defun)
723 (python-imenu-tree-assoc, python-imenu-make-element-tree)
724 (python-imenu-make-tree, python-imenu-create-index):
726 (python-mode): Update to interact with imenu by setting
727 `imenu-extract-index-name-function' only.
729 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
731 * progmodes/python.el: Enhancements to navigation commands.
732 (python-nav-backward-sentence)
733 (python-nav-forward-sentence): Remove.
734 (python-nav-backward-statement, python-nav-forward-statement)
735 (python-nav-statement-start, python-nav-statement-end)
736 (python-nav-backward-block, python-nav-forward-block)
737 (python-nav-block-start, python-nav-block-end)
738 (python-nav-forward-sexp-function)
739 (python-info-current-line-comment-p)
740 (python-info-current-line-empty-p): New functions.
741 (python-indent-context): Use `python-nav-statement-start'.
743 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
745 * eshell/em-ls.el (eshell/ls): Use `apply'.
747 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
748 multi-hops, instead of Tramp internals.
750 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
752 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
753 when F1 and F2 are located on different hosts.
755 2012-07-14 Chong Yidong <cyd@gnu.org>
757 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
758 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
759 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
760 (xterm-mouse--read-event-sequence-1000)
761 (xterm-mouse--read-event-sequence-1006): New functions. For old
762 mouse protocol, handle M-mouse-X events correctly.
763 (xterm-mouse-event): New arg specifying mouse protocol.
764 (turn-on-xterm-mouse-tracking-on-terminal)
765 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
766 sequence to toggle extended coordinates on newer XTerms.
767 This appears to be harmless on terminals which do not support this.
769 2012-07-14 Leo Liu <sdl.web@gmail.com>
771 Add fringe bitmap indicators for flymake. (Bug#11253)
772 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
773 (flymake-make-overlay): New arg BITMAP.
774 (flymake-error-bitmap, flymake-warning-bitmap)
775 (flymake-fringe-indicator-position): New user variables.
777 * fringe.el: New bitmap exclamation-mark.
779 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
781 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
784 2012-07-14 Chong Yidong <cyd@gnu.org>
786 * electric.el (electric-pair-post-self-insert-function): Fix pair
787 insertion in empty-region case (Bug#11520).
789 2012-07-14 Chong Yidong <cyd@gnu.org>
791 * bindings.el: Consolidate ctl-x-r-map bindings.
792 Bind copy-rectangle-as-kill to C-x r w.
794 * rect.el, register.el: Move bindings to bindings.el.
796 2012-07-14 Reuben Thomas <rrt@sc3d.org>
798 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
800 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
802 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
804 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
806 * bindings.el (top): Use `mapc' instead of `mapcar'.
808 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
810 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
812 * progmodes/sql.el (sql-comint): Suppress the check for program on
813 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
816 2012-07-13 Chong Yidong <cyd@gnu.org>
818 * bindings.el: Assign a non-nil permanent-local property to
819 per-buffer variables which lack a default value (Bug#11930).
821 * help-fns.el (describe-variable): In the "automatically becomes
822 local" notice, take note of permanent-local variables.
824 2012-07-13 Chong Yidong <cyd@gnu.org>
826 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
827 to allow printing the message when called from Lisp.
829 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
830 Remove toggle-read-only.
832 * bs.el (bs-toggle-readonly):
833 * buff-menu.el (Buffer-menu-toggle-read-only):
834 Remove with-no-warnings around toggle-read-only.
836 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
837 Remove with-no-warnings around toggle-read-only.
838 (ffap-read-only, ffap-read-only-other-window)
839 (ffap-read-only-other-frame): Callers changed.
841 * help-mode.el: Don't require view package.
842 (help-mode-finish): Set buffer-read-only instead of calling
845 * bindings.el (mode-line-toggle-read-only):
846 * dired.el (dired-toggle-read-only):
847 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
848 with non-nil second arg.
850 * emacs-lisp/eieio-custom.el (eieio-customize-object):
851 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
854 2012-07-12 Eli Zaretskii <eliz@gnu.org>
856 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
859 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
861 More CL cleanups and reduction of use of cl.el.
862 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
863 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
864 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
865 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
866 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
867 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
868 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
869 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
870 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
871 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
872 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
873 * eshell/em-cmpl.el, eshell/em-banner.el:
874 * calendar/parse-time.el: Use cl-lib.
875 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
876 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
877 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
878 * term/ns-win.el, term.el, shell.el, ps-samp.el:
879 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
880 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
881 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
882 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
883 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
884 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
885 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
886 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
887 `lambda' rather than with `quote'.
888 (eshell-do-opt): Adjust accordingly.
889 (eshell-process-option): Simplify.
891 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
892 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
893 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
894 to `pcase--dontcare'.
895 * emacs-lisp/cl.el (labels): Mark obsolete.
896 (cl--letf, letf): Move to cl-lib.
897 (cl--letf*, letf*): Remove.
898 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
899 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
901 (cl--letf, cl-letf): Move from cl.el.
902 (cl-letf*): New macro.
903 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
905 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
907 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
909 2012-07-11 Chong Yidong <cyd@gnu.org>
911 * vc/log-edit.el (log-edit-vc-backend): New variable.
914 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
915 argument of log-edit to set up all local variables.
916 (vc-start-logentry): New optional arg specifying VC backend.
918 * vc/vc.el (vc-checkin): Use it.
919 (vc-deduce-fileset): Handle Log Edit buffers.
920 (vc-diff): Make first argument optional too.
922 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
924 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
926 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
927 command, just in case. The function is not needed anymore.
928 (eshell-external-command): Do not call `eshell-remote-command'.
930 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
932 Reduce use of (require 'cl).
933 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
934 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
935 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
936 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
937 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
938 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
939 * battery.el, avoid.el, abbrev.el: Use cl-lib.
940 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
941 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
942 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
943 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
944 * calculator.el, autorevert.el, apropos.el: Don't require CL.
945 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
946 (byte-compile-unfold-bcf, byte-compile-check-variable):
947 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
948 (byte-compile-nilconstp):
949 * emacs-lisp/autoload.el (make-autoload): Use pcase.
950 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
952 * emacs-lisp/gv.el (cond): Make it a valid place.
953 (if): Simplify slightly.
955 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
956 (pcase--self-quoting-p): New function.
959 2012-07-10 Glenn Morris <rgm@gnu.org>
961 * emacs-lisp/authors.el (authors-fixed-entries):
962 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
964 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
966 Rename configure.in to configure.ac (Bug#11603).
967 * emacs-lisp/authors.el (authors-canonical-file-name):
968 * progmodes/autoconf.el (autoconf-mode):
969 Prefer configure.ac to configure.in.
971 2012-07-08 Chong Yidong <cyd@gnu.org>
973 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
974 Implement the mouse-1-click-follows-link handling properly.
976 * info.el (Info-link-keymap): Use follow-link mechanism for
977 header-line links (Bug#374).
979 * simple.el (deactivate-mark): Do not set the primary selection
980 if another program has acquired it (Bug#11772).
982 2012-07-07 Kevin Ryde <user42@zip.com.au>
984 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
985 (woman-decode-region): Replace escaped-escapes without destroying
986 bold or underline (Bug#11552).
987 (woman2-process-escapes): Handle nofill regions (Bug#11591).
989 2012-07-07 Chong Yidong <cyd@gnu.org>
991 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
992 (interprogram-cut-function, interprogram-paste-function):
993 Mention that we typically mean the clipboard.
995 2012-07-06 Glenn Morris <rgm@gnu.org>
997 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
999 * files.el (toggle-read-only): Restrict message to interactive use.
1001 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
1003 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1005 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1007 2012-07-06 Glenn Morris <rgm@gnu.org>
1009 * Makefile.in (compile-one-process): Rename from "recompile".
1011 * Makefile.in (bzr-update): "compile" is the same as "recompile
1012 autoloads", but parallelizable, so use that instead.
1014 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1016 * window.el (quit-window): Always restore window height when
1017 it's saved in quit-restore parameter (Bug#11810).
1019 2012-07-06 Glenn Morris <rgm@gnu.org>
1021 * simple.el (kill-whole-line): Doc tweak.
1023 2012-07-06 Eli Zaretskii <eliz@gnu.org>
1025 * files.el (file-relative-name): Compare file names
1026 case-insensitively if on MS-Windows or MS-DOS, or if
1027 read-file-name-completion-ignore-case is non-nil. Don't use
1028 case-fold-search for this purpose. (Bug#11827)
1030 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1032 * calendar/cal-dst.el (calendar-current-time-zone):
1033 Return calendar-current-time-zone-cache if non-nil.
1035 2012-07-17 Masatake YAMATO <yamato@redhat.com>
1036 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1038 * calendar/cal-dst.el (calendar-current-time-zone):
1039 Return calendar-current-time-zone-cache if non-nil.
1041 2012-07-06 Glenn Morris <rgm@gnu.org>
1043 * Makefile.in (cvs-update): Remove old alias.
1045 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
1047 Sync with Tramp 2.2.6-pre.
1049 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1050 compatible declaration.
1052 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1053 Protect `list-load-path-shadows' call.
1055 * net/tramp-compat.el (top): Require packages, which aren't
1056 autoloaded anymore for XEmacs. Protect call of
1057 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1058 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1059 it hurts at least for SXEmacs.
1060 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1061 standard-value for `temporary-file-directory'.
1063 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1064 Redirect stderr to /dev/null.
1065 (tramp-sh-handle-write-region): uid and gid can be floats.
1066 Reported by Russell Sim <russell.sim@gmail.com>.
1067 (tramp-sh-handle-vc-registered): Hide errors.
1068 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1069 and `start-file-process'.
1070 (tramp-maybe-open-connection): Check also whether `non-essential'
1073 2012-07-04 Chong Yidong <cyd@gnu.org>
1075 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1076 (xml-parse-tag): Likewise, and avoid changing entity tables.
1077 (xml-syntax-table): Define from scratch, making sure not to give
1078 x2000 and other Unicode spaces whitespace syntax, since those are
1080 (xml-parse-fragment): Delete unused function.
1081 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1082 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1083 (xml-entity-ref, xml-pe-reference-re)
1084 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1085 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1086 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1087 (xml-entity-value-re): Use syntax references in regexps where
1088 possible; no need to define inside a let-binding.
1089 (xml-parse-dtd): Use xml-pe-reference-re.
1090 (xml-entity-or-char-ref-re): New defconst.
1091 (xml-parse-string, xml-substitute-special): Use it.
1093 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1095 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1096 (find-file--read-only): New function.
1097 (find-file-read-only, find-file-read-only-other-window)
1098 (find-file-read-only-other-frame): Use it.
1099 (insert-file-contents-literally): Don't `fset'.
1100 (get-free-disk-space): Use locate-dominating-file.
1102 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1103 function is already compiled.
1105 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1107 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
1109 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1110 files on the same host.
1112 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1114 * help-fns.el (describe-function-1): Only call
1115 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1117 2012-07-03 Chong Yidong <cyd@gnu.org>
1119 * xml.el: Protect parser against XML bombs.
1120 (xml-entity-expansion-limit): New variable.
1121 (xml-parse-string, xml-substitute-special): Use it.
1122 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1124 2012-07-03 Glenn Morris <rgm@gnu.org>
1126 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1127 Allow linking to specific messages in debbugs reports (eg 123#5).
1129 2012-07-02 Chong Yidong <cyd@gnu.org>
1131 * xml.el: Fix entity and character reference expansion, allowing
1132 them to expand into markup as per XML spec.
1133 (xml-default-ns): New variable.
1134 (xml-entity-alist): Use XML spec definitions for lt and amp.
1135 (xml-parse-region): Make first two arguments optional.
1136 Discard text properties.
1137 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1138 All callers changed.
1139 (xml-parse-tag): Call xml-parse-tag-1. For backward
1140 compatibility, this function should not modify buffer contents.
1141 (xml-parse-tag-1): Fix opening-tag regexp.
1142 (xml-parse-string): Rewrite, handling entity and character
1143 references properly.
1144 (xml--entity-replacement-text): Signal an error if a parameter
1145 entity is undefined.
1147 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1149 * comint.el (comint-output-filter): Filter out repeated prompts.
1151 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1152 and file-name-absolute-p.
1153 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1156 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1159 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1160 Rename from byte-compile--refiy-function. All uses changed.
1162 2012-07-01 Chong Yidong <cyd@gnu.org>
1164 * xml.el (xml--parse-buffer): New function. Move most of
1165 xml-parse-region here.
1166 (xml-parse-region): Copy region into a temporary buffer, since
1167 parameter entity substitution requires changing buffer contents.
1168 Use xml--parse-buffer.
1169 (xml-parse-file): Use xml--parse-buffer.
1170 (xml-parse-dtd): Make parameter entity substitution work right.
1171 Use proper regexps for ELEMENT declarations (Bug#7172).
1173 2012-06-30 Glenn Morris <rgm@gnu.org>
1175 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1177 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1178 Remove outdated and unnecessary dbus declarations.
1180 2012-06-30 Eli Zaretskii <eliz@gnu.org>
1182 * emacs-lisp/timer.el (timer-until): Subtract results of
1183 float-time, instead of taking float-time of the result of
1184 time-subtract, since float-time signals an error for negative time
1187 2012-06-30 Chong Yidong <cyd@gnu.org>
1189 * xml.el (xml-*-re): Convert defvars into defconsts, and
1190 eval-and-compile them so eval-and-compile works on derivatives.
1191 (xml--entity-replacement-text): Use eval-and-comple.
1193 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
1195 * vc/vc-git.el (vc-git-registered): Use cache property
1197 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1198 `vc-git-working-revision' in order to benefit from the cache.
1199 (vc-git-root): Use cache property `git-root'. (Bug#11757)
1201 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1203 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
1204 removed (likely outside Emacs). (Bug#11757)
1206 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1208 * emacs-lisp/cl-lib.el: Require macroexp.
1210 2012-06-30 Chong Yidong <cyd@gnu.org>
1212 * xml.el: Implement XML parameter entities.
1213 (xml-parameter-entity-alist): New variable.
1214 (xml-parse-region, xml-parse-fragment): Preserve previous values
1215 of xml-entity-alist and xml-parameter-entity-alist, so that
1216 repeated calls on different documents do not change them.
1217 (xml-parse-tag): Fix doctype regexp.
1218 (xml--entity-replacement-text): New function.
1219 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1220 properly requires url retrieval which is unimplemented.
1221 (xml-escape-string): Doc fix.
1223 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1225 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1227 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1229 * fringe.el (fringe-mode): Doc fix.
1231 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
1233 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1235 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1236 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1238 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
1240 * calendar/cal-dst.el (calendar-current-time-zone):
1241 Return calendar-current-time-zone-cache if non-nil.
1243 2012-06-29 Masatake YAMATO <yamato@redhat.com>
1245 * progmodes/which-func.el (which-func-format):
1246 Add mouse-face. (Bug#11698)
1248 2012-06-29 Leo Liu <sdl.web@gmail.com>
1250 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1252 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1254 * minibuffer.el (minibuffer-confirm-exit-commands):
1255 Add completion-at-point (bug#11725).
1257 2012-06-29 Glenn Morris <rgm@gnu.org>
1259 * progmodes/f90.el (f90-font-lock-keywords-2):
1260 Add some preprocessor elements. (Bug#10499)
1262 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1264 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1265 Use syntax-propertize (bug#11739).
1267 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
1269 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1271 2012-06-28 Julien Danjou <julien@danjou.info>
1273 * term.el (term-handle-colors-array): Use a set of new faces to
1274 color the terminal. Also uses :inverse-video property.
1275 (term-default-fg-color): Set to nil by default, deprecate in favor
1277 (term-default-bg-color): Set to nil by default, deprecate in favor
1279 (term-current-face): Use `term-face' by default.
1280 (term-bold-attribute): Variable deleted.
1282 2012-06-28 Glenn Morris <rgm@gnu.org>
1284 * simple.el (completion-list-mode-finish):
1285 Don't use toggle-read-only. (Since completion-list-mode has
1286 a special mode-class, it wasn't doing anything extra anyway.)
1288 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1290 Make inlining of other-mode interpreted functions work (bug#11799).
1291 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1292 (byte-compile): Use it to fix compilation of lexical-binding closures.
1293 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1294 function, if needed.
1296 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1298 * help-mode.el (help-make-xrefs): Don't just withstand
1299 cyclic-variable-indirection but any error in documentation-property.
1301 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1303 * bindings.el (bindings--define-key): New function.
1304 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1305 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1306 * bindings.el: Use it to purecopy define-key bindings.
1308 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1310 * emacs-lisp/cl.el (flet): Mark obsolete.
1311 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1312 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1313 * progmodes/js.el (js-c-fill-paragraph):
1314 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1315 (ebrowse-switch-member-buffer-to-derived-class):
1316 * play/5x5.el (5x5-solver): Use cl-flet.
1318 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1319 (cl--symbol-function): New macro.
1320 (cl--letf, cl--letf*): Use it.
1322 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1323 Strip "toggle-" if any.
1325 2012-06-27 Glenn Morris <rgm@gnu.org>
1327 * info.el (Info-default-directory-list): Move here from paths.el.
1328 * paths.el: Remove file, which is now empty.
1329 * loadup.el: No longer load "paths".
1331 * custom.el (custom-initialize-delay): Doc fix.
1333 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1334 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1335 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1336 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1337 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1338 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1339 * eshell/eshell.el (eshell-defgroup): Remove alias.
1341 2012-06-27 Chong Yidong <cyd@gnu.org>
1343 * help.el (help-enable-auto-load): New variable.
1345 * help-fns.el (help-fns--autoloaded-p): New function.
1346 (describe-function-1): Refer to a function as "autoloaded" if it
1347 was autoloaded at any time in the past. Perform autoloading if
1348 help-enable-auto-load is non-nil.
1350 2012-06-26 Eli Zaretskii <eliz@gnu.org>
1352 * makefile.w32-in (compile, compile-always): Depend on
1353 update-subdirs, not on subdirs.el. Otherwise, several different
1354 sub-targets of 'bootstrap' running in parallel could
1355 simultaneously write to subdirs.el, producing a garbled file.
1357 2012-06-26 Sam Steingold <sds@gnu.org>
1359 * files.el (file-name-base): New convenience function.
1360 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1361 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1362 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1363 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1364 * textmodes/ispell.el, textmodes/reftex-ref.el:
1365 * textmodes/tex-mode.el: Use it.
1366 Did not touch cedet and org because they are maintained elsewhere.
1368 2012-06-26 Martin Rudalics <rudalics@gmx.at>
1370 * calendar/calendar.el (calendar-exit): Don't try to delete or
1371 iconify last frame. See:
1372 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1374 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1376 * server.el (server-process-filter): Remember dir in the
1377 process's `server-client-directory' properties.
1379 2012-06-24 Chong Yidong <cyd@gnu.org>
1381 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1384 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
1386 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1388 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1390 * help-fns.el (describe-variable): Don't croak when doc is not found.
1391 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1392 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1393 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1394 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1395 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1397 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1399 2012-06-23 Chong Yidong <cyd@gnu.org>
1401 * info.el (Info-mouse-follow-link): Accept symbol values of
1402 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
1403 (Info-fontify-node): Use Info-link-keymap for all navigation
1404 buttons, with link-args property to perform the desired action.
1405 (Info-link-keymap): Doc fix.
1406 (Info-next-link-keymap, Info-prev-link-keymap)
1407 (Info-up-link-keymap): Delete now-unused keymaps.
1409 2012-06-23 Chong Yidong <cyd@gnu.org>
1411 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1413 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1416 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1418 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1420 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1423 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1424 the requote function doesn't work properly (bug#11714).
1426 2012-06-23 Glenn Morris <rgm@gnu.org>
1428 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1430 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1432 Further GV/CL cleanups.
1433 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1435 (gv--defun-declaration): New function.
1436 (defun-declarations-alist): Use it.
1437 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1438 (gv-place): Autoload.
1439 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1440 original definition of dotimes and dolist.
1441 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1442 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1443 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1444 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1445 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1446 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1447 to the function's definition.
1448 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1452 * env.el: Don't use CL.
1454 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1456 Support higher-resolution time stamps (Bug#9000).
1458 * calendar/time-date.el (with-decoded-time-value): New arg
1459 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1460 (encode-time-value): New optional arg PICO. New type 3.
1461 (time-to-seconds) [!float-time]: Support the new picoseconds
1462 component if it's used.
1463 (seconds-to-time, time-subtract, time-add):
1464 Support ps-resolution time stamps as well.
1466 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1467 (timerp): Timer vectors now have length 9, not 8.
1468 (timer--time): Support new-style (4-part) time stamps.
1469 (timer-next-integral-multiple-of-time): Time stamps now have
1470 picosecond resolution, so take a bit more care about rounding.
1471 (timer-relative-time, timer-inc-time): New optional arg psecs.
1472 (timer-set-time-with-usecs): Set psecs to 0.
1473 (timer--activate): Check psecs component, too.
1475 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1477 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1479 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1480 Move the non-essential binding to the post/pre-command-hook where it is
1481 more obviously correct.
1483 * subr.el (read-passwd): Don't use a history at all.
1484 * savehist.el (savehist-save): Remove password saved accidentally
1485 because of the above bug.
1487 2012-06-22 Bastien Guerry <bzg@gnu.org>
1489 * files.el (toggle-read-only): Display a message telling whether
1490 the buffer is read-only or not (bug#11726).
1492 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1494 * emacs-lisp/gv.el: New file.
1495 * subr.el (push, pop): Extend to generalized variables.
1496 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1497 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1498 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1499 gv-define-simple-setter, and gv-define-expander.
1500 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1501 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1502 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1503 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1504 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1506 (cl-defstruct): Don't define setf-method any more.
1507 * emacs-lisp/cl.el (flet): Don't autoload.
1508 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1509 (define-setf-expander, defsetf, define-modify-macro)
1510 (cl-struct-setf-expander): Move from cl-lib.el.
1511 * emacs-lisp/syntax.el:
1512 * emacs-lisp/ewoc.el:
1513 * emacs-lisp/smie.el:
1514 * emacs-lisp/cconv.el:
1515 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1516 (timer--time): Use gv-define-simple-setter.
1517 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1518 to avoid coding-system problems in subr.el. Adjust all users.
1519 (macroexp--maxsize, macroexp-small-p): New functions.
1520 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1521 * scroll-bar.el (scroll-bar-mode):
1522 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1523 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1524 * winner.el (winner-configuration, winner-make-point-alist)
1525 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1526 * files.el (locate-file-completion-table): Avoid list*.
1528 2012-06-22 Chong Yidong <cyd@gnu.org>
1530 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1531 (dired-create-files): Doc fix (Bug#11329).
1532 (dired-do-copy): Doc fix (Bug#11334).
1533 (dired-mark-read-string): Doc fix (Bug#11553).
1535 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1536 Doc fix (Bug#11326).
1537 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1538 (dired-dwim-target): Doc fix.
1540 * wdired.el (wdired-mode): Doc fix.
1542 2012-06-22 Glenn Morris <rgm@gnu.org>
1544 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1545 (pcmpl-rpm-cache-stamp-file): New constant.
1546 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1547 (pcmpl-rpm-packages): Optionally cache list of packages.
1549 * pcmpl-rpm.el (pcmpl-rpm): New group.
1550 (pcmpl-rpm-query-options): New option.
1551 (pcmpl-rpm-packages): No need to inline it.
1552 Use pcmpl-rpm-query-options.
1554 * calendar/calendar.el (calendar-in-read-only-buffer):
1555 Avoid some needless mode changes.
1557 2012-06-21 Chong Yidong <cyd@gnu.org>
1559 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1560 (desktop-path): Remove . from the default value (Bug#10977).
1561 (desktop-read): Use user-emacs-directory if desktop-path is nil.
1563 2012-06-20 Chong Yidong <cyd@gnu.org>
1565 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1567 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1569 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1572 2012-06-20 Chong Yidong <cyd@gnu.org>
1574 * term.el (term-window-width): Handle the case of a missing right
1576 (term-check-size): Use window-text-height (Bug#5445).
1577 (term-mode): Use define-derived-mode. Minor cleanups.
1578 Set font-lock-defaults (Bug#7692).
1579 (term-move-columns, term-insert-char, term-emulate-terminal)
1580 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
1582 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
1584 * net/ange-ftp.el (ange-ftp-get-passwd):
1585 Bind `enable-recursive-minibuffers'.
1586 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1588 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1590 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1592 2012-06-19 Glenn Morris <rgm@gnu.org>
1594 * progmodes/python.el (python-mode): Derive from prog-mode.
1596 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1598 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1599 (edt-user-menu-bar-update-buffers): New functions.
1600 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1602 2012-06-19 Chong Yidong <cyd@gnu.org>
1604 * subr.el (with-selected-window): Preserve the selected window's
1605 terminal's top-frame (Bug#4702).
1607 * window.el (save-selected-window): Likewise.
1609 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1611 * progmodes/python.el (python-rx-constituents): Move backquote.
1612 (python-skeleton-define, python-define-auxiliary-skeleton):
1615 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
1617 * minibuffer.el (read-file-name-default): Revert the patch from
1620 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1622 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1623 (pcase--u1, pcase--q1): Don't use apply-partially.
1625 2012-06-18 Glenn Morris <rgm@gnu.org>
1627 * progmodes/python.el (python-proc, python-buffer)
1628 (python-send-receive, python-send-string): Fix obsolete versions.
1630 2012-06-18 Martin Rudalics <rudalics@gmx.at>
1632 * window.el (special-display-p): Completely remove stringp
1633 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1635 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
1637 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1639 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1641 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1642 * net/tramp-sh.el (tramp-maybe-open-connection):
1643 Throw if `non-essential' is non-nil.
1645 2012-06-17 Martin Rudalics <rudalics@gmx.at>
1647 * window.el (special-display-p): Signal an error if BUFFER-NAME
1648 is not a string (Bug#11713).
1650 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1652 * progmodes/python.el (python-info-beginning-of-backslash):
1653 Rename from python-info-beginning-of-backlash, as a spelling fix.
1655 2012-06-17 Chong Yidong <cyd@gnu.org>
1657 * term.el (term-emulate-terminal): If term-check-size is called,
1658 move point to the process mark without resetting point (Bug#4635).
1660 2012-06-17 Glenn Morris <rgm@gnu.org>
1662 * international/mule-cmds.el (mule-menu-keymap)
1663 (set-language-environment, set-locale-environment): Doc tweaks.
1665 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1667 * cus-face.el (custom-face-attributes): Add wave-style underline
1669 * faces.el (set-face-attribute): Update docstring to describe
1670 wave-style underline attribute.
1672 2012-06-16 Chong Yidong <cyd@gnu.org>
1674 * term/xterm.el (terminal-init-xterm): Discard input before
1675 querying background mode (Bug#10959).
1677 2012-06-16 Stefan Merten <smerten@oekonux.de>
1679 * textmodes/rst.el: Added and corrected some comments.
1680 (rst-re-alist-def): Improve symbol syntax.
1681 (rst-mode-syntax-table): Correct syntax entries.
1682 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1683 (rst-official-version, rst-official-cvs-rev): Update version
1686 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
1688 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1689 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1691 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1693 * progmodes/python.el: New python.el merge.
1694 (python-guess-indent): Obsolete var.
1695 (python-indent-guess-indent-offset): New defcustom.
1696 (python-indent): Obsolete var.
1697 (python-indent-offset): New defcustom.
1698 (python-python-command, python-jython-command): Delete var.
1699 (python-shell-interpreter): New defcustom.
1700 (python-pdbtrack-do-tracking-p): Delete var.
1701 (python-pdbtrack-activate): New defcustom.
1702 (python-use-skeletons): Obsolete var.
1703 (python-skeleton-autoinsert): New defcustom.
1704 (inferior-python-filter-regexp, python-continuation-offset)
1705 (python-honour-comment-indentation, python-indent-string-contents)
1706 (python-jython-packages, python-mode-hook)
1707 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1708 (python-shell-prompt-alist)
1709 (python-source-modes): Delete defcustoms.
1710 (python-check-buffer-name, python-eldoc-setup-code)
1711 (python-eldoc-string-code, python-ffap-setup-code)
1712 (python-ffap-string-code, python-fill-comment-function)
1713 (python-fill-decorator-function, python-fill-paren-function)
1714 (python-fill-string-function, python-imenu-include-defun-type)
1715 (python-imenu-make-tree, python-imenu-subtree-root-label)
1716 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1717 (python-shell-compilation-regexp-alist)
1718 (python-shell-completion-module-string-code)
1719 (python-shell-completion-pdb-string-code)
1720 (python-shell-completion-setup-code)
1721 (python-shell-completion-string-code)
1722 (python-shell-enable-font-lock, python-shell-exec-path)
1723 (python-shell-extra-pythonpaths)
1724 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1725 (python-shell-process-environment)
1726 (python-shell-prompt-block-regexp)
1727 (python-shell-prompt-output-regexp)
1728 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1729 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1730 (python-shell-virtualenv-path): New defcustoms.
1731 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1732 (inferior-python-mode-syntax-table, python--prompt-regexp)
1733 (python-buffer, python-command python-python-command)
1734 (python-default-template, python-imports, python-indent-index)
1735 (python-indent-list, python-indent-list-length)
1736 (python-mode-running, python-pdbtrack-is-tracking-p)
1737 (python-preoutput-continuation, python-preoutput-leftover)
1738 (python-preoutput-result, python-preoutput-skip-next-prompt)
1739 (python-prev-dir/file, python-recursing)
1740 (python-saved-check-command, python-version-checked)
1741 (python-which-func-length-limit)
1742 (view-return-to-alist): Delete vars.
1743 (python-check-custom-command, python-dotty-syntax-table)
1744 (python-imenu-index-alist, python-indent-current-level)
1745 (python-indent-dedenters, python-indent-levels)
1746 (python-nav-beginning-of-defun-regexp)
1747 (python-nav-list-defun-positions-cache)
1748 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1749 (python-shell-internal-buffer)
1750 (python-skeleton-available): New vars.
1751 (def-python-skeleton): Delete macro.
1752 (python-skeleton-define): New macro.
1753 (python-define-auxiliary-skeleton, python-rx): New macros.
1754 (python-insert-class): Delete command.
1755 (python-skeleton-class): New command.
1756 (python-insert-def): Delete command.
1757 (python-skeleton-def): New command.
1758 (python-insert-for): Delete command.
1759 (python-skeleton-for): New command.
1760 (python-insert-if): Delete command.
1761 (python-skeleton-if): New command.
1762 (python-insert-try/except, python-insert-try/finally): Delete commands.
1763 (python-skeleton-try): New command.
1764 (python-insert-while): Delete command.
1765 (python-skeleton-while): New command.
1766 (python-backspace): Delete command.
1767 (python-indent-dedent-line-backspace): New command.
1768 (python-electric-colon): Delete command.
1769 (python-indent-electric-colon): New command.
1770 (python-guess-indent): Delete command.
1771 (python-indent-guess-indent-offset): New command.
1772 (python-shift-left): Delete command.
1773 (python-indent-shift-left): New command.
1774 (python-shift-right): Delete command.
1775 (python-indent-shift-right): New command.
1776 (python-find-function): Delete command.
1777 (python-nav-jump-to-defun): New command.
1778 (python-next-statement): Delete command.
1779 (python-nav-forward-sentence): New command.
1780 (python-previous-statement): Delete command.
1781 (python-nav-backward-sentence): New command.
1782 (python-fill-paragraph): Delete command.
1783 (python-fill-paragraph-function): New command.
1784 (python-send-buffer): Delete command.
1785 (python-shell-send-buffer): New command.
1786 (python-send-defun): Delete command.
1787 (python-shell-send-defun): New command.
1788 (python-send-region, python-send-region-and-go): Delete commands.
1789 (python-shell-send-region)
1790 (python-shell-switch-to-shell): New commands.
1791 (python-send-string): Delete command.
1792 (python-shell-send-string): New command.
1793 (python-switch-to-python): Delete command.
1794 (python-shell-switch-to-shell): New command.
1795 (python-describe-symbol): Delete command.
1796 (python-eldoc-at-point): New command.
1797 (python--set-prompt-regexp, python-args-to-list)
1798 (python-after-info-look, python-check-version)
1799 (python-check-comint-prompt, python-find-imports)
1800 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1801 (python-unload-function, python-expand-template)
1802 (python-maybe-jython, python-preoutput-filter)
1803 (python-pdbtrack-get-source-buffer)
1804 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1805 (python-pdbtrack-toggle-stack-tracking)
1806 (python-pdbtrack-track-stack-file, python-initial-text)
1807 (python-first-word, python-comment-line-p, python-send-command)
1808 (python-setup-brm, python-sentinel, python-set-proc)
1809 (python-skip-out, python-input-filter, python-outdent-p)
1810 (python-outline-level, python-backslash-continuation-line-p)
1811 (python-end-of-block, python-end-of-statement, python-mark-block)
1812 (python-beginning-of-block, python-beginning-of-statement)
1813 (python-blank-line-p, python-beginning-of-string)
1814 (python-open-block-statement-p): Delete functions.
1815 (python-indent-line, python-indent-line-1): Delete functions.
1816 (python-indent-line): New function.
1817 (python-indentation-levels): Delete function.
1818 (python-indent-calculate-levels): New function.
1819 (python-proc): Delete function.
1820 (python-shell-get-process): New function.
1821 (python-send-receive): Delete function.
1822 (python-shell-send-string-no-output): New function.
1823 (python-module-path): Delete function.
1824 (python-ffap-module-path): New function.
1825 (python-completion-at-point)
1826 (python-symbol-completions): Delete functions.
1827 (python-completion-complete-at-point): New function.
1828 (python-load-file): Delete function.
1829 (python-shell-send-file): New function.
1830 (python-calculate-indentation): Delete function.
1831 (python-indent-calculate-indentation): New function.
1832 (python-skip-comments/blanks): Delete function.
1833 (python-util-forward-comment): New function.
1834 (python-continuation-line-p): Delete function.
1835 (python-info-continuation-line-p): New function.
1836 (python-which-func, python-current-defun): Delete function.
1837 (python-info-current-defun): New function.
1838 (python-beginning-of-defun): Delete function.
1839 (python-nav-beginning-of-defun): New function.
1840 (python-close-block-statement-p)
1841 (python-block-end-p): Delete function.
1842 (python-info-closing-block): New function.
1843 (python-comint-output-filter-function)
1844 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1845 (python-fill-comment, python-fill-decorator, python-fill-paren)
1846 (python-fill-string, python-imenu-make-element-tree)
1847 (python-imenu-make-tree, python-imenu-tree-assoc)
1848 (python-indent-context, python-indent-dedent-line)
1849 (python-indent-line-function)
1850 (python-indent-post-self-insert-function)
1851 (python-indent-toggle-levels)
1852 (python-info-assignment-continuation-line-p)
1853 (python-info-beginning-of-backlash)
1854 (python-info-block-continuation-line-p)
1855 (python-info-closing-block-message)
1856 (python-info-line-ends-backslash-p)
1857 (python-info-looking-at-beginning-of-defun)
1858 (python-info-ppss-context, python-info-ppss-context-type)
1859 (python-nav-list-defun-positions, python-nav-read-defun)
1860 (python-nav-sentence-end, python-nav-sentence-start)
1861 (python-pdbtrack-comint-output-filter-function)
1862 (python-pdbtrack-set-tracked-buffer)
1863 (python-shell-calculate-exec-path)
1864 (python-shell-calculate-process-environment)
1865 (python-shell-completion--do-completion-at-point)
1866 (python-shell-completion--get-completions)
1867 (python-shell-completion-complete-at-point)
1868 (python-shell-completion-complete-or-indent)
1869 (python-shell-get-or-create-process)
1870 (python-shell-get-process-name)
1871 (python-shell-internal-get-or-create-process)
1872 (python-shell-internal-get-process-name)
1873 (python-shell-internal-send-string, python-shell-make-comint)
1874 (python-shell-parse-command, python-shell-send-setup-code)
1875 (python-skeleton-add-menu-items)
1876 (python-util-clone-local-variables, python-util-position)
1877 (run-python-internal, python-indentation-levels)
1878 (python-nav-beginning-of-defun)
1879 (python-completion-complete-at-point): New functions.
1880 (run-python): Change arguments. New API requirements.
1882 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1884 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1887 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1888 (macroexp--expand-all): Use it.
1890 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1891 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1892 Use `cl-function' instead.
1894 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
1896 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1897 Suggested by Stefan Monnier while discussing bug#11657.
1899 2012-06-14 Sam Steingold <sds@gnu.org>
1901 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1903 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1905 * play/doctor.el (doctor-doc): Remove parameter and use
1906 doctor-sent instead of sent.
1907 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1909 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1911 * files.el: Require cl-lib.
1912 (file-name-non-special): Replace case -> cl-case.
1914 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1916 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1917 mapping from #' to function*.
1919 2012-06-13 Chong Yidong <cyd@gnu.org>
1921 * mouse.el (mouse-drag-track): Do not set the mark if the user
1922 releases the mouse without selecting anything (Bug#11588).
1924 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1926 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1927 as well (bug#11646).
1929 * loadup.el: Count byte-code functions as well.
1931 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1932 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1934 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1935 (bug#11649). Add cl-defun and cl-defmacro.
1937 2012-06-13 Drew Adams <drew.adams@oracle.com>
1939 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1942 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
1944 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1945 Otherwise, it blocks in batch mode.
1947 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
1949 * help-mode.el (bookmark-make-record-default): Declare.
1951 2012-06-13 Chong Yidong <cyd@gnu.org>
1953 * emacs-lisp/package.el (list-packages): Compute a list of
1954 packages that are newly-available since the last list-packages
1956 (package-menu--new-package-list): New var.
1957 (package-menu--generate, package-menu--print-info)
1958 (package-menu--status-predicate, package-menu-mark-install):
1959 Handle new status label "new".
1961 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1963 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1964 conversion to backquotes.
1966 2012-06-12 Chong Yidong <cyd@gnu.org>
1968 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1969 Rename from gud-inhibit-global-bindings.
1971 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1973 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1974 hook from nxml-glyph-set-hook.
1976 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1979 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1981 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1982 Convert to defcustom.
1984 2012-06-12 Drew Adams <drew.adams@oracle.com>
1986 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1988 (help-mode): Use them.
1990 2012-06-11 Glenn Morris <rgm@gnu.org>
1992 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1993 Use preprocessor face for directives.
1994 (fortran-directive-re): Doc fix.
1996 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1998 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1999 conversion to backquotes (bug#11652).
2001 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2002 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2003 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2004 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2005 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2006 (cl-ninth, cl-tenth): Mark them as inlinable.
2007 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2008 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2009 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2010 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2011 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2012 (cl-list*, cl-adjoin): Don't put an autoload manually.
2013 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2014 (cl--compiler-macro-list*): Add autoload cookie.
2015 (cl--compiler-macro-cXXr): New function.
2017 * help-fns.el (help-fns--compiler-macro): New function extracted from
2018 describe-function-1; follow aliases and use `compiler-macro' property.
2019 (describe-function-1): Use it.
2021 2012-06-11 Chong Yidong <cyd@gnu.org>
2023 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2024 is uninstalled, if imagemagick is installed.
2026 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2028 * emacs-lisp/cl-lib.el: Use lexical-binding.
2029 (cl-map-extents, cl-maclisp-member): Remove.
2030 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2031 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2032 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2033 * emacs-lisp/cl-extra.el: Use lexical-binding.
2034 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2035 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2036 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2037 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2038 * emacs-lisp/cl-seq.el: Use lexical-binding.
2039 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2040 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2041 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2042 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2043 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2046 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
2048 Sync with Tramp 2.2.6-pre.
2050 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2051 `print-length' and `print-level' to nil, in order to avoid
2052 truncation. Reported by Christopher Schmidt
2053 <christopher@ristopher.com>.
2055 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2057 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2059 (tramp-compat-copy-directory): Add optional argument
2060 COPY-CONTENTS. It is not handled yet.
2062 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2063 (tramp-ftp-file-name-p): Simplify.
2065 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2066 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2069 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2070 (tramp-methods): Do not use `tramp-password-end-of-line'.
2071 (tramp-completion-function-alist-putty): Handle UNIX case.
2072 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2073 (tramp-do-file-attributes-with-stat)
2074 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2075 gid as real numbers. They could run out of integer range on cygwin.
2076 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2077 (tramp-sh-handle-expand-file-name): Handle hops.
2078 (tramp-open-connection-setup-interactive-shell):
2079 Use `tramp-cleanup'. Move check for busyboxes ...
2080 (tramp-find-shell): ... here. Simplify implementation.
2081 Set "remote-shell" property also for alternative shells.
2082 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2083 If failing, a regular file would be written otherwise.
2084 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2085 (tramp-find-inline-encoding): Cache the coding commands in the
2086 process cache. Apply test command on the remote side, if defined.
2087 (tramp-find-inline-compress): Cache the compress commands in the
2089 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2090 when requested. Handle hops.
2091 (tramp-current-connection): New defvar.
2092 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2093 Throw `suppress', if there was a failed connection shortly before.
2094 Handle user interrupt. (Bug#10187)
2095 (tramp-get-inline-compress, tramp-get-inline-coding):
2096 Read connection properties from the process cache.
2098 * net/tramp-smb.el (tramp-smb-server-version)
2099 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2101 (tramp-smb-prompt): Extend for powershell prompt.
2102 (tramp-smb-file-name-handler-alist): Add handlers for
2103 `process-file', `shell-command' and `start-file-process'.
2104 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2105 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2106 (tramp-smb-file-name-p): Simplify.
2107 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2108 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2109 (tramp-smb-shell-quote-argument): New defuns.
2110 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2111 Implement using "tar". By this, time-stamps are preserved.
2112 (tramp-smb-handle-copy-file): Handle also the case of directories.
2113 (tramp-smb-do-file-attributes-with-stat)
2114 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2115 Use `tramp-get-connection-buffer').
2116 (tramp-smb-handle-rename-file): Use "rename", when source and
2117 target are on the same share.
2118 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2119 Use `tramp-smb-server-version'.
2120 (tramp-smb-wait-for-output): Remove prompt.
2122 * net/tramp.el (top): Require 'cl.
2123 (tramp-methods, tramp-rsh-end-of-line):
2124 Remove `tramp-password-end-of-line' from docstring.
2125 (tramp-save-ad-hoc-proxies): New defcustom.
2126 (tramp-completion-function-alist): Adapt docstring.
2127 (tramp-default-password-end-of-line): Remove defcustom.
2128 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2129 (tramp-user-regexp, tramp-file-name-regexp-unified)
2130 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2131 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2132 (tramp-remote-file-name-spec-regexp): New defconst.
2133 (tramp-file-name-structure): Extend structure for hops.
2134 (tramp-get-method-parameter): Move up.
2135 (tramp-file-name-p, tramp-dissect-file-name)
2136 (with-parsed-tramp-file-name): Handle hops.
2137 (tramp-file-name-hop): New defun.
2138 (tramp-make-tramp-file-name): New optional arg HOP.
2139 (tramp-message-show-progress-reporter-message): New defvar.
2140 (tramp-with-progress-reporter): Use it. We cannot use
2141 `tramp-message-show-message' here, because this suppresses also
2143 (tramp-error-with-buffer): Suppress buffer view, if
2144 `tramp-message-show-message' is nil.
2145 Use `tramp-get-connection-buffer'.
2146 (tramp-cleanup): New defun.
2147 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2148 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2150 (tramp-completion-handle-file-name-all-completions): Handle hops.
2151 Fix an error when called from ido.
2152 (tramp-completion-dissect-file-name): Use better local variable
2153 name. Add hop to the vector.
2154 (tramp-handle-insert-file-contents): Use progress-reporter for the
2156 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2158 (tramp-check-for-regexp): Simplify search.
2159 (tramp-enter-password): Remove it. Move implementation ...
2160 (tramp-action-password): ... here.
2161 (tramp-mode-string-to-int, tramp-local-host-p)
2162 (tramp-make-tramp-temp-file, tramp-read-passwd)
2163 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2164 Set tramp-autoload cookie.
2166 * net/trampver.el: Update release number.
2168 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2169 Michael Albinus <michael.albinus@gmx.de>
2171 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2172 (tramp-parse-group, tramp-parse-file)
2173 (tramp-parse-shostkeys-sknownhosts): New defuns.
2174 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2175 (tramp-parse-shosts-group, tramp-parse-sconfig)
2176 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2177 (tramp-parse-sknownhosts, tramp-parse-hosts)
2178 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2180 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2181 (tramp-parse-putty-group): Don't narrow.
2182 (tramp-parse-putty): Make a loop.
2183 (tramp-file-name-handler): Catch the `suppress' signal.
2185 2012-06-11 Chong Yidong <cyd@gnu.org>
2187 * image.el (imagemagick-register-types): Put the ImageMagick entry
2188 at the end of image-type-file-name-regexps.
2190 2012-06-11 Johan Bockgård <bojohan@gnu.org>
2192 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2193 (pcase, pcase-let*, pcase-dolist): Use them.
2195 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2197 * emacs-lisp/pcase.el (pcase--let*): New function.
2198 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2199 (pcase--expand): Use macroexp-let².
2201 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2203 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2204 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2205 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2206 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2207 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2208 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2210 2012-06-10 Glenn Morris <rgm@gnu.org>
2212 * mail/rmail.el (rmail-yank-current-message): Leave point at
2213 correct position. (Bug#11660)
2215 2012-06-10 Chong Yidong <cyd@gnu.org>
2217 * allout-widgets.el: Fix code header.
2219 2012-06-10 Chong Yidong <cyd@gnu.org>
2221 * cus-edit.el (customize-changed-options-previous-release):
2224 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2226 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2228 2012-06-09 Chong Yidong <cyd@gnu.org>
2230 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2232 2012-06-09 Martin Rudalics <rudalics@gmx.at>
2234 * window.el (special-display-popup-frame): Don't use
2235 window--display-buffer (Bug#11651).
2237 2012-06-09 Eli Zaretskii <eliz@gnu.org>
2239 Fix parallel builds: make sure loaddefs.el is not being written
2240 while Lisp files are compiled.
2241 (compile): Don't depend on 'mh-autoloads'.
2242 (compile-CMD, compile-SH): Depend on 'autoloads'.
2243 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2245 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2247 2012-06-09 Chong Yidong <cyd@gnu.org>
2249 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2250 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2251 Doc fixes (Bug#11225).
2253 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2255 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2256 a function if there's a clear indication that it has a compiler-macro.
2257 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2258 (macro-declarations-alist): Add arglist to declaration functions.
2259 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2260 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2261 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2262 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2263 Also add autoload to find the compiler macro.
2264 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2265 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2266 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2267 (cl--compiler-macro-get): New functions, replacing calls to
2268 cl-define-compiler-macro.
2269 (cl-typep) [compiler-macro]: Use macroexp-let².
2271 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
2273 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2274 string properly, fixes Bug#11473.
2276 2012-06-08 Chong Yidong <cyd@gnu.org>
2278 * faces.el (set-face-attribute): Doc fix.
2279 (modify-face): Don't use :bold and :italic.
2280 (error, warning, success): Tweak definitions.
2282 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2283 (custom-modified, custom-set, custom-changed, custom-themed)
2284 (custom-saved, custom-button, custom-button-mouse)
2285 (custom-button-pressed, custom-state, custom-comment-tag)
2286 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2287 (custom-group-subtitle): Use new-style face specs.
2288 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2289 (custom-set-face, custom-changed-face, custom-saved-face)
2290 (custom-button-face, custom-button-pressed-face)
2291 (custom-documentation-face, custom-state-face)
2292 (custom-comment-face, custom-comment-tag-face)
2293 (custom-variable-tag-face, custom-variable-button-face)
2294 (custom-face-tag-face, custom-group-tag-face-1)
2295 (custom-group-tag-face): Remove obsolete face alias.
2297 * epa.el (epa-validity-high, epa-validity-medium)
2298 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2299 (epa-field-name, epa-field-body):
2300 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2301 (font-lock-keyword-face, font-lock-builtin-face)
2302 (font-lock-function-name-face, font-lock-variable-name-face)
2303 (font-lock-type-face, font-lock-constant-face):
2304 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2305 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2306 * speedbar.el (speedbar-button-face, speedbar-file-face)
2307 (speedbar-directory-face, speedbar-tag-face)
2308 (speedbar-selected-face, speedbar-highlight-face)
2309 (speedbar-separator-face):
2310 * whitespace.el (whitespace-newline, whitespace-space)
2311 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2312 (whitespace-line, whitespace-space-before-tab)
2313 (whitespace-space-after-tab, whitespace-indentation)
2315 * emulation/cua-base.el (cua-global-mark):
2316 * eshell/em-prompt.el (eshell-prompt):
2317 * net/newst-plainview.el (newsticker-new-item-face)
2318 (newsticker-old-item-face, newsticker-immortal-item-face)
2319 (newsticker-obsolete-item-face, newsticker-date-face)
2320 (newsticker-statistics-face, newsticker-default-face):
2321 * net/newst-reader.el (newsticker-feed-face)
2322 (newsticker-extra-face, newsticker-enclosure-face):
2323 * net/newst-treeview.el (newsticker-treeview-face)
2324 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2325 (newsticker-treeview-immortal-face)
2326 (newsticker-treeview-obsolete-face)
2327 (newsticker-treeview-selection-face):
2328 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2329 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2330 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2331 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2332 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2333 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2334 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2336 * progmodes/vera-mode.el (vera-font-lock-number)
2337 (vera-font-lock-function, vera-font-lock-interface):
2338 * textmodes/table.el (table-cell): Use new-style face specs, and
2339 don't use the old :bold and :italic attributes.
2341 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2342 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2343 (ebrowse-member-class, ebrowse-progress): Likewise.
2344 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2345 (ebrowse-file-name-face, ebrowse-default-face)
2346 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2347 (ebrowse-progress-face): Remove obsolete faces.
2349 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2350 Inherit from error and warning faces respectively.
2352 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2354 (flyspell-incorrect-face, flyspell-duplicate-face):
2355 Remove obsolete aliases.
2357 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
2359 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2362 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2364 * startup.el (argv, argi): Make lexically scoped.
2365 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2366 * emacs-lisp/cl-macs.el: Use lexical-binding.
2367 Rename cl-bind-* to cl--bind-*.
2368 * files.el: Don't require `cl' since it doesn't use it.
2369 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2371 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
2373 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2374 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2375 instead of calling external sort utility.
2376 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2378 2012-06-08 Eli Zaretskii <eliz@gnu.org>
2380 * descr-text.el (describe-char): Mention how to insert the
2381 character, if the current input method doesn't support it.
2382 See the discussion in this thread for the details:
2383 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2385 2012-06-08 Sam Steingold <sds@gnu.org>
2387 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2388 XF86Back to previous-buffer.
2389 (minibuffer-local-map): Bind them to next-history-element and
2390 previous-history-element respectively.
2391 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2392 help-go-back respectively.
2393 * info.el (Info-mode-map): Bind them to Info-history-forward and
2394 Info-history-back respectively.
2395 These are the keys next to Up on the ThinkPad keyboard.
2397 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2399 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2400 * emacs-lisp/cl-macs.el: Provide itself.
2401 (cl--labels-convert-cache): New var.
2402 (cl--labels-convert): New function.
2403 (cl-flet, cl-labels): New implementation with new semantics, relying on
2405 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2406 (cl-closure-vars, cl--function-convert-cache)
2407 (cl--function-convert): Move from cl-macs.el.
2408 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2409 rename by removing the "cl-" prefix.
2410 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2412 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2414 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2415 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2416 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2417 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2418 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2419 (cl-hash-table-count): Add old compatibility aliases.
2421 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2422 Use macroexpand-all-environment instead.
2423 (cl--old-macroexpand): New var.
2424 (cl--sm-macroexpand): New function.
2425 (cl-symbol-macrolet): Use it during macro expansion.
2426 (cl--function-convert-cache): New var.
2427 (cl--function-convert): New function, extracted from
2429 (cl-lexical-let): Use it.
2431 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2432 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2433 (cl-member): Remove old alias.
2435 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2436 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2437 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2438 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2439 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2440 (cl-macroexpand-cmacs): Remove var.
2441 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2442 Use macroexpand-all instead.
2444 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2446 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2447 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2448 (macroexp-copyable-p): New functions and macros.
2449 * emacs-lisp/edebug.el (edebug-unwrap):
2450 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2451 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2452 (pcase--let*): Remove.
2453 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2454 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2455 macroexp-const-p instead.
2456 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2458 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2459 instead of "cl-" for internal definitions. Use macroexp-const-p.
2460 (cl-old-bc-file-form): Remove var.
2461 (cl-const-exprs-p): Remove fun.
2462 (cl-labels, cl-macrolet): Use backquote.
2463 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2464 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2465 (cl-define-setf-expander): Rename from cl-define-setf-method.
2466 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2468 * international/mule-cmds.el: Don't require CL.
2469 (view-hello-file): Don't use `letf'.
2471 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2473 * tmm.el (tmm-prompt): Use string-prefix-p.
2474 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2475 (tmm-add-prompt): Use minibuffer-completion-help.
2476 (tmm-delete-map): Remove.
2478 * subr.el (kbd): Make it its own function.
2480 2012-06-07 Stefan Merten <smerten@oekonux.de>
2482 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2483 Silence compiler warnings. Fix versions.
2484 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
2485 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
2486 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
2487 (rst-package-emacs-version-alist): Correct Emacs version to
2488 represent major merge with upstream.
2489 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
2491 2012-06-06 Glenn Morris <rgm@gnu.org>
2493 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2494 Only print environment variables if set.
2496 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2498 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2499 (macroexp--cons): Rename from maybe-cons.
2500 (macroexp--accumulate): Rename from macroexp-accumulate.
2501 (macroexp--all-forms): Rename from macroexpand-all-forms.
2502 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2503 (macroexp--expand-all): Rename from macroexpand-all-1.
2505 2012-06-06 Sam Steingold <sds@gnu.org>
2507 * calendar/calendar.el (calendar-in-read-only-buffer):
2508 Call `special-mode' to enable the standard read-only keybindings.
2510 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2512 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2513 with "loading" messages (bug#11635).
2515 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
2517 * files.el (enable-remote-dir-locals): New option.
2518 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2520 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2521 Ensure, that the temp directory is local.
2523 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2524 `temporary-file-directory'.
2526 * progmodes/python.el (python-send-region): Ensure, that the
2527 temporary file is created also in the remote case.
2529 2012-06-06 Glenn Morris <rgm@gnu.org>
2531 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2532 (vc-rcs-update-changelog): Use it.
2534 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
2536 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2537 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2538 (vc-sccs-diff): Replace use of the external vcdiff script.
2540 2012-06-05 Glenn Morris <rgm@gnu.org>
2542 * ledit.el: Move to obsolete/.
2544 2012-06-05 Sam Steingold <sds@gnu.org>
2546 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
2549 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2551 * emacs-lisp/cust-print.el: Move to obsolete.
2553 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2554 compiler-macro expansion.
2556 Add native compiler-macro support.
2557 * emacs-lisp/macroexp.el (macroexpand-all-1):
2558 Support compiler-macros directly. Properly follow aliases and apply
2559 the compiler macros more thoroughly.
2560 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2561 macroexpand now properly follows aliases.
2562 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2563 (cl-compiler-macroexpand): Use new prop.
2564 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2566 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2568 2012-06-05 Martin Rudalics <rudalics@gmx.at>
2570 * window.el (get-lru-window, get-mru-window, get-largest-window):
2571 New argument NOT-SELECTED to avoid picking the selected window.
2572 (window--display-buffer-1, window--display-buffer-2): Replace by
2573 new function window--display-buffer
2574 (display-buffer-same-window, display-buffer-reuse-window)
2575 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2576 Use window--display-buffer.
2577 (display-buffer-use-some-window): Remove temporary dedication
2578 hack by calling get-lru-window and get-largest-window with
2579 NOT-SELECTED argument non-nil. Call window--display-buffer.
2581 2012-06-05 Glenn Morris <rgm@gnu.org>
2583 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2584 Replace external vcdiff script.
2586 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2588 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2590 2012-06-04 Chong Yidong <cyd@gnu.org>
2592 * image.el (imagemagick-types-inhibit): Revert last change.
2594 (imagemagick-enabled-types): Remove CIN and EPS*.
2596 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2598 * emacs-lisp/cl-lib.el: Rename from cl.el.
2599 * emacs-lisp/cl.el: New compatibility file.
2600 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2601 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2602 to obey the "cl-" prefix.
2603 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2605 2012-06-03 Glenn Morris <rgm@gnu.org>
2607 * emacs-lisp/authors.el (authors-aliases): Addition.
2609 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2612 2012-06-03 Stefan Merten <smerten@oekonux.de>
2614 * textmodes/rst.el: Add comments.
2615 (rst-transition, rst-adornment): New faces.
2616 (rst-adornment-faces-alist): Make default safe to reevaluate.
2618 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2619 Improve customization tags.
2620 (rst-define-level-faces): Clarify meaning.
2622 2012-06-03 Chong Yidong <cyd@gnu.org>
2624 * progmodes/compile.el (compilation-mode-line-fail)
2625 (compilation-mode-line-run, compilation-mode-line-exit):
2627 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2629 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2631 * progmodes/which-func.el (which-func-update-ediff-windows):
2632 New function. Use it in ediff-select-hook (Bug#11478).
2634 2012-06-03 Chong Yidong <cyd@gnu.org>
2636 * bindings.el: Remove explicit help text from format-mode-line.
2637 It is now supplied by mode-line-default-help-echo.
2638 (mode-line-front-space, mode-line-end-spaces)
2639 (mode-line-misc-info): New variables.
2640 (mode-line-modes, mode-line-position): Move the default value to
2641 the variable definition.
2642 (mode-line-default-help-echo): New defcustom.
2643 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2644 (mode-line-modified-help-echo): New functions.
2645 (mode-line-mule-info, mode-line-modified): Use them.
2646 (mode-line-eol-desc, propertized-buffer-identification):
2647 Consistency fixes for help text.
2648 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2649 set-buffer-file-coding-system (Bug#289).
2650 (mode-line-mule-info-help-echo): Update help text.
2652 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2654 * simple.el (execute-extended-command): Set real-this-command
2657 2012-06-02 Chong Yidong <cyd@gnu.org>
2659 Remove incorrect uses of "modeline" in comments, docstrings, and
2660 function/variable names (Bug#10329).
2662 * cus-edit.el (mode-line):
2663 * dframe.el (dframe-mouse-hscroll):
2664 * emacs-lisp/re-builder.el:
2665 * emacs-lisp/easy-mmode.el (define-minor-mode):
2666 * frame.el (set-frame-name):
2667 * help.el (lookup-minor-mode-from-indicator):
2668 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2669 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2670 (c-toggle-hungry-state):
2671 * progmodes/antlr-mode.el (antlr-language-alist):
2672 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2673 * progmodes/vhdl-mode.el (vhdl-mode):
2674 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2675 * term/ns-win.el (ns-face-at-pos):
2676 * term/sup-mouse.el (sup-mouse-report):
2677 * textmodes/flyspell.el (flyspell-mode-line-string):
2678 * textmodes/ispell.el (ispell-highlight-face):
2679 * textmodes/reftex-global.el:
2680 * vc/vc-arch.el (vc-arch-mode-line-string):
2681 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2682 * vc/vc-git.el (vc-git-mode-line-string):
2683 * vc/vc-hooks.el (vc-display-status)
2684 (vc-default-mode-line-string):
2685 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2687 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2689 * dired.el (dired-sort-set-mode-line): Rename from
2690 dired-sort-set-modeline. All callers changed.
2692 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2693 eshell-status-in-modeline.
2695 * foldout.el (foldout-mode-line-string): Rename from
2696 foldout-modeline-string. All callers changed.
2697 (foldout-update-mode-line): Rename from foldout-update-modeline.
2699 * subr.el (redraw-modeline): Make into obsolete alias.
2701 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2702 timeclock-modeline-display. Make old name an alias.
2703 (timeclock-update-mode-line): Likewise. All callers changed.
2704 (timeclock-mode-line-display): No need to check before using
2706 (timeclock-relative, timeclock-day-over-hook)
2707 (timeclock-use-elapsed, timeclock-mode-string)
2708 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2710 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2711 crisp-mode-modeline-string.
2713 * play/solitaire.el (solitaire-build-mode-line): Rename from
2714 solitaire-build-modeline. All callers changed.
2716 * play/zone.el (zone-hiding-mode-line): Rename from
2717 zone-hiding-modeline. All callers changed.
2718 (zone): Remove unusued `modeline-hidden-level' property.
2720 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2721 xscheme-modeline-initialize. All callers changed.
2723 * strokes.el (strokes-lighter): Rename from
2724 strokes-modeline-string.
2726 * textmodes/sgml-mode.el (html-face-tag-alist)
2727 (html-tag-face-alist): Use mode-line face instead of obsolete
2730 2012-06-02 Stefan Merten <smerten@oekonux.de>
2732 * textmodes/rst.el: Always require `cl'.
2733 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
2735 2012-06-02 Chong Yidong <cyd@gnu.org>
2737 * image.el (imagemagick-enabled-types): Rename from
2738 imagemagick-types-enable. Add many more types.
2739 (imagemagick-types-inhibit): Change default to nil.
2740 (imagemagick-filter-types): Caller changed.
2742 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2744 * emacs-lisp/cl-macs.el: Use backquotes.
2745 (cl-transform-function-property): Use eval-and-compile rather than
2747 (defstruct): Use declare-function instead of with-no-warnings.
2749 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2750 (byte-compile-output-docform): Re-add the print-circle bindings.
2751 (byte-compile-fix-header): Use #$ just because it's shorter.
2752 (byte-compile-output-file-form): Remove defun/defmacro.
2754 2012-06-01 Martin Rudalics <rudalics@gmx.at>
2756 * simple.el (choose-completion): Remove now obsolete binding for
2759 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
2761 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2762 in order to avoid "Stack overflow in regexp matcher".
2764 2012-05-31 Glenn Morris <rgm@gnu.org>
2766 * image.el: For clarity, call imagemagick-register-types at
2767 top-level, rather than relying on a custom :initialize.
2768 (imagemagick-types-enable): New option. (Bug#11557)
2769 (imagemagick-filter-types): New function. (Bug#7406)
2770 (imagemagick-register-types): Use imagemagick-filter-types.
2771 If disabling support, remove elements altogether rather
2772 than using an impossible regexp.
2773 (imagemagick-types-inhibit): Give it the default init function.
2775 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2777 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2778 Handle arbitrary file name lengths (Bug#11585).
2780 2012-05-31 Martin Rudalics <rudalics@gmx.at>
2782 * desktop.el (desktop-read): Clear previous and next buffers for
2783 all windows and bury *Messages* buffer (bug#11556).
2785 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2787 Add `declare' for `defun'. Align `defmacro's with it.
2788 * emacs-lisp/easy-mmode.el (define-minor-mode)
2789 (define-globalized-minor-mode): Don't autoload the var definitions.
2790 * emacs-lisp/byte-run.el: Use lexical-binding.
2791 (defun-declarations-alist, macro-declarations-alist): New vars.
2792 (defmacro, defun): Use them.
2793 (make-obsolete, define-obsolete-function-alias)
2794 (make-obsolete-variable, define-obsolete-variable-alias):
2796 (macro-declaration-function): Mark obsolete.
2797 * emacs-lisp/autoload.el: Use lexical-binding.
2798 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2800 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2802 * textmodes/ispell.el (ispell-with-no-warnings):
2804 (ispell-kill-ispell, ispell-change-dictionary):
2805 Use `called-interactively-p' for Emacs instead of obsolete
2808 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2810 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2811 (macro-declaration-function): Move var from C code.
2812 (macro-declaration-function): Define function with defalias.
2813 * emacs-lisp/macroexp.el (macroexpand-all-1):
2814 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2815 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2816 defun/defmacro any more.
2817 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2818 Provide fallback for unknown arglist.
2819 (byte-compile-arglist-warn): Change calling convention.
2820 (byte-compile-output-file-form): Move print-vars binding.
2821 (byte-compile-output-docform): Simplify accordingly.
2822 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2823 (byte-compile-defmacro-declaration): Remove.
2824 (byte-compile-file-form-defmumble): Generalize to defalias.
2825 (byte-compile-output-as-comment): Return byte-positions.
2826 Simplify callers accordingly.
2827 (byte-compile-lambda): Use `assert'.
2828 (byte-compile-defun, byte-compile-defmacro): Remove.
2829 (byte-compile-file-form-defalias):
2830 Use byte-compile-file-form-defmumble.
2831 (byte-compile-defalias-warn): Remove.
2833 2012-05-29 Stefan Merten <smerten@oekonux.de>
2835 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
2836 possible. Fix authors. Improve comments. Improve loading of `cl'.
2838 (rst-mode-abbrev-table): Merge definition.
2839 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2840 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2842 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
2844 * calendar/icalendar.el
2845 (icalendar-export-region): Export UID properly.
2847 2012-05-29 Leo Liu <sdl.web@gmail.com>
2848 * calendar/icalendar.el (icalendar-import-format):
2849 Add `icalendar-import-format-uid' (Bug#11525).
2850 (icalendar-import-format-uid): New.
2851 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2854 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2856 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2857 different alternative patterns.
2858 (pcase-codegen): Be more careful to preserve identity.
2859 (pcase--u1): Don't forget to mark vars as used.
2861 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2862 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2863 (byte-compile-from-buffer): ...rather than here.
2865 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2866 functions from byte-compile-function-environment.
2868 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
2870 * window.el (window-deletable-p): Avoid deleting the root window
2871 of a frame with an active minibuffer.
2873 2012-05-29 Martin Rudalics <rudalics@gmx.at>
2875 * simple.el (choose-completion): Use quit-window (Bug#11567).
2877 2012-05-29 Chong Yidong <cyd@gnu.org>
2879 * whitespace.el (whitespace-cleanup): Fix usage of
2880 whitespace-empty-at-bob-regexp (Bug#11492).
2882 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2884 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2887 2012-05-29 Juri Linkov <juri@jurta.org>
2889 * isearch.el (isearch-mode-map): Bind `M-s _' to
2890 `isearch-toggle-symbol'. Bind `M-s c' to
2891 `isearch-toggle-case-fold'.
2892 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2893 (isearch-forward): Add `M-s _' to the docstring.
2894 (isearch-forward-symbol, isearch-toggle-case-fold)
2895 (isearch-symbol-regexp): New functions. (Bug#11381)
2897 2012-05-29 Juri Linkov <juri@jurta.org>
2899 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2900 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2901 a function, call it to get the regexp.
2902 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2903 property `isearch-message-prefix' instead of the string "word ".
2904 (isearch-search-fun-default): For the case of `isearch-word',
2905 return a lambda that calls re-search-forward/re-search-backward
2906 with a regexp returned by `word-search-regexp' or by the function
2909 2012-05-29 Juri Linkov <juri@jurta.org>
2911 * isearch.el (isearch-search-fun-default): New function.
2912 (isearch-search-fun): Move default part to the new function
2913 `isearch-search-fun-default'.
2914 (isearch-search-fun-function): Set the default value to
2915 `isearch-search-fun-default'. (Bug#11381)
2917 * comint.el (comint-history-isearch-end):
2918 Use `isearch-search-fun-default'.
2919 (comint-history-isearch-search): Use `isearch-search-fun-default'
2920 and remove spacial case for `isearch-word'.
2921 (comint-history-isearch-wrap): Remove spacial case for
2924 * hexl.el (hexl-isearch-search-function):
2925 Use `isearch-search-fun-default'.
2927 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2928 Use `word-search-regexp' for `isearch-word'.
2930 * misearch.el (multi-isearch-search-fun):
2931 Use `isearch-search-fun-default'.
2933 * simple.el (minibuffer-history-isearch-search):
2934 Use `isearch-search-fun-default' and remove spacial case for
2936 (minibuffer-history-isearch-wrap): Remove spacial case for
2939 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2940 Remove spacial case for `isearch-word'.
2941 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2943 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2945 Decrease XEmacs incompatibilities.
2946 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2948 (flyspell-delete-region-overlays): Use alternative definition for
2950 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2951 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2952 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2953 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2954 `define-obsolete-face-alias' under XEmacs, but old method.
2956 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2957 `with-no-warnings' definition or Emacs alias.
2958 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2959 (ispell-word): Do not use `region-p' if XEmacs.
2961 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2963 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2964 Check for `ispell-dictionary-base-alist' instead of full
2965 `ispell-dictionary-alist'.
2966 (ispell-init-process): Show spellchecker when starting new Ispell
2969 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2971 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2972 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2974 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
2976 * version.el (motif-version-string, gtk-version-string)
2977 (ns-version-string): Declare.
2979 2012-05-27 Juri Linkov <juri@jurta.org>
2981 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2982 after the `eval-defun-1' specialcaseing
2983 like in `edebug-eval-defun' (bug#10181).
2985 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2986 like in `eval-defun-1'.
2988 2012-05-27 Eli Zaretskii <eliz@gnu.org>
2990 * mail/sendmail.el (mail-yank-region):
2991 Recognize rmail-yank-current-message in addition to insert-buffer.
2992 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
2993 a *mail* buffer created through rmail-start-mail with sendmail as
2996 2012-05-27 Chong Yidong <cyd@gnu.org>
2998 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2999 Default to 256 (Bug#11267).
3001 * help.el (describe-mode): Doc fix.
3003 2012-05-26 Glenn Morris <rgm@gnu.org>
3005 * w32-fns.el (w32-init-info): Remove.
3006 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3008 * info.el (info-initialize): For self-contained NS builds, put the
3009 included info/ directory at the front. (Bug#2791)
3011 * paths.el (Info-default-directory-list): Make it a defcustom,
3012 mainly so that we can use custom-initialize-delay.
3014 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3016 * subr.el (buffer-has-markers-at): Mark obsolete.
3018 * subr.el (lambda): Use declare.
3020 * emacs-lisp/lisp-mode.el (lambda):
3021 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3023 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3025 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3027 2012-05-26 Glenn Morris <rgm@gnu.org>
3029 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3031 2012-05-25 Glenn Morris <rgm@gnu.org>
3033 * paths.el: Remove no-byte-compile.
3034 * loadup.el: No need to load paths.el uncompiled.
3036 * image.el (imagemagick-types-inhibit): Doc fix.
3038 * version.el: Remove no-byte-compile and associated formatting.
3039 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3040 is ancient code from when there was an "inc-vers.el".
3042 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3044 * progmodes/gdb-mi.el: Minor style changes.
3045 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3046 Turn into minor modes.
3047 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3048 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3049 (gdb-shell): Remove unneeded let-binding.
3050 (gdb-get-many-fields): Eliminate O(n²) behavior.
3052 2012-05-25 Eli Zaretskii <eliz@gnu.org>
3054 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3055 platforms that don't link in fontset.c.
3057 2012-05-25 Juri Linkov <juri@jurta.org>
3059 Use the same diff color scheme as in modern VCSes (bug#10181).
3061 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3062 to avoid confusion with `diff-added' that now uses green colors.
3063 (diff-removed): Use shades of red.
3064 (diff-added): Use shades of green.
3065 (diff-changed): Leave just the yellow color.
3066 (diff-use-changed-face): New variable.
3067 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3068 how to highlight context diff changes.
3069 (diff-refine-change): Use shades of yellow.
3070 (diff-refine-removed): New face that uses shades of red.
3071 (diff-refine-added): New face that uses shades of green.
3072 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3073 `diff-refine-removed' in the call to `smerge-refine-subst'
3074 depending on the value of `diff-use-changed-face'.
3076 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3077 (smerge-other): Use shades of green.
3078 (smerge-base): Use shades of yellow.
3079 (smerge-refined-change): Empty face.
3080 (smerge-refined-removed): New face that uses shades of red.
3081 (smerge-refined-added): New face that uses shades of green.
3082 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3083 args `props-r' and `props-a', and use them. Doc fix.
3084 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3085 on its value use different faces `smerge-refined-change',
3086 `smerge-refined-removed', `smerge-refined-added' in the call to
3087 `smerge-refine-subst'.
3089 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3090 Add face condition `min-colors 88' with shades of red.
3091 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3092 `min-colors 88' with shades of green.
3093 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3094 `min-colors 88' with shades of yellow.
3096 2012-05-24 Glenn Morris <rgm@gnu.org>
3098 * paths.el (prune-directory-list, remote-shell-program): Move to...
3099 * files.el (prune-directory-list, remote-shell-program): ...here.
3100 For the latter, delay initialization, prefer ssh, just search PATH.
3102 * paths.el (term-file-prefix): Move to faces.el (the only user).
3103 * faces.el (term-file-prefix): Move here, make it a defcustom.
3105 * paths.el (news-directory, news-path, news-inews-program):
3106 Move to gnus/nnspool.el.
3108 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3110 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3111 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3112 Make the latter a defcustom, with a delayed initialization.
3114 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3115 These were deleted from Gnus itself late 2010.
3117 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
3119 * progmodes/which-func.el (which-func-ff-hook):
3120 Check against user-error, not error.
3122 * emacs-lisp/edebug.el (top): Do not load or set up loading of
3123 cl-specs.el, which no longer exists.
3125 2012-05-22 Glenn Morris <rgm@gnu.org>
3127 * info.el (info-emacs-bug): New command.
3128 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3129 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3131 2012-05-21 Glenn Morris <rgm@gnu.org>
3133 * makefile.w32-in (update-subdirs-SH):
3134 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3136 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3138 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3140 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3141 Simplify Maven regexp, and make sure the file can't start with a space
3144 2012-05-21 Glenn Morris <rgm@gnu.org>
3146 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3147 Scrap superfluous subshells.
3149 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3151 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3152 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3154 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3156 * calc/calc.el (calc-ensure-consistent-units): New variable.
3158 * calc/calc-units.el (math-consistent-units-p)
3159 (math-check-unit-consistency): New functions.
3160 (calc-quick-units, calc-convert-units):
3161 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3163 (calc-extract-units): Fix typo.
3165 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3167 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3169 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3170 (flyspell-default-deplacement-commands): Don't spell check after
3171 repeated window/frame switches (e.g. triggered by mouse-movement).
3172 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3173 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3174 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3175 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3177 (flyspell-get-casechars, flyspell-get-not-casechars):
3178 Simplify; Don't bother removing a ] just to add it back.
3179 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3181 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3183 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3185 (math-function-table): Add support for more C functions.
3187 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3189 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3190 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3191 Protect delay handling for otherchars against empty otherchars.
3193 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3195 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3196 their respective macro declarations.
3197 * skeleton.el (define-skeleton):
3198 * progmodes/compile.el (define-compilation-mode):
3199 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3200 (define-ibuffer-filter):
3201 * emacs-lisp/generic.el (define-generic-mode):
3202 * emacs-lisp/easy-mmode.el (define-minor-mode)
3203 (define-globalized-minor-mode):
3204 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3205 * emacs-lisp/byte-run.el (defsubst):
3206 * custom.el (deftheme): Add doc-string metadata.
3208 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3210 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3212 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3214 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3216 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3217 * emacs-lisp/cl-macs.el: Idem.
3218 * emacs-lisp/cl-specs.el: Remove.
3220 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3222 Minor renaming of internal CL functions and variables.
3223 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3224 (cl--position): Rename from cl-position.
3225 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3226 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3227 (cl--random-state): Rename from *random-state*.
3229 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3231 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3232 parens around the arg list (bug#11499).
3234 2012-05-17 Juri Linkov <juri@jurta.org>
3236 * isearch.el (word-search-regexp, word-search-backward)
3237 (word-search-forward, word-search-backward-lax)
3238 (word-search-forward-lax): Move functions from search.c
3239 (bug#10145, bug#11381).
3241 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3243 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3244 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3245 Delay for otherchars as for normal word components.
3247 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3249 * minibuffer.el (completion--sifn-requote): Fix last change.
3250 (minibuffer-local-must-match-filename-map):
3251 Move define-obsolete-variable-alias before its var.
3253 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3255 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3257 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3259 (completion--string-equal-p): New function.
3260 (completion--twq-all): Use it to get better assertion failure data.
3262 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3263 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3264 (shell--requote-argument): New functions.
3265 (shell-completion-vars): Use them.
3266 (shell--parse-pcomplete-arguments): Rename from
3267 shell-parse-pcomplete-arguments.
3268 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3269 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3270 Obey comint-file-name-quote-list.
3272 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3273 (smie-indent-keyword): Use it.
3275 2012-05-14 Stefan Merten <smerten@oekonux.de>
3277 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3279 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3281 * net/rlogin.el (rlogin-mode-map): Fix last change.
3283 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
3285 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3286 the following \r\n using a single `process-send-string', since the
3287 Lotus SMTP server refuses to accept any commands if they are sent
3288 with two `process-send-string's (Bug#11444).
3290 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3292 * shell.el (shell-parse-pcomplete-arguments):
3293 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
3295 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3297 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
3298 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3299 (image-transform-width, image-transform-fit-width): New functions.
3300 (image-transform-properties): Use them.
3301 (image-transform-check-size): New function.
3302 (image-toggle-display-image): Use it (for testing).
3303 (image-transform-set-rotation): Reduce angle mod 360.
3304 Delete obsolete comment.
3306 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3308 * image-mode.el: Fix scaling (bug#11399).
3309 (image-transform-resize): Doc fix.
3310 (image-transform-properties): Default scale is 1 and height should
3313 2012-05-13 Johan Bockgård <bojohan@gnu.org>
3315 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3316 than hard-coding `car', to fix misbehavior when moving forward.
3318 2012-05-13 Chong Yidong <cyd@gnu.org>
3320 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3321 (tabulated-list-entries, tabulated-list-padding)
3322 (tabulated-list-sort-key): Make permanent-local.
3324 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3325 (electric-buffer-list): Put electric buffer menu
3326 command descriptions in this docstring, instead of the docstring
3327 of electric-buffer-menu-mode. Code cleanups.
3328 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3329 Electric-buffer-menu-mode.
3330 (electric-buffer-update-highlight): Minor code cleanup.
3332 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
3334 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3337 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3339 Move define-obsolete-variable-alias before the var's definition.
3340 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3341 * tooltip.el (tooltip-hook):
3342 * textmodes/reftex-toc.el (reftex-toc-map):
3343 * textmodes/reftex-sel.el (reftex-select-label-map)
3344 (reftex-select-bib-map):
3345 * textmodes/reftex-index.el (reftex-index-map)
3346 (reftex-index-phrases-map):
3347 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3348 * progmodes/meta-mode.el (meta-mode-map):
3349 * novice.el (disabled-command-hook):
3350 * loadhist.el (unload-hook-features-list):
3351 * frame.el (blink-cursor):
3352 * files.el (find-file-not-found-hooks, write-file-hooks)
3353 (write-contents-hooks):
3354 * emulation/tpu-edt.el (GOLD-map):
3355 * emacs-lock.el (emacs-lock-from-exiting):
3356 * emacs-lisp/generic.el (generic-font-lock-defaults):
3357 * emacs-lisp/chart.el (chart-map):
3358 * dos-fns.el (register-name-alist):
3359 * dired-x.el (dired-omit-files-p):
3360 * desktop.el (desktop-enable):
3361 * cus-edit.el (custom-mode-hook):
3362 * buff-menu.el (buffer-menu-mode-hook):
3363 * bookmark.el (bookmark-read-annotation-text-func)
3364 (bookmark-exit-hooks):
3365 * allout.el (allout-mode-deactivate-hook)
3366 (allout-exposure-change-hook, allout-structure-added-hook)
3367 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3368 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3369 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3370 comes before the corresponding variable's definition.
3372 2012-05-12 Chong Yidong <cyd@gnu.org>
3374 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
3375 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3376 (Buffer-menu-mode-map): Bind it.
3377 (Buffer-menu--pretty-name): Add a mouse-face property.
3379 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3381 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3382 (prolog-upper-case-string, prolog-lower-case-string)
3383 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3384 (prolog-use-smie, prolog-smie-grammar): New vars.
3385 (prolog-smie-forward-token, prolog-smie-backward-token)
3386 (prolog-smie-rules): New funs.
3387 (prolog-comment-indent): Remove.
3388 (prolog-mode-variables): Use default comment indentation instead.
3390 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3391 (prolog-mode): Don't call them any more.
3392 (prolog-electric-colon, prolog-electric-dash)
3393 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3395 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3397 * minibuffer.el (completion--twq-all): Again, allow case differences.
3399 * term.el: Move keymap initialization code to be more idiomatic.
3400 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3401 (term-terminal-menu): Move initialization into declaration.
3402 (term-escape-char): Let the user set it in her .emacs.
3404 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3405 Provide SMIE-based indentation (not enabled by default yet).
3406 (sh-mode-map): Don't bind electric keys.
3407 Use electric-pair-mode instead of skeleton-pair.
3408 (sh-assignment-regexp): Fit within 80 columns.
3409 (sh-indent-supported): Specify actual shell name instead of boolean.
3410 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3411 (sh-maybe-here-document): Use it. Make obsolete.
3412 (sh-electric-here-document-mode) New minor mode.
3413 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3414 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3415 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3416 (sh-smie-rc-grammar, sh-use-smie): New vars.
3417 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3418 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3419 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3420 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3421 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3422 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3423 (sh-set-shell): Use smie-setup if requested.
3425 * term.el (term-set-escape-char): Properly set term-escape-char.
3426 See http://stackoverflow.com/questions/10524656.
3428 2012-05-10 Chong Yidong <cyd@gnu.org>
3430 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3431 Use url-generic-parse-url, and handle host names and Windows
3433 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3434 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3435 URL schemes to work on.
3436 (ffap--toggle-read-only): New function.
3437 (ffap-read-only, ffap-read-only-other-window)
3438 (ffap-read-only-other-frame): Use it.
3439 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3440 necessary for ffap-url-unwrap-remote.
3442 2012-05-10 Dave Abrahams <dave@boostpro.com>
3444 * cus-start.el (create-lockfiles): Add it.
3446 2012-05-09 Chong Yidong <cyd@gnu.org>
3448 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3449 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3451 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3453 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3455 2012-05-09 Chong Yidong <cyd@gnu.org>
3457 * ansi-color.el (ansi-color-process-output): Check for validity of
3458 comint-last-output-start before using it. This avoids a bad
3459 interaction with gdb-mi's input/output buffer.
3461 2012-05-09 Glenn Morris <rgm@gnu.org>
3463 * files.el (dir-locals-read-from-file):
3464 Mention dir-locals in any error message.
3466 2012-05-09 Chong Yidong <cyd@gnu.org>
3468 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3469 package (Bug#11410).
3471 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3472 variables into description.
3474 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3476 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3477 shell-delimiter-argument-list (bug#11348).
3478 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3480 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
3482 * textmodes/rst.el: Silence byte-compiler warnings.
3483 (rst-re-alist, rst-reset-section-caches): Move around.
3484 (rst-re): Use `characterp', not `char-valid-p'.
3485 (font-lock-beg, font-lock-end): Declare.
3487 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3488 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3490 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3492 2012-05-08 Glenn Morris <rgm@gnu.org>
3494 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3496 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3498 * vc/log-edit.el: Add GNU coding standards highlighting.
3499 (log-edit-font-lock-gnu-style)
3500 (log-edit-font-lock-gnu-keywords): New vars.
3501 (log-edit-font-lock-keywords): New fun.
3502 (log-edit-mode): Don't fold case in font-lock.
3503 (log-edit-font-lock-keywords): Do not assume case-folding.
3505 * imenu.el: Misc cleanup. Make docstrings out of comments.
3506 Use lexical-binding.
3507 (imenu--index-alist, imenu--last-menubar-index-alist)
3508 (imenu-menubar-modified-tick): Use defvar-local.
3509 (imenu--split-menu): Remove unused var.
3510 (imenu--cleanup-seen): Declare as global.
3511 (imenu--cleanup): Use dolist.
3513 * subr.el (defvar-local): Add debug spec and doc-string position.
3515 2012-05-08 Glenn Morris <rgm@gnu.org>
3517 * language/burmese.el, language/cham.el, language/czech.el:
3518 * language/english.el, language/georgian.el, language/greek.el:
3519 * language/japanese.el, language/khmer.el, language/korean.el:
3520 * language/lao.el, language/misc-lang.el, language/romanian.el:
3521 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3522 * language/thai.el, language/utf-8-lang.el:
3523 Remove no-byte-compile setting.
3525 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3527 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3529 * progmodes/make-mode.el (makefile-browse):
3530 Remove unnecessary interactive. (Bug#11324)
3532 2012-05-07 Glenn Morris <rgm@gnu.org>
3534 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3536 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3538 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3540 * loadup.el: Preload newcomment.el.
3541 * newcomment.el: Move autoload-only code to toplevel.
3543 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3544 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3545 Handle new :right-align column property.
3546 (tabulated-list-print-col): Idem, plus use `display' text-property to
3547 try and preserve alignment for variable pitch fonts.
3549 2012-05-07 Chong Yidong <cyd@gnu.org>
3551 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3552 (tabulated-list-use-header-line): New var.
3553 (tabulated-list-init-header): Use it.
3554 (tabulated-list-print-fake-header): New function.
3555 (tabulated-list-print): Use it.
3556 (tabulated-list-sort-button-map): Add non-header-line commands.
3557 (tabulated-list-init-header): Add column name property to basic
3559 (tabulated-list-col-sort): Handle non-header-line button case.
3560 (tabulated-list--sort-by-column-name): Fix a corner case.
3562 * buff-menu.el (list-buffers--refresh):
3563 Handle Buffer-menu-use-header-line.
3565 2012-05-06 Chong Yidong <cyd@gnu.org>
3567 * buff-menu.el: Convert to Tabulated List mode.
3568 (Buffer-menu-buffer+size-width): Make obsolete.
3569 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3570 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3571 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3572 documentation into docstring of buffer-menu.
3573 (Buffer-menu-toggle-files-only): Add an informative message.
3574 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3575 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3576 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3577 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3578 (Buffer-menu-execute, Buffer-menu-select)
3579 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3580 (Buffer-menu-bury): Use Tabulated List machinery.
3581 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3582 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
3584 (list-buffers--refresh): New function.
3585 (list-buffers-noselect): Use it.
3586 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3587 (Buffer-menu--pretty-file-name): New helper functions.
3589 * loadup.el: Preload tabulated-list.
3591 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3592 tabulated-list-sort-column.
3593 (tabulated-list-init-header): Add the initial aligning space even
3594 if tabulated-list-padding is zero.
3596 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3598 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3599 whose cdr is not a cons cell correctly (bug#11038).
3601 2012-05-06 Chong Yidong <cyd@gnu.org>
3603 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3604 Accept additional plist in column descriptors.
3605 (tabulated-list-init-header): Obey it.
3606 (tabulated-list-get-entry): New function.
3607 (tabulated-list-put-tag): Use it. Use string-width instead of
3609 (tabulated-list--column-number): New function.
3610 (tabulated-list-print): Use it.
3611 (tabulated-list-print-col): New function.
3612 Set `tabulated-list-column-name' property on each column's text.
3613 (tabulated-list-print-entry): Use it.
3614 (tabulated-list-delete-entry, tabulated-list-set-col):
3616 (tabulated-list-sort-column): New command (Bug#11337).
3618 * buff-menu.el (list-buffers): Move C-x C-b binding from
3619 buff-menu.el to bindings.el.
3621 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3622 :advertised-binding feature.
3624 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3626 * progmodes/compile.el (compilation-internal-error-properties):
3627 Calculate start position correctly when end-col is set but
3628 end-line is not (Bug#11382).
3630 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3632 * man.el (Man-unindent): Use text-property-default-nonsticky to
3633 prevent untabify from inheriting face properties (Bug#11408).
3635 2012-05-05 Stefan Merten <smerten@oekonux.de>
3637 * textmodes/rst.el: Major merge with upstream development up to
3638 Docutils SVN r7399 / rst.el V1.2.1.
3640 Clarify maintainership and authors.
3642 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3643 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3644 (rst-official-version, rst-official-cvs-rev, rst-version)
3645 (rst-package-emacs-version-alist): New functions and variables
3646 for version information.
3648 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3649 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3650 (rst-mode-syntax-table, rst-mode): New and corrected functions
3651 and variables representing reStructuredText features.
3653 (rst-re): New function for reStructuredText regexes. Use in
3656 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3657 (rst-mode-map): Rebind keys.
3659 (rst-mode-lazy, rst-font-lock-keywords)
3660 (rst-font-lock-extend-region)
3661 (rst-font-lock-extend-region-internal)
3662 (rst-font-lock-extend-region-extend)
3663 (rst-font-lock-find-unindented-line-limit)
3664 (rst-font-lock-find-unindented-line-match)
3665 (rst-adornment-level, rst-font-lock-adornment-level)
3666 (rst-font-lock-adornment-match)
3667 (rst-font-lock-handle-adornment-pre-match-form)
3668 (rst-font-lock-handle-adornment-matcher): Major revision of
3669 font-locking. Integrate with other code. Use `jit-lock-mode'.
3671 (rst-preferred-adornments, rst-adjust-hook)
3672 (rst-new-adornment-down, rst-preferred-bullets)
3673 (rst-preferred-bullets, rst-indent, rst-indent-width)
3674 (rst-indent-field, rst-indent-literal-normal)
3675 (rst-indent-literal-minimized, rst-indent-comment): Change,
3676 extend and improve customization.
3678 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3679 (rst-normalize-cursor-position, rst-get-decoration)
3680 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3681 (rst-rstrip, rst-toc-insert-find-delete-contents)
3682 (rst-shift-fill-region, rst-compute-bullet-tabs)
3683 (rst-debug-print-tabs, rst-debug-mark-found)
3684 (rst-shift-region-guts, rst-shift-region-right)
3685 (rst-shift-region-left, rst-use-char-classes)
3686 (rst-font-lock-keywords-function)
3687 (rst-font-lock-indentation-point)
3688 (rst-font-lock-find-unindented-line-begin)
3689 (rst-font-lock-find-unindented-line-end)
3690 (rst-font-lock-find-unindented-line)
3691 (rst-font-lock-adornment-point, rst-font-lock-level)
3692 (rst-adornment-level-alist): Remove functions and variables.
3694 (rst-compare-adornments, rst-get-adornment-match)
3695 (rst-suggest-new-adornment, rst-get-adornments-around)
3696 (rst-adornment-complete-p, rst-get-next-adornment)
3697 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3698 (rst-straighten-adornments): Standardize function names to
3699 use "adornment" instead of "decoration". Correct callers.
3700 Similar standardizing in many places.
3702 (rst-update-section, rst-adjust, rst-promote-region)
3703 (rst-enumerate-region, rst-bullet-list-region)
3704 (rst-repeat-last-character): Correct use of `interactive'.
3706 (rst-classify-adornment, rst-find-all-adornments)
3707 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3708 (rst-find-leftmost-column, rst-repeat-last-character):
3711 (rst-find-title-line, rst-reset-section-caches)
3712 (rst-get-adornments-around, rst-adjust-adornment-work)
3713 (rst-arabic-to-roman, rst-roman-to-arabic)
3714 (rst-insert-list-pos, rst-insert-list-new-item)
3715 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3718 (rst-all-sections, rst-section-hierarchy)
3719 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3722 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3723 configuration instead of only buffer. Change where necessary.
3725 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3726 (rst-shift-region, rst-adaptive-fill): New functions for
3727 indentation and filling.
3729 (rst-comment-line-break, rst-comment-indent)
3730 (rst-comment-insert-comment, rst-comment-region)
3731 (rst-uncomment-region): New functions for handling comments.
3733 (rst-compile): Quote shell arguments.
3735 (rst-compile-pdf-preview, rst-compile-slides-preview):
3736 Delete temporary files after use.
3738 2012-05-05 Glenn Morris <rgm@gnu.org>
3740 * calendar/cal-html.el: Optionally include holidays in the output.
3741 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3742 (cal-html-holidays): New option.
3743 (cal-html-css-default): Add holiday entry.
3744 (holiday-in-range): Autoload it.
3745 (cal-html-htmlify-entry): Add optional class argument.
3746 (cal-html-htmlify-list): Add optional holidays argument.
3747 (cal-html-insert-agenda-days): Include holidays in the output.
3748 (cal-html-one-month): Maybe include holidays.
3750 * calendar/holidays.el (holiday-in-range):
3751 Move here from cal-tex-list-holidays.
3752 * calendar/cal-tex.el (cal-tex-list-holidays):
3753 Make it an obsolete alias for holiday-in-range. Update all callers.
3755 2012-05-05 Chong Yidong <cyd@gnu.org>
3757 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3760 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3762 * files.el (file-auto-mode-skip): New var.
3763 (set-auto-mode-1): Use it.
3765 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3767 * repeat.el: Use lexical-binding.
3768 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3769 (repeat-undo-count): Remove.
3771 * progmodes/octave-mod.el (octave-abbrev-start):
3772 * progmodes/f90.el (f90-abbrev-start):
3773 * face-remap.el (text-scale-adjust):
3774 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3776 * emacs-lisp/pcase.el (pcase--let*): New function.
3777 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3779 (pcase--split-pred): Be more clever about ruling out overlap between
3780 a predicate and some constant pattern.
3781 (pcase--q1): Use `null' instead of (eq foo nil).
3783 * subr.el (setq-local, defvar-local): New macros.
3784 (kbd): Redefine as an alias.
3785 (with-selected-window): Leave unrelated frames alone.
3786 (set-temporary-overlay-map): New function.
3788 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3790 * subr.el (user-error): New function.
3791 * window.el (switch-to-buffer):
3792 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3793 (smerge-match-conflict):
3794 * simple.el (previous-matching-history-element)
3795 (next-matching-history-element, goto-history-element, undo-more)
3797 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3798 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3799 (next-file, tags-loop-scan, list-tags, complete-tag):
3800 * progmodes/compile.el (compilation-loop):
3801 * mouse.el (mouse-minibuffer-check):
3802 * man.el (Man-bgproc-sentinel, Man-goto-page):
3803 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3804 (Info-history-forward, Info-follow-reference, Info-menu)
3805 (Info-extract-menu-item, Info-extract-menu-counting)
3806 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3807 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3808 (Info-next-reference, Info-prev-reference, Info-index)
3809 (Info-index-next, Info-follow-nearest-node)
3810 (Info-copy-current-node-name):
3811 * imenu.el (imenu--make-index-alist)
3812 (imenu-default-create-index-function, imenu-add-to-menubar):
3813 * files.el (basic-save-buffer, recover-file):
3814 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3815 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3816 (checkdoc-message-text, checkdoc-defun):
3817 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3818 * cus-edit.el (customize-changed-options, customize-rogue)
3819 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3820 (custom-variable-mark-to-reset-standard)
3821 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3823 * completion.el (check-completion-length):
3824 * comint.el (comint-search-arg)
3825 (comint-previous-matching-input-string-position)
3826 (comint-previous-matching-input)
3827 (comint-replace-by-expanded-history-before-point, comint-send-input)
3828 (comint-copy-old-input, comint-backward-matching-input)
3829 (comint-goto-process-mark, comint-set-process-mark):
3830 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3831 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3833 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3835 * dabbrev.el (dabbrev--ignore-case-p): New function.
3836 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3839 * files.el (automount-dir-prefix): Mark as obsolete.
3841 2012-05-04 Glenn Morris <rgm@gnu.org>
3843 * patcomp.el, play/bruce.el: Move to obsolete/.
3845 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3847 Fix minor Y10k bugs.
3848 * arc-mode.el (archive-unixdate):
3849 * autoinsert.el (auto-insert-alist):
3850 * calc/calc-forms.el (math-this-year):
3851 * emacs-lisp/copyright.el (copyright-current-year)
3852 (copyright-update-year, copyright):
3853 * tar-mode.el (tar-clip-time-string):
3854 * time.el (display-time-update):
3855 Don't assume years have 4 digits.
3857 2012-05-04 Chong Yidong <cyd@gnu.org>
3859 * dos-w32.el (file-name-buffer-file-type-alist)
3860 (direct-print-region-use-command-dot-com):
3861 * ffap.el (ffap-menu-regexp):
3862 * find-file.el (ff-special-constructs):
3863 * follow.el (follow-debug):
3864 * forms.el (forms--debug):
3865 * iswitchb.el (iswitchb-all-frames):
3866 * ido.el (ido-all-frames):
3867 * emacs-lisp/timer.el (timer-max-repeats):
3868 * mail/feedmail.el (feedmail-mail-send-hook)
3869 (feedmail-mail-send-hook-queued):
3870 * mail/footnote.el (footnote-signature-separator):
3871 * mail/mailabbrev.el (mail-alias-separator-string)
3872 (mail-abbrev-mode-regexp):
3873 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3874 * progmodes/idlwave.el (idlwave-libinfo-file)
3875 (idlwave-default-completion-case-is-down)
3876 (idlwave-library-routines): Convert defvars to defcustoms.
3878 * mail/rmail.el (rmail-decode-mime-charset):
3879 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3880 (idlwave-shell-fix-inserted-breaks)
3881 (idlwave-shell-activate-alt-keybindings)
3882 (idlwave-shell-use-breakpoint-glyph):
3883 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3885 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3887 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3889 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3891 * progmodes/verilog-mode.el (font-lock-keywords):
3892 Fix mis-highligting auto. Reported by Craig Barner.
3893 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3894 defines from global name space. Reported by Dan Dever.
3895 (verilog-auto-reset, verilog-auto-reset-widths)
3896 (verilog-auto-tieoff): Support using unbased numbers for
3897 AUTORESET and AUTOTIEOFF.
3898 (verilog-submit-bug-report): Update variable list.
3899 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3900 parenthesis from not matching. Reported by Michael Rytting.
3901 (verilog-auto-template-lint): Fix hash error when linting modules
3902 with no used templates.
3903 (verilog-warn, verilog-warn-error)
3904 (verilog-warn-fatal): When non-interactive report multiple
3905 warnings before exiting. Suggested by Brad Dobbie.
3906 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3907 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3908 to report unused template errors. Reported by Brad Dobbie.
3909 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3910 nets, bug438. Reported by Vns Blore.
3911 (verilog-auto-inout-module, verilog-auto-reg)
3912 (verilog-read-decls, verilog-read-sub-decls-sig)
3913 (verilog-signals-edit-wire-reg, verilog-signals-with):
3914 Fix passing of Verilog data types in ANSI input/output ports
3915 such as "output logic" into the AUTOs. Special case "wire" and
3916 "reg" for backwards compatibility presuming Verilog 2001.
3917 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3918 (verilog-preprocess): Fix replication of preprocess output.
3919 Reported by Brad Dobbie.
3920 (verilog-auto-inst-interfaced-ports):
3921 Create verilog-auto-inst-interfaced-ports, bug429.
3922 Reported by Julian Gorfajn.
3923 (verilog-after-save-font-hook)
3924 (verilog-before-save-font-hook): New variable.
3925 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3926 (verilog-save-font-mods): Wrap disabling fontification, reported
3928 (verilog-do-indent, verilog-pretty-declarations-auto)
3929 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3930 Reported by Pierre-David Pfister.
3931 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3932 of class declarations, bug292. Reported by Kevin Heilman.
3933 (verilog-read-decls): Fix 'parameter type' not appearing in
3934 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3935 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3936 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3937 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3938 Reported by David Kravitz.
3940 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
3942 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3943 assignment with tests in ifs and for loops.
3944 (verilog-extended-complete-re, verilog-complete-reg): Change so
3945 that DPI inport functions don't look like fuction declarations.
3946 (verilog-pretty-expr): Don't line up assignment
3947 operations to the test and increment in if and for loops
3948 (verilog-extended-complete-re, verilog-complete-reg): Change so
3949 that DPI inport functions don't look like fuction declarations.
3951 2012-05-03 Kenichi Handa <handa@m17n.org>
3953 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
3954 decoding, and show a warning message without signaling an error
3957 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3959 * emacs-lisp/bytecomp.el
3960 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3961 since cconv.el might have introduced :fun-body, internal-make-closure,
3962 and friends for bytecomp to handle (bug#11391).
3963 * custom.el (defcustom): Avoid ((λ ..) ..).
3965 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3967 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3969 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
3971 * notifications.el (dbus-debug):
3972 * term/linux.el (gpm-mouse-enable):
3973 * term/screen.el (xterm-register-default-colors): Declare.
3975 2012-05-02 Chong Yidong <cyd@gnu.org>
3977 * cus-start.el (gc-cons-percentage, exec-suffixes)
3978 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3979 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3980 (make-cursor-line-fully-visible, void-text-area-pointer)
3981 (font-list-limit): Add customization data.
3983 * allout.el (allout-exposure-change-functions)
3984 (allout-structure-added-functions)
3985 (allout-structure-deleted-functions)
3986 (allout-structure-shifted-functions): Rename abnormal hooks from
3987 *-hook, and convert to defcustoms.
3988 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3989 Convert to defcustoms.
3990 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3992 * allout-widgets.el: Hook callers changed.
3994 2012-05-02 Eli Zaretskii <eliz@gnu.org>
3996 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3997 the yanked message in preference to the default value of
3998 buffer-file-coding-system.
4000 2012-05-02 Martin Rudalics <rudalics@gmx.at>
4002 * window.el (display-buffer--action-function-custom-type):
4005 2012-05-02 Alan Mackenzie <acm@muc.de>
4007 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4009 2012-05-01 Glenn Morris <rgm@gnu.org>
4011 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4013 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4015 * cus-edit.el (custom-variable-documentation): Simplify with format.
4017 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4018 Stefan Monnier <monnier@iro.umontreal.ca>
4020 * simple.el (suggest-key-bindings, execute-extended-command):
4021 Move from keyboard.c.
4023 2012-05-01 Chong Yidong <cyd@gnu.org>
4025 * follow.el: Eliminate advice.
4026 (set-process-filter, process-filter, sit-for): Advice deleted.
4027 (follow-mode-off-hook): Obsolete hook removed.
4028 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4030 (follow-auto): Use a :set function.
4031 (follow-mode): Rewritten. Don't advise process filters.
4032 (follow-switch-to-current-buffer-all, follow-scroll-up)
4033 (follow-scroll-down): Assume follow-mode is bound.
4034 (follow-comint-scroll-to-bottom)
4035 (follow-align-compilation-windows): New functions.
4036 (follow--window-sorter): New function.
4037 (follow-all-followers): Use it to explicitly sort windows by their
4038 positions; don't make assumptions about next-window order.
4039 (follow-windows-start-end, follow-delete-other-windows-and-split)
4040 (follow-calc-win-start): Doc fix.
4041 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4042 vertical-motion unnecessarily.
4043 (follow-adjust-window): New function.
4044 (follow-post-command-hook): Use it.
4045 (follow-call-set-process-filter, follow-call-process-filter)
4046 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4047 (follow-stop-intercept-process-output, follow-generic-filter):
4049 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
4050 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4051 New functions, replacing advice on scroll-bar-* commands.
4052 (follow-mwheel-scroll): New function (Bug#4112).
4054 * comint.el (comint-adjust-point): New function.
4055 (comint-postoutput-scroll-to-bottom): Use it.
4056 Call follow-comint-scroll-to-bottom for Follow mode buffers.
4058 2012-05-01 Glenn Morris <rgm@gnu.org>
4060 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4061 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4062 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4063 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4064 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4065 Remove no-byte-compile setting.
4067 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4069 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4070 all-completions code to not return a number in the last cdr.
4072 2012-04-30 Leo Liu <sdl.web@gmail.com>
4074 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4077 2012-04-29 Chong Yidong <cyd@gnu.org>
4079 * follow.el (follow-calc-win-end): Rewrite to handle partial
4080 screen lines correctly (Bug#8390).
4081 (follow-avoid-tail-recenter): Minor cleanup.
4083 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4085 Avoid the obsolete `assoc' package.
4086 * speedbar.el (speedbar-refresh): Avoid adelete.
4087 (speedbar-file-lists): Simplify and avoid aput.
4088 * man.el (Man--sections, Man--refpages): New vars, replacing
4089 Man-sections-alist and Man-refpages-alist.
4090 (Man-build-section-alist, Man-build-references-alist):
4091 Use them; avoid aput.
4092 (Man--last-section, Man--last-refpage): New vars.
4093 (Man-follow-manual-reference): Use them.
4094 Use the `default' arg of completing-read.
4095 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4097 2012-04-27 Chong Yidong <cyd@gnu.org>
4099 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4101 * startup.el (x-apply-session-resources): New function.
4103 * term/ns-win.el (ns-initialize-window-system):
4104 * term/w32-win.el (w32-initialize-window-system):
4105 * term/x-win.el (x-initialize-window-system): Use it to properly
4106 set menu-bar-mode and other vars from X resources, even if the
4107 initial frame is not a window-system frame (Bug#2299).
4109 * subr.el (read-key): Avoid running filter function when setting
4110 up temporary tool bar entries (Bug#9922).
4112 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
4114 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4117 2012-04-27 Chong Yidong <cyd@gnu.org>
4119 * select.el (xselect--encode-string): New function, split from
4120 xselect-convert-to-string.
4121 (xselect-convert-to-string): Use it.
4122 (xselect-convert-to-filename, xselect-convert-to-os)
4123 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4124 returned strings are properly encoded (Bug#11315).
4126 2012-04-27 Chong Yidong <cyd@gnu.org>
4128 * simple.el (delete-active-region): Move to killing custom group.
4130 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
4132 * progmodes/which-func.el (which-func-current): Quote %
4133 characters for mode-line processing.
4135 2012-04-27 Chong Yidong <cyd@gnu.org>
4137 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4138 reaching eob (Bug#11286).
4140 2012-04-27 Eli Zaretskii <eliz@gnu.org>
4142 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4143 (gdb): Make it buffer-local and init to zero.
4144 (gdb-control-commands-regexp): New variable.
4145 (gdb-send): Don't wrap in "-interpreter-exec console" if
4146 gdb-control-level is positive. Increment gdb-control-level
4147 whenever the command matches gdb-control-commands-regexp, and
4148 decrement it each time the command is "end". (Bug#11279)
4150 2012-04-27 Martin Rudalics <rudalics@gmx.at>
4152 * window.el (adjust-window-trailing-edge, enlarge-window)
4153 (shrink-window, window-resize):
4154 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4155 windows (Bug#11276).
4157 2012-04-27 Chong Yidong <cyd@gnu.org>
4159 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
4160 fix "missing prefix" warning. All callers changed.
4162 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4164 * emacs-lisp/assoc.el: Move to obsolete/.
4166 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4168 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
4170 * term/ns-win.el (ns-define-service):
4171 * progmodes/pascal.el (pascal-goto-defun):
4172 * progmodes/js.el (js--read-tab):
4173 * progmodes/etags.el (tags-lazy-completion-table):
4174 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4175 * emacs-lisp/ewoc.el (ewoc--wrap):
4176 * emacs-lisp/assoc.el (aput, adelete, amake):
4177 * doc-view.el (doc-view-convert-current-doc):
4178 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4180 2012-04-26 Chong Yidong <cyd@gnu.org>
4182 * image.el (image-type-from-buffer): Only return supported image
4185 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4186 value, for symmetry with diff-end-of-hunk.
4187 (diff-split-hunk, diff-find-source-location)
4188 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4189 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4190 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4191 compute the relevant hunk or file properly (Bug#6005).
4192 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4194 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4203 * vc/vc.el: Replace lexical-let by lexical-binding.
4204 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4205 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4206 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4208 2012-04-26 Chong Yidong <cyd@gnu.org>
4210 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4211 (diff-mode-shared-map): Bind it to / and [remap undo].
4213 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4214 (ediff-window-setup-function): Use it as the default, to set up
4215 windows based on whether the current frame is graphical (Bug#2138).
4216 (ediff-choose-window-setup-function-automatically): Make obsolete.
4218 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4220 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4222 * ffap.el: Remove old code for obsolete package.
4223 (ffap-complete-as-file-p): Remove.
4225 Use completion-table-with-quoting for comint and pcomplete.
4226 * comint.el (comint--unquote&requote-argument)
4227 (comint--unquote-argument, comint--requote-argument): New functions.
4228 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4229 (comint-quote-filename): Use regexp-opt-charset.
4230 (comint--common-suffix, comint--common-quoted-suffix)
4231 (comint--table-subvert): Remove.
4232 (comint-unquote-function, comint-requote-function): New vars.
4233 (comint--complete-file-name-data): Use them with
4234 completion-table-with-quoting.
4235 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4236 * pcomplete.el (pcomplete-arg-quote-list)
4237 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4238 (pcomplete-unquote-argument-function): Default to non-nil.
4239 (pcomplete-unquote-argument): Simplify.
4240 (pcomplete--common-quoted-suffix): Remove.
4241 (pcomplete-requote-argument-function): New var.
4242 (pcomplete--common-suffix): New function.
4243 (pcomplete-completions-at-point): Use completion-table-with-quoting
4244 and completion-table-subvert.
4246 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4247 (minibuffer--double-dollars): Preserve properties.
4248 (completion--sifn-requote): New function.
4249 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4251 * minibuffer.el: Add support for completion of quoted/escaped data.
4252 (completion-table-with-quoting, completion-table-subvert): New funs.
4253 (completion--twq-try, completion--twq-all): New functions.
4254 (completion--nth-completion): New function.
4255 (completion-try-completion, completion-all-completions): Use it.
4257 2012-04-25 Leo Liu <sdl.web@gmail.com>
4259 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4260 Use compilation-message if available to find real filename.
4262 2012-04-25 Chong Yidong <cyd@gnu.org>
4264 * vc/diff-mode.el (diff-setup-whitespace): New function.
4265 (diff-mode): Use it.
4267 * vc/diff.el (diff-sentinel):
4268 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4269 Whitespace mode variables based on diff style (Bug#8612).
4271 2012-04-25 Leo Liu <sdl.web@gmail.com>
4273 * progmodes/python.el (python-send-region): Add suffix .py to the
4276 * files.el (auto-mode-alist): Use javascript-mode instead.
4278 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4280 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
4282 * net/soap-client.el (soap-resolve-references-for-sequence-type)
4283 (soap-resolve-references-for-array-type): Hack to prevent self
4284 references, see Bug#9.
4285 (soap-parse-envelope): Report the contents of the 'detail' node
4286 when receiving a fault reply.
4287 (soap-parse-envelope): Report the contents of the entire 'detail' node.
4289 * net/soap-inspect.el (soap-sample-value-for-simple-type)
4290 (soap-inspect-simple-type): New function.
4292 * net/soap-client.el (soap-simple-type): New struct.
4293 (soap-default-xsd-types, soap-default-soapenc-types)
4294 (soap-decode-basic-type, soap-encode-basic-type):
4295 support unsignedInt and double basic types.
4296 (soap-resolve-references-for-simple-type)
4297 (soap-parse-simple-type, soap-encode-simple-type): New function.
4298 (soap-parse-schema): Parse xsd:simpleType declarations.
4300 * net/soap-client.el (soap-default-xsd-types)
4301 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4302 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4303 the local name of "soapenc:Array".
4304 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
4305 decoding integer, byte and anyURI xsd types.
4307 2012-04-25 Chong Yidong <cyd@gnu.org>
4309 * cus-edit.el (custom-buffer-create-internal): Update header text.
4311 2012-04-25 Eli Zaretskii <eliz@gnu.org>
4313 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4314 settings on 'system-type', not on 'window-system'. On MS-Windows,
4315 set interactive-mode on in GDB.
4317 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4319 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4320 (ruby-syntax-propertize-regexp): Remove.
4321 (ruby-syntax-propertize-function): Split regexp into chunks.
4322 Match following code directly.
4324 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4326 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4327 (ruby-syntax-propertize-regexp): New function.
4328 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4329 by a special keyword.
4331 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4332 (ruby-syntax-general-delimiters-goto-beg)
4333 (ruby-syntax-propertize-general-delimiters): New functions.
4334 (ruby-syntax-propertize-function): Use them to handle GDL.
4335 (ruby-font-lock-keywords): Move old handling of GDL...
4336 (ruby-font-lock-syntactic-keywords): .. to here.
4337 (ruby-calculate-indent): Adjust indentation for GDL.
4339 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
4341 * notifications.el (top): Remove unneeded declarations.
4342 (notifications-specification-version): Change to "1.2".
4343 (notifications-interface, notifications-notify-method)
4344 (notifications-close-notification-method): Fix docstring.
4345 (notifications-get-capabilities-method): New defconst.
4346 (notifications-notify): Add :action-items, :resident and
4347 :transient hints. Change "image_data" to "image-data" and
4348 "image_path" to "image-path".
4349 (notifications-get-capabilities): New defun.
4351 2012-04-24 Leo Liu <sdl.web@gmail.com>
4353 * progmodes/python.el: Move hideshow setup to the end.
4355 2012-04-24 Martin Rudalics <rudalics@gmx.at>
4357 * window.el (handle-select-window): Clear echo area since this is
4358 no more done by read_char (Bug#11304).
4360 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4362 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4363 and `/ M' to filter-derived-mode.
4364 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4365 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4366 (ibuffer-mark-by-mode): Use default rather than initial-input.
4367 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4369 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4371 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4372 (ibuffer-filter-by-derived-mode): New filter.
4373 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4375 2012-04-23 Andreas Politz <politza@fh-trier.de>
4377 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4379 2012-04-23 Chong Yidong <cyd@gnu.org>
4381 * cus-edit.el (customize-apropos, customize-apropos-options):
4382 Disable matching of non-option variables (Bug#11176).
4383 (customize-option, customize-option-other-window)
4384 (customize-changed-options): Doc fix.
4385 (customize-apropos-options, customize-apropos-faces)
4386 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4388 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
4389 Fix word list splitting (Bug#11132).
4390 (apropos-symbol, apropos-keybinding, apropos-label)
4391 (apropos-property, apropos-function-button)
4392 (apropos-variable-button, apropos-misc-button): New faces.
4393 (apropos-symbol-face, apropos-keybinding-face)
4394 (apropos-label-face, apropos-property-face, apropos-match-face):
4395 Variables removed (Bug#8396).
4396 (apropos-library-button, apropos-format-plist, apropos-print)
4397 (apropos-print-doc, apropos-describe-plist): Callers changed.
4399 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
4401 * net/xesam.el (xesam-mode-map): Use let-bound map in
4402 initialization. (Bug#11292)
4404 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4406 Preserve ispell session localwords when switching back to
4409 * textmodes/ispell.el (ispell-buffer-session-localwords):
4410 New buffer-local variable to hold buffer session localwords.
4411 (ispell-kill-ispell): Add option 'clear to delete session
4413 (ispell-command-loop, ispell-change-dictionary)
4414 (ispell-buffer-local-words): Preserve session localwords when
4417 * textmodes/flyspell.el (flyspell-process-localwords)
4418 (flyspell-do-correct): Preserve session localwords when needed.
4420 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4422 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4423 using obsolete `translation-table-for-input'.
4424 (ispell-word, ispell-process-line, ispell-complete-word):
4425 Use plain `insert' instead of removed `ispell-insert-word'.
4427 2012-04-22 Chong Yidong <cyd@gnu.org>
4429 * cus-edit.el (custom-variable-menu)
4430 (custom-variable-reset-saved, custom-face-menu)
4431 (custom-face-reset-saved): If there is no saved value, make the
4432 "reset-saved" operation bring back the default (Bug#9509).
4433 (custom-face-state): Properly detect themed faces.
4435 * faces.el (face-spec-set): Stop supporting deprecated form of
4438 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
4440 Move functions from C to Lisp. Make non-blocking method calls
4441 the default. Implement further D-Bus standard interfaces.
4443 * net/dbus.el (dbus-message-internal): Declare function.
4444 Remove unneeded function declarations.
4445 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4446 (dbus-message-type-method-return, dbus-message-type-error)
4447 (dbus-message-type-signal): Declare variables. Remove local
4449 (dbus-interface-dbus, dbus-interface-peer)
4450 (dbus-interface-introspectable, dbus-interface-properties)
4451 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4453 (dbus-interface-objectmanager): New defconst.
4454 (dbus-call-method, dbus-call-method-asynchronously)
4455 (dbus-send-signal, dbus-method-return-internal)
4456 (dbus-method-error-internal, dbus-register-service)
4457 (dbus-register-signal, dbus-register-method): New defuns, moved
4459 (dbus-call-method-handler, dbus-setenv)
4460 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4462 (dbus-call-method-non-blocking): Make it an obsolete function.
4463 (dbus-unregister-object, dbus-unregister-service)
4464 (dbus-handle-event, dbus-register-property)
4465 (dbus-property-handler): Obey the new structure of
4466 `bus-registered-objects'.
4467 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4468 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4469 Use `dbus-call-method'.
4471 2012-04-22 Chong Yidong <cyd@gnu.org>
4473 * cus-edit.el (custom-commands, custom-reset-menu)
4474 (Custom-reset-standard): Tweak labels.
4475 (custom-reset-button-menu): Change default to t.
4476 (custom-buffer-create-internal): For the custom-reset-button-menu
4477 case, put the revert button first.
4478 (custom-group-subtitle): New face.
4479 (custom-group-value-create): Align docstring to a specific column.
4481 * wid-edit.el (widget-documentation-link-add): Don't handle
4482 indentation in this function.
4483 (widget-documentation-string-indent-to): New function.
4484 (widget-documentation-string-value-create): Use it.
4486 * autorevert.el (auto-revert):
4487 * epg-config.el (epg):
4488 * ibuffer.el (ibuffer):
4491 * eshell/eshell.el (eshell):
4492 * net/ange-ftp.el (ange-ftp):
4493 * progmodes/ebnf2ps.el (postscript):
4494 * progmodes/flymake.el (flymake):
4495 * progmodes/prolog.el (prolog):
4496 * progmodes/verilog-mode.el (verilog-mode):
4497 * progmodes/which-func.el (which-func):
4498 * term/xterm.el (xterm):
4499 * textmodes/picture.el (picture):
4500 * textmodes/tildify.el (tildify):
4501 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4502 customization buffers.
4504 2012-04-22 Alan Mackenzie <acm@muc.de>
4506 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4507 Adding a ) can hide the resulting (..) from searches. Fix it.
4508 Bound the backward search to the position of the existing (.
4510 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
4512 * progmodes/verilog-mode.el (verilog-mode): Check whether
4513 which-func-modes is t before adding verilog-mode.
4514 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4516 2012-04-21 Leo Liu <sdl.web@gmail.com>
4518 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
4520 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4522 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4523 filling of the last column of a table (Bug#5635).
4524 (woman-find-next-control-line): New arg, specifying an additional
4525 regexp component for the control line.
4526 (woman2-roff-buffer): Use it.
4527 (woman-break-table): New function.
4528 (woman2-TS): Use it.
4530 2012-04-21 Chong Yidong <cyd@gnu.org>
4532 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4533 (woman-horizontal-escapes, woman-negative-vertical-space)
4534 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4535 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4537 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4539 * minibuffer.el (completion-file-name-table): Complete user names.
4541 2012-04-20 Leo Liu <sdl.web@gmail.com>
4543 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4546 2012-04-20 Chong Yidong <cyd@gnu.org>
4548 * server.el (server-execute): Respect initial-buffer-choice if it
4549 is a string and there are no files to open (Bug#2825).
4550 (server-create-window-system-frame, server-create-tty-frame):
4551 Don't switch buffers here.
4552 (server-process-filter): Only try to open a window system frame if
4553 compiled with graphical support (Bug#8314).
4555 2012-04-20 Dan Nicolaescu <dann@gnu.org>
4557 * battery.el (battery-echo-area-format): Display remaining time
4558 for sysfs backend too (Bug#11269).
4559 (battery-linux-sysfs): Fix conditional for the charge.
4561 2012-04-20 Chong Yidong <cyd@gnu.org>
4563 * progmodes/gdb-mi.el (gdb): Revert previous change.
4564 (gdb-inferior-io--init-proc): New function.
4565 (gdb-init-1): Use it.
4566 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4567 responsible for allocating a new pty and hooking it to gdb when
4568 the old pty gets an EIO due to process exit.
4569 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4570 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4571 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4573 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4575 * window.el (window-min-size, window-sizable, window-min-delta)
4576 (window-max-delta, window--resizable, window-resizable)
4577 (window-total-size, window-full-height-p, window-full-width-p)
4578 (window-in-direction, window--resize-mini-window, window-resize)
4579 (window--resize-child-windows-normal)
4580 (window--resize-child-windows, window--resize-siblings)
4581 (window--resize-this-window, adjust-window-trailing-edge)
4582 (enlarge-window, shrink-window): Doc fixes.
4584 2012-04-20 Chong Yidong <cyd@gnu.org>
4586 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4587 New function to call delete-process on the gdb-inferior buffer's pty.
4588 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4589 pty process (Bug#11273).
4590 (gdb-update): New arg to suppress talking to the gdb process.
4591 (gdb-done-or-error): Use it.
4592 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4593 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4594 sentinel not being called.
4596 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4598 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4600 2012-04-20 Glenn Morris <rgm@gnu.org>
4602 * net/network-stream.el (open-network-stream): Doc fix.
4604 2012-04-20 Chong Yidong <cyd@gnu.org>
4606 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4608 2012-04-20 Alan Mackenzie <acm@muc.de>
4610 Ensure searching for keywords is case sensitive.
4612 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4613 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4614 (c-defun-name, c-mark-function, c-cpp-define-name)
4615 (c-comment-indent, c-scan-conditionals, c-indent-defun)
4616 (c-context-line-break): Bind case-fold-search to nil.
4618 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4619 Bind case-fold-search to nil.
4621 2012-04-20 Chong Yidong <cyd@gnu.org>
4623 * mail/sendmail.el (mail-bury): Call return action with the right
4624 Rmail buffer (Bug#11242).
4626 * server.el (server-process-filter): Handle corner case where both
4627 tty and nowait options are present (Bug#11102).
4629 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4631 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
4632 (top level): Put into the executable the ident-style '$Id:' tag on
4635 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4637 * electric.el (electric-indent-post-self-insert-function): Check that
4638 electric-indent-mode is enabled in current buffer.
4640 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4642 * imenu.el (imenu-progress-message): Restore; it is "used" in
4643 erc/erc-imenu.el and net/snmp-mode.el.
4645 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4647 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4648 (mouse-avoidance-nudge-mouse): Remove unused binding.
4650 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4652 * descr-text.el (describe-char):
4653 * progmodes/python.el (python-describe-symbol):
4654 Don't call `toggle-read-only', set `buffer-read-only'.
4656 * imenu.el (imenu-default-goto-function): Mark unused args.
4657 (imenu-progress-message): Remove obsolete macro; all callers changed.
4659 * subr.el (keymap-canonicalize): Remove unused binding.
4660 (read-passwd): Mark unused arg.
4662 * tutorial.el (tutorial--display-changes): Remove unused binding.
4663 (tutorial--save-tutorial-to): Remove unused variable.
4665 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4666 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4667 (package-generate-autoloads, package-menu--generate)
4668 (package-menu--find-upgrades): Remove unused bindings.
4670 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4671 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4672 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4673 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4674 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4675 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4676 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4677 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4678 (cua-delete-char-rectangle): Mark unused args.
4679 (cua-align-rectangle): Remove unused binding.
4681 * mail/rmail.el (compilation--message->loc)
4682 (epa--find-coding-system-for-mime-charset): Declare.
4684 * net/dbus.el (dbus-register-service): Declare.
4685 (dbus-name-owner-changed-handler): Remove unused binding.
4687 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4688 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4689 (nxml-scan-backward-within): Mark unused arg.
4690 (nxml-dynamic-markup-word): Remove unused binding.
4692 * mouse.el (mouse-menu-major-mode-map):
4693 * emacs-lisp/authors.el (authors-scan-change-log)
4694 (authors-add-to-author-list):
4695 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4696 * emacs-lisp/smie.el (smie-auto-fill):
4697 * mail/sendmail.el (mail-bury):
4698 * mail/unrmail.el (unrmail):
4699 * net/tls.el (open-tls-stream):
4700 * textmodes/picture.el (picture-mouse-set-point):
4701 Remove unused bindings.
4703 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
4705 * net/tramp.el (tramp-action-password): Let-bind
4706 `enable-recursive-minibuffers' to t.
4708 2012-04-18 Sam Steingold <sds@gnu.org>
4710 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4711 instead of 'string to accommodate values like [f11].
4712 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4713 * progmodes/gdb-mi.el: Likewise.
4715 2012-04-18 Leo Liu <sdl.web@gmail.com>
4717 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4719 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4722 2012-04-18 Chong Yidong <cyd@gnu.org>
4724 * simple.el (line-move): Use forward-line if in batch mode
4727 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4729 * files.el (after-find-file): Do not try to add a final newline if
4730 the buffer is read-only (Bug#11156).
4732 2012-04-17 Richard Stallman <rms@gnu.org>
4734 * mail/rmail.el (rmail-start-mail):
4735 Pass (rmail-mail-return...) for the return-action.
4736 Pass (rmail-yank-current-message...) for the yank-action.
4737 (rmail-yank-current-message): New function.
4738 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4739 (rmail-reply): Likewise.
4740 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4742 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
4743 buffer, not the last. Reject temp buffers. Use the rmail-mode
4746 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
4748 * server.el (server-ensure-safe-dir): Simplify.
4750 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4752 * emacs-lisp/smie.el: Provide smarter auto-filling.
4753 (smie-auto-fill): New function.
4754 (smie-setup): Use it.
4756 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4758 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
4760 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4761 (comment-indent): Use it.
4763 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4765 * ses.el: The overall change is to add cell renaming, that is
4766 setting fancy names for cell symbols other than name matching
4767 "\\`[A-Z]+[0-9]+\\'" regexp .
4768 (ses-localvars): Add ses--renamed-cell-symb-list.
4769 (ses-create-cell-variable): New defun.
4770 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4771 (ses-relocate-formula): Relocate formulas only for cells the
4772 symbols of which are not renamed, i.e. symbols whose names do not
4773 match regexp "\\`[A-Z]+[0-9]+\\'".
4774 (ses-relocate-all): Relocate values only for cells the symbols of
4775 which are not renamed.
4776 (ses-load): Create cells variables as the (ses-cell ...) are read,
4777 in order to check row col consistency with cell symbol name only
4778 for cells that are not renamed.
4779 (ses-replace-name-in-formula): New defun.
4780 (ses-rename-cell): New defun.
4782 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4784 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4785 New option (bug#11118).
4786 (perl-calculate-indent): Respect it.
4788 2012-04-17 Glenn Morris <rgm@gnu.org>
4790 * dired-aux.el (dired-mark-read-string): Doc fix.
4792 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4794 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4795 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4797 2012-04-17 Glenn Morris <rgm@gnu.org>
4799 * mouse.el (mouse-drag-track):
4800 * speedbar.el (speedbar-frame-mode):
4801 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4803 2012-04-16 Leo Liu <sdl.web@gmail.com>
4805 * progmodes/python.el: Trivial cleanup.
4807 2012-04-16 Glenn Morris <rgm@gnu.org>
4809 * vc/vc.el (vc-string-prefix-p):
4810 * vc/pcvs-util.el (cvs-string-prefix-p):
4811 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4812 * mpc.el (mpc-string-prefix-p):
4813 Make all of these into obsolete aliases for string-prefix-p.
4815 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4817 * textmodes/two-column.el: Move custom options to the start.
4818 (frame-width): Remove compat definition.
4819 (2C-associate-buffer, 2C-dissociate):
4820 Use with-current-buffer rather than save-excursion.
4821 (2C-dissociate): Force a mode-line update.
4822 (2C-autoscroll): Use ignore-errors.
4824 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4827 * emacs-lisp/cl-extra.el (*random-state*):
4828 Remove unnecessary declaration.
4830 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4832 * play/cookie1.el (cookie-snarf):
4833 Give an explicit error if input file cannot be read.
4835 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4837 * progmodes/perl-mode.el (c-macro-expand):
4838 Remove unnecessary autoload (it is in loaddefs.el).
4840 * textmodes/picture.el (picture-desired-column)
4841 (picture-update-desired-column): Convert comments to doc-strings.
4842 (picture-substitute): Remove function.
4843 (picture-mode-map): Initialize in the defvar.
4845 * woman.el: Remove eval-after-load for tar-mode.
4846 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4847 (woman-tar-extract-file): Autoload it.
4849 * frame.el (automatic-hscrolling): Make this alias obsolete.
4851 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4853 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4854 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
4855 (ispell-dictionary-base-alist): Revert to original XEmacs
4856 friendly version for default. [:alpha:] will be added in
4857 `ispell-set-spellchecker-params' if needed.
4859 2012-04-16 Chong Yidong <cyd@gnu.org>
4861 * image.el (imagemagick--file-regexp): New variable.
4862 (imagemagick-register-types): Use it.
4863 (imagemagick-types-inhibit): Add :set function. Allow new value
4864 of t to inhibit all types.
4866 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4867 so we can preload it.
4869 * loadup.el (fboundp): Preload regexp-opt, needed by
4870 imagemagick-register-types.
4872 2012-04-15 Chong Yidong <cyd@gnu.org>
4874 * frame.el (scrolling): Remove nearly unused customization group.
4876 * scroll-all.el (scroll-all-mode): Move to windows group.
4878 2012-04-15 Chong Yidong <cyd@gnu.org>
4880 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4882 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4884 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4885 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
4887 2012-04-15 Glenn Morris <rgm@gnu.org>
4889 * simple.el (process-file-side-effects): Doc fix.
4891 2012-04-15 Glenn Morris <rgm@gnu.org>
4893 * international/mule-cmds.el (set-language-environment): Doc fix.
4895 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4897 * server.el (server-auth-key, server-generate-key): Doc fixes.
4898 (server-get-auth-key): Doc fix. Use `string-match-p'.
4899 (server-start): Reflow docstring.
4901 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4903 * server.el (server-generate-key): `called-interactively-p'
4904 requires a parameter.
4906 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
4908 * server.el (server-auth-key): New variable.
4909 (server-generate-key, server-get-auth-key): New function.
4910 (server-start): Use the new variable and functions to allow
4911 setting a permanent server key (bug#9423).
4913 2012-04-14 Leo Liu <sdl.web@gmail.com>
4915 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4917 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4920 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4921 Emacs uses American spelling.
4923 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4925 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4926 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4927 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4928 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4930 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4932 * progmodes/which-func.el (which-func-modes): Change default.
4934 2012-04-14 Kim F. Storm <storm@cua.dk>
4936 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4937 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4939 2012-04-14 Chong Yidong <cyd@gnu.org>
4941 * custom.el (custom-theme-set-variables): Doc fix.
4943 2012-04-14 Glenn Morris <rgm@gnu.org>
4945 * international/mule.el (set-auto-coding-for-load): Doc fix.
4947 2012-04-14 Alan Mackenzie <acm@muc.de>
4949 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4950 imenu work again for Objective C Mode. Correct the *-index values,
4951 these having been disturbed by a previous change in 2011-08.
4953 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4954 Correct two search limits.
4956 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4958 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4960 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
4962 * international/characters.el: Fix sorting.
4964 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4966 * international/characters.el: Add more missing Latin case pairs.
4968 2012-04-14 Glenn Morris <rgm@gnu.org>
4970 * files.el (dir-locals-set-class-variables): Doc fix.
4972 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4974 * international/characters.el: Add set-case-syntax-pair call for
4975 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4976 counterpart. (Bug#11209)
4978 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4980 2012-04-14 Glenn Morris <rgm@gnu.org>
4982 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4984 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4986 * textmodes/ispell.el (ispell-dictionary-base-alist):
4987 Add data for Hebrew.
4989 2012-04-14 Chong Yidong <cyd@gnu.org>
4991 * net/rcirc.el (rcirc-cmd-quit):
4992 Revert 2012-03-18 change (Bug#11192).
4994 2012-04-14 Glenn Morris <rgm@gnu.org>
4996 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4998 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5000 * minibuffer.el (completion-in-region-mode-map):
5001 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
5003 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5005 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5007 2012-04-13 Masatake YAMATO <yamato@redhat.com>
5009 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5010 to allow `C-M-f' and `C-M-b' to move to the nearest path
5011 separator (bug#9511).
5013 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5015 * avoid.el: Require cl when compiling. And also move the
5016 `provide' to the end.
5018 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5020 * avoid.el (mouse-avoidance-banish-position): New variable.
5021 (mouse-avoidance-banish-destination): Use it (bug#10165).
5023 2012-04-13 Leo Liu <sdl.web@gmail.com>
5025 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5027 2012-04-13 Ken Brown <kbrown@cornell.edu>
5029 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
5030 this is no longer needed now that cygstart understands file:// URLs.
5031 (browse-url-filename-alist): For the same reason, don't modify
5032 file:// URLs on Cygwin.
5034 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5036 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5037 the region on shift if the binding is already shifted (bug#11221).
5039 2012-04-12 Glenn Morris <rgm@gnu.org>
5041 * mail/mailpost.el: Move to obsolete/.
5043 2012-04-12 Drew Adams <drew.adams@oracle.com>
5045 * imenu.el (imenu--generic-function): Ignore invisible definitions
5048 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5050 * hexl.el (hexl-bits): New variable.
5051 (hexl-options): Mention the variable in the doc string.
5052 (hexl-rulerise, hexl-line-displen): New functions.
5053 (hexl-mode): Mention the new variable.
5054 (hexl-mode, hexl-current-address, hexl-current-address):
5056 (hexl-ascii-start-column): New function.
5057 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5058 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5060 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5062 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5063 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5064 the encoding, as expected by hunspell.
5066 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5068 * battery.el (battery--linux-sysfs-regexp): New const.
5069 (battery-status-function): Use it. Remove yeeloong special case.
5070 (battery-yeeloong-sysfs): Remove.
5071 (battery-echo-area-format): Remove yeeloong special case.
5073 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5075 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5076 Reported by Noah Friedman.
5078 * subr.el (read-passwd): Use read-string.
5080 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5082 * vcursor.el (vcursor-move): Increase the priority of the overlay
5085 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5087 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5088 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5090 2012-04-11 William Stevenson <yhvh2000@gmail.com>
5092 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5093 define-minor-mode (bug#10760).
5095 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5097 * progmodes/grep.el (rgrep): Tweak the find command line so
5098 that directories matching `grep-find-ignored-files' won't be
5101 2012-04-11 Chong Yidong <cyd@gnu.org>
5103 * startup.el (command-line): Remove support for long-obsolete
5104 variable font-lock-face-attributes.
5106 2012-04-11 Glenn Morris <rgm@gnu.org>
5108 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5110 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5112 * window.el (window--state-get-1): Obey window-point-insertion-type.
5114 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5116 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5117 to previous function when point is on the first character of a
5118 function. Take care of that in `narrow-to-defun' (bug#6157).
5120 2012-04-11 Glenn Morris <rgm@gnu.org>
5122 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5123 not just file-errors.
5125 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5126 (vc-bzr-sha1): Use internal sha1.
5128 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5130 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5132 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5134 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5135 that start in the middle of the line (bug#10496).
5137 2012-04-10 Dan Nicolaescu <dann@gnu.org>
5139 * battery.el (battery-linux-proc-acpi): Only one battery is
5140 discharged at a time, but that seems to confuse battery.el when
5141 computing `rate-type' for the battery not being discharged
5144 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5146 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5148 * international/quail.el: Use dolist and simplify.
5149 (quail-define-package, quail-update-keyboard-layout)
5150 (quail-define-rules): Use dolist.
5151 (quail-insert-kbd-layout, quail-get-translation): CSE.
5153 * tmm.el: Use dolist, remove left over hook.
5154 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5156 (calendar-load-hook): Don't mess with it.
5158 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5159 Use derived-mode-p. Run the diff asynchronously.
5161 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5163 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5165 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
5167 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5168 (list-dynamic-libraries--loaded): New function.
5169 (list-dynamic-libraries--refresh): Use it.
5171 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
5173 * progmodes/python.el (python-fill-paragraph):
5174 Make python-fill-region in a multiline string work when font-lock is
5175 disabled (bug#7018).
5177 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5179 * language/european.el (cp775): Add oem/legacy (en)coding on
5180 DOS/MS Windows for the Baltic languages. There are still plenty
5181 of texts written in this encoding/codepage (bug#6519).
5183 2012-04-10 Glenn Morris <rgm@gnu.org>
5185 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5186 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5188 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5190 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
5191 next-line "n" and previous-line "p" in order to make recentf more
5192 consistent with ibuffer, dired or org-mode (bug#9387).
5194 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5196 * image.el (put-image): Return the overlay created instead of the
5197 optional input string (bug#7834). Note that this may break code
5198 that is (for some reason or other) depending on `put-image'
5199 returning the string.
5201 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5203 * simple.el (zap-to-char): Allow zapping using input methods
5206 * textmodes/fill.el (fill-region): Leave point and mark where they
5207 were before filling (bug#5399).
5209 2012-04-09 Glenn Morris <rgm@gnu.org>
5211 * version.el (emacs-bzr-get-version):
5212 Handle lightweight checkouts of local branches.
5214 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5216 * international/characters.el: Recover lost case pairs. (Bug#11209)
5218 2012-04-09 Chong Yidong <cyd@gnu.org>
5220 * custom.el (custom-variable-p): Return nil for non-symbol
5221 arguments instead of signaling an error.
5222 (user-variable-p): Obsolete alias for custom-variable-p.
5224 * apropos.el (apropos-variable):
5225 * files-x.el (read-file-local-variable):
5226 * simple.el (set-variable):
5227 * woman.el (woman-mini-help):
5228 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5230 2012-04-09 Glenn Morris <rgm@gnu.org>
5232 * startup.el (normal-top-level): Don't look for leim-list.el
5233 in places where it will not be found. (Bug#910)
5235 * international/mule-cmds.el (set-default-coding-systems):
5236 * files.el (normal-mode):
5237 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5238 This function was removed with ucs-tables.el in 2008.
5240 2012-04-08 Eli Zaretskii <eliz@gnu.org>
5242 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5243 ispell-encoding8-command to "-i", without a trailing space.
5244 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5245 separate command-line arguments, to specify the encoding, since
5246 that's how hunspell expects it.
5248 2012-04-08 Glenn Morris <rgm@gnu.org>
5250 * loadup.el: Load bindings before cus-start.
5251 This reduces somewhat the number of "rogue" settings in emacs -Q.
5253 2012-04-07 Glenn Morris <rgm@gnu.org>
5255 * version.el (emacs-bzr-get-version): New function.
5256 (emacs-bzr-version): New variable.
5257 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5258 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5260 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5262 * international/uni-bidi.el, international/uni-category.el:
5263 * international/uni-combining.el, international/uni-decimal.el:
5264 * international/uni-decomposition.el, international/uni-digit.el:
5265 * international/uni-lowercase.el, international/uni-mirrored.el:
5266 * international/uni-name.el, international/uni-numeric.el:
5267 * international/uni-titlecase.el, international/uni-uppercase.el:
5268 Update for Unicode 6.1.
5270 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5272 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5274 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5276 * window.el (shrink-window): Mention the `window-min-height'
5277 variable in the doc string.
5279 2012-04-05 Bastien Guerry <bzg@altern.org>
5281 * color.el (color-lighten-name): Fix typo.
5283 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5285 * server.el (server--on-display-p): New function.
5286 (server--on-display-p): Use it.
5288 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5290 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5293 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5295 * comint.el (comint--common-quoted-suffix): Check string boundary
5296 before comparing (bug#11158).
5297 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5299 2012-04-04 Chong Yidong <cyd@gnu.org>
5301 * minibuffer.el (completion-extra-properties): Doc fix.
5303 * subr.el (delayed-warnings-hook): Doc fix.
5305 2012-04-04 Daiki Ueno <ueno@unixuser.org>
5307 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5308 selection (Bug#11159).
5309 (epa-insert-keys): Inform that the default public key will be
5310 exported if no key is selected.
5312 2012-04-04 Richard Stallman <rms@gnu.org>
5314 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5316 2012-04-03 Chong Yidong <cyd@gnu.org>
5318 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5319 mail-insert-file, not its obsolete alias mail-attach-file.
5321 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
5323 * notifications.el (notifications-notify): Fix docstring.
5325 2012-04-02 Glenn Morris <rgm@gnu.org>
5327 * emacs-lisp/authors.el (authors-aliases): Another addition.
5329 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
5331 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5332 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5333 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5335 2012-04-01 Chong Yidong <cyd@gnu.org>
5337 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5338 Handle root directory properly.
5339 (copy-directory): Caller changed.
5341 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5342 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5344 2012-03-31 Glenn Morris <rgm@gnu.org>
5346 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5348 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5350 * calendar/calendar.el (calendar-window-list)
5351 (calendar-hide-window): Restore. (Bug#11140)
5352 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5354 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5356 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5358 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5359 Check if file is a symlink (Bug#10489).
5361 * files.el (copy-directory): Likewise.
5363 2012-03-30 Chong Yidong <cyd@gnu.org>
5365 * image.el (imagemagick-types-inhibit)
5366 (imagemagick-register-types): Doc fix.
5368 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5370 * textmodes/ispell.el (ispell-get-extended-character-mode):
5371 Disable extended-char-mode for hunspell. hunspell does not support it
5372 and treats ~word as ordinary words in pipe mode.
5374 2012-03-30 Glenn Morris <rgm@gnu.org>
5376 * tutorial.el (help-with-tutorial): Ensure local variables don't
5377 happen to make the buffer read-only. (Bug#11127)
5379 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5381 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5382 (perl-calculate-indent): Return `noindent' in strings.
5384 2012-03-28 Sam Steingold <sds@gnu.org>
5386 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5387 instead of the broken adhockery which does not prevent calendar
5388 buffers from being displayed at random after exit.
5389 (calendar-window-list, calendar-hide-window): Remove the broken
5392 2012-03-28 Glenn Morris <rgm@gnu.org>
5394 * replace.el (query-replace-map): Doc fix.
5396 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5398 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5399 contents. (Bug#11109)
5401 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5403 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5405 (avl-tree--check, avl-tree--check-node): New funs.
5407 2012-03-27 Martin Rudalics <rudalics@gmx.at>
5409 * window.el (switch-to-visible-buffer): New option.
5410 (switch-to-prev-buffer, switch-to-next-buffer):
5411 Observe switch-to-visible-buffer. Make sure that checking for a window
5412 showing a buffer already is done on the same frame.
5414 2012-03-27 Glenn Morris <rgm@gnu.org>
5416 * startup.el (mail-host-address): Doc fix.
5418 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5420 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5423 2012-03-26 Ami Fischman <ami@fischman.org>
5425 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5427 2012-03-26 Glenn Morris <rgm@gnu.org>
5429 * files.el (save-buffers-kill-emacs): Doc fix.
5431 * startup.el (normal-top-level, command-line, command-line-1):
5432 Give them doc strings.
5434 2012-03-25 Eli Zaretskii <eliz@gnu.org>
5436 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
5437 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
5439 2012-03-25 Chong Yidong <cyd@gnu.org>
5441 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5442 theme if it was previously enabled before (Bug#11031).
5444 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5445 spec with custom-face-get-current-spec if its :shown-value is not
5446 determined yet (Bug#9337).
5447 (customize-create-theme, custom-theme-revert): Doc fixes.
5449 * button.el (button-at): Minor addition to docstring.
5451 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
5453 * vc/vc.el (vc-merge): Fix a prompt.
5455 2012-03-24 Chong Yidong <cyd@gnu.org>
5457 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5460 * button.el (button-at): Minor addition to docstring.
5462 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5464 * newcomment.el (comment-choose-indent): No space after BOL.
5466 2012-03-22 Sam Steingold <sds@gnu.org>
5468 * window.el (switch-to-prev-buffer): Revert last patch because the
5469 bug turned out to be an advertised feature (Elisp manual 28.14).
5471 2012-03-22 Glenn Morris <rgm@gnu.org>
5473 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5474 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5476 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5478 * net/network-stream.el (network-stream-open-starttls): Make error
5479 message under Windows be less misleading.
5481 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5483 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5484 understands (bug#9942).
5486 2012-03-22 Chong Yidong <cyd@gnu.org>
5488 * simple.el (end-of-visible-line): Handle return value of
5489 next-single-property-change properly (Bug#9371).
5491 2012-03-22 Kenichi Handa <handa@m17n.org>
5493 * international/quail.el (quail-insert-kbd-layout): Fix previous
5494 change. To avoid unwanted bidi reordering, use
5495 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5497 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5499 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5500 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5501 (ruby-beginning-of-indent): Be more careful with the difference
5502 between word-boundary and symbol boundary.
5503 (ruby-mode-syntax-table): Make : a symbol constituent.
5505 2012-03-21 Andreas Politz <politza@fh-trier.de>
5507 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5509 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5511 * progmodes/etags.el (tags-completion-at-point-function):
5514 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5516 2012-03-21 Sam Steingold <sds@gnu.org>
5518 * progmodes/etags.el (tags-completion-at-point-function):
5519 Avoid the error when point is inside the pattern.
5521 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5523 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5526 2012-03-21 Drew Adams <drew.adams@oracle.com>
5528 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5530 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5532 * ido.el (ido-set-current-directory, ido-read-internal)
5533 (ido-choose-completion-string, ido-completion-help): Handle nil
5534 value of ido-completion-buffer (Bug#11008).
5536 2012-03-21 Sam Steingold <sds@gnu.org>
5538 * window.el (switch-to-prev-buffer): Do not switch to a visible
5539 window previous buffer, just like with the frame previous buffers.
5541 2012-03-21 Chong Yidong <cyd@gnu.org>
5543 * faces.el (make-face, make-empty-face, copy-face):
5544 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5547 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5549 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5550 (widget-complete): Remove broken use of it.
5552 2012-03-20 Chong Yidong <cyd@gnu.org>
5554 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5555 Use string-width and truncate-string-width to handle arbitrary
5558 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5560 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5561 to draw rectangles, not squares. (Regression introduced by revno
5562 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5564 2012-03-18 Chong Yidong <cyd@gnu.org>
5566 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5567 it is not yet defined (for temacs).
5569 2012-03-18 Leo Liu <sdl.web@gmail.com>
5571 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
5573 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5575 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5576 (ispell-choices-win-default-height, ispell-silently-savep)
5577 (ispell-dictionary-alist, ispell-encoding8-command)
5578 (ispell-check-version, ispell-aspell-find-dictionary)
5579 (ispell-valid-dictionary-list, ispell-words-keyword)
5580 (ispell-get-word, ispell-internal-change-dictionary)
5581 (ispell-region, ispell-skip-region-list)
5582 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5583 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5584 (ispell-message-text-end, ispell-message)
5585 (ispell-buffer-local-parsing): Doc fix.
5587 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
5589 * htmlfontify.el: Add support for code block fontification for ODT
5591 (hfy-optimisations): Define new option
5593 (hfy-fontify-buffer): Honor above setting.
5594 (hfy-begin-span, hfy-end-span): New routines factored out form
5595 `hfy-fontify-buffer'.
5596 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5597 that permit insertion of custom tags.
5598 (hfy-fontify-buffer): Use above handlers.
5599 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5600 (hfy-face-to-css): Re-defined to be a variable.
5601 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
5602 over multiple runs. This is made possible by having the caller let
5603 bind a special variable `hfy-user-sheet-assoc'.
5604 (htmlfontify-string): New defun.
5605 (hfy-compile-face-map): Make sure that the last char in the
5606 buffer is correctly fontified.
5607 (hfy-face-resolve-face): Whitespace only change.
5609 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5611 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5614 2012-03-16 Leo Liu <sdl.web@gmail.com>
5616 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5618 2012-03-16 Alan Mackenzie <acm@muc.de>
5620 Further optimise the handling of large macros.
5622 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5623 limit to a call of `c-literal-limits'.
5624 (c-determine-+ve-limit): New function.
5625 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5626 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
5627 In CASE 5B, restrict a search limit to 500.
5628 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5630 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5631 Restrict macro bounds to +-500 from after-change's BEG END.
5633 2012-03-16 Leo Liu <sdl.web@gmail.com>
5635 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5637 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5639 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
5640 `special-mode' setting of `buffer-read-only'. (Bug#11010)
5642 2012-03-16 Glenn Morris <rgm@gnu.org>
5644 * view.el (view-buffer, view-buffer-other-window)
5645 (view-buffer-other-frame): Doc fixes re special mode-class.
5647 * subr.el (eval-after-load): If named feature is provided not from
5648 a file, run after-load forms. (Bug#10946)
5650 * calendar/calendar.el (calendar-insert-at-column):
5651 Handle non-unit-width characters a bit better. (Bug#10978)
5653 2012-03-15 Chong Yidong <cyd@gnu.org>
5655 * emacs-lisp/ring.el (ring-extend): New function.
5656 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5658 * comint.el (comint-read-input-ring)
5659 (comint-add-to-input-history): Grow comint-input-ring lazily.
5661 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5663 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5664 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5666 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5667 (imenu-add-to-menubar): Don't add a redundant index.
5668 (imenu-update-menubar): Handle a dynamically composed keymap.
5670 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5672 * mail/sendmail.el (mail-encode-header):
5673 Bind rfc2047-encode-encoded-words to nil.
5675 2012-03-13 Glenn Morris <rgm@gnu.org>
5677 * calendar/calendar.el (calendar-string-spread):
5678 Handle non-unit-width characters a bit better. (Bug#10978)
5680 2012-03-13 Leo Liu <sdl.web@gmail.com>
5682 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5683 directory and file as argument (Bug#10822).
5685 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5687 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5688 For dynamically generated code, follow $PC.
5689 (gdb-disassembly-handler-custom): Handle no function name case.
5691 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5693 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5694 * emulation/ws-mode.el (ws-query-replace):
5695 * sort.el (sort-regexp-fields):
5696 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5698 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5700 * dabbrev.el: Fix cycle completion order (bug#10963).
5701 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5702 (dabbrev-completion): Don't use an obarray; provide
5703 a cycle-sort-function.
5705 2012-03-12 Leo Liu <sdl.web@gmail.com>
5707 * simple.el (kill-new): Use equal-including-properties for comparison.
5708 (kill-do-not-save-duplicates): Doc fix.
5710 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5712 * dabbrev.el: Fix cycle completion (bug#10963).
5713 Use lexical binding and wrap to 80 columns.
5714 (dabbrev-completion): Delay computing the list of completions.
5716 2012-03-12 Kenichi Handa <handa@m17n.org>
5718 * international/quail.el (quail-insert-kbd-layout): Surround each
5719 row by LRO and PDF instead of inserting many LRMs. Pad the left
5720 and right of each non-spacing marks. Insert invisible space
5721 between lower and upper characters to prevent composition.
5723 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5725 * minibuffer.el (minibuffer-complete): Don't get confused when the
5726 function is run twice via different commands (bug#10958).
5727 (complete-with-action): Fix docstring.
5729 2012-03-12 Chong Yidong <cyd@gnu.org>
5731 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5732 (nxml-completion-at-point-function): New function.
5733 (nxml-mode): Use it.
5734 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5736 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5737 Load generated autoloads file before byte compiling (Bug#10970).
5738 (package--make-autoloads-and-compile): New helper fun.
5740 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5742 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5744 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
5746 * autorevert.el (auto-revert-handler): Ensure, that
5747 file-readable-p is applied only for local files or in
5748 auto-revert-tail-mode.
5750 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5752 * server.el (server-eval-at): Handle non-tcp connections.
5753 Decode result string.
5755 * server.el (server-msg-size): New constant.
5756 (server-reply-print): New function.
5757 (server-eval-and-print): Use it.
5758 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5761 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5763 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5766 2012-03-11 Chong Yidong <cyd@gnu.org>
5768 * simple.el (goto-line): Doc fix (Bug#9938).
5770 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5772 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5773 when finished (Bug#10963).
5775 2012-03-11 Martin Rudalics <rudalics@gmx.at>
5777 * window.el (split-window-below): Fix bug in case where
5778 split-window-keep-point is nil (Bug#10971).
5780 2012-03-11 Juri Linkov <juri@jurta.org>
5782 * replace.el (replace-highlight): Set isearch-word to nil
5783 unconditionally. (Bug#10887)
5785 2012-03-10 Eli Zaretskii <eliz@gnu.org>
5787 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5788 mairix-replace-illegal-chars; all callers changed. Don't remove
5789 ^, ~, and = characters: they are meaningful in mairix search specs.
5790 (mairix-widget-create-query): Add usage information about mairix
5791 search forms: negating words, searching for substrings, etc.
5793 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5795 * international/fontset.el (font-encoding-alist): Add an entry for
5798 2012-03-10 Richard Stallman <rms@gnu.org>
5800 * mail/sendmail.el (mail-encode-header):
5801 Set rfc2047-encode-encoded-words.
5803 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5805 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5806 view buffer means not swapped.
5807 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5808 (rmail-write-region-annotate): Error if real text has disappeared.
5810 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5812 2012-03-10 Chong Yidong <cyd@gnu.org>
5814 * emulation/cua-rect.el (cua--init-rectangles):
5815 * emulation/cua-base.el (cua--init-keymaps):
5816 Add delete-forward-char to remappings (Bug#9666).
5818 2012-03-10 Martin Rudalics <rudalics@gmx.at>
5820 * speedbar.el (speedbar-unhighlight-one-tag-line):
5821 Avoid unhighlighting due to frame switching (Bug#10275).
5823 2012-03-10 Chong Yidong <cyd@gnu.org>
5825 * minibuffer.el (completion-in-region, completion-help-at-point):
5826 Give the completion field overlay a high priority (Bug#6830).
5828 * dired.el (dired-goto-file): Recognize absolute file name
5829 listings (Bug#7126).
5830 (dired-goto-file-1): New helper function.
5831 (dired-toggle-read-only): Inhibit warnings.
5833 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
5835 * net/dbus.el (dbus-property-handler): Return empty array if
5836 there are no properties.
5838 2012-03-09 Leo Liu <sdl.web@gmail.com>
5840 * savehist.el (savehist-printable): Stricter check for string
5843 2012-03-09 Eli Zaretskii <eliz@gnu.org>
5845 * mail/smtpmail.el (smtpmail-send-it):
5846 Bind coding-system-for-write to *-unix, so that FCC files are kept in
5849 2012-03-09 Glenn Morris <rgm@gnu.org>
5851 * files.el (dir-locals-find-file):
5852 Don't check result is regular, readable.
5853 (dir-locals-read-from-file): Demote errors.
5855 2012-03-08 Eli Zaretskii <eliz@gnu.org>
5857 * international/quail.el (quail-insert-kbd-layout):
5858 Insert invisible LRM characters before each character in a keyboard
5859 layout cell, to prevent their reordering by bidi display engine.
5860 For details, see the discussion in
5861 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5863 2012-03-08 Alan Mackenzie <acm@muc.de>
5865 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5866 the starting position; make it extend the marked region when
5867 invoked repeatedly - all under appropriate circumstances.
5868 Fixes bugs #5525, #10906.
5870 2012-03-08 Glenn Morris <rgm@gnu.org>
5872 * files.el (locate-dominating-file, dir-locals-find-file):
5873 Undo 2012-03-06 change.
5875 2012-03-07 Eli Zaretskii <eliz@gnu.org>
5877 * international/quail.el (quail-help):
5878 Force bidi-paragraph-direction be left-to-right. See discussion in
5879 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5882 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
5884 Avoid superfluous registering of signals. (Bug#10807)
5886 * notifications.el (notifications-on-action-object)
5887 (notifications-on-close-object): New defvars.
5888 (notifications-on-action-signal, notifications-on-closed-signal):
5889 Unregister the signal if not needed any longer.
5890 (notifications-notify): Register `notifications-action-signal' or
5891 `notifications-closed-signal', if :on-action or :on-close has been
5894 2012-03-07 Chong Yidong <cyd@gnu.org>
5896 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5899 2012-03-06 Glenn Morris <rgm@gnu.org>
5901 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5902 (x-disown-selection-internal, x-get-selection-internal):
5903 Doc fix (add arglist signatures). (Bug#10783)
5905 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5907 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5908 Handle breakpoints with no "type".
5910 2012-03-06 Glenn Morris <rgm@gnu.org>
5912 * files.el (locate-dominating-file): Add optional predicate argument.
5913 (dir-locals-find-file): Make use of above change.
5915 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5917 * info.el (Info-insert-dir): Also try "dir.gz".
5919 2012-03-06 Glenn Morris <rgm@gnu.org>
5921 * files.el (dir-locals-find-file):
5922 Ignore non-readable or non-regular files. (Bug#10928)
5924 * files.el (locate-dominating-file): Doc fix.
5926 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5928 * calendar/calendar.el (calendar-set-mode-line):
5929 `getenv' returns a string. (Bug#10951)
5931 2012-03-05 Leo Liu <sdl.web@gmail.com>
5933 * simple.el (backward-delete-char-untabify): Constrain point to
5936 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5938 2012-03-05 Chong Yidong <cyd@gnu.org>
5940 * simple.el (count-words): If called from Lisp, return the word
5941 count, for symmetry with `count-lines'. Arglist changed.
5942 (count-words--message): Args changed. Consolidate counting code
5943 from count-words and count-words-region.
5944 (count-words-region): Caller changed.
5945 (count-lines-region): Make it an obsolete alias.
5947 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5949 * saveplace.el (save-place-to-alist)
5950 (save-place-ignore-files-regexp): Allow value nil to disable this
5953 2012-03-04 Chong Yidong <cyd@gnu.org>
5955 * faces.el (face-spec-reset-face): For the default face, reset the
5956 attributes to default values (Bug#10748).
5958 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5960 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5961 previous patch: Check `message-send-mail-function', and not the
5962 default function (bug#10897).
5964 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
5966 * notifications.el (notifications-on-action-signal)
5967 (notifications-on-closed-signal): Check for unique service name of
5968 incoming event. Fix error in removing entry.
5969 (top): Register for signals with wildcard service name.
5970 (notifications-notify): Use daemon unique service name for map entries.
5972 2012-03-04 Chong Yidong <cyd@gnu.org>
5974 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
5976 2012-03-04 Glenn Morris <rgm@gnu.org>
5978 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5979 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5980 (expand-abbrev, define-abbrev-table): Doc fixes.
5982 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5984 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5985 `message-default-send-mail-function' and not `send-mail-function'
5986 when doing the prompting for `sendmail-query-once' before sending
5987 in Message buffers (bug#10897).
5989 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5990 This is inconsistent with all the other stream functions, which leave
5991 the setting up to the higher levels (if so wanted) (bug#10931).
5993 2012-03-02 Alan Mackenzie <acm@muc.de>
5995 Depessimize the handling of very large macros.
5997 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5998 (c-macro-cache-syntactic): New variables to implement a one
5999 element macro cache.
6000 (c-invalidate-macro-cache): New function.
6001 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6002 Adapt to use the new cache.
6003 (c-state-safe-place): Use better the cache of safe positions.
6004 (c-state-semi-nonlit-pos-cache)
6005 (c-state-semi-nonlit-pos-cache-limit):
6006 New variables for...
6007 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6008 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
6009 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6010 Use c-state-semi-safe-place.
6012 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6013 Add c-invalidate-macro-cache to the C, C++, Obj entries.
6015 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
6017 * jka-compr.el (jka-compr-call-process):
6018 Apply `file-accessible-directory-p' only when the default directory is
6021 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
6023 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6024 access of FILE2, if FILE1 does not exist.
6026 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6027 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6029 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6030 Add "PAGER=" to `process-environment'.
6032 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6034 * progmodes/sql.el: Bug fix
6035 (sql-get-login-ext): Save login values in globals.
6036 (sql-get-login): Use new version of `sql-get-login-ext'.
6037 (sql-interactive-mode): Set global `sql-connection' to nil.
6038 (sql-connect): Set global values for connection.
6039 (sql-product-interactive): Save global values as buffer local.
6041 2012-02-29 Leo Liu <sdl.web@gmail.com>
6043 * abbrev.el (define-abbrevs): Reset sys to nil.
6045 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6047 * files.el (file-equal-p): Rename from `files-equal-p'.
6048 Return nil when one or both files don't exist.
6049 (file-subdir-of-p): Now only top directory must exists,
6050 return nil if it doesn't.
6051 (copy-directory): No need to test with `file-subdir-of-p' after
6053 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6056 2012-02-28 Glenn Morris <rgm@gnu.org>
6058 * shell.el (shell-mode):
6059 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6060 * play/landmark.el (landmark-font-lock-face-O):
6061 * play/handwrite.el (handwrite):
6062 * play/gomoku.el (gomoku-O):
6063 * net/browse-url.el (browse-url-browser-display):
6064 * international/mule.el (define-charset):
6065 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6066 * filesets.el (filesets-find-file-delay):
6067 * eshell/em-xtra.el (eshell-xtra):
6068 * eshell/em-unix.el (eshell-grep):
6069 * emulation/viper.el (viper-mode):
6070 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6071 * emacs-lisp/easymenu.el (easy-menu-define):
6072 * calendar/timeclock.el (timeclock-use-display-time):
6074 * bookmark.el (bookmark-save-flag):
6075 Doc fix (standardize possessive apostrophe usage).
6077 2012-02-27 Chong Yidong <cyd@gnu.org>
6079 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6080 Fix key-binding lookup for ESC key (Bug#9146).
6082 * font-lock.el (font-lock-specified-p): Rename from
6083 font-lock-spec-present. Callers changed.
6085 2012-02-27 Daniel Hackney <dan@haxney.org>
6087 * emacs-lisp/package.el (package-compute-transaction):
6088 Handle holding a package version to t in package-load-list.
6090 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
6092 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6093 (tramp-get-inode, tramp-get-device): Use cached values.
6095 2012-02-26 Alan Mackenzie <acm@muc.de>
6097 Check there is a font-lock specification before doing initial
6100 * font-core.el (font-lock-mode): Move the conditional from
6101 :after-hook to font-lock-initial-fontify.
6102 (font-lock-default-function): Move the check for a specification
6103 to font-lock-spec-present.
6105 * font-lock.el (font-lock-initial-fontify): Call ...
6106 (font-lock-spec-present): New function.
6108 2012-02-26 Jim Blandy <jimb@red-bean.com>
6110 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6111 (gdb-send): Apply it to the operand of the '-interpreter-exec
6112 console' command, so that we can pass arguments with (say) quotes
6113 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6115 2012-02-26 Chong Yidong <cyd@gnu.org>
6117 * help-fns.el (describe-function-1): Clarify description of
6118 remapping (Bug#10844).
6120 * files.el (files-equal-p): Doc fix.
6121 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6122 and quit the loop once a mismatch is found.
6124 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
6126 * bs.el (bs--show-with-configuration): Don't throw an error
6127 if the window cannot be split; otherwise, subsequent calls to
6128 bs-show fail, restoring a stale window config. (Bug#10882)
6130 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6132 * term/ns-win.el (global-map): Bind ns-drag-file to
6133 ns-find-file (Bug#5855, Bug#10050).
6135 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6137 * calendar/parse-time.el (parse-time-string): Allow extractor to
6140 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
6142 * net/tramp.el (tramp-file-name-for-operation):
6143 Add `files-equal-p' and `file-subdir-of-p'.
6145 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6146 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6147 Add COPY-CONTENTS argument.
6149 2012-02-25 Chong Yidong <cyd@gnu.org>
6151 Add custom groups for VC backends, for consistency with vc-bzr.
6153 * vc/vc-arch.el (vc-arch):
6154 * vc/vc-cvs.el (vc-cvs):
6155 * vc/vc-git.el (vc-git):
6156 * vc/vc-hg.el (vc-hg):
6157 * vc/vc-mtn.el (vc-mtn):
6158 * vc/vc-rcs.el (vc-rcs):
6159 * vc/vc-sccs.el (vc-sccs):
6160 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6161 All relevant defcustoms reassigned.
6163 2012-02-25 Chong Yidong <cyd@gnu.org>
6165 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6167 * term/x-win.el (x-initialize-window-system): Reduce default for
6168 x-selection-timeout to 5 seconds (Bug#8869).
6170 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6172 * files.el (files-equal-p, file-subdir-of-p): New functions.
6173 (copy-directory): Error when trying to copy a directory on itself.
6174 Add missing copy-contents arg to tramp handler.
6175 * dired-aux.el (dired-copy-file-recursive): Same.
6176 (dired-create-files): Modify destination when source is equal to
6177 dest when copying files.
6178 Return also when dest is a subdir of source. (Bug#10489)
6180 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
6182 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6185 2012-02-23 Alan Mackenzie <acm@muc.de>
6187 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6188 parameter "after-hook:" to allow the expansion to run code after
6189 the execution of the mode hooks.
6191 * font-lock.el (font-lock-initial-fontify): New function extracted
6192 from font-lock-mode-internal.
6194 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
6197 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6199 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6200 (completion--cache-all-sorted-completions): New function.
6201 (completion-all-sorted-completions): Use it.
6202 (completion--do-completion, minibuffer-force-complete):
6203 Use it to re-instate the flush hook.
6205 * icomplete.el (icomplete-completions): Replace last fix with a better
6208 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6210 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6211 when it might call us back infinitely (bug#10797).
6213 2012-02-23 Glenn Morris <rgm@gnu.org>
6215 * minibuffer.el (completion-category-overrides): Doc fix.
6217 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6219 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6220 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6222 2012-02-23 Glenn Morris <rgm@gnu.org>
6224 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
6225 (authors-obsolete-files-regexps, authors-ignored-files)
6226 (authors-ambiguous-files, authors-renamed-files-alist):
6229 2012-02-23 Juri Linkov <juri@jurta.org>
6231 * isearch.el (isearch-occur): Sync interactive spec with occur's
6232 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6234 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6236 2012-02-22 Juri Linkov <juri@jurta.org>
6238 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6239 (ucs-insert): Doc fix. Check for hex digits in the string.
6240 Don't display `nil' in the error message. (Bug#10857)
6242 2012-02-22 Alan Mackenzie <acm@muc.de>
6244 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
6246 2012-02-22 Glenn Morris <rgm@gnu.org>
6248 * ffap.el (ffap-c-path):
6249 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6251 2012-02-22 Chong Yidong <cyd@gnu.org>
6253 * custom.el (load-theme): Doc fix.
6255 2012-02-22 Glenn Morris <rgm@gnu.org>
6257 * dired-x.el (dired-guess-shell-alist-default):
6258 Remove escape sequences from nroff output. (Bug#172)
6260 2012-02-21 Glenn Morris <rgm@gnu.org>
6262 * vc/emerge.el (emerge-defvar-local):
6263 Set `permanent-local' property rather than unused `preserved'.
6265 * textmodes/picture.el (picture-delete-char): New alias.
6266 (picture-mode-map): Use it. (Bug#10860)
6267 (picture-mode): Doc fix.
6269 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
6271 * newcomment.el (uncomment-region-default): Remove unused binding.
6273 2012-02-21 Glenn Morris <rgm@gnu.org>
6275 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6276 (picture-self-insert, picture-tab-chars): Doc fix.
6277 (picture-mode-map): Fix C-a, C-e.
6279 2012-02-20 Glenn Morris <rgm@gnu.org>
6281 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6283 2012-02-20 Leo Liu <sdl.web@gmail.com>
6285 * icomplete.el (icomplete-completions): Check FROM arg before
6286 passing to substring (Bug#10850).
6288 2012-02-19 Chong Yidong <cyd@gnu.org>
6290 * comint.el: Require ansi-color.
6291 (comint-output-filter-functions): Add ansi-color-process-output.
6293 * ansi-color.el: Don't set comint-output-filter-functions; it is
6294 now in the initial value defined in comint.el.
6295 (ansi-color-apply-face-function): New variable.
6296 (ansi-color-apply-on-region): Use it.
6297 (ansi-color-apply-overlay-face): New function.
6299 * shell.el (shell): No need to require ansi-color.
6300 (shell-mode): Use ansi-color-apply-face-function to highlight
6301 color escapes using font-lock-face property (Bug#10835).
6303 2012-02-19 Chong Yidong <cyd@gnu.org>
6305 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6306 mode-line formats (Bug#10839).
6308 2012-02-18 Glenn Morris <rgm@gnu.org>
6310 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6312 * mail/undigest.el (unforward-rmail-message): Doc fix.
6314 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6316 2012-02-18 Eli Zaretskii <eliz@gnu.org>
6318 * international/characters.el (script-list): Sync with the latest
6319 Unicode Character Database.
6321 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6323 * international/titdic-cnv.el: Remove duplicate coding tag.
6324 * language/cham.el: Likewise.
6325 * language/tai-viet.el: Likewise.
6327 2012-02-18 Glenn Morris <rgm@gnu.org>
6329 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6330 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6331 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6332 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6333 * calendar/holidays.el (holiday-bahai-holidays)
6334 (calendar-holidays, list-holidays):
6335 Use utf-8 Bahá'í in doc-strings, menus, etc.
6337 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6339 * saveplace.el (save-place-ignore-files-regexp): New variable
6340 allowing for excluding files from saving their location of point.
6341 The default value matches the temporary commit message editing
6342 files from Git, SVN, Bazaar, and Mercurial.
6343 (save-place-to-alist): Use it.
6345 2012-02-17 Lawrence Mitchell <wence@gmx.li>
6346 Stefan Monnier <monnier@iro.umontreal.ca>
6348 * newcomment.el (uncomment-region-default): Don't leave extra space
6349 when an arg is provided (bug#8150).
6351 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6353 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
6355 2012-02-17 Glenn Morris <rgm@gnu.org>
6357 * net/socks.el: Require network-stream. (Bug#10599)
6359 2012-02-17 Kenichi Handa <handa@m17n.org>
6361 * international/charprop.el:
6362 * international/uni-name.el:
6363 * international/uni-old-name.el:
6364 * international/uni-comment.el: Regenerate.
6366 2012-02-16 Glenn Morris <rgm@gnu.org>
6368 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6369 Interactively in calendar buffer, give an error if not on a date.
6371 2012-02-15 Glenn Morris <rgm@gnu.org>
6373 * shell.el (shell-delimiter-argument-list):
6374 Revert 2011-02-17 change. (Bug#8027)
6376 2012-02-15 Chong Yidong <cyd@gnu.org>
6378 * minibuffer.el (completion-at-point-functions): Doc fix.
6380 * custom.el (defcustom): Doc fix; note use of defvar.
6382 2012-02-15 Glenn Morris <rgm@gnu.org>
6384 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6387 2012-02-14 Glenn Morris <rgm@gnu.org>
6389 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6391 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6393 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6394 way the ports list is computed.
6395 (smtpmail-query-smtp-server): Prompt the user for a port number if
6396 we can't connect to any of the standard ports (bug#10810).
6398 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6400 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6402 2012-02-13 Glenn Morris <rgm@gnu.org>
6404 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6406 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6408 * net/gnutls.el (gnutls-trustfiles): New variable.
6409 (gnutls-negotiate): Use it.
6411 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6413 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6414 does its stuff if Gnus is running.
6416 2012-02-13 Alan Mackenzie <acm@muc.de>
6418 Fix a loop in c-set-fl-decl-start.
6420 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
6421 c-backward-syntactic-ws actually moves backwards.
6423 2012-02-13 Leo Liu <sdl.web@gmail.com>
6425 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6426 beginning so that all \C-o chars are removed.
6428 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6430 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
6432 2012-02-12 Alan Mackenzie <acm@muc.de>
6434 Fix infinite loop with long macros.
6435 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
6437 2012-02-12 Chong Yidong <cyd@gnu.org>
6439 * window.el (display-buffer): Doc fix (Bug#10785).
6441 2012-02-12 Glenn Morris <rgm@gnu.org>
6443 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6444 (x-disown-selection-internal, x-get-selection-internal):
6445 Sync docs with the xselect.c versions.
6447 * allout-widgets.el: Add missing license notice.
6449 2012-02-11 Glenn Morris <rgm@gnu.org>
6451 * select.el (x-get-selection-internal, x-own-selection-internal)
6452 (x-disown-selection-internal):
6453 * x-dnd.el (x-get-selection-internal): Update declarations.
6455 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6457 * window.el (window-sides-slots):
6458 * tool-bar.el (tool-bar-position):
6459 * term/xterm.el (xterm-extra-capabilities):
6460 * ses.el (ses-self-reference-early-detection):
6461 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6462 (verilog-auto-wire-type)
6463 (verilog-auto-delete-trailing-whitespace)
6464 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6465 (verilog-auto-tieoff-declaration):
6466 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6467 (sql-oracle-statement-starters, sql-oracle-scan-on):
6468 * progmodes/prolog.el (prolog-align-comments-flag)
6469 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6470 (prolog-left-indent-regexp, prolog-paren-indent-p)
6471 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6472 (prolog-types, prolog-mode-specificators)
6473 (prolog-determinism-specificators, prolog-directives)
6474 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6475 (prolog-electric-dot-flag)
6476 (prolog-electric-dot-full-predicate-template)
6477 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6478 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6479 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6480 (prolog-program-switches, prolog-prompt-regexp)
6481 (prolog-debug-on-string, prolog-debug-off-string)
6482 (prolog-trace-on-string, prolog-trace-off-string)
6483 (prolog-zip-on-string, prolog-zip-off-string)
6484 (prolog-use-standard-consult-compile-method-flag)
6485 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6486 (prolog-imenu-max-lines, prolog-info-predicate-index)
6487 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6488 (prolog-char-quote-workaround):
6489 * progmodes/cc-vars.el (c-defun-tactic):
6490 * net/tramp.el (tramp-encoding-command-interactive)
6491 (tramp-local-end-of-line):
6492 * net/soap-client.el (soap-client):
6493 * net/netrc.el (netrc-file):
6494 * net/gnutls.el (gnutls):
6495 * minibuffer.el (completion-category-overrides)
6496 (completion-cycle-threshold)
6497 (completion-pcm-complete-word-inserts-delimiters):
6498 * man.el (Man-name-local-regexp):
6499 * mail/feedmail.el (feedmail-display-full-frame):
6500 * international/characters.el (glyphless-char-display-control):
6501 * eshell/em-ls.el (eshell-ls-date-format):
6502 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6503 (lisp-lambda-list-keyword-parameter-indentation)
6504 (lisp-lambda-list-keyword-parameter-alignment):
6505 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6506 * dired-x.el (dired-omit-verbose):
6507 * cus-theme.el (custom-theme-allow-multiple-selections):
6508 * calc/calc.el (calc-highlight-selections-with-faces)
6509 (calc-lu-field-reference, calc-lu-power-reference)
6510 (calc-note-threshold):
6511 * battery.el (battery-mode-line-limit):
6512 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6513 (archive-7z-update):
6514 * allout.el (allout-prefixed-keybindings)
6515 (allout-unprefixed-keybindings)
6516 (allout-inhibit-auto-fill-on-headline)
6517 (allout-flattened-numbering-abbreviation):
6518 * allout-widgets.el (allout-widgets-auto-activation)
6519 (allout-widgets-icons-dark-subdir)
6520 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6521 (allout-widgets-theme-dark-background)
6522 (allout-widgets-theme-light-background)
6523 (allout-widgets-item-image-properties-emacs)
6524 (allout-widgets-item-image-properties-xemacs)
6525 (allout-widgets-run-unit-tests-on-load)
6526 (allout-widgets-time-decoration-activity)
6527 (allout-widgets-hook-error-post-time)
6528 (allout-widgets-track-decoration):
6529 Add missing :version tags to new defcustoms and defgroups.
6531 * progmodes/sql.el (sql-ansi-statement-starters)
6532 (sql-oracle-statement-starters): Add custom type.
6534 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6535 (prolog-system-version): Give it a type.
6537 2012-02-11 Eli Zaretskii <eliz@gnu.org>
6539 * term/pc-win.el (x-select-text, x-selection-owner-p)
6540 (x-own-selection-internal, x-disown-selection-internal)
6541 (x-get-selection-internal): Sync doc strings and argument lists
6542 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6544 2012-02-11 Leo Liu <sdl.web@gmail.com>
6546 * progmodes/python.el (python-end-of-statement): Fix infinite
6549 2012-02-10 Glenn Morris <rgm@gnu.org>
6551 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6552 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6554 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6556 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6557 about SMTP before checking the From header.
6559 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
6560 into own function for reuse by emacsbug.el.
6562 2012-02-10 Leo Liu <sdl.web@gmail.com>
6564 * subr.el (condition-case-unless-debug): Rename from
6565 condition-case-no-debug. All callers changed.
6566 (with-demoted-errors): Fix caller.
6568 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6569 * nxml/rng-valid.el (rng-do-some-validation):
6570 * emacs-lisp/package.el (package-refresh-contents)
6571 (package-menu-execute):
6572 * desktop.el (desktop-create-buffer):
6573 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
6575 2012-02-10 Glenn Morris <rgm@gnu.org>
6577 * textmodes/bibtex.el:
6578 Add missing :version tags for new/changed defcustoms.
6580 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6582 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
6584 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6585 (smtpmail-via-smtp): Use it, or fall back on the From address.
6586 (smtpmail-send-it): Ditto.
6588 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6590 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6591 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6592 (byte-compile-tmp-var): New const.
6593 (byte-compile-defvar): Use it to minimize .elc size.
6594 Just use `defvar' rather than simulate it (bug#10761).
6596 2012-02-09 Glenn Morris <rgm@gnu.org>
6598 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6600 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6603 * progmodes/compile.el (compilation-error-screen-columns)
6604 (compilation-first-column, compilation-filter-start): Doc fixes.
6606 * vc/log-view.el (log-view-toggle-entry-display):
6607 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6609 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6610 (report-emacs-bug-can-use-xdg-email):
6611 (report-emacs-bug-insert-to-mailer): Doc fixes.
6612 (report-emacs-bug): Message fix.
6614 * net/browse-url.el (browse-url-can-use-xdg-open)
6615 (browse-url-xdg-open): Doc fixes.
6617 * electric.el (electric-indent-mode, electric-pair-mode)
6618 (electric-layout-rules, electric-layout-mode): Doc fixes.
6619 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6621 2012-02-08 Martin Rudalics <rudalics@gmx.at>
6623 * server.el (server-unselect-display): Don't inadvertently kill
6624 the current buffer. (Bug#10729)
6626 2012-02-08 Glenn Morris <rgm@gnu.org>
6628 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6629 (sql-list-table): Doc fixes.
6631 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6632 Comment out (does nothing).
6634 * completion.el (dynamic-completion-mode):
6635 * dirtrack.el (dirtrack-debug-mode):
6636 * electric.el (electric-layout-mode):
6637 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6638 * face-remap.el (text-scale-mode, buffer-face-mode):
6639 * iimage.el (iimage-mode):
6640 * image-mode.el (image-transform-mode):
6641 * minibuffer.el (completion-in-region-mode):
6642 * scroll-lock.el (scroll-lock-mode):
6643 * simple.el (next-error-follow-minor-mode):
6644 * tar-mode.el (tar-subfile-mode):
6645 * tooltip.el (tooltip-mode):
6646 * vcursor.el (vcursor-use-vcursor-map):
6647 * wid-browse.el (widget-minor-mode):
6648 * emulation/tpu-edt.el (tpu-edt-mode):
6649 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6650 * international/iso-ascii.el (iso-ascii-mode):
6651 * language/thai-util.el (thai-word-mode):
6652 * mail/supercite.el (sc-minor-mode):
6653 * net/goto-addr.el (goto-address-mode):
6654 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6655 * progmodes/cwarn.el (cwarn-mode):
6656 * progmodes/flymake.el (flymake-mode):
6657 * progmodes/glasses.el (glasses-mode):
6658 * progmodes/hideshow.el (hs-minor-mode):
6659 * progmodes/pascal.el (pascal-outline-mode):
6660 * textmodes/enriched.el (enriched-mode):
6661 * vc/smerge-mode.el (smerge-mode):
6662 Doc fixes (minor mode argument).
6664 2012-02-07 Eli Zaretskii <eliz@gnu.org>
6666 * ls-lisp.el (ls-lisp-sanitize): New function.
6667 (ls-lisp-insert-directory): Use it to fix or remove any elements
6668 in file-alist with missing attributes. (Bug#4673)
6670 2012-02-07 Alan Mackenzie <acm@muc.de>
6672 Fix spurious recognition of c-in-knr-argdecl.
6674 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6675 putative K&R region.
6677 2012-02-07 Alan Mackenzie <acm@muc.de>
6679 * progmodes/cc-engine.el (c-forward-objc-directive):
6680 Prevent looping in "#pragma mark @implementation".
6682 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
6684 * notifications.el (notifications-on-closed-signal): Make `reason'
6685 optional. (Bug#10744)
6687 2012-02-07 Glenn Morris <rgm@gnu.org>
6689 * emacs-lisp/easy-mmode.el (define-minor-mode):
6690 Doc fixes for the macro and the mode it defines.
6692 * image.el (imagemagick-types-inhibit): Doc fix.
6694 * cus-start.el (imagemagick-render-type): Add it.
6696 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6698 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6699 Set the default at load time, too, so that `font-lock-fontify-buffer'
6700 can be called without setting up the entire mode first. This fixes
6701 a bug in `mm-inline-text' with C MIME parts.
6703 2012-02-06 Chong Yidong <cyd@gnu.org>
6705 * simple.el (list-processes--refresh): Delete exited processes
6708 * comint.el (comint-next-prompt): next-single-char-property-change
6709 and prev-single-char-property-change never return nil (Bug#8657).
6711 * custom.el (defcustom): Doc fix (Bug#9711).
6713 2012-02-05 Chong Yidong <cyd@gnu.org>
6715 * cus-edit.el (custom-variable-reset-backup): Quote the value
6716 before storing it in the customized-value property (Bug#6712).
6717 (custom-display): Add a customization type tag.
6718 (custom-buffer-create-internal): Improve tooltip message.
6720 * wid-edit.el (widget-field-value-get): New optional arg to
6721 suppress trailing whitespace truncation.
6722 (character): Use it (Bug#2689).
6724 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6726 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6727 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6729 2012-02-05 Chong Yidong <cyd@gnu.org>
6731 * cus-edit.el (custom-variable-value-create): For mismatched
6732 types, show the current value (Bug#7600).
6734 * custom.el (defcustom): Doc fix.
6736 2012-02-05 Glenn Morris <rgm@gnu.org>
6738 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6740 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
6742 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6743 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6744 (pp-last-sexp): Use `looking-at-p'.
6746 2012-02-04 Glenn Morris <rgm@gnu.org>
6748 * files.el (revert-buffer):
6749 Doc fix (mention revert-buffer-in-progress-p).
6751 * emacs-lisp/ert-x.el (ert-simulate-command):
6752 Check deferred-action-list (which is obsolete) is bound.
6754 * subr.el (with-wrapper-hook): Doc fixes.
6756 * simple.el (filter-buffer-substring-functions)
6757 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6759 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6761 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6762 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6764 2012-02-04 Leo Liu <sdl.web@gmail.com>
6766 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6768 2012-02-04 Glenn Morris <rgm@gnu.org>
6770 * image.el (image-extension-data): Add obsolete alias.
6772 * isearch.el (isearch-update): Doc fix.
6774 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6776 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6778 2012-02-03 Glenn Morris <rgm@gnu.org>
6780 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6781 (image-animate-timeout): Doc fix.
6783 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6785 2012-02-02 Glenn Morris <rgm@gnu.org>
6787 * server.el (server-auth-dir): Doc fix.
6788 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6790 * subr.el (run-mode-hooks): Doc fix.
6792 2012-02-02 Juri Linkov <juri@jurta.org>
6794 * image-mode.el (image-toggle-display-image): Remove tautological
6795 `major-mode' from the `derived-mode-p' test.
6797 2012-02-02 Kenichi Handa <handa@m17n.org>
6799 * composite.el (compose-region): Cancel previous change.
6801 2012-02-02 Kenichi Handa <handa@m17n.org>
6803 * composite.el (compose-region, compose-string): Signal error for
6804 a null string component (Bug#6988).
6806 2012-02-01 Chong Yidong <cyd@gnu.org>
6808 * view.el (view-buffer-other-window, view-buffer-other-frame):
6809 Handle special modes like view-buffer (Bug#10650).
6810 (view-buffer): Simplify.
6812 * frame.el (set-frame-font): Tweak meaning of third argument.
6814 * dynamic-setting.el (font-setting-change-default-font):
6815 Use set-frame-font (Bug#9982).
6817 2012-02-01 Glenn Morris <rgm@gnu.org>
6819 * progmodes/compile.el (compilation-internal-error-properties):
6820 Respect compilation-first-column in the "*compilation*" buffer.
6822 * emacs-lisp/easy-mmode.el (define-minor-mode):
6823 Relax :variable's test for a named function.
6825 2012-01-31 Alan Mackenzie <acm@muc.de>
6827 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6830 2012-01-31 Chong Yidong <cyd@gnu.org>
6832 * frame.el (set-frame-font): New arg ALL-FRAMES.
6834 * menu-bar.el (menu-set-font): Use set-frame-font.
6836 * faces.el (face-spec-reset-face): Don't apply unspecified
6837 attribute values to the default face.
6839 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
6841 * progmodes/cwarn.el (cwarn): Remove dead link.
6842 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6843 Remove * from defcustom docstrings.
6844 (turn-on-cwarn-mode): Make obsolete.
6845 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6846 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6848 2012-01-31 Glenn Morris <rgm@gnu.org>
6850 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6851 Fix :variable handling of mode a symbol not equal to modefun.
6852 Allow named functions to be used as the cdr of :variable.
6854 2012-01-30 Glenn Morris <rgm@gnu.org>
6856 * emacs-lisp/authors.el (authors-fixed-entries):
6857 Remove reference to deleted file rnewspost.el.
6859 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
6861 * window.el (window-with-parameter): Remove unused variable `windows'.
6862 (window--side-check): Remove unused variable `code'.
6863 (window--resize-siblings): Remove unused variable `first'.
6864 (adjust-window-trailing-edge): Remove unused variable `failed'.
6865 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6866 Use `let', not `let*'.
6867 (balance-windows-2): Remove unused variable `found'.
6868 (window--state-put-2): Remove unused variable `splits'.
6869 (window-state-put): Remove unused variable `selected'.
6870 (same-window-p): Use `string-match-p'.
6871 (display-buffer-assq-regexp): Remove unused variable `value'.
6872 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6873 Mark argument ALIST as ignored.
6874 (pop-to-buffer): Remove unused variable `old-window'.
6876 2012-01-29 Eli Zaretskii <eliz@gnu.org>
6878 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6879 and .lzma compressed files.
6881 2012-01-29 Chong Yidong <cyd@gnu.org>
6883 * frame.el (window-system-default-frame-alist): Doc fix.
6885 * dynamic-setting.el (font-setting-change-default-font): Don't
6886 change the default face if SET-FONT argument is non-nil (Bug#9982).
6888 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6890 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6892 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6894 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6895 breakpoints in files outside current directory (Bug#6098).
6897 2012-01-29 Chong Yidong <cyd@gnu.org>
6899 * progmodes/python.el: Require ansi-color at top-level.
6901 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6902 Define and use in Emacs Lisp mode (Bug#9360).
6903 (lisp-mode-abbrev-table): Add doc.
6904 (lisp-mode-variables): Don't set local-abbrev-table.
6905 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6907 2012-01-28 Roland Winkler <winkler@gnu.org>
6909 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6911 2012-01-28 Roland Winkler <winkler@gnu.org>
6913 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6914 (bibtex-set-dialect): Use it. Either set global values of
6915 dialect-dependent variables or bind these variables buffer-locally
6917 (bibtex-mode): Call bibtex-set-dialect via
6918 hack-local-variables-hook.
6919 (bibtex-dialect): Update docstring.
6920 Add safe-local-variable predicate.
6921 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6923 (bibtex-mode-map): Define menu for each dialect.
6924 (bibtex-entry): Fix docstring.
6926 2012-01-28 Chong Yidong <cyd@gnu.org>
6928 * eshell/esh-arg.el (eshell-quote-argument): New function.
6930 * eshell/esh-ext.el (eshell-invoke-batch-file):
6931 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6932 first arg to eshell-parse-command (Bug#10523).
6934 2012-01-28 Drew Adams <drew.adams@oracle.com>
6936 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6937 `default-directory' is non-nil.
6939 2012-01-28 Eli Zaretskii <eliz@gnu.org>
6941 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6942 line that displays system-configuration-options. (Bug#9924)
6944 2012-01-28 Drew Adams <drew.adams@oracle.com>
6946 * descr-text.el (describe-char): Show information about POS, in
6947 addition to information about the character at POS. Improve and
6948 update the doc string. Change "code point" to "code point in
6949 charset", to avoid confusion with the character's Unicode code
6950 point shown above that. (Bug#10129)
6952 2012-01-28 Eli Zaretskii <eliz@gnu.org>
6954 * descr-text.el (describe-char): Show the raw character, not only
6955 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6956 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6959 2012-01-28 Phil Hagelberg <phil@hagelb.org>
6961 * emacs-lisp/package.el (package-install):
6962 Run package-refresh-contents if there is no archive yet (Bug#9798).
6964 2012-01-28 Chong Yidong <cyd@gnu.org>
6966 * emacs-lisp/package.el (package-maybe-load-descriptor):
6967 New function, split from package-maybe-load-descriptor.
6968 (package-maybe-load-descriptor): Use it.
6969 (package-download-transaction): Fully load required packages
6970 inside the loop, so that `require' calls work (Bug#10593).
6971 (package-install): No need to call package-initialize now.
6973 2012-01-28 Chong Yidong <cyd@gnu.org>
6975 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6977 * tooltip.el (tooltip-mode): Doc fix.
6978 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6980 * frame.el (set-cursor-color): Doc fix (Bug#352).
6982 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6983 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6985 * cus-edit.el (custom-buffer-create-internal): Fix search button
6987 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
6989 2012-01-27 Eduard Wiebe <usenet@pusto.de>
6991 * dired.el (dired-mark-files-regexp):
6992 Include any subdirectory components. (Bug#10445)
6994 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6996 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6997 Handle [host]:port syntax. (Bug#10533)
6999 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
7001 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7003 2012-01-26 Glenn Morris <rgm@gnu.org>
7005 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7006 * term.el (term-raw-escape-map): Use Control-X-prefix.
7007 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7009 2012-01-25 Martin Rudalics <rudalics@gmx.at>
7011 * window.el (window-state-get, window--state-get-1): Don't deal
7012 with fixed-sizeness of windows. Simplify code.
7014 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7016 * window.el (window--state-get-1, window--state-put-2):
7017 Don't save and restore the mark.
7019 2012-01-25 Chong Yidong <cyd@gnu.org>
7021 * custom.el (custom-variable-p): Doc fix.
7023 2012-01-25 Glenn Morris <rgm@gnu.org>
7025 * dired.el (dired-goto-file): Handle some of the more common
7026 characters that `ls -b' escapes. (Bug#10596)
7028 * progmodes/compile.el (compilation-next-error-function):
7029 Respect compilation-first-column in the "*compilation*" buffer.
7030 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7032 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7034 2012-01-24 Glenn Morris <rgm@gnu.org>
7036 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7038 2012-01-24 Julien Danjou <julien@danjou.info>
7040 * color.el (color-rgb-to-hsl): Fix value computing.
7041 (color-hue-to-rgb): New function.
7042 (color-hsl-to-rgb): New function.
7043 (color-clamp, color-saturate-hsl, color-saturate-name)
7044 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7045 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7047 2012-01-24 Glenn Morris <rgm@gnu.org>
7049 * vc/vc-rcs.el (vc-rcs-create-tag):
7050 * vc/vc-sccs.el (vc-sccs-create-tag):
7051 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7053 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7055 * eshell/esh-util.el (eshell-read-hosts-file):
7056 Skip comment lines. (Bug#10549)
7058 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7060 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
7062 * subr.el (display-delayed-warnings): Doc fix.
7063 (collapse-delayed-warnings): New function to collapse identical
7065 (delayed-warnings-hook): Add it.
7067 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
7069 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7071 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7072 (tramp-default-user-alist): Don't add "pscp".
7073 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7074 property "login-as", if set. (Bug#10530)
7076 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
7078 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7079 "plink1" and "psftp". (Bug#10530)
7081 2012-01-21 Kenichi Handa <handa@m17n.org>
7083 * international/mule-cmds.el (prefer-coding-system): Show a
7084 warning message if the default value of file-name-coding-system
7087 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7089 * windmove.el (windmove-reference-loc):
7090 Fix windmove-reference-loc miscalculation.
7092 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7094 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7097 2012-01-21 Glenn Morris <rgm@gnu.org>
7099 * international/mule.el (auto-coding-alist): Add .tbz.
7101 * files.el (local-enable-local-variables): Doc fix.
7102 (inhibit-local-variables-regexps): Rename from
7103 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7104 Doc fix. Add some extensions from auto-coding-alist.
7105 (inhibit-local-variables-suffixes):
7106 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7107 (inhibit-local-variables-p):
7108 New function, extracted from set-auto-mode-1.
7109 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7110 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7111 (hack-local-variables): Doc fix. Make the mode-only case
7112 respect enable-local-variables and friends.
7113 Respect inhibit-local-variables-regexps for file-locals, but
7114 not for directory-locals.
7115 (set-visited-file-name):
7116 Take account of inhibit-local-variables-regexps.
7117 Whether it applies may change as the file name is changed.
7118 * jka-cmpr-hook.el (jka-compr-install):
7119 * jka-compr.el (jka-compr-uninstall):
7120 Update for inhibit-first-line-modes-suffixes name change.
7122 2012-01-20 Martin Rudalics <rudalics@gmx.at>
7124 * help-macro.el (make-help-screen): Temporarily restore original
7125 binding for minor-mode-map-alist (Bug#10454).
7127 2012-01-19 Julien Danjou <julien@danjou.info>
7129 * color.el (color-name-to-rgb): Use the white color to find the max
7130 color component value and return correctly computed values.
7131 (color-name-to-rgb): Add missing float conversion for max value.
7133 2012-01-19 Martin Rudalics <rudalics@gmx.at>
7135 * window.el (window--state-get-1, window-state-get): Do not use
7136 special state value for window-persistent-parameters.
7137 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
7138 (window--state-put-2): Reset all window parameters to nil before
7139 assigning values of persistent parameters.
7141 2012-01-18 Alan Mackenzie <acm@muc.de>
7143 Eliminate sluggishness and hangs in fontification of "semicolon
7146 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7147 Change value 10000 -> 3000.
7148 (c-state-safe-place): Reformulate so it doesn't stack up an
7149 infinite number of wrong entries in c-state-nonlit-pos-cache.
7150 (c-determine-limit-get-base, c-determine-limit): New functions to
7151 determine backward search limits disregarding literals.
7152 (c-find-decl-spots): Amend commenting.
7153 (c-cheap-inside-bracelist-p): New function which detects "={".
7155 * progmodes/cc-fonts.el
7156 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7158 (c-font-lock-declarations): Fix an occurrence of point being
7159 undefined. Check additionally for point being in a bracelist or
7160 near a macro invocation without a semicolon so as to avoid a
7161 fruitless time consuming search for a declarator. Give a more
7162 precise search limit for declarators using the new
7165 2012-01-18 Glenn Morris <rgm@gnu.org>
7167 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7168 (set-auto-mode): Doc fixes.
7170 2012-01-17 Glenn Morris <rgm@gnu.org>
7172 * isearch.el (search-nonincremental-instead): Fix doc typo.
7174 * dired.el (dired-insert-directory): Handle newlines in directory name.
7175 (dired-build-subdir-alist): Unescape newlines in directory name.
7177 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
7179 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7180 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7181 (tramp-action-terminal): Use it. (Bug#10530)
7183 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7185 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7187 2012-01-16 Martin Rudalics <rudalics@gmx.at>
7189 * window.el (window-state-ignored-parameters): Remove variable.
7190 (window--state-get-1): Rename argument MARKERS to IGNORE.
7191 Handle persistent window parameters. Make copy of clone-of
7192 parameter only if requested. (Bug#10348)
7193 (window--state-put-2): Install a window parameter only if it has
7194 a non-nil value or an existing parameter shall be overwritten.
7196 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
7198 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7200 2012-01-14 Eli Zaretskii <eliz@gnu.org>
7202 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7203 don't pass the (nil) value of `upnode' to string-match.
7205 2012-01-14 Chong Yidong <cyd@gnu.org>
7207 * startup.el (command-line): Fix X resource class for cursorColor.
7208 Fix values recognized by the cursorBlink resource.
7210 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7212 * epg.el (epg--make-temp-file): Avoid permission race condition
7213 when running on old Emacs versions (bug#10403).
7215 2012-01-14 Glenn Morris <rgm@gnu.org>
7217 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7219 2012-01-13 Alan Mackenzie <acm@muc.de>
7221 Fix filling for when filladapt mode is enabled.
7223 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7224 c-mask-paragraph, pass in `fill-paragraph' rather than
7225 `fill-region-as-paragraph'. (This is a reversion of a previous
7227 * progmodes/cc-mode.el (c-basic-common-init):
7228 Make fill-paragraph-handle-comment buffer local and set it to nil.
7230 2012-01-13 Glenn Morris <rgm@gnu.org>
7232 * dired.el (dired-switches-escape-p): New function.
7233 (dired-insert-directory): Use dired-switches-escape-p.
7234 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7236 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7238 2012-01-12 Glenn Morris <rgm@gnu.org>
7240 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7241 changes in adaptive-fill-regexp. (Bug#10276)
7243 2012-01-11 Alan Mackenzie <acm@muc.de>
7245 Fix Emacs bug #10463 - put `widen's around the critical spots.
7247 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
7248 widen around each invocation of c-state-pp-to-literal. Remove an
7249 unused let variable.
7251 2012-01-11 Glenn Morris <rgm@gnu.org>
7253 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
7256 2012-01-10 Chong Yidong <cyd@gnu.org>
7258 * net/network-stream.el (network-stream-open-starttls):
7259 Avoid emitting a confusing error message when the server gives a bad
7260 response to the capability command.
7262 2012-01-10 Glenn Morris <rgm@gnu.org>
7264 * mail/unrmail.el (unrmail): Tweak previous change.
7266 2012-01-09 Chong Yidong <cyd@gnu.org>
7268 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7270 2012-01-08 Alan Mackenzie <acm@muc.de>
7272 Optimise font locking in long enum definitions.
7274 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7275 arm to a cond form to handle enums.
7276 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7277 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7279 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
7281 * files.el (move-file-to-trash): Preserve default file modes on error.
7284 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7286 * faces.el (set-face-attribute): Clarify the meaning of the nil
7289 * subr.el (with-selected-frame): Mention that the selected frame
7290 is restored (bug#9980).
7292 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7295 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
7296 (password-read): Don't autoload unused function.
7298 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
7300 * progmodes/which-func.el (which-func-mode): Turn into a
7301 non-interactive function and mark as obsolete (bug#10428).
7303 2012-01-06 Chong Yidong <cyd@gnu.org>
7305 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7306 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7307 functions, along with 1 and -1.
7309 2012-01-06 Eli Zaretskii <eliz@gnu.org>
7311 * time.el (display-time-load-average)
7312 (display-time-default-load-average): Doc fixes. See the thread
7314 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7317 2012-01-06 Glenn Morris <rgm@gnu.org>
7319 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7320 has no messages. (Bug#10377)
7322 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7323 than Info-edit. (Bug#10385)
7325 * time.el (display-time-load-average, display-time-next-load-average):
7328 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7329 local setting of buffer-read-only to the input buffer. (Bug#10419)
7331 * calendar/calendar.el (calendar-mode):
7332 Locally set scroll-margin to 0. (Bug#10379)
7334 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
7336 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7338 2012-01-05 Glenn Morris <rgm@gnu.org>
7340 * eshell/em-unix.el (diff-no-select): Autoload it.
7341 (eshell/diff): Use diff-no-select. (Bug#10420)
7343 2012-01-05 Chong Yidong <cyd@gnu.org>
7345 * shell.el (shell-dynamic-complete-functions): Revert last change.
7346 (shell-command-completion-function): New function.
7347 (shell-completion-vars): Use it to implement
7348 shell-completion-execonly (Bug#10417).
7350 * custom.el (enable-theme): Don't set custom-safe-themes.
7352 * cus-theme.el (custom-theme-merge-theme):
7353 Ignore custom-enabled-themes and custom-safe-themes.
7355 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7357 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7358 first prompt in `sql-interacive-mode'.
7359 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
7361 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
7362 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7363 context of original buffer. Invoke `sql-login-hook'.
7365 2012-01-04 Eli Zaretskii <eliz@gnu.org>
7367 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7368 letters in cite-prefix.
7370 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7372 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7374 2012-01-03 Chong Yidong <cyd@gnu.org>
7376 * shell.el (shell-dynamic-complete-functions):
7377 Put pcomplete-completions-at-point, so as to try
7378 comint-filename-completion first (Bug#10417).
7380 2012-01-02 Richard Stallman <rms@gnu.org>
7382 * battery.el (battery-status-function):
7383 Detect when to use battery-yeeloong-sysfs.
7384 (battery-echo-area-format): Add string for Yeeloong.
7385 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7386 (battery-yeeloong-sysfs): New function.
7388 2012-01-02 Chong Yidong <cyd@gnu.org>
7390 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7391 (dirtrack): Merge code for handling relative filenames in prompt
7392 from shell-dir-cookie-watcher.
7393 (dirtrack-debug-message): New arg to avoid excess format calls.
7395 * shell.el (shell-dir-cookie-re): Variable deleted.
7396 (shell-dir-cookie-watcher): Function deleted.
7397 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7400 2012-01-01 Eli Zaretskii <eliz@gnu.org>
7402 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7403 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
7406 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7408 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7410 2011-12-31 Eli Zaretskii <eliz@gnu.org>
7412 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7413 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7415 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
7417 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7418 also for alternative shells.
7419 (tramp-open-connection-setup-interactive-shell): Check, whether
7420 the shell is a busybox.
7421 (tramp-send-command): Don't suppress multiple prompts for
7422 busyboxes, it hurts.
7424 2011-12-28 Chong Yidong <cyd@gnu.org>
7426 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7427 (gdb-get-source-file): Move mode line update to
7428 gdb-get-source-file (Bug#10087).
7430 2011-12-25 Chong Yidong <cyd@gnu.org>
7432 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7433 gud-gdb-marker-filter without taking it as an argument.
7434 (gud-gdb-run-command-fetch-lines): Caller changed.
7435 (gud-gdb-completion-function): New variable.
7436 (gud-gdb-completion-at-point): Use it.
7437 (gud-gdb-completions-1): Split from gud-gdb-completions.
7439 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7440 function as separate arguments.
7441 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7442 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7443 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7444 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7445 (gdb-stopped, def-gdb-auto-update-trigger)
7446 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
7447 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7449 (gud-gdbmi-completions): New function.
7450 (gdb): Use it for generating the completion table.
7452 2011-12-24 Alan Mackenzie <acm@muc.de>
7454 Introduce a mechanism to widen the region used in context font
7455 locking. Use this to protect declarations from losing their contexts.
7457 * progmodes/cc-langs.el (c-before-font-lock-functions):
7458 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
7459 (c-before-context-fontification-functions): New defvar, a list of
7460 functions to be run just before context (etc.) font locking.
7462 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
7463 New, functionality extracted from
7464 c-neutralize-syntax-in-and-mark-CPP.
7465 (c-in-after-change-fontification): New variable.
7466 (c-after-change): Set c-in-after-change-fontification.
7467 (c-set-fl-decl-start): Rejig its interface, so it can be called
7468 from both after-change and context fontifying.
7469 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7471 (c-standard-font-lock-fontify-region-function): New variable.
7472 (c-font-lock-fontify-region): New function.
7474 2011-12-24 Juri Linkov <juri@jurta.org>
7476 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7479 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
7481 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7482 existence of source file. (Bug#10325)
7484 2011-12-23 Alan Mackenzie <acm@muc.de>
7486 Fix unstable fontification inside templates.
7488 * progmodes/cc-langs.el (c-before-font-lock-functions):
7489 Newly created from the singular version. The (c c++ objc) entry now
7490 additionally has c-set-fl-decl-start. The other languages (apart
7491 from AWK) have that as a single entry.
7493 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7494 The functionality for "local" declarations has been extracted to
7495 c-set-fl-decl-start.
7497 * progmodes/cc-mode.el (c-common-init, c-after-change):
7498 Changes due to pluralisation of c-before-font-lock-functions.
7499 (c-set-fl-decl-start): New function, extracted from
7500 c-font-lock-enclosing-decls and enhanced.
7502 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
7504 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7506 2011-12-22 Juri Linkov <juri@jurta.org>
7508 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7510 2011-12-22 Chong Yidong <cyd@gnu.org>
7512 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7514 2011-12-21 Drew Adams <drew.adams@oracle.com>
7516 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7518 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7520 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7522 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7524 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7525 highlighting and support. Fix up comments for capitalization.
7526 (cfengine-mode-debug): New var.
7527 (cfengine3-mode): Change the modeline indicator to "CFE3".
7528 (cfengine3-font-lock-keywords): Improve defun highlighting.
7529 (cfengine2-actions): Rename from `cfengine-actions'.
7530 (cfengine2-font-lock-keywords): Rename from
7531 `cfengine-font-lock-keywords'.
7532 (cfengine2-imenu-expression): Rename from
7533 `cfengine-imenu-expression'.
7534 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7535 (cfengine2-beginning-of-defun): Rename from
7536 `cfengine-beginning-of-defun'.
7537 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7538 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7539 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7540 modeline indicator to "CFE2".
7541 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7542 (cfengine-mode-abbrevs): Mark obsolete.
7544 2011-12-21 Chong Yidong <cyd@gnu.org>
7546 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7549 2011-12-20 Martin Rudalics <rudalics@gmx.at>
7551 * window.el (window-normalize-buffer-to-display): Remove.
7552 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7554 2011-12-19 Chong Yidong <cyd@gnu.org>
7556 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7557 Don't signal an error in a predicate function; return non-nil.
7558 (vc-dir-mark-file): Move the error here.
7559 (vc-dir-mark-unmark): If acting on the region, keep going if one
7560 of the entries cannot be marked/unmarked.
7561 (vc-dir-mark-all-files): If current entry is a directory, mark
7562 only child files, as documented.
7564 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7566 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7567 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7570 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7572 * term/ns-win.el (ns-get-selection-internal)
7573 (ns-store-selection-internal): Declare.
7574 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7575 Declare as obsolete.
7576 (ns-get-pasteboard, ns-paste-secondary):
7577 Use ns-get-selection-internal.
7578 (ns-set-pasteboard, ns-copy-including-secondary):
7579 Use ns-store-selection-internal.
7581 2011-12-17 Chong Yidong <cyd@gnu.org>
7583 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
7584 (vc-deduce-fileset): Doc fix.
7586 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7588 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7590 2011-12-13 Sam Steingold <sds@gnu.org>
7592 * man.el (Man-getpage-in-background): When running under a
7593 window-system, ignore $MANWIDTH and $COLUMNS.
7595 2011-12-15 Kenichi Handa <handa@m17n.org>
7597 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7598 (setup-ethiopic-environment-internal): Comment out key-binding for
7599 ethio-toggle-punctuation.
7601 2011-12-13 Alan Mackenzie <acm@muc.de>
7603 Add the switch statement to AWK Mode.
7605 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
7606 "default" to the keywords regexp.
7608 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
7609 expression as the rest.
7610 (c-nonlabel-token-key): Allow string literals for AWK.
7611 Refactor for the other modes.
7613 Large brace-block initialisation makes CC Mode slow: Fix.
7614 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
7615 routines. Limit backward searching in c-font-lock-enclosing.decl.
7617 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7618 pp-state and literal type in addition to the limits.
7619 (c-state-safe-place): New defun, extracted from c-state-literal-at.
7620 (c-state-literal-at): Use the above new defun.
7621 (c-slow-in-literal, c-fast-in-literal): Remove.
7622 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
7624 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7625 being in a literal. Add a limit for backward searching.
7627 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7630 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7632 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7634 2011-12-13 Martin Rudalics <rudalics@gmx.at>
7636 * window.el (delete-other-windows): Use correct frame in call to
7637 window-with-parameter.
7639 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7641 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7642 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7643 (makefile-gmake-statements, makefile-makepp-statements):
7644 Use it and add new makepp keywords.
7645 (makefile-makepp-font-lock-keywords): Add new patterns.
7646 (makefile-match-function-end): Match new [...] and [[...]].
7648 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
7650 * ses.el (ses-call-printer-return, ses-cell-property-get)
7651 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7652 (ses-create-cell-variable, ses-reset-header-string)
7653 (ses-cell-set-formula, ses-repair-cell-reference-all)
7654 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7655 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7656 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7657 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7658 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7659 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7660 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7661 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7662 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7663 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7664 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7665 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7667 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7669 * ses.el: The overall change is to add cell renaming, that is
7670 setting fancy names for cell symbols other than name matching
7671 "\\`[A-Z]+[0-9]+\\'" regexp .
7672 (ses-create-cell-variable): New defun.
7673 (ses-relocate-formula): Relocate formulas only for cells the
7674 symbols of which are not renamed, i.e. symbols whose names do not
7675 match regexp "\\`[A-Z]+[0-9]+\\'".
7676 (ses-relocate-all): Relocate values only for cells the symbols of
7677 which are not renamed.
7678 (ses-load): Create cells variables as the (ses-cell ...) are read,
7679 in order to check row col consistency with cell symbol name only
7680 for cells that are not renamed.
7681 (ses-replace-name-in-formula): New defun.
7682 (ses-rename-cell): New defun.
7684 2011-12-11 Chong Yidong <cyd@gnu.org>
7686 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7687 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7689 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7691 * window.el (other-window): Fix docstring.
7693 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7695 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
7696 `from' or `to' address before taking its substring.
7697 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
7698 encoded name is chopped in the middle of the encoded string, and
7699 thus displayed encoded.
7701 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
7703 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7705 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7707 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7708 to use texinfo-update-node and commands that call it if the
7709 Texinfo file uses @node lines without next/prev/up pointers.
7710 Correct outdated description about texinfo-master-menu.
7711 (texinfo-all-menus-update, texinfo-master-menu)
7712 (texinfo-update-node, texinfo-every-node-update)
7713 (texinfo-multiple-files-update): Doc fix. Warn against updating
7714 all the @node lines.
7715 (texinfo-master-menu): Only call texinfo-update-node if the prefix
7716 argument is numeric. Explain better in the doc string what the
7717 function really does.
7718 (texinfo-insert-master-menu-list): Improve the error message
7719 displayed if there's no menu in the Top node.
7720 (Bug#2975) See also this thread:
7721 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7723 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7725 * speedbar.el (speedbar-supported-extension-expressions):
7726 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7728 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
7730 * printing.el (pr-mode-alist):
7731 * simple.el (filter-buffer-substring-functions)
7732 (completion-list-insert-choice-function):
7733 * window.el (window-with-parameter, window-atom-root)
7734 (window-sides-slots, window-size-fixed, window-min-delta)
7735 (window-max-delta, window--resize-mini-window)
7736 (window--resize-child-windows-normal, window-tree)
7737 (delete-other-windows, quit-window, split-window)
7738 (display-buffer-record-window, special-display-buffer-names)
7739 (special-display-regexps, special-display-popup-frame)
7740 (same-window-p, split-window-sensibly)
7741 (display-buffer-overriding-action, display-buffer-alist)
7742 (display-buffer-base-action, display-buffer, switch-to-buffer)
7743 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7744 (fit-window-to-buffer, recenter-positions)
7745 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7746 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7747 and remove unneeded backslashes in docstrings.
7749 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7751 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7753 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7754 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7756 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7757 when reading the makefile (bug#10116).
7759 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7761 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7764 2011-12-06 Glenn Morris <rgm@gnu.org>
7766 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7768 2011-12-06 Chong Yidong <cyd@gnu.org>
7770 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7772 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
7774 * textmodes/table.el (table-shorten-cell): Fix typo.
7776 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7778 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7780 2011-12-05 Eli Zaretskii <eliz@gnu.org>
7782 * descr-text.el (describe-char): Fix display of strong
7783 right-to-left characters and directional embeddings and overrides.
7785 * simple.el (what-cursor-position): Fix display of codepoints of
7786 strong right-to-left characters.
7788 2011-12-05 Chong Yidong <cyd@gnu.org>
7790 * faces.el (read-color): Doc fix.
7792 2011-12-05 Glenn Morris <rgm@gnu.org>
7794 * align.el (align--set-marker): Add doc-string.
7795 Don't try to move something that is not a marker. (Bug#10216)
7797 2011-12-04 Glenn Morris <rgm@gnu.org>
7799 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7800 overly zealous deletion of trailing whitespace.
7802 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
7804 * server.el (server-delete-client): On Windows, do not try to delete
7806 (server-process-filter): On Windows, treat requests for a tty frame as
7807 if they were for a GUI frame if the running server is in GUI mode.
7809 2011-12-03 Glenn Morris <rgm@gnu.org>
7811 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7813 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7815 * electric.el: Streamline electric-indent's hook.
7816 (electric-indent-chars): Revert to simple list.
7817 (electric-indent-functions): New var.
7818 (electric-indent-post-self-insert-function): Use it.
7820 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7821 there's no inferior buffer (bug#10196).
7822 (prolog-consult-compile): Don't use toggle-read-only.
7824 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
7826 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7827 interrupt. (Bug#10187)
7829 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7831 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7834 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7837 2011-12-02 Juri Linkov <juri@jurta.org>
7839 * info.el (Info-search): Display "end of manual" when Isearch
7840 reaches the end of single-file Info manual. (Bug#9918)
7842 2011-12-02 Eli Zaretskii <eliz@gnu.org>
7844 * isearch.el (isearch-message-prefix): Run the input method part
7845 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7847 2011-12-02 Juri Linkov <juri@jurta.org>
7849 * isearch.el (isearch-occur): Use `word-search-regexp' for
7851 (isearch-search-and-update): Add condition for `isearch-word' and
7852 call `word-search-regexp'. (Bug#10145)
7854 2011-12-01 Glenn Morris <rgm@gnu.org>
7856 * eshell/em-hist.el (eshell-hist-initialize):
7857 Handle eshell-history-size nil and HISTSIZE set or unset.
7858 (eshell-history-file-name, eshell-history-size): Fix custom type.
7860 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7862 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7864 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
7866 * progmodes/verilog-mode.el (verilog-pretty-expr):
7867 Rework verilog-pretty-expr to handle new assignment operators in system
7868 verilog, such as += *= and the like.
7869 (verilog-assignment-operator-re): Regular expression to find the
7870 assigment operator in a verilog assignment.
7871 (verilog-assignment-operation-re): Regular expression to find an
7872 assignment statement for pretty-expr.
7873 (verilog-in-attribute-p): Query returns true if point is in an
7874 attribute context; used to skip these for expression line up from
7876 (verilog-in-parameter-p): Query returns true if point is in an
7877 parameter definition context; used to skip these for expression
7878 line up from pretty-expr.
7879 (verilog-in-parenthesis-p): Query returns true if point is in a
7880 parenthetical expression, specifically ( ) but not [ ] or { };
7881 used by pretty-expr.
7882 (verilog-just-one-space): If there is no space, don't add one.
7883 (verilog-get-lineup-indent-2): Specifically skip just attribute
7884 contexts for expression lineup, rather than skipping all
7885 parenthetical expressions.
7886 (verilog-calculate-indent): Fix comment, and fix indent.
7887 (verilog-do-indent): Indent declarations in lists (suggested by
7889 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7891 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7894 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
7896 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7897 parameters with embedded comments. Reported by Ray Stevens.
7898 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7899 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7900 Reported by Tim Holt.
7901 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7902 instantiated by upper module causing wrong expansion until AUTOed a
7903 second time. Reported by K C Buckenmaier.
7904 (verilog-diff-auto): Fix showing .* as a difference when
7905 `verilog-auto-star-save' off. Reported by Dan Dever.
7906 (verilog-auto-reset, verilog-read-always-signals)
7907 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7908 temporary signals in reset list if
7909 verilog-auto-reset-blocking-in-non is nil, and match assignment
7910 style to each signal's assignment type, bug381.
7911 Reported by Thomas Esposito.
7912 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7913 (verilog-uvm-statement-re): Support UVM indentation and
7914 highlighting, with old OVM keywords only.
7915 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
7916 Support AUTOTIEOFF creating non-wire data types.
7917 Suggested by Jonathan Greenlaw.
7918 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7919 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7920 (verilog-inject-sense, verilog-read-inst-pins)
7921 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7922 Fix mismatching parenthesis inside commented out code when deleting
7923 AUTOINST, bug383. Reported by Jonathan Greenlaw.
7924 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7925 non-numeric vector width. Reported by Alex Reed.
7926 (verilog-auto-ascii-enum): Add "onehot" option to work around not
7927 detecting signals with parameter widths. Reported by Alex Reed.
7928 (verilog-auto-delete-trailing-whitespace):
7929 With `verilog-auto-delete-trailing-whitespace' remove trailing
7930 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7931 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7932 Fix verilog-scan-cache corruption when running user AUTO expansion
7933 hooks that call indentation routines.
7934 (verilog-simplify-range-expression): Fix typo ignoring lower case
7936 (verilog-delete-auto): Fix delete-autos to also remove user created
7937 automatics, as long as they start with AUTO.
7938 (verilog-batch-diff-auto, verilog-diff-auto)
7939 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7940 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7941 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7942 (verilog-in-paren-quick, verilog-re-search-backward-quick)
7943 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7944 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
7945 is disabled and its cache will get corrupt, causing AUTOS not to
7946 expand. Instead use only -quick functions.
7947 (verilog-scan-region): Fix scanning over escaped quotes.
7948 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7949 (verilog-re-search-backward-quick)
7950 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7951 related functions now ignore strings, to fix misparsing of strings
7952 with magic comments embedded in them.
7953 (verilog-read-auto-template):
7954 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7955 Reported by Brad Dobbie.
7956 (verilog-read-auto-template):
7957 Fix 'verilog-auto-inst-template-numbers' with comments.
7958 Reported by Brad Dobbie.
7959 (verilog-auto-inst, verilog-auto-inst-param)
7960 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7961 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7962 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
7963 debugging templates without merge conflicts, bug357.
7964 Reported by Brad Dobbie.
7965 (verilog-read-auto-template):
7966 Fix verilog-auto-inst-template-numbers with multiple templates.
7967 Reported by Brad Dobbie.
7968 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7969 abbrevs so user won't be asked to save.
7970 (verilog-read-auto-lisp-present): Fix to start at beginning of
7971 buffer in case called outside of verilog-auto.
7972 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7973 to "X-2". Reported by Matthew Myers.
7974 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7975 all inputs from module templates. Reported by Leith Johnson.
7976 (verilog-module-inside-filename-p): Fix locating programs as with
7978 (verilog-auto-inst-port): Fix vl-width expressions when using
7979 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7980 (verilog-decls-get-regs, verilog-decls-get-signals,
7981 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7982 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7983 verilog-read-decls): Combine reg and wire structures into one var
7984 structure to represent SystemVerilog concepts.
7985 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7986 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
7987 (verilog-auto-wire-type, verilog-insert-definition):
7988 Add verilog-auto-wire-type and AUTOLOGIC to support using
7989 SystemVerilog "logic" keyword instead of "wire"/"reg".
7990 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7991 to declares outputs that also have assignments (presumably in an
7992 ifdef or generate if so there's not a driver conflict).
7993 Reported by Matthew Myers.
7994 (verilog-auto-declare-nettype, verilog-insert-definition):
7995 Add verilog-auto-declare-nettype to fix declarations using
7996 `default_nettype none. Reported by Julian Gorfajn.
7997 (verilog-read-always-signals-recurse, verilog-read-decls)
7998 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7999 malformed end statement, bug325. Reported by Joshua Wise and
8001 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8002 (verilog-inst-comment-re): Fix not deleting Interfaced comment
8003 when expanding .* in interfaces, bug320.
8004 Reported by Pierre-David Pfister.
8005 (verilog-read-module-name): Fix import statements between module
8006 name and open parenthesis, bug317.
8007 Reported by Pierre-David Pfister.
8008 (verilog-simplify-range-expression): Fix simplification of
8009 multiplications inside AUTOWIRE connections, bug303.
8010 (verilog-auto-inst-port): Support parameter expansion in
8011 multidimensional arrays.
8012 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8013 after "assert property". Reported by Julian Gorfajn.
8014 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8015 with multiplication, bug303.
8016 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8017 Reported by Jan Frode Lonnum.
8019 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
8021 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8022 (hfy-shell-file-name, hfy-shell):
8023 * international/fontset.el (x-decompose-font-name): Fix typos.
8025 2011-11-29 Ken Brown <kbrown@cornell.edu>
8027 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8028 (gdb-version): Remove defvar.
8029 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8030 (gdb-gud-context-command, gdb-non-stop-handler)
8031 (gdb-current-context-command, gdb-stopped): Use it.
8032 (gdb-init-1): Enable pretty printing here.
8033 (gdb-non-stop-handler): Don't enable pretty-printing here.
8034 Check to see if the target supports non-stop mode; if not, turn off
8035 non-stop mode. Use the following.
8036 (gdb-check-target-async): New defun.
8037 (gud-watch, gdb-stopped): Fix whitespace.
8038 (gdb-get-source-file): Don't try to display the source file if
8039 `gdb-main-file' is nil.
8041 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8043 * align.el: Try to generate fewer markers (bug#10047).
8044 (align--set-marker): New macro.
8045 (align-region): Use it.
8047 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8049 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8051 2011-11-29 Chong Yidong <cyd@gnu.org>
8053 * indent.el (indent-for-tab-command, indent-according-to-mode):
8055 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8057 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
8059 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8060 aware of remote file names. (Bug#10124)
8062 2011-11-29 Chong Yidong <cyd@gnu.org>
8064 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8066 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8068 * files.el (find-file): Don't use force-same-window (bug#10144).
8069 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8070 use pop-to-buffer if the selected window can't be used.
8071 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8073 2011-11-28 Eli Zaretskii <eliz@gnu.org>
8075 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8078 2011-11-28 Chong Yidong <cyd@gnu.org>
8080 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8082 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
8084 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8085 gdb-get-source-file-list on gdb-create-source-file-list.
8087 2011-11-26 Eli Zaretskii <eliz@gnu.org>
8089 * whitespace.el (whitespace-newline): Use a different foreground
8090 color for 16-color light-background displays.
8092 2011-11-24 Chong Yidong <cyd@gnu.org>
8094 * window.el (display-buffer--special-action): Doc fix.
8096 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
8098 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8099 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8100 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8101 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8102 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8103 (avl-tree-stack-first):
8104 * emacs-lisp/cconv.el (cconv--analyse-use):
8105 * net/gnutls.el (gnutls-negotiate): Fix typos.
8107 2011-11-24 Glenn Morris <rgm@gnu.org>
8109 * lpr.el (lpr-windows-system, lpr-lp-system):
8110 * mail/binhex.el (binhex-begin-line):
8111 * progmodes/grep.el (grep-history, grep-find-history):
8112 * textmodes/flyspell.el:
8113 * vc/pcvs-defs.el (cvs-global-menu):
8114 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8115 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8116 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8118 * net/tls.el: Fix case of "GnuTLS".
8120 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8122 * version.el (emacs-build-system): Give it a doc-string.
8124 2011-11-24 Juri Linkov <juri@jurta.org>
8126 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8128 2011-11-24 Glenn Morris <rgm@gnu.org>
8130 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8131 if called on a non-mime message just toggle the headers. (Bug#8006)
8133 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
8135 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8136 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8137 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8138 (allout-rebullet-heading, allout-open-sibtopic)
8139 (allout-toggle-current-subtree-encryption)
8140 (allout-toggle-subtree-encryption, allout-encrypt-string)
8141 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8142 (allout-distinctive-bullets-string, allout-auto-activation):
8143 * window.el (window-normalize-buffer-to-display):
8144 * progmodes/verilog-mode.el (verilog-batch-indent):
8145 * textmodes/bibtex.el (bibtex-field-braces-opt)
8146 (bibtex-field-strings-opt):
8147 * vc/cvs-status.el (cvs-tree-merge):
8150 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
8152 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8153 `non-essential' to t, in order to avoid remote connections.
8155 2011-11-23 Eli Zaretskii <eliz@gnu.org>
8157 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8158 On MS-DOS and MS-Windows, compare with loaddefs.el
8161 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8163 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8165 2011-11-23 Glenn Morris <rgm@gnu.org>
8167 * paths.el (rmail-file-name): Reformat the doc-string so that it
8170 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8171 (rmail-auto-file): Ignore case in the "special" field names,
8172 as mail-fetch-field does for all others.
8174 * mail/rmail.el (rmail-forward):
8175 * mail/rmailkwd.el (rmail-set-label):
8176 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8177 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8179 * mail/rmail.el (rmail-current-message): Doc fix.
8181 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8183 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8185 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8187 2011-11-22 Glenn Morris <rgm@gnu.org>
8189 * mail/rmailmm.el (test-rmail-mime-handler)
8190 (test-rmail-mime-bulk-handler)
8191 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8193 2011-11-21 Juri Linkov <juri@jurta.org>
8195 * calc/calc.el (calc-read-key-sequence):
8196 Let-bind `input-method-function' to nil. (Bug#10018)
8198 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8200 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8201 Tell the caller that the next line needs recomputation, even
8202 though it doesn't start a sexp (bug#10094).
8204 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8206 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8208 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8210 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8211 Use force-same-window.
8213 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
8215 * descr-text.el (describe-char-unicode-data):
8216 * json.el (json-string-escape):
8217 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8218 (Footnote-unicode, Footnote-style-p):
8219 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8221 2011-11-20 Chong Yidong <cyd@gnu.org>
8223 * window.el (replace-buffer-in-windows): Restore interactive spec.
8225 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8227 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8229 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8230 (byte-compile-global-not-obsolete-vars): New var.
8231 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8233 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8235 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
8237 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8238 * progmodes/pascal.el (electric-pascal-equal):
8239 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8240 * xml.el (xml-substitute-special): Fix typos.
8242 2011-11-20 Glenn Morris <rgm@gnu.org>
8244 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8245 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8247 (rmail-decode-mime-charset): Mark as obsolete.
8249 * mail/rmailsum.el (rmail-message-regexp-p-1):
8250 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8251 Before using mime functions, check they are set. (Bug#10077)
8253 2011-11-19 Juri Linkov <juri@jurta.org>
8255 * info.el (Info-finder-find-node): Use `package--builtins' instead
8256 of `package-alist'. Use node names formed by the pattern "Keyword "
8257 and the keyword name.
8259 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8261 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
8263 2011-11-19 Juri Linkov <juri@jurta.org>
8265 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8266 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8267 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8268 `old-history', `old-history-forward'. Add let-binding
8269 `window-selected'. Remove calls to `kill-buffer',
8270 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8271 before calling `Info-find-node', so `Info-find-node-2' will reread
8272 the Info file. Restore window positions only when `window-selected'
8275 2011-11-19 Juri Linkov <juri@jurta.org>
8277 * isearch.el (isearch-lazy-highlight-new-loop):
8278 Remove condition `(not isearch-error)'. (Bug#9918)
8280 * misearch.el (multi-isearch-search-fun): Add condition
8281 `(not bound)' to ignore lazy-highlighting search.
8282 Add the search-failed message "end of multi" when the end of
8283 multi-sequence is reached. Uncapitalize the search-failed
8284 message "Repeat for next buffer".
8286 * info.el (Info-search): Add the search-failed message
8287 "end of the manual" when the end of the manual is reached
8290 2011-11-19 Juri Linkov <juri@jurta.org>
8292 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8293 Use non-destructive `remove' instead of `delete' because
8294 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8295 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8297 2011-11-19 Juri Linkov <juri@jurta.org>
8299 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8300 to nil instead of binding `search-ring' and `regexp-search-ring'.
8303 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8305 * simple.el (line-move): Force movement by logical lines for any
8306 hscrolled window, not only when auto-hscroll-mode is on.
8307 (line-move-visual): Update doc string to that effect. (Bug#10076)
8309 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8311 * language/european.el (macintosh): Define as alias for mac-roman.
8313 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8315 * mail/rmailmm.el (rmail-mime-display-header)
8316 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8317 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8318 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8319 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8320 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8322 (rmail-mime-entity-segment): To get past the tagline, move forward
8323 2 more lines, to account for the 2 empty lines that precede and
8324 follow the line with the buttons.
8325 (rmail-mime-update-tagline): Move one more line, to get past the
8326 empty line that follows the buttons in the tagline. (Bug#9520)
8328 2011-11-19 Martin Rudalics <rudalics@gmx.at>
8330 * window.el (window-max-delta-1, window-min-delta-1)
8331 (window-min-size-1, window-state-get-1, window-state-put-1)
8332 (window-state-put-2): Use "window--" prefix.
8334 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8336 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8337 (smie-warning-count): New var.
8338 (smie-set-prec2tab): Use it.
8339 (smie-bnf->prec2): Improve warnings. Add docstring.
8340 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8341 (smie-bnf--set-class): New function.
8342 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8345 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8346 (compilation-error-properties, compilation-move-to-column):
8347 Handle compilation-first-column while in the target buffer.
8349 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8350 Don't hardcode point-min==1.
8352 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8353 (eshell-rewrite-for-command): Remove workaround.
8354 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8355 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8356 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8358 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8360 2011-11-17 Glenn Morris <rgm@gnu.org>
8362 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8363 Ignore buffer-local generated-autoload-file if it is the same
8364 as the global value. (Bug#10049)
8366 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
8368 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8369 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8370 (reftex-toc-previous-heading, reftex-toc-max-level)
8371 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8372 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8373 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8374 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8375 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8376 (reftex-toc-rename-label, reftex-toc-visit-location)
8377 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8378 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8379 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8380 leaving "*toc*" only for references to the buffer.
8382 2011-11-17 Martin Rudalics <rudalics@gmx.at>
8384 * window.el (window-resize, delete-window, split-window):
8385 Replace window-splits by window-combination-resize.
8386 * cus-start.el (window-splits): Replace by window-combination-resize.
8388 2011-11-17 Glenn Morris <rgm@gnu.org>
8390 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8391 Make bash entry derive from sh entry, not shell entry.
8393 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
8395 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8398 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8400 * menu-bar.el (menu-bar-file-menu):
8401 * printing.el (pr-ps-utility):
8402 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8403 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8404 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8405 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8406 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8407 (icalendar--convert-cyclic-to-ical)
8408 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8409 (icalendar--convert-ical-to-diary)
8410 (icalendar--convert-recurring-to-diary)
8411 (icalendar--convert-non-recurring-all-day-to-diary)
8412 (icalendar-import-format-sample):
8413 * progmodes/idlw-shell.el (idlwave-shell-mode):
8414 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8415 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8416 (vhdl-ps-print-init): Fix typos.
8418 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8420 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8421 FSF and collapse date sequence, obscure author/maintainer email address
8422 better, remove extra version line, track relocation of author's webpage.
8424 * progmodes/python.el (python-pdbtrack-input-prompt)
8425 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8426 regular python pdb prompts. Adjustments shamelessly taken exactly as
8427 suggested in EmacsWiki page (tiny change):
8428 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8430 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8432 * expand.el (expand-pos, expand-index, expand-point):
8433 Remove redundant info from docstring.
8434 (expand-add-abbrevs): Doc fix.
8435 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8436 (expand-sample-perl-mode-expand-list): Fix typos.
8438 * net/dbus.el (dbus-event-member-name):
8439 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8440 * term/pc-win.el (msdos-create-frame-with-faces):
8441 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8443 2011-11-16 Martin Rudalics <rudalics@gmx.at>
8445 * window.el (split-window, window-state-get-1)
8446 (window-state-put-1, window-state-put-2): Rename occurrences of
8447 window-nest to window-combination-limit.
8448 * cus-start.el (window-nest): Rename to window-combination-limit.
8450 2011-11-16 Chong Yidong <cyd@gnu.org>
8452 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8455 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8457 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8458 `completing-read' will remove *Completions* and will preserve
8459 current-buffer for us.
8460 (tmm-add-prompt): Users of *Completions* will always (re)set its
8462 (tmm-old-comp-map): Remove.
8464 2011-11-16 Glenn Morris <rgm@gnu.org>
8466 * mail/rmailedit.el: Require rmailmm when compiling.
8467 (rmail-old-mime-state): New declaration.
8468 (rmail-edit-current-message): If editing a mime message,
8469 edit the "raw" message from the mbox buffer.
8470 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8472 2011-11-15 Glenn Morris <rgm@gnu.org>
8474 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8475 which wasn't being used. Add optional arg to force given state.
8476 (rmail-mime): Add optional arg to force given state.
8478 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8480 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8481 * frame.el (display-mm-dimensions-alist):
8482 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8483 (outline-move-subtree-down):
8484 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8485 (newsticker--treeview-do-get-node):
8486 * net/quickurl.el (quickurl-list-buffer-name):
8487 * progmodes/dcl-mode.el (dcl-mode):
8488 * progmodes/gdb-mi.el (gdb-mapcar*):
8489 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8491 2011-11-15 Glenn Morris <rgm@gnu.org>
8493 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8494 in a boolean sense, so just make it a boolean, and fix the doc.
8495 (rmail-show-mime-function, rmail-mime-feature)
8496 (rmail-require-mime-maybe): Doc fixes.
8497 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8499 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8501 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8503 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8504 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8505 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8506 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8508 2011-11-15 Glenn Morris <rgm@gnu.org>
8510 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8511 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8512 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8513 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8514 (rmail-mime, rmail-show-mime): Doc fixes.
8516 * term/ns-win.el (mode-line-frame-identification):
8517 Leave it alone. (Bug#10051)
8519 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8521 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8522 Handle empty buffers. (Bug#9978)
8524 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
8526 * international/mule.el (define-charset):
8527 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8528 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8529 * progmodes/verilog-mode.el (verilog-backward-token):
8530 * textmodes/ispell.el (lookup-words):
8531 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8533 2011-11-14 Glenn Morris <rgm@gnu.org>
8535 * progmodes/executable.el
8536 (executable-make-buffer-file-executable-if-script-p):
8537 Handle file-modes returning nil.
8539 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8540 message - not necessary, and causes problems. (Bug#9831)
8542 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8544 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8546 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8547 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8548 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8550 2011-11-12 Martin Rudalics <rudalics@gmx.at>
8552 * window.el (window-resize, delete-window): Use window-splits
8553 variable instead of function.
8554 (window-state-get-1, window-state-put-2, window-state-put):
8555 Don't deal with windows' splits status.
8557 2011-11-12 Glenn Morris <rgm@gnu.org>
8559 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8560 (apropos-documentation): Doc fixes.
8562 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
8564 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8565 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8567 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8569 * electric.el (electric-indent-post-self-insert-function): Make it
8570 possible for a char to only indent in some circumstances.
8571 (electric-indent-mode): Simplify.
8573 2011-11-11 Martin Rudalics <rudalics@gmx.at>
8575 * window.el (windows-with-parameter): Remove unused function.
8576 (windows-at-side): Rename to window-at-side-list.
8577 (window-check, window-atom-check, window-atom-check-1)
8578 (window-side-check, window-size-ignore, window-size-fixed-1)
8579 (window-in-direction-2): Prefix with "window--".
8580 (window-tree-1): Rename to window--subtree, fix doc-string.
8582 2011-11-11 Glenn Morris <rgm@gnu.org>
8584 * subr.el (eval-after-load): If FILE is already loaded,
8585 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8587 2011-11-10 Glenn Morris <rgm@gnu.org>
8589 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8590 Call svn via vc-svn-command rather than vc-do-command.
8591 (vc-svn-command): Add --non-interactive. (Bug#9993)
8592 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8594 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8595 Add toggle-read-only. (Bug#7292)
8596 * files.el (toggle-read-only): Mention that it should only
8597 be used interactively. (Bug#10006)
8599 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8601 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8602 Adjust regexp for OCaml warnings.
8604 * electric.el (electric-pair-post-self-insert-function): Let user
8605 turn it off buffer-locally (bug#9932).
8607 * progmodes/python.el (python-beginning-of-statement):
8610 * progmodes/compile.el: Better handle TABs (bug#9749).
8611 (compilation-internal-error-properties)
8612 (compilation-next-error-function): Obey the target buffer's
8613 compilation-error-screen-columns.
8615 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
8617 * progmodes/meta-mode.el: Remove obsolete comments.
8618 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8619 Fix typos in docstrings.
8621 2011-11-09 Martin Rudalics <rudalics@gmx.at>
8623 * window.el (window-size-fixed-p): Rewrite doc-string.
8624 (window-resizable-p): Rename to window--resizable-p. Update callers.
8625 (window--resizable): New function. Make all callers of
8626 window-resizable call window--resizable instead.
8627 (window-resizable): Rewrite in terms of window--resizable.
8629 2011-11-08 Glenn Morris <rgm@gnu.org>
8631 * progmodes/delphi.el (delphi-mode-syntax-table):
8632 Let define-derived-mode define a proper syntax table. (Bug#9994)
8634 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8636 * window.el: Stay away from defsubst.
8637 (window-list-no-nils): Remove.
8638 (window-state-get-1, window-state-get): Use backquote instead.
8640 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8642 * emacs-lisp/find-func.el (find-function-read):
8643 Fix incorrect use of default argument in `completing-read'.
8645 2011-11-08 Martin Rudalics <rudalics@gmx.at>
8647 * window.el (display-buffer-function, special-display-function):
8648 Mention display-buffer-record-window but do not mention
8649 help-setup parameter in doc-strings.
8650 (window-min-delta): Fix doc-string typo.
8652 2011-11-08 Chong Yidong <cyd@gnu.org>
8654 * window.el (window-total-height, window-total-width): Doc fix.
8655 (window-body-size): Move from C.
8656 (window-body-height, window-body-width): Move to C.
8658 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8660 * window.el: Make special-display like display-buffer-alist (bug#9532).
8661 (display-buffer--special-action): New function, morphed
8662 from display-buffer--special.
8663 (display-buffer): Use it to handle special-display-buffers at higher
8664 priority (just after display-buffer-alist).
8665 (display-buffer-fallback-action, display-buffer--other-frame-action)
8666 (pop-to-buffer-same-window): Remove display-buffer--special.
8668 2011-11-07 Glenn Morris <rgm@gnu.org>
8670 * calendar/cal-menu.el (cal-menu-set-date-title):
8671 Do nothing if not in a calendar. (Bug#9976)
8673 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8675 * files.el (find-file): Always use selected-window.
8677 2011-11-07 Martin Rudalics <rudalics@gmx.at>
8679 * window.el (window-combinations): Make WINDOW argument
8680 mandatory. Rewrite doc-string.
8681 (walk-window-subtree, window-atom-check, window-min-delta)
8682 (window-max-delta, window--resize-this-window)
8683 (window--resize-root-window-vertically, window-tree)
8684 (balance-windows, window-state-put): Rewrite doc-strings as to
8685 not mention the term "subwindow".
8686 (window--resize-subwindows-skip-p): Rename to
8687 window--resize-child-windows-skip-p.
8688 (window--resize-subwindows-normal): Rename to
8689 window--resize-child-windows-normal.
8690 (window--resize-subwindows): Rename to
8691 window--resize-child-windows.
8692 (window-or-subwindow-p): Rename to window--in-subtree-p.
8694 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8696 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8697 Ensure that mbox format messages end in two newlines (Bug#9974).
8699 2011-11-06 Chong Yidong <cyd@gnu.org>
8701 * window.el (window-combination-p): Function deleted; its
8702 side-effect is not used in any existing code.
8703 (window-combinations, window-combined-p): Call window-*-child
8706 2011-11-05 Chong Yidong <cyd@gnu.org>
8708 * window.el (window-valid-p): Rename from window-any-p.
8709 (window-size-ignore, window-state-get): Callers changed.
8710 (window-normalize-window): Rename from window-normalize-any-window.
8711 New arg LIVE-ONLY, replacing window-normalize-live-window.
8712 (window-normalize-live-window): Delete.
8713 (window-combination-p, window-combined-p, window-combinations)
8714 (walk-window-subtree, window-atom-root, window-min-size)
8715 (window-sizable, window-sizable-p, window-size-fixed-p)
8716 (window-min-delta, window-max-delta, window-resizable)
8717 (window-resizable-p, window-full-height-p, window-full-width-p)
8718 (window-current-scroll-bars, window-point-1, set-window-point-1)
8719 (window-at-side-p, window-in-direction, window-resize)
8720 (adjust-window-trailing-edge, maximize-window, minimize-window)
8721 (window-deletable-p, delete-window, delete-other-windows)
8722 (record-window-buffer, unrecord-window-buffer)
8723 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8724 (quit-window, split-window, window-state-put)
8725 (set-window-text-height, fit-window-to-buffer)
8726 (shrink-window-if-larger-than-buffer): Callers changed.
8728 2011-11-04 Eli Zaretskii <eliz@gnu.org>
8730 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8731 rfc2047-decode-string.
8732 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8735 * window.el (window-body-height, window-body-width): Mention in
8736 the doc string that the return values are in frame's canonical
8739 2011-11-03 Alan Mackenzie <acm@muc.de>
8741 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8742 change in cc-engine.el.
8744 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8746 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8748 2011-11-02 Martin Rudalics <rudalics@gmx.at>
8750 * window.el (quit-window): Call unrecord-window-buffer after
8751 showing another buffer in the window. (Bug#9937)
8752 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
8754 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
8756 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8757 Accept status with more than 9 shelves. (Bug#9935)
8758 Reported by Colin D Bennett <colin@gibibit.com>.
8760 2011-11-01 Martin Rudalics <rudalics@gmx.at>
8762 * help.el (with-help-window): Don't reference
8763 temp-buffer-show-specifiers in doc-string.
8765 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8767 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8770 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8772 * whitespace.el: New version 13.2.2.
8773 (whitespace-newline-mode): Disable properly. Reported by Sarah
8776 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
8778 * net/newst-treeview.el: Remove "Time-stamp".
8779 (newsticker--group-manage-orphan-feeds): Do not call
8780 newsticker--treeview-tree-update.
8781 (newsticker-treeview-update, newsticker-treeview):
8782 Call newsticker--treeview-tree-update if necessary.
8784 2011-10-30 Martin Rudalics <rudalics@gmx.at>
8786 * window.el (window-iso-combination-p, window-iso-combined-p)
8787 (window-iso-combinations): Remove "iso-" infix.
8788 Suggested by Chong Yidong.
8789 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8790 (window-max-delta-1, window-resize, window--resize-siblings)
8791 (window--resize-this-window, adjust-window-trailing-edge)
8792 (split-window, balance-windows-1)
8793 (shrink-window-if-larger-than-buffer):
8794 * calendar/calendar.el (calendar-generate-window):
8795 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
8797 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8799 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8800 in place (bug#9907).
8801 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8802 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8803 (eshell-structure-basic-command, eshell-rewrite-while-command)
8804 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8805 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8806 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8807 (eshell-do-pipelines-synchronously, eshell-eval-command):
8808 Use backquotes and prefer setq to set.
8809 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8810 (eshell-macrop): Use functionp.
8811 (eshell-do-eval): Handle multiple expressions in `while' body.
8813 2011-10-30 Chong Yidong <cyd@gnu.org>
8815 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8816 instead of set-mark (Bug#9810).
8818 2011-10-30 Chong Yidong <cyd@gnu.org>
8820 * window.el (split-window-below, split-window-right): Rename from
8821 split-window-above-each-other and split-window-side-by-side
8822 respectively. All callers changed.
8823 (split-window-sensibly, split-window-sensibly): Use them.
8824 (split-window-keep-point): Doc fix.
8826 * isearch.el: Add isearch-scroll property to split-window-below
8827 and split-window-right.
8829 * follow.el (follow-mode):
8830 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8831 * progmodes/ada-xref.el (ada-gdb-application):
8832 * emulation/vip.el (vip-buffer-in-two-windows):
8833 * image-dired.el (image-dired-dired-with-window-configuration):
8834 * dired-x.el (dired-do-find-marked-files):
8835 * dired.el (dired-pop-to-buffer):
8836 * bs.el (bs--show-with-configuration):
8837 * vc/emerge.el (emerge-setup-windows):
8838 * textmodes/two-column.el (2C-two-columns):
8839 * textmodes/reftex-toc.el (reftex-toc):
8840 * progmodes/gdb-mi.el (gdb-setup-windows):
8841 * progmodes/fortran.el (fortran-window-create):
8842 * net/newst-treeview.el (newsticker--treeview-window-init):
8843 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8844 * emulation/tpu-edt.el (tpu-gold-map):
8845 * emulation/crisp.el (crisp-mode-map):
8846 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8848 2011-10-29 Chong Yidong <cyd@gnu.org>
8850 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8852 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8854 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8855 forged Ispell output (Bug#7904).
8857 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8859 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8861 * doc-view.el: Avoid ugly errors about not finding nil.
8862 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8863 (doc-view-dvipdf-program, doc-view-unoconv-program)
8864 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8865 Avoid nil or absolute file name as default value.
8866 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8868 2011-10-28 Alan Mackenzie <acm@muc.de>
8870 * progmodes/cc-defs.el (c-version): -> 5.32.2.
8872 2011-10-28 Alan Mackenzie <acm@muc.de>
8874 Amend the handling of c-beginning/end-of-defun in nested declaration
8877 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8878 cc-langs.el. Change it to a defcustom.
8880 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8883 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8884 Prevent "class foo : bar" being spuriously recognized as a label.
8886 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
8887 Add parameter `inclusive' (to include enclosing braces in the region).
8888 (c-widen-to-enclosing-decl-scope): New function.
8889 (c-while-widening-to-decl-block): New macro.
8890 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8891 outward for defun boundaries, and correspondingly change symbol
8892 `respect-enclosure' to `go-outward'.
8893 (c-declaration-limits): Change algorithm to report only the "innermost"
8896 2011-10-28 Deniz Dogan <deniz@dogan.se>
8898 * net/rcirc.el (rcirc-mode): Use hard newlines.
8900 2011-10-28 Alan Mackenzie <acm@muc.de>
8902 Amend to indent and fontify macros "which include their own semicolon"
8903 correctly, using the "virtual semicolon" mechanism.
8905 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
8907 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8908 Recode to scan one line at a time rather than having \n and \r
8909 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
8910 (c-forward-label): Amend for virtual semicolons.
8911 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
8913 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8914 of the new C macros.
8916 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
8917 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8918 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
8919 (c-opt-cpp-macro-define): Make into a full language variable.
8920 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8921 AWK Mode (including \n, \r) removed, no longer needed.
8923 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8924 Invoke c-make-macro-with-semi-re.
8926 * progmodes/cc-vars.el (c-macro-with-semi-re):
8927 (c-macro-names-with-semicolon): New variables.
8928 (c-make-macro-with-semi-re): New function.
8930 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8932 * vc/log-edit.el: Fill empty field rather than adding new one.
8933 (log-edit-add-field): New function.
8934 (log-edit-insert-changelog): Use it.
8936 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8938 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8940 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8942 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8943 (gdb--check-interpreter): New function.
8946 2011-10-27 Glenn Morris <rgm@gnu.org>
8948 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8949 (least-positive-float, least-negative-float)
8950 (least-positive-normalized-float, least-negative-normalized-float)
8951 (float-epsilon, float-negative-epsilon):
8952 Remove unnecessary declarations.
8954 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8955 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8956 (least-positive-float, least-negative-float)
8957 (least-positive-normalized-float, least-negative-normalized-float)
8958 (float-epsilon, float-negative-epsilon): Add doc-strings,
8959 based on those in cl.texi.
8961 * files.el (set-visited-file-name): If the major-mode changed,
8962 reload the local variables. (Bug#9796)
8964 2011-10-27 Chong Yidong <cyd@gnu.org>
8966 * subr.el (change-major-mode-after-body-hook): New hook.
8967 (run-mode-hooks): Run it.
8969 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8970 Use change-major-mode-before-body-hook.
8972 * simple.el (fundamental-mode):
8973 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8974 change introducing fundamental-mode-hook.
8976 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
8978 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
8980 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
8982 * ido.el (ido-file-name-all-completions-1): Do not require
8983 tramp.el explicitly. (Bug#7583)
8985 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8987 * progmodes/octave-mod.el:
8988 * progmodes/octave-inf.el: Update maintainer.
8990 2011-10-26 Chong Yidong <cyd@gnu.org>
8992 * subr.el (with-wrapper-hook): Rewrite doc.
8994 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
8996 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
8997 filenames "/method:foo:". (Bug#9793)
8999 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9001 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9004 2011-10-24 Glenn Morris <rgm@gnu.org>
9006 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9008 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
9010 * notifications.el: Add the requirement of a running D-Bus session
9011 bus to the Commentary.
9013 2011-10-24 Juri Linkov <juri@jurta.org>
9015 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9016 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9019 2011-10-24 Juri Linkov <juri@jurta.org>
9021 * info.el (Info-following-node-name-re): Add newline to the list
9022 of allowed characters for leading space. (Bug#9824)
9024 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9026 * progmodes/octave-inf.el (inferior-octave-mode-map):
9027 Fix C-c C-h binding.
9028 * progmodes/octave-mod.el (octave-help): Remove.
9030 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
9032 Sync with Tramp 2.2.3.
9034 * net/tramp-cache.el (top): Pacify byte-compiler using
9035 `init-file-user' and `site-run-file'.
9037 * net/trampver.el: Update release number.
9039 2011-10-23 Chong Yidong <cyd@gnu.org>
9041 * files.el (toggle-read-only): Remove obsolete comment about
9044 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9045 for toggle-read-only. Note that this hasn't called vc-next-action
9046 since 2008-05-02, though it wasn't documented at the time.
9048 * vc/ediff-init.el (ediff-toggle-read-only-function):
9049 Use toggle-read-only.
9051 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9053 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9056 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9057 correct faulty logical expression.
9058 (c-parse-state-state, c-record-parse-state-state):
9059 (c-replay-parse-state-state): New defvar/defuns.
9060 (c-debug-parse-state): Use new functions.
9062 2011-10-22 Martin Rudalics <rudalics@gmx.at>
9064 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
9065 last fix. Use window-in-direction correctly.
9067 2011-10-21 Chong Yidong <cyd@gnu.org>
9069 * progmodes/idlwave.el (idlwave-mode):
9070 * progmodes/vera-mode.el (vera-mode): No need to set
9071 require-final-newline; that's done in prog-mode.
9072 Suggested by Stefan Monnier.
9074 2011-10-21 Martin Rudalics <rudalics@gmx.at>
9076 * mouse.el (mouse-drag-window-above)
9077 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9078 (mouse-drag-mode-line-1, mouse-drag-header-line)
9079 (mouse-drag-vertical-line-rightward-window): Remove.
9080 (mouse-drag-line): New function.
9081 (mouse-drag-mode-line, mouse-drag-header-line)
9082 (mouse-drag-vertical-line): Call mouse-drag-line.
9083 * window.el (window-at-side-p, windows-at-side): New functions.
9085 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
9087 * tar-mode.el (tar-grind-file-mode):
9088 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9090 2011-10-21 Chong Yidong <cyd@gnu.org>
9092 * progmodes/idlwave.el (idlwave-mode):
9093 * progmodes/vera-mode.el (vera-mode):
9094 Use mode-require-final-newline.
9096 2011-10-20 Glenn Morris <rgm@gnu.org>
9098 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
9100 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9102 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9104 2011-10-20 Chong Yidong <cyd@gnu.org>
9106 * emulation/cua-base.el (cua-mode):
9107 * mail/footnote.el (footnote-mode):
9108 * mail/mailabbrev.el (mail-abbrevs-mode):
9109 * net/xesam.el (xesam-minor-mode):
9110 * progmodes/bug-reference.el (bug-reference-mode):
9111 * progmodes/cap-words.el (capitalized-words-mode):
9112 * progmodes/compile.el (compilation-minor-mode)
9113 (compilation-shell-minor-mode):
9114 * progmodes/gud.el (gud-tooltip-mode):
9115 * progmodes/hideif.el (hide-ifdef-mode):
9116 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9117 * progmodes/subword.el (subword-mode):
9118 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9119 * progmodes/which-func.el (which-function-mode):
9120 * term/tvi970.el (tvi970-set-keypad-mode):
9121 * term/vt100.el (vt100-wide-mode):
9122 * textmodes/flyspell.el (flyspell-mode):
9123 * textmodes/ispell.el (ispell-minor-mode):
9124 * textmodes/nroff-mode.el (nroff-electric-mode):
9125 * textmodes/paragraphs.el (use-hard-newlines):
9126 * textmodes/refill.el (refill-mode):
9127 * textmodes/reftex.el (reftex-mode):
9128 * textmodes/rst.el (rst-minor-mode):
9129 * textmodes/sgml-mode.el (html-autoview-mode)
9130 (sgml-electric-tag-pair-mode):
9131 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9132 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9133 * emulation/crisp.el (crisp-mode):
9134 * emacs-lisp/eldoc.el (eldoc-mode):
9135 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9136 minor mode behavior.
9138 2011-10-19 Juri Linkov <juri@jurta.org>
9140 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9141 the list of hard-coded chars with escape-glyph face.
9143 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9145 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9147 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
9149 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9152 2011-10-19 Glenn Morris <rgm@gnu.org>
9154 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9155 Ignore ignored files. (Bug#9726)
9157 2011-10-19 Chong Yidong <cyd@gnu.org>
9159 Doc fix for minor modes, stating that an omitted argument enables
9160 the mode unconditionally when called from Lisp.
9162 * abbrev.el (abbrev-mode):
9163 * allout.el (allout-mode):
9164 * autoinsert.el (auto-insert-mode):
9165 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9166 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9167 (global-auto-revert-mode):
9168 * battery.el (display-battery-mode):
9169 * composite.el (global-auto-composition-mode)
9170 (auto-composition-mode):
9171 * delsel.el (delete-selection-mode):
9172 * desktop.el (desktop-save-mode):
9173 * dired-x.el (dired-omit-mode):
9174 * dirtrack.el (dirtrack-mode):
9175 * doc-view.el (doc-view-minor-mode):
9176 * double.el (double-mode):
9177 * electric.el (electric-indent-mode, electric-pair-mode):
9178 * emacs-lock.el (emacs-lock-mode):
9179 * epa-hook.el (auto-encryption-mode):
9180 * follow.el (follow-mode):
9181 * font-core.el (font-lock-mode):
9182 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9183 * help.el (temp-buffer-resize-mode):
9184 * hilit-chg.el (highlight-changes-mode)
9185 (highlight-changes-visible-mode):
9186 * hi-lock.el (hi-lock-mode):
9187 * hl-line.el (hl-line-mode, global-hl-line-mode):
9188 * icomplete.el (icomplete-mode):
9189 * ido.el (ido-everywhere):
9190 * image-file.el (auto-image-file-mode):
9191 * image-mode.el (image-minor-mode):
9192 * iswitchb.el (iswitchb-mode):
9193 * jka-cmpr-hook.el (auto-compression-mode):
9194 * linum.el (linum-mode):
9195 * longlines.el (longlines-mode):
9196 * master.el (master-mode):
9197 * mb-depth.el (minibuffer-depth-indicate-mode):
9198 * menu-bar.el (menu-bar-mode):
9199 * minibuf-eldef.el (minibuffer-electric-default-mode):
9200 * mouse-sel.el (mouse-sel-mode):
9201 * msb.el (msb-mode):
9202 * mwheel.el (mouse-wheel-mode):
9203 * outline.el (outline-minor-mode):
9204 * paren.el (show-paren-mode):
9205 * recentf.el (recentf-mode):
9206 * reveal.el (reveal-mode, global-reveal-mode):
9207 * rfn-eshadow.el (file-name-shadow-mode):
9208 * ruler-mode.el (ruler-mode):
9209 * savehist.el (savehist-mode):
9210 * scroll-all.el (scroll-all-mode):
9211 * scroll-bar.el (scroll-bar-mode):
9212 * server.el (server-mode):
9213 * shell.el (shell-dirtrack-mode):
9214 * simple.el (auto-fill-mode, transient-mark-mode)
9215 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9216 (line-number-mode, column-number-mode, size-indication-mode)
9217 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9218 * strokes.el (strokes-mode):
9219 * time.el (display-time-mode):
9220 * t-mouse.el (gpm-mouse-mode):
9221 * tool-bar.el (tool-bar-mode):
9222 * tooltip.el (tooltip-mode):
9223 * type-break.el (type-break-mode-line-message-mode)
9224 (type-break-query-mode):
9225 * view.el (view-mode):
9226 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9227 (global-whitespace-mode, global-whitespace-newline-mode):
9228 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9230 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9231 Fix autogenerated docstring.
9233 2011-10-19 Juri Linkov <juri@jurta.org>
9235 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9236 by checking environment variables "DESKTOP_SESSION" and
9237 "XDG_CURRENT_DESKTOP". (Bug#9779)
9239 2011-10-19 Juri Linkov <juri@jurta.org>
9241 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9242 (browse-url-chromium-program, browse-url-chromium-arguments):
9244 (browse-url-default-browser): Check for `browse-url-chromium' and
9245 call `browse-url-chromium-program'.
9246 (browse-url-chromium): New command. (Bug#9779)
9248 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
9250 * facemenu.el (list-colors-duplicates): On Windows, detect more
9251 duplicates by assuming that only colors matching "^System" are
9252 special "system colors". (Bug#9722)
9254 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9256 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9257 to distinguish the author from the committer.
9259 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
9261 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9263 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9265 * international/mule.el (sgml-html-meta-auto-coding-function):
9266 Add support for detecting encoding in HTML5 specified only as
9267 <meta charset="UTF-8">. Implementation just makes http-equiv and
9268 content-type parts from HTML4 encoding string optional. (Bug#9716)
9270 2011-10-18 Glenn Morris <rgm@gnu.org>
9272 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9274 2011-10-18 Chong Yidong <cyd@gnu.org>
9276 * faces.el (cursor): Doc fix.
9278 2011-10-17 Chong Yidong <cyd@gnu.org>
9280 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9282 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
9284 * dirtrack.el (dirtrack): Support shell buffers with path
9285 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9287 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9289 * json.el: Bump version to 1.3 and note change in History.
9290 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9292 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9294 * comint.el (comint-insert-input, comint-send-input)
9295 (comint-get-old-input-default, comint-backward-matching-input)
9296 (comint-next-prompt): Use nil instead of `input' for field property of
9297 past user input (bug#114).
9299 * minibuffer.el (completion--replace): Inherit surrounding properties
9301 (minibuffer-complete-and-exit): Use it.
9303 * comint.el (comint--table-subvert): Quote the all-completions output
9306 2011-10-17 Martin Rudalics <rudalics@gmx.at>
9308 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
9310 * menu-bar.el (menu-bar-file-menu): Add entry for making new
9311 window on right of selected. (Bug#9350) Reword other window
9312 entries and separate them from frame entries.
9314 2011-10-15 Glenn Morris <rgm@gnu.org>
9316 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9319 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
9321 * net/network-stream.el (network-stream-open-starttls):
9322 Improve detection of failure due to lack of TLS support.
9324 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9325 putting the input text in front and in bold.
9327 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9329 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9331 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9334 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9335 unread-command-events rather than pushing yet-another event.
9337 2011-10-14 Eli Zaretskii <eliz@gnu.org>
9339 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9340 the explanation of the possible choices. Make the options passed
9341 to completing-read shorter.
9343 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9345 * textmodes/flyspell.el (flyspell-large-region): Make sure
9346 extended character mode is used if defined (Bug#1339).
9348 2011-10-13 Eli Zaretskii <eliz@gnu.org>
9350 * simple.el (what-cursor-position): Fix the display of the
9351 character info for LRE, LRO, RLE, and RLO characters by appending
9354 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9356 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9357 even in case of error; add debug spec; simplify data flow.
9358 (with-timeout-handler): Remove.
9360 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
9362 Fix Bug#6019, Bug#9315.
9364 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9365 complete `buffer-file-name', the local file name part could look
9366 remotely (for example on VMS).
9368 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9369 `tramp-run-real-handler'.
9370 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9371 already quoted by '"'.
9373 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9374 Let `file-name-handler-alist' be nil, the local file name part
9375 could look remotely (for example on VMS).
9377 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9379 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9381 (flyspell-post-command-hook): ...to here.
9383 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9385 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9387 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9388 using completion. Protect against "slow" callers.
9389 Remove the "message hack".
9391 2011-10-11 Juri Linkov <juri@jurta.org>
9393 * isearch.el (isearch-lazy-highlight-word): New variable.
9394 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9397 2011-10-11 Glenn Morris <rgm@gnu.org>
9399 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9400 like f90-previous-statement does.
9402 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9404 * eshell/eshell.el (eshell-command): History should be saved
9405 only in interactive use, to avoid error.
9407 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9409 * minibuffer.el (completion-file-name-table): Fix last change,
9410 i.e. ignore normal errors but not the other ones.
9412 2011-10-10 Martin Rudalics <rudalics@gmx.at>
9414 * window.el (special-display-buffer-names)
9415 (special-display-regexps): Remove some remnants of earlier
9416 changes from doc-strings.
9417 (quit-windows-on): New function.
9419 * vc/vc.el (vc-revert, vc-rollback):
9420 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9421 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9422 (Bug#6183) (Bug#7074) (Bug#7447)
9424 2011-10-09 Martin Rudalics <rudalics@gmx.at>
9426 * window.el (frame-auto-hide-function): Add version tag.
9429 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
9431 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9434 2011-10-09 Leo Liu <sdl.web@gmail.com>
9436 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9439 2011-10-08 Glenn Morris <rgm@gnu.org>
9441 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9442 before the first code statement zero indent. (Bug#9690)
9444 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
9446 * simple.el (count-words-region): Always count in the region.
9447 Report the number of lines and characters too.
9448 (count-words): New command, which counts in the buffer if the
9449 region is inactive, as count-words-region used to.
9450 (count-words--message): New function. Handle plurals.
9451 (count-lines-region): Make it an alias for count-words-region.
9453 * bindings.el (esc-map): Replace count-lines-region with
9456 2011-10-08 Martin Rudalics <rudalics@gmx.at>
9458 * window.el (window--delete): Delete dedicated frame
9459 unconditionally when argument KILL is non-nil. (Bug#9699)
9460 (switch-to-buffer): Fix doc-string typo.
9462 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9464 * eshell/eshell.el (eshell-command): Avoid using hooks.
9466 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
9468 * bindings.el ([M-left],[M-right]): Bind to left-word and
9469 right-word respectively.
9471 2011-10-07 Glenn Morris <rgm@gnu.org>
9473 * cus-start.el (debug-on-quit): Fix custom type.
9475 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9477 * subr.el (define-key-after): Clarify that the function is not
9478 useful for non-menu keymaps.
9480 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9482 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9484 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
9485 in current minibuffer (Fix bug with recursive minibuffers).
9487 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
9489 * progmodes/gdb-mi.el (gdb): Doc fix.
9491 2011-10-05 Martin Rudalics <rudalics@gmx.at>
9493 * window.el (frame-auto-hide-function): New option replacing
9494 frame-auto-delete. Suggested by Stefan Monnier.
9495 (window--delete): Call frame-auto-hide-function instead of
9496 investigating frame-auto-delete.
9497 (window-point-1, set-window-point-1): New functions.
9498 (window-in-direction, record-window-buffer, window-state-get-1)
9499 (display-buffer-record-window): Use window-point-1 instead of
9501 (set-window-buffer-start-and-point): Use set-window-point-1.
9503 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9505 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9507 2011-10-05 Glenn Morris <rgm@gnu.org>
9509 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9510 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9512 2011-10-05 Leo Liu <sdl.web@gmail.com>
9514 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9515 works with buffer object.
9517 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9519 * mpc.el (mpc-tool-bar-map): Add labels.
9521 2011-10-04 Glenn Morris <rgm@gnu.org>
9523 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9525 2011-10-04 Martin Rudalics <rudalics@gmx.at>
9527 * window.el (window--delete): New function.
9528 (frame-auto-delete): Resuscitate option.
9529 (bury-buffer, replace-buffer-in-windows)
9530 (quit-window): Rewrite using window--delete.
9531 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9532 Pass display-buffer-mark-dedicated to window--display-buffer-2
9535 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9537 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9538 returns a list (bug#9554). Add remote file name completion.
9539 * comint.el (comint--table-subvert): Curry and get quote&unquote
9540 functions as arguments.
9541 (comint--complete-file-name-data): Adjust call accordingly.
9542 * pcomplete.el (pcomplete--table-subvert): Remove.
9543 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9545 * minibuffer.el (completion-table-case-fold): Use currying.
9546 (completion--styles-type, completion--cycling-threshold-type):
9548 (completion-styles, completion-category-overrides)
9549 (completion-cycle-threshold): Use them.
9550 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9551 completion-table-case-fold.
9553 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
9555 * minibuffer.el (completion-category-overrides): Fix type of styles
9556 and add more user friendly tags (bug#9660).
9558 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9560 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9561 (mule-input-method-string): New widget.
9562 (default-input-method, language-info-custom-alist): Use it.
9564 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9566 * pcomplete.el: Require comint.
9567 (pcomplete--common-suffix): Remove.
9568 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9569 (pcomplete--table-subvert): Sync with comint--table-subvert.
9570 (pcomplete--entries): Use comint-completion-file-name-table.
9571 * comint.el (comint-unquote-filename): Simplify.
9572 (comint-completion-file-name-table): New function (bug#9616).
9573 (comint--complete-file-name-data): Use it.
9575 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9576 (pcmpl-gnu-tar-buffer): Remove.
9577 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9578 around. Make sure pcomplete-suffix-list is only changed temporarily.
9579 Don't look inside the tar's file if it's too large.
9581 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
9583 * cus-edit.el (custom-mode-map):
9584 * epa.el (epa-key-list-mode-map):
9585 * man.el (Man-mode-map):
9586 * startup.el (splash-screen-keymap):
9587 * simple.el (special-mode-map): Use scroll-up-command and
9588 scroll-down-command.
9590 * progmodes/idlw-help.el (idlwave-help-mode-map):
9591 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9592 * net/newst-plainview.el (newsticker-mode-map):
9593 * emulation/ws-mode.el (wordstar-mode-map):
9594 * emulation/vi.el (vi-com-map):
9595 * calc/calc-graph.el (calc-graph-show-dumb):
9596 * term/sun.el (terminal-init-sun):
9597 * term/ns-win.el (global-map):
9598 * progmodes/grep.el (grep-mode-map):
9599 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9600 * mail/rmail.el (rmail-mode-map):
9601 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9603 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9604 custom-safe-themes as special.
9606 2011-10-01 Julien Danjou <julien@danjou.info>
9608 * notifications.el (notifications-notify): Fix docstring.
9610 2011-10-01 Per Starbäck <per@starback.se>
9612 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9614 2011-09-30 Martin Rudalics <rudalics@gmx.at>
9616 * startup.el (command-line-1): Fix last fix by inserting
9617 initial-scratch-message into *scratch* before displaying it.
9618 (Bug#9605) and (Bug#9636)
9620 2011-09-29 Eli Zaretskii <eliz@gnu.org>
9622 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9623 window is hscrolled, move by logical lines. (Bug#9607)
9624 (line-move-visual): Update the doc string to the above effect.
9626 2011-09-29 Martin Rudalics <rudalics@gmx.at>
9628 * window.el (display-buffer-record-window): When WINDOW is the
9629 selected window use `point' instead of `window-point'. (Bug#9626)
9631 * startup.el (command-line-1): Use insert-before-markers when
9632 inserting initial-scratch-message. (Bug#9605)
9634 * help.el (help-window): Remove variable.
9636 2011-09-29 Glenn Morris <rgm@gnu.org>
9638 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9640 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
9642 * descr-text.el (describe-char-categories): Accept category
9643 descriptions more than one line long.
9645 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9647 * simple.el (delete-trailing-whitespace): Fix last change.
9649 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9650 Don't confuse "y => 3" as the beginning of a `y' operation.
9652 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9653 object has more than 4 slots (bug#9613).
9655 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
9657 * subr.el (with-output-to-temp-buffer):
9658 * net/quickurl.el (quickurl, quickurl-browse-url):
9659 Fix typos in docstrings.
9661 2011-09-27 Eli Zaretskii <eliz@gnu.org>
9663 * minibuffer.el (completion-styles)
9664 (completion-category-overrides): Cross reference each other in doc
9667 2011-09-27 Glenn Morris <rgm@gnu.org>
9669 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9670 to split-string. (Bug#9606)
9672 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9674 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9677 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
9679 * emacs-lisp/package.el (list-packages): Fix echo area message.
9681 2011-09-27 Leo Liu <sdl.web@gmail.com>
9683 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9685 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
9687 * net/dbus.el (dbus-unregister-object): Don't release services for
9688 registered signals. (Bug#9581)
9690 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9692 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9693 function that picks between cfengine 2 and 3 support
9694 automatically. Update docs accordingly.
9696 2011-09-22 Kenichi Handa <handa@m17n.org>
9698 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9700 (indian-itrans-v5-table-for-tamil): New variable.
9701 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9703 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9705 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9706 that's true if the current command involved collapsing of text.
9707 It's reset to false at the beginning of the next command.
9708 (allout-post-command-business): Move the cursor to the beginning
9709 of entry if the cursor is hidden and collapsing activity just
9712 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
9714 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9715 tracking (Bug#9541).
9717 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
9719 * net/newst-reader.el (newsticker-html-renderer)
9720 (newsticker-show-news): Automatically load html rendering package
9721 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9722 because w3m-fill-column is let-bound" and the error "Symbol's value
9723 as variable is void: w3m-fill-column".
9725 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
9727 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9728 Release services only if they are defined. (Bug#9581)
9730 2011-09-23 Richard Stallman <rms@gnu.org>
9732 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9733 distinguish start of paragraph from start of its text.
9735 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9737 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9738 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9739 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9741 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9743 * international/mule-diag.el (mule-diag): Insert a newline after
9744 each fontset description.
9746 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9748 * simple.el (delete-trailing-whitespace):
9749 Document last change; simplify.
9751 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9753 * simple.el (delete-trailing-whitespace): Also delete
9754 extra newlines at the end of the buffer.
9756 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9757 (picture-newline): Use forward-line so as to ignore fields.
9759 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9761 * subr.el (with-wrapper-hook): Fix edebug spec.
9763 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9765 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9768 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
9770 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9771 Fix nasty bug using wrong cached values.
9773 2011-09-23 Alan Mackenzie <acm@muc.de>
9775 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9777 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
9779 * window.el (pop-to-buffer): Ensure right window is selected if we
9780 chose another frame.
9782 2011-09-22 Eli Zaretskii <eliz@gnu.org>
9784 * simple.el (what-cursor-position): Use get-char-property-change
9785 and next-single-char-property-change, to be able to show display
9786 properties that come from overlays as well as text properties.
9788 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
9790 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9792 * cmuscheme.el (run-scheme, switch-to-scheme):
9793 * cus-edit.el (customize-group, custom-buffer-create)
9797 * mail/sendmail.el (mail):
9798 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9800 2011-09-22 Richard Stallman <rms@gnu.org>
9802 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9803 move back only to line beg, don't move back over blank lines.
9805 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
9807 * files.el (copy-directory): Set directory attributes only in case
9808 they could be retrieved from the source directory. (Bug#9565)
9810 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9812 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9813 (hs-find-block-beginning, hs-hide-level-recursive):
9814 Ignore strings as well as comments. (Bug#9502)
9816 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9818 * progmodes/sql.el (sql-comint-postgres):
9819 Convert port number to a string. (Bug#9566)
9821 2011-09-22 Martin Rudalics <rudalics@gmx.at>
9823 * window.el (quit-window): Undedicate window when switching to
9824 previous buffer. Reported by Thierry Volpiatto
9825 <thierry.volpiatto@gmail.com>.
9826 (special-display-popup-frame): When popping up a new frame reset
9827 its previous buffers to nil. Simplify code.
9829 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
9831 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9832 and process filter, as done also in `shell-command'.
9834 2011-09-21 Martin Rudalics <rudalics@gmx.at>
9836 * window.el (set-window-buffer-start-and-point):
9837 Call set-window-start with NOFORCE argument t.
9838 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9839 (quit-window): Reword doc-string. Handle new format of
9840 quit-restore parameter. Don't delete window if it has a
9841 previous buffer we can show instead of the present one.
9842 (display-buffer-record-window): Rewrite using a new format for
9843 the quit-restore window parameter
9844 (special-display-popup-frame, display-buffer-same-window)
9845 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9846 (display-buffer-pop-up-window, display-buffer-use-some-window):
9847 Adapt symbol passed to display-buffer-record-window.
9848 * help.el (help-window-setup): Handle new format of quit-restore
9851 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9853 * faces.el (face-list): Fix docstring (bug#9564).
9855 * window.el (display-buffer--action-function-custom-type):
9856 Don't include internal functions in the Custom interface.
9858 2011-09-20 Juri Linkov <juri@jurta.org>
9860 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9861 (Info-forward-node, Info-backward-node, Info-next-preorder)
9862 (Info-last-preorder): Use it. (Bug#9528)
9864 2011-09-20 Juri Linkov <juri@jurta.org>
9866 * info.el (Info-last-preorder): Visit last menu item only when
9867 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9869 2011-09-20 Julien Danjou <julien@danjou.info>
9871 * password-cache.el (password-cache-remove): Remove entries even if the
9872 value is nil, so that password with a nil value (negative caching) is
9873 possible to invalidate.
9875 2011-09-20 Lawrence Mitchell <wence@gmx.li>
9877 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9878 all whitespace around breakpoint. (Bug#9553)
9879 (f90-find-breakpoint): Only break at whitespace inside a comment.
9881 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9883 * minibuffer.el (completion-file-name-table): Keep track of errors.
9884 (completion-table-with-predicate): Handle the case where pred1 is nil.
9885 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9887 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9889 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9890 (debugger-return-value): Signal an error if the debugging context does
9891 not await any return value.
9893 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9894 * image-mode.el (image-toggle-display-text)
9895 (image-toggle-display-image): Stay away from evil `intangible'.
9897 2011-09-19 Leo Liu <sdl.web@gmail.com>
9899 * replace.el (occur-revert-arguments): Make it permanent-local.
9900 (occur-mode): Don't call font-lock-defontify.
9902 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
9904 * net/ldap.el (ldap-search-internal): Don't push empty search
9907 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9909 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9911 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
9913 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9914 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9916 2011-09-18 Juri Linkov <juri@jurta.org>
9918 * buff-menu.el (Buffer-menu-mode-map):
9919 * dired.el (dired-mode-map):
9920 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9921 (lisp-interaction-mode-map):
9922 * emacs-lisp/package.el (package-menu-mode-map):
9923 * epa.el (epa-key-list-mode-map):
9924 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9925 (menu-bar-options-menu):
9926 * outline.el (outline-mode-menu-bar-map):
9927 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9928 * vc/vc-dir.el (vc-dir-menu-map):
9929 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9930 Capitalize non-function content words in menu item strings.
9932 * dired.el (dired-mode-map): Add menu item for
9933 `image-dired-dired-toggle-marked-thumbs'.
9935 2011-09-18 Juri Linkov <juri@jurta.org>
9937 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9938 to `isearch-case-fold-search' and restore its original value
9939 after the `isearch-mode' call.
9941 2011-09-18 Juri Linkov <juri@jurta.org>
9943 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9944 because `zgrep' returns 1 for successful matches (bug#9226).
9946 2011-09-18 Juri Linkov <juri@jurta.org>
9948 * info.el (Info-extract-menu-node-name): Check the second match
9949 for empty string (second test-case of bug#9528).
9950 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9951 intermediate nodes to the history (first test-case of bug#9528).
9953 2011-09-18 Juri Linkov <juri@jurta.org>
9955 * info.el (Info-mode-syntax-table): New variable.
9956 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
9958 2011-09-18 Juri Linkov <juri@jurta.org>
9960 * info.el (Info-file-supports-index-cookies):
9961 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9962 outputs one more line for long file names (bug#4142).
9964 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
9966 * newcomment.el (comment-normalize-vars): If prompting for
9967 comment-start, set comment-start-skip too (Bug#8424).
9969 2011-09-18 Johan Bockgård <bojohan@gnu.org>
9971 * icomplete.el: Fix previous fix of Bug#5849.
9972 (icomplete-mode): Don't set completion-show-inline-help.
9973 (icomplete-minibuffer-setup): Set completion-show-inline-help
9974 locally during icompletion.
9976 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
9978 * woman.el (woman2-process-escapes): Don't delete unrecognized
9981 * files.el (inhibit-first-line-modes-regexps): Add image files.
9982 (hack-local-variables-prop-line): Return nil for malformed
9983 prop-lines (Bug#9044).
9985 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
9987 * net/tramp.el (top): Don't require 'shell.
9988 (tramp-methods): Fix docstring.
9989 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
9990 Return complete remote file name. Handle "smb" case.
9991 Use `tramp-tmpdir', if defined for the respective method.
9992 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9994 * net/tramp-compat.el (top): Require 'shell.
9996 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9997 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9998 `tramp-current-host'.
9999 (tramp-get-remote-tmpdir): Remove.
10001 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10002 `tramp-tmpdir' entries.
10003 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10004 (tramp-smb-handle-file-attributes): Ignore errors.
10005 (tramp-smb-wait-for-output): Check also for process end.
10007 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10009 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10010 when sending QUIT (bug#9312).
10012 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
10014 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10015 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10016 occur-mode-display-occurrence.
10017 (occur-edit-mode): Add usage message.
10018 (occur-cease-edit): New command.
10019 (occur-after-change-function): Use text properties to find the
10020 position of the prefix text.
10021 (occur-engine): Set stickiness of prefix text properties.
10023 2011-09-17 Glenn Morris <rgm@gnu.org>
10025 * progmodes/etags.el (complete-tag):
10026 Fix call to completion-in-region. (Bug#9526)
10028 2011-09-17 Juri Linkov <juri@jurta.org>
10030 * textmodes/ispell.el (ispell-word): Add to the error message
10031 the word, ispell program name and current dictionary (bug#9121).
10032 (ispell-tex-arg-end): Capitalize "error" in the error message.
10034 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10036 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10039 2011-09-17 Juri Linkov <juri@jurta.org>
10041 * window.el (window-safe-min-height, window-safe-min-width):
10042 Fix typos (followup to bug#9522).
10044 2011-09-17 Sven Joachim <svenjoac@gmx.de>
10046 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10048 2011-09-16 Eli Zaretskii <eliz@gnu.org>
10050 * simple.el (line-move): If goal-column is set, move by logical
10051 lines, not by display lines. (Bug#971)
10052 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10053 to reflect the above change.
10055 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10057 * image.el (imagemagick-register-types): Use regexp-opt.
10059 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
10061 * window.el (display-buffer-base-action): Rename from
10062 display-buffer-default-action. Make default value empty.
10063 (display-buffer-overriding-action): Convert to defvar.
10064 (display-buffer-fallback-action): New var.
10066 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
10068 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10070 (package--add-to-archive-contents): If there is a duplicate entry
10071 with an older version, remove it.
10072 (package-menu-mark-delete, package-menu-mark-install)
10073 (package-menu-mark-unmark): Make unused args optional.
10074 (package-menu-mark-obsolete-for-deletion):
10075 Use package-menu-get-status instead of a regexp search.
10076 (package-menu-get-status): Use tabulated-list-entry.
10077 (package-menu-mark-upgrades): New command.
10078 (package-menu-mode-map): Bind it to U. Add it to menu bar.
10079 (package-menu-execute): Do installation before deletion.
10080 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10081 instead of checking major-mode.
10082 (package-menu--find-upgrades): New function.
10084 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10086 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10087 passwords in the log buffer.
10088 (smtpmail-process-filter): Update the process marker so that the
10089 "broken by peer" status message is inserted in the right place.
10091 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10093 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10094 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10095 bibtex-completion-at-point-function.
10096 (bibtex-completion-at-point-function): Use them.
10098 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10100 * mpc.el (mpc-constraints-tag-lookup): New function.
10101 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10102 also to browser "album|playlist".
10104 2011-09-14 Juri Linkov <juri@jurta.org>
10106 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10107 (isearch-edit-string): Use length of `isearch-string' when
10108 `isearch-fail-pos' returns nil.
10109 (isearch-message): Remove duplicate code and call
10110 `isearch-fail-pos' with arg `t'.
10112 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
10114 * replace.el (occur-mode-goto-occurrence): Don't force using other
10117 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10119 2011-09-14 Martin Rudalics <rudalics@gmx.at>
10121 * window.el (display-buffer-window): Remove.
10122 (display-buffer-record-window): Use help-setup window parameter
10123 instead of variable display-buffer-window.
10124 (display-buffer-function, special-display-buffer-names)
10125 (special-display-function): Mention help-setup parameter instead
10126 of display-buffer-window in doc-string.
10127 * help.el (help-window-setup): New argument help-window.
10128 Use help-window-setup parameter instead of display-buffer-window.
10129 Reword some messages.
10130 (with-help-window): Pass window used for displaying the buffer
10131 to help-window-setup. Don't set display-buffer-window.
10133 2011-09-13 Glenn Morris <rgm@gnu.org>
10135 * emacs-lisp/debug.el (debugger-make-xrefs):
10136 Preserve point. (Bug#9462)
10138 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
10140 * window.el (window-deletable-p): Use next-frame.
10142 2011-09-13 Martin Rudalics <rudalics@gmx.at>
10144 * window.el (window-auto-delete): Remove.
10145 (window-deletable-p): Remove argument FORCE. Don't deal with
10146 dedication and previous buffers.
10147 (switch-to-prev-buffer): Don't delete window.
10148 (delete-windows-on): Delete a window's frame if and only if the
10149 window is dedicated.
10150 (replace-buffer-in-windows): Delete buffer's window or frame if
10151 and only if window is dedicated.
10152 (quit-window): Handle quit-restore as before last change.
10153 (bury-buffer): Delete window only if window-deletable-p returns t.
10155 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
10157 * window.el (window-deletable-p): Never delete the last frame on a
10160 2011-09-13 Glenn Morris <rgm@gnu.org>
10162 * help.el (describe-key-briefly): Copy previous standard-output change.
10164 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
10166 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10168 2011-09-13 Glenn Morris <rgm@gnu.org>
10170 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10171 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10173 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
10175 * dired-aux.el (dired-mark-read-string): Don't return default
10176 value on empty input (Bug#9361).
10177 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10178 Omit initial minibuffer contents.
10179 (dired-do-chmod): Signal an error on empty input.
10180 (dired-mark-read-string): Don't return default on empty input.
10182 * files.el (file-modes-symbolic-to-number): Doc fix.
10184 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10186 * international/mule-cmds.el (ucs-completions): Remove.
10187 (read-char-by-name): Use complete-with-action instead; add metadata.
10189 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
10191 * window.el (display-buffer--action-function-custom-type)
10192 (display-buffer--action-custom-type): New vars.
10193 (display-buffer-alist, display-buffer-default-action)
10194 (display-buffer-overriding-action): Add defcustom types.
10196 * frame.el (delete-other-frames): Doc fix (Bug#276).
10198 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10200 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10202 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
10204 Change modes that used same-window-* vars to use switch-to-buffer.
10206 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10207 Use switch-to-buffer.
10209 * cus-edit.el (customize-group, custom-buffer-create)
10210 (customize-browse, custom-buffer-create-other-window):
10211 Use switch-to-buffer or switch-to-buffer-other-window.
10213 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10214 (Info-prev, Info-up, Info-speedbar-goto-node)
10215 (info-display-manual): Use switch-to-buffer.
10216 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10218 * mail/sendmail.el (mail): Use switch-to-buffer.
10219 (mail-recover): Use switch-to-buffer-other-window.
10221 * cmuscheme.el (run-scheme, switch-to-scheme):
10223 * shell.el (shell):
10224 * net/rlogin.el (rlogin):
10225 * net/telnet.el (telnet, rsh):
10226 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10228 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10230 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10232 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10234 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10235 so don't mention it (bug#9301).
10236 (dired-sort-toggle-or-edit): Clarify string further.
10238 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10239 match `x', `w32' and `ns', like the manual says (bug#9029).
10241 * subr.el (eval-after-load): Doc string clarification (bug#9125).
10242 (process-kill-buffer-query-function): Mention the buffer name in
10245 * image-mode.el (image-next-line): The line parameter is mandatory
10248 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10249 which can be useful (bug#9301).
10251 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10253 * subr.el (match-string): Mention that the current buffer should
10254 be the same as the search was done in (bug#9282).
10256 * facemenu.el: Disable the remove-* commands if the mark isn't
10259 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10261 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10263 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10265 * replace.el (occur-mode-goto-occurrence)
10266 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10267 and display-buffer.
10269 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10272 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10273 special-display and same-window variables.
10274 (mail-other-window): Use switch-to-buffer-other-window.
10275 (mail-other-frame): USe switch-to-buffer-other-frame.
10277 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10278 Use display-buffer-other-frame.
10279 (gdb-display-gdb-buffer): Use pop-to-buffer.
10281 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10283 * progmodes/python.el: Don't set same-window-buffer-names.
10285 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10287 * window.el (display-buffer-alist): Add *Python*.
10289 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10291 * window.el (display-buffer-alist): Add entry for buffers
10292 previously handled same-window-*.
10293 (display-buffer-alist, display-buffer-default-action)
10294 (display-buffer-overriding-action): Mark as risky.
10295 (display-buffer-alist): Document action function changes.
10296 (display-buffer--same-window-action)
10297 (display-buffer--other-frame-action): New variables.
10298 (switch-to-buffer, display-buffer-other-frame): Use them.
10299 (display-buffer): Rename reuse-frame entry to reusable-frames.
10300 (display-buffer-reuse-selected-window): Function deleted.
10301 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10302 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10303 (display-buffer-special): New function.
10304 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10305 display-buffer-reuse-or-pop-window. Split off special-display
10306 part into display-buffer-special.
10307 (display-buffer-use-some-window): Don't perform any special
10308 pop-up-frames handling.
10309 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
10310 (display-buffer--maybe-same-window): Rename from
10311 display-buffer-maybe-same-window.
10313 * info.el: Don't set same-window-regexps.
10314 (info-setup): New function.
10315 (info-other-window, info): Call it.
10317 * cus-edit.el: Don't set same-window-regexps.
10318 (customize-group): New argument.
10319 (customize-group-other-window): Use it.
10320 (customize-face, customize-face-other-window): Likewise.
10321 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10325 * progmodes/gud.el: Don't set same-window-regexps.
10330 * mail/sendmail.el:
10331 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10333 2011-09-10 Juri Linkov <juri@jurta.org>
10335 * isearch.el (isearch-edit-string): Remove obsolete mention of
10336 `C-w' (`isearch-yank-word-or-char') from docstring.
10337 (isearch-query-replace): Fix typo in docstring (bug#9466).
10339 2011-09-10 Juri Linkov <juri@jurta.org>
10341 * paren.el (show-paren-function): Don't show escaped parens.
10342 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10344 2011-09-10 Eli Zaretskii <eliz@gnu.org>
10346 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10347 (mm-default-file-encoding): Remove autoload forms, they are
10348 replaced with autoload cookies in mml.el and mm-encode.el.
10349 (mail-add-attachment): New command.
10350 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10351 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10353 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10355 2011-09-10 Reuben Thomas <rrt@sc3d.org>
10357 * simple.el (count-words-region): Use buffer if there's no region
10360 2011-09-09 Juri Linkov <juri@jurta.org>
10362 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10363 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10364 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10366 2011-09-09 Alan Mackenzie <acm@muc.de>
10368 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10369 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10371 2011-09-09 Eli Zaretskii <eliz@gnu.org>
10373 Fix for Savannah bug#9392.
10374 * simple.el (mail-encode-mml): New defvar.
10376 * mail/rmail.el (mail-encode-mml): Add a defvar.
10377 (rmail-enable-mime-composing): Default to t.
10378 (rmail-forward): Use MIME method of forwarding only if both
10379 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10380 Set mail-encode-mml non-nil if the MIME method was used.
10382 * mail/sendmail.el (mml-to-mime): Add autoload form.
10383 (mail-encode-mml): Add a defvar.
10384 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10386 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10387 message through mml-to-mime, and reset mail-encode-mml to nil.
10389 2011-09-09 Glenn Morris <rgm@gnu.org>
10391 * woman.el (woman-if-body): When processing an .el block,
10392 do not delete the next .el block as well. (Bug#9447)
10393 (woman-special-characters): Add oq, cq, and hy characters.
10395 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10397 * window.el (window-deletable-p): Make sure window is live before
10398 invoking window-prev-buffers.
10400 2011-09-08 Leo Liu <sdl.web@gmail.com>
10402 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10404 2011-09-08 Juri Linkov <juri@jurta.org>
10406 * progmodes/compile.el (compilation-environment): Make it
10407 a defcustom (bug#8340).
10409 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10411 * window.el (frame-auto-delete): Rename to window-auto-delete.
10412 Make it control auto-deletion of windows and/or frames.
10413 (window-deletable-p): New argument FORCE. Rewrite conditions
10414 for deleting window/frame. (Bug#9419)
10415 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10416 Rewrite handling of case when window/frame can be deleted.
10417 (delete-windows-on): Call window-deletable-p with new FORCE
10418 argument t. (Bug#9456)
10420 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
10422 * help-mode.el (help-mode): Restore autoload.
10424 2011-09-07 Juri Linkov <juri@jurta.org>
10426 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10427 `compilation-environment'. Set buffer-local
10428 `compilation-environment' to `thisenv' later after (funcall mode).
10431 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10432 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10433 instead of replacing its value. (Bug#8340)
10435 2011-09-07 Juri Linkov <juri@jurta.org>
10437 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10438 based on text properties put by `grep-filter' instead of matching
10440 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10441 to the value of `grep-error-screen-columns' (bug#9438).
10443 2011-09-07 Juri Linkov <juri@jurta.org>
10445 * simple.el (next-error-highlight, next-error-highlight-no-select):
10446 Doc fix (bug#9432).
10448 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10450 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10451 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10453 2011-09-07 Leo Liu <sdl.web@gmail.com>
10455 * net/rcirc.el (rcirc-mode): Conditionally initialize
10458 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10460 * emacs-lisp/find-func.el (find-function-C-source): Only set
10461 find-function-C-source-directory after checking that we found a source
10462 file there (bug#9440).
10464 2011-09-06 Alan Mackenzie <acm@muc.de>
10466 * isearch.el (isearch-other-meta-char): Wherever a key list is
10467 unread, "unread" the prefix arg, too. This fixes bug #8901.
10469 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10471 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10473 2011-09-05 Juri Linkov <juri@jurta.org>
10475 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10477 2011-09-05 Juri Linkov <juri@jurta.org>
10479 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10480 keeping point where processing of grep matches begins, and
10481 continue to delete remaining escape sequences from the same point.
10482 (grep-filter): Make leading zero optional in "0?1;31m" because
10483 git-grep emits "\033[1;31m" escape sequences unlike expected
10484 "\033[01;31m" as GNU Grep does (bug#9408).
10485 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10487 2011-09-05 Juri Linkov <juri@jurta.org>
10489 * subr.el (y-or-n-p): Capitalize "yes".
10491 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
10493 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10494 `tramp-cache-unload-hook' where appropriate.
10495 (tramp-methods): Rename `tramp-remote-sh' to
10496 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10497 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10499 * net/tramp-sh.el (top): Don't require 'shell.
10500 (tramp-methods): Add `tramp-remote-shell' and
10501 `tramp-remote-shell-args' entries.
10502 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10503 (tramp-sh-handle-shell-command): Remove.
10504 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10505 Use `tramp-remote-shell'.
10507 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
10509 * mail/sendmail.el (sendmail-query-once-function): Delete.
10510 (sendmail-query-once): Save directly to send-mail-function.
10511 Update message-send-mail-function too.
10513 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10515 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10517 * progmodes/python.el (python-mode-map): Use correct function to
10518 start python interpreter from menu-bar (as reported by Geert
10520 (inferior-python-mode-map): Fix typo.
10521 (python-shell-map): Remove.
10523 2011-09-03 Deniz Dogan <deniz@dogan.se>
10525 * net/rcirc.el (rcirc-print): Simplify code for
10526 rcirc-scroll-show-maximum-output. There is no need to walk
10527 through all windows to find the right one.
10529 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10531 * help.el (help-return-method): Doc fix.
10533 2011-09-03 Martin Rudalics <rudalics@gmx.at>
10535 * window.el (window-deletable-p): Don't return a non-nil value
10536 when there's a buffer that was shown in the window before.
10538 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10539 Set window's previous buffers to nil.
10541 2011-09-03 Eli Zaretskii <eliz@gnu.org>
10543 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10544 newline before and after the tag line, so it doesn't interfere
10545 with determining the paragraph direction of bidirectional text.
10547 2011-09-03 Leo Liu <sdl.web@gmail.com>
10549 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10551 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10553 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
10554 (pop-to-buffer): Change interactive spec. Pass second argument
10555 directly to display-buffer.
10556 (display-buffer): Fix interactive spec. Use functionp to
10557 distinguish between a function and a list of functions.
10559 * abbrev.el (edit-abbrevs):
10560 * arc-mode.el (archive-extract):
10561 * autoinsert.el (auto-insert):
10562 * bookmark.el (bookmark-bmenu-list):
10563 * files.el (find-file):
10564 * view.el (view-buffer):
10565 * progmodes/compile.el (compilation-goto-locus):
10566 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10568 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10570 * window.el (display-buffer-alist): Doc fix.
10571 (display-buffer): Add docstring. Don't treat
10572 display-buffer-default specially.
10573 (display-buffer-reuse-selected-window)
10574 (display-buffer-same-window, display-buffer-maybe-same-window)
10575 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10576 (display-buffer-pop-up-window)
10577 (display-buffer-reuse-or-pop-window)
10578 (display-buffer-use-some-window): New functions.
10579 (display-buffer-default-action): Use them.
10580 (display-buffer-default): Delete.
10581 (pop-to-buffer-1): Fix choice of actions.
10583 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10585 * minibuffer.el (completion--insert-strings): Don't get confused by
10586 completion entries that end with an LF char.
10588 2011-09-01 Eli Zaretskii <eliz@gnu.org>
10590 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10592 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
10594 * window.el (display-buffer): Restore interactive spec.
10595 (display-buffer-same-window, display-buffer-other-window):
10597 (pop-to-buffer-1): New function. Use the above.
10598 (pop-to-buffer, pop-to-buffer-same-window): Use it.
10599 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
10601 * view.el (view-buffer-other-window, view-buffer-other-frame):
10602 Just use pop-to-buffer.
10604 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10606 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10608 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10610 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10612 2011-08-31 Richard Stallman <rms@gnu.org>
10614 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10615 of the separation of rmail-view-buffer from rmail-buffer.
10616 If you say no to "replace original", the decrypt is in the
10617 view buffer. If you say yes, the decrypt goes into the
10620 2011-08-31 Martin Rudalics <rudalics@gmx.at>
10622 * window.el (display-buffer-window): Rewrite doc-string.
10623 (display-buffer-record-window): New function.
10624 (display-buffer-macro-specifiers)
10625 (display-buffer-even-window-sizes, display-buffer-set-height)
10626 (display-buffer-set-width, display-buffer-in-window)
10627 (display-buffer-reuse-window, display-buffer-split-specifiers)
10628 (display-buffer-side-specifiers, display-buffer-split-window-1)
10629 (display-buffer-split-window, display-buffer-split-atom-window)
10630 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10631 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10632 (display-buffer-other-window-means-other-frame)
10633 (display-buffer-normalize-special)
10634 (display-buffer-normalize-default)
10635 (display-buffer-normalize-argument)
10636 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10637 (display-buffer-normalize-specifiers, display-buffer-frame)
10638 (display-buffer-same-window, display-buffer-same-frame)
10639 (display-buffer-other-window)
10640 (display-buffer-same-frame-other-window)
10641 (display-buffer-other-frame, pop-to-buffer-same-window)
10642 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10643 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10644 (switch-to-buffer-same-frame)
10645 (switch-to-buffer-other-window-same-frame)
10646 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10647 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10648 (display-buffer-alist-set): Remove.
10649 (display-buffer-function, special-display-buffer-names)
10650 (special-display-regexps, special-display-function):
10651 In doc-string refer to display-buffer-window and quit-restore
10653 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10654 (special-display-frame-alist, special-display-popup-frame)
10655 (same-window-buffer-names, same-window-regexps, same-window-p)
10656 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10657 (split-window-preferred-function, split-height-threshold)
10658 (split-width-threshold, window-splittable-p)
10659 (split-window-sensibly, window--try-to-split-window)
10660 (window--frame-usable-p, even-window-heights)
10661 (window--even-window-heights, window--display-buffer-1)
10662 (window--display-buffer-2, display-buffer-other-frame):
10663 Restore old Emacs 23 code, order and doc-strings where applicable.
10664 (display-buffer-default, display-buffer-assq-regexp): New functions.
10665 (display-buffer-alist): Rewrite doc-string.
10666 (display-buffer-default-action)
10667 (display-buffer-overriding-action): New variables.
10668 (display-buffer, switch-to-buffer): Rewrite.
10669 (pop-to-buffer): Restore Emacs 23 behavior but use
10670 window-normalize-buffer-to-display.
10671 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10672 Restore Emacs 23 behavior but use
10673 window-normalize-buffer-to-switch-to.
10674 (pop-to-buffer-same-window): Rewrite.
10675 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10676 Rewrite using Emacs 23 options.
10678 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
10680 * net/tramp.el (tramp-root-regexp): Remove.
10681 (tramp-completion-file-name-regexp-unified)
10682 (tramp-completion-file-name-regexp-separate)
10683 (tramp-completion-file-name-regexp-url): Don't use leading volume
10684 letter on w32 systems. (Bug#5303, Bug#9311)
10685 (tramp-drop-volume-letter): Simplify definition.
10686 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10688 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10690 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10693 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10695 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
10697 2011-08-29 Juri Linkov <juri@jurta.org>
10699 * isearch.el (isearch-done): Don't display message "Mark saved"
10700 when arg `edit' is non-nil to prevent its flicker in the echo area.
10702 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10704 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10705 obsolete packages for deletion.
10707 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10709 * help-mode.el (help-mode-map): Add special-mode-map to parent.
10710 (help-mode): Derive help-mode from special-mode. Don't invoke
10711 view-mode from help-mode.
10712 (help-xref-override-view-map): Remove.
10713 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10714 view-mode is not used anymore.
10716 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10718 * server.el (server-port): Doc fix.
10720 * cus-theme.el (custom-theme-choose-mode): Inherit from
10721 special-mode (Bug#9124).
10722 (custom-theme-choose-mode-map): Add special-mode to parent.
10724 2011-08-28 Alan Mackenzie <acm@muc.de>
10726 * progmodes/cc-fonts.el
10727 (c-make-font-lock-BO-decl-search-function): New function.
10728 (c-basic-matchers-after - "Fontify the clauses after various
10729 keywords"): Extract the three keyword lists for the 3 erroneous
10730 constructs from the list of four, and use the new function above
10731 in place of an old one.
10733 2011-08-28 Deniz Dogan <deniz@dogan.se>
10735 * net/rcirc.el (rcirc-insert-prev-input)
10736 (rcirc-insert-next-input): Remove unused argument.
10738 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10740 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10742 2011-08-27 Alan Mackenzie <acm@muc.de>
10744 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10745 handle function pointer parameters properly.
10747 2011-08-27 Martin Rudalics <rudalics@gmx.at>
10749 * window.el (display-buffer-reuse-window): Fix case where
10750 selected window was reused with non-nil OTHER-WINDOW argument.
10753 2011-08-27 Deniz Dogan <deniz@dogan.se>
10755 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10756 oftc's NickServ messages.
10758 2011-08-27 Glenn Morris <rgm@gnu.org>
10760 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10762 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
10764 * emacs-lisp/package.el (package-install): Call package-initialize
10765 if called interactively.
10767 2011-08-26 Leo Liu <sdl.web@gmail.com>
10769 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10771 2011-08-25 Juri Linkov <juri@jurta.org>
10773 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10774 `search-whitespace-regexp' (bug#9364).
10776 2011-08-25 Juri Linkov <juri@jurta.org>
10778 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10779 `regexp-search-ring' to their global values to protect from
10780 updating by `read-from-minibuffer' (bug#9185).
10782 2011-08-25 Juri Linkov <juri@jurta.org>
10784 * textmodes/ispell.el (ispell-command-loop): Add newline
10785 at the end of the "Use option `i'..." line.
10787 2011-08-25 Juri Linkov <juri@jurta.org>
10789 * battery.el (display-battery-mode): If `battery-status-function'
10790 or `battery-mode-line-format' is nil, display the message and set
10791 `display-battery-mode' to nil (bug#9363).
10793 2011-08-25 Eli Zaretskii <eliz@gnu.org>
10795 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10796 bidi-string-mark-left-to-right; they are unnecessary now.
10798 2011-08-25 Deniz Dogan <deniz@dogan.se>
10800 * net/quickurl.el: Documentation typo fixes.
10802 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
10804 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10806 2011-08-25 Glenn Morris <rgm@gnu.org>
10808 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10810 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10811 (smtpmail-via-smtp): Handle nil response from smtp.
10813 2011-08-24 Juri Linkov <juri@jurta.org>
10815 * proced.el (proced-marked): Inherit from `error' instead of
10816 `font-lock-warning-face'.
10818 * ibuffer.el (ibuffer-marked-face): Change default face from
10819 `font-lock-warning-face' to `warning'.
10820 (ibuffer-deletion-face): Change default face from
10821 `font-lock-type-face' to `error'.
10823 * battery.el (battery-update): Use the face `error' instead of
10824 `font-lock-warning-face' (bug#6117).
10826 2011-08-24 Juri Linkov <juri@jurta.org>
10828 * faces.el (success): Change face color from "Green3" to
10829 "ForestGreen" on light background (bug#9353).
10831 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
10833 * window.el (quit-window): Rename from quit-restore-window.
10834 Use same arglist as old quit-window.
10835 (frame-auto-delete): Doc fix.
10837 * view.el (view-mode-exit): Use quit-window.
10839 2011-08-24 Juri Linkov <juri@jurta.org>
10841 * isearch.el (isearch-ring-adjust1): Start visiting previous
10842 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10843 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10844 for empty search string (when the last search string is reused
10845 automatically) to adjust the isearch ring to the last element and
10846 prepare the correct index for further M-p commands (bug#9185).
10848 2011-08-24 Kenichi Handa <handa@m17n.org>
10850 * international/ucs-normalize.el: If decomposition property of
10851 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10853 (nfd, nfkd): Likewise.
10855 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10857 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10858 from process filters aren't reliably transmitted to the surrounding
10859 accept-process-output.
10860 (mpc-proc-check): New function.
10861 (mpc-proc-sync): Use it (bug#8293)
10863 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10865 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10866 Add compatibility functions (bug#9313).
10868 2011-08-23 Eli Zaretskii <eliz@gnu.org>
10870 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10872 * international/uni-bidi.el: Regenerate.
10874 2011-08-23 Kenichi Handa <handa@m17n.org>
10876 * international/charprop.el:
10877 * international/uni-bidi.el:
10878 * international/uni-category.el:
10879 * international/uni-combining.el:
10880 * international/uni-comment.el:
10881 * international/uni-decimal.el:
10882 * international/uni-decomposition.el:
10883 * international/uni-digit.el:
10884 * international/uni-lowercase.el:
10885 * international/uni-mirrored.el:
10886 * international/uni-name.el:
10887 * international/uni-numeric.el:
10888 * international/uni-old-name.el:
10889 * international/uni-titlecase.el:
10890 * international/uni-uppercase.el: Regenerate.
10892 2011-08-23 Martin Rudalics <rudalics@gmx.at>
10894 * help.el (help-window-setup): Fix message displayed when other
10895 window is reused. (Bug#9341)
10897 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10899 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10900 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10902 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10904 * shell.el (shell-parse-pcomplete-arguments): New function.
10905 (shell-completion-vars): Use it instead (bug#9160).
10907 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10909 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10910 strings and comments (bug#9333).
10912 * emacs-lisp/debug.el (debug-arglist): New function.
10913 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10914 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10916 2011-08-22 Juri Linkov <juri@jurta.org>
10918 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10919 Revert regexp that highlights output switches to its old
10920 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10922 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10923 to check for empty output (bug#9226).
10925 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
10927 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10928 symbol-constituent as the default, as that stops font-lock from
10929 working properly (Bug#8843).
10931 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10933 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10934 `coding-system-for-*' around the process open call to avoid
10935 auth-source side effects.
10936 (smtpmail-try-auth-methods): Expand the secret password.
10937 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10940 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
10942 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10944 * emacs-lisp/find-func.el (find-function-noselect): New arg
10947 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10948 signal an error for built-in functions (Bug#6664).
10950 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10952 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10953 (smtpmail-try-auth-methods): Use it.
10955 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
10957 * font-lock.el (font-lock-fontify-region)
10958 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10959 (font-lock-default-unfontify-buffer)
10960 (font-lock-default-fontify-region)
10961 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10963 * progmodes/compile.el (compilation-error-properties):
10964 Fix confusion between file struct and message struct (Bug#9319).
10965 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10968 * net/browse-url.el (browse-url-firefox): Don't call
10969 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10971 2011-08-20 Glenn Morris <rgm@gnu.org>
10973 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10975 * tutorial.el (tutorial--default-keys): Update some default bindings.
10977 * files.el (hack-local-variables): Fully ignore case for "mode:".
10979 2011-08-20 Alan Mackenzie <acm@muc.de>
10981 Resolve invalid use of a regexp in regexp-opt.
10983 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10984 detection for a java annotation.
10986 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
10987 detection for a java annotation.
10989 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10991 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10993 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
10995 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10998 2011-08-20 Alan Mackenzie <acm@muc.de>
11000 Fontify CPP expressions correctly when starting in the middle of
11001 such a construct. Mainly for when jit-lock etc. starts a chunk
11004 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
11006 (c-make-font-lock-search-form): New function, extracted from
11007 c-make-font-lock-search-function.
11008 (c-make-font-lock-search-function): Use the above function.
11009 (c-make-font-lock-context-search-function): New function.
11010 (c-cpp-matchers): Enhance the preprocessor expression case with
11012 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11013 which takes an expression.
11015 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11017 2011-08-20 Martin Rudalics <rudalics@gmx.at>
11019 * window.el (display-buffer-reuse-window)
11020 (display-buffer-pop-up-window): Don't reuse or split a side
11023 2011-08-19 Glenn Morris <rgm@gnu.org>
11025 * files.el (hack-local-variables-prop-line, hack-local-variables):
11026 Downcase "Mode:". (Bug#9331)
11028 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
11030 * international/characters.el: Add L and R categories.
11032 * subr.el (bidi-string-mark-left-to-right): Rename from
11033 string-mark-left-to-right. Use category search.
11035 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11037 2011-08-18 Juri Linkov <juri@jurta.org>
11039 * faces.el (error, warning, success): New faces with definitions
11040 copied from old default values of `font-lock-warning-face',
11041 `compilation-warning', `compilation-info' (bug#6117).
11043 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11045 * progmodes/compile.el (compilation-error): Inherit from `error'.
11046 (compilation-warning): Inherit from `warning'.
11047 (compilation-info): Inherit from `success'.
11049 * dired.el (dired-marked): Inherit from `warning'.
11050 (dired-flagged): Inherit from `error'.
11052 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11054 * mail/smtpmail.el (auth-source): Require to avoid problems with
11055 binding variables (bug#9298). Also clean up some unused
11058 * net/network-stream.el (network-stream-open-starttls):
11059 Support using starttls.el without using gnutls-cli.
11061 2011-08-17 Juri Linkov <juri@jurta.org>
11063 * progmodes/grep.el (rgrep): Handle the case when
11064 `grep-find-command' is a cons cell (bug#9278).
11066 2011-08-17 Martin Rudalics <rudalics@gmx.at>
11068 * window.el (display-buffer-pop-up-frame): Run frame creation
11069 function with BUFFER current (as special-display-popup-frame
11070 does). Reported by Drew Adams.
11072 2011-08-17 Daiki Ueno <ueno@unixuser.org>
11074 * epa-mail.el: Simplify GnuPG group expansion using
11076 (epa-mail-group-alist, epa-mail-group-modtime)
11077 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11078 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11079 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11082 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
11084 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11086 2011-08-16 Alan Mackenzie <acm@muc.de>
11088 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11089 Correct, to avoid the inside of macros.
11091 2011-08-16 Richard Stallman <rms@gnu.org>
11093 * epa-mail.el: Handle GnuPG group definitions.
11094 (epa-mail-group-alist, epa-mail-group-modtime)
11095 (epa-mail-gnupg-conf-file): New variables.
11096 (epa-mail-parse-groups, epa-mail-sync-groups)
11097 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11098 (epa-mail-expand-recipients): New functions.
11099 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11101 * mail/rmail.el (rmail-epa-decrypt): New command.
11103 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11104 Don't bind buffer-read-only, just inhibit-read-only.
11105 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11106 (epa-decrypt-armor-in-region): Make error message clearer.
11108 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11110 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11111 and "a2b" to "ab" for `prefix'.
11113 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
11115 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11117 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11118 Fourquet (Bug#8804).
11120 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
11122 * startup.el (argi): Declare as global variable (bug#9275).
11124 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
11126 * subr.el (string-mark-left-to-right): Search the entire string
11127 for RTL script, not just the terminating character. Doc fix.
11129 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11131 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11133 (js--regexp-literal, js-syntax-propertize-function): Remove.
11134 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11135 (js-mode-map): Don't rebind electric keys.
11136 (js-insert-and-indent): Remove.
11137 (js-mode): Setup electric-layout and electric-indent instead.
11139 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11141 2011-08-12 Daiki Ueno <ueno@unixuser.org>
11143 * epa.el (epa-progress-callback-function): Fix the logic of
11144 displaying progress.
11145 * epa-file.el (epa-file-insert-file-contents): Make progress
11146 display more user-friendly.
11147 (epa-file-write-region): Ditto.
11149 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
11151 * subr.el (string-mark-left-to-right): New function.
11153 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11154 Use string-mark-left-to-right.
11155 (list-buffers-noselect): Caller changed.
11157 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11158 Use string-mark-left-to-right.
11159 (tabulated-list-print): Recenter after moving point.
11161 2011-08-10 Juri Linkov <juri@jurta.org>
11163 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11164 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11165 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11167 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
11169 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11172 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11174 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11175 character. (Bug#6594)
11177 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
11179 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11180 (image-dired--with-db-file): New macro.
11181 (image-dired-write-tags, image-dired-remove-tag)
11182 (image-dired-create-gallery-lists, image-dired-write-comments)
11183 (image-dired-get-comment, image-dired-mark-tagged-files)
11184 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11185 (image-dired-gallery-generate): Use insert-file-contents.
11187 * time.el (display-time-world-list, display-time-world-display):
11188 * time-stamp.el (time-stamp-string):
11189 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11190 set-time-zone-rule (Bug#7337).
11192 2011-08-08 Daiki Ueno <ueno@unixuser.org>
11194 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11195 (epg-error-to-string, epg-errors-to-string): New function.
11196 (epg-wait-for-completion): Reverse errors list.
11197 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11198 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11199 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11200 (epg-sign-keys, epg-generate-key-from-file)
11201 (epg-generate-key-from-string): Format errors by using
11202 epg-errors-to-string (bug#9255).
11203 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11205 2011-08-07 Juri Linkov <juri@jurta.org>
11207 * faces.el (list-faces-display): Remove extra angle bracket
11208 from `help-mode-map'.
11210 * info.el (Info-history-toc-nodes): Doc fix.
11212 * longlines.el (longlines-mode): Doc fix.
11214 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11216 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11217 of statements and in a few more cases (bug#9183).
11219 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11221 (cl-transform-lambda): Use them (bug#9239).
11223 2011-08-05 Martin Rudalics <rudalics@gmx.at>
11225 * window.el (display-buffer-same-window)
11226 (display-buffer-same-frame, display-buffer-other-window)
11227 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11228 (pop-to-buffer-other-window)
11229 (pop-to-buffer-same-frame-other-window)
11230 (pop-to-buffer-other-frame): Make them defuns.
11231 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11233 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11235 * subr.el (make-composed-keymap): Move from C. Change calling
11236 convention, and improve docstring to bring attention to a subtle point.
11237 * minibuffer.el (completing-read-default): Adjust accordingly.
11239 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
11241 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11242 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11244 * net/trampver.el: Update release number.
11246 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11248 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11251 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11253 * mail/sendmail.el (sendmail-query-once): Restore the current
11254 buffer after querying (bug#9074).
11256 * dired.el (dired-flagged): Use different faces for marked and
11257 flagged files (bug#6117).
11259 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11262 * ido.el (ido-mode): Switch off the message if called
11265 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11266 before 587, since it appears that that's more likely to work for
11269 * cus-edit.el (custom-file): When running under emacs -q, always
11270 refuse to save the customizations, even if the .emacs file doesn't
11273 * info.el: Remove the `Info-beginning-of-buffer' function
11276 * net/network-stream.el (network-stream-open-starttls):
11277 Use `starttls-available-p' to see whether starttls.el can be used.
11279 2011-08-01 Martin Rudalics <rudalics@gmx.at>
11281 * window.el (display-buffer-in-window): Don't set dedicated status
11282 of window here (Bug#9215).
11283 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11284 (display-buffer-pop-up-side-window)
11285 (display-buffer-in-side-window): Set dedicated status of window here.
11287 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11289 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11290 before binding generated-autoload-file.
11292 2011-08-01 Deniz Dogan <deniz@dogan.se>
11294 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11296 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
11298 Sync with Tramp 2.2.2.
11300 * net/trampver.el: Update release number.
11302 2011-07-30 Juri Linkov <juri@jurta.org>
11304 * dired-aux.el (dired-touch-initial): Remove function.
11305 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11306 current time, and `default' to the last modification time of the
11307 current marked file (bug#6887).
11309 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11311 * simple.el (goto-line): Use string-to-number to provide a
11312 numeric argument to read-number (bug#9163).
11314 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
11316 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11317 connection process, it could be nil.
11319 2011-07-27 Leo Liu <sdl.web@gmail.com>
11321 Simplify url handling in rcirc-mode.
11323 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11324 (rcirc-browse-url-at-mouse): Remove.
11325 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11327 2011-07-26 Alan Mackenzie <acm@muc.de>
11329 Fontify bitfield declarations properly.
11331 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11332 (c-symbol-chars): Now exported as a lang variable.
11333 (c-not-primitive-type-keywords): New lang variable.
11335 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11336 QT keyword "more" to prevent "more slots: ...." being spuriously
11337 parsed as a bitfield declaration.
11339 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11340 Refactor and enhance to handle bitfield declarations.
11341 (c-punctuation-in): New function.
11342 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11343 declarations properly.
11345 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
11347 * calendar/icalendar.el (icalendar--all-events): Take care of
11348 multiple vcalendars in a single file.
11349 (icalendar--convert-float-to-ical): Checkdoc fixes.
11351 2011-07-25 Deniz Dogan <deniz@dogan.se>
11353 * image.el (insert-image): Clarifying docstring.
11355 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
11357 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11358 `tramp-send-command-and-check' if there is no error.
11359 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11361 2011-07-22 Alan Mackenzie <acm@muc.de>
11363 Prevent cc-langs.elc being loaded at run time.
11365 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11368 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
11369 "(require 'cc-langs)". Quote a form so it will evaluate at
11370 (cc-mode's) compilation time.
11372 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
11374 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11375 loading. (Bug#9114)
11377 2011-07-21 Martin Rudalics <rudalics@gmx.at>
11379 * window.el (display-buffer-pop-up-window)
11380 (display-buffer-pop-up-side-window)
11381 (display-buffer-in-side-window): Call display-buffer-set-height
11382 and display-buffer-set-width after setting the new window's
11383 buffer so `fit-window-to-buffer' and friends work on the right buffer.
11385 2011-07-20 Sam Steingold <sds@gnu.org>
11387 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11388 (etags-tags-included-tables): Call `convert-standard-filename' on
11389 the file names contained in TAGS so that windows Emacs can handle
11390 TAGS files created by cygwin ctags.
11392 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11394 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11395 which apparently didn't work.
11397 2011-07-19 Roland Winkler <winkler@gnu.org>
11399 * proced.el (proced-send-signal): For *Marked Processes* buffer
11400 put point at beginning of buffer.
11402 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
11404 * proced.el (proced-format): Make header lines align with the text
11407 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11409 * view.el (view-buffer): Allow running in `special' modes if we're
11410 visiting a file (bug#8615).
11412 2011-07-19 Martin Rudalics <rudalics@gmx.at>
11414 * window.el (display-buffer-alist-of-strings-p)
11415 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11417 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11420 2011-07-18 Alan Mackenzie <acm@muc.de>
11422 Fontify declarators properly when, e.g., a jit-lock chunk begins
11423 inside a declaration.
11425 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11427 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11429 (c-complex-decl-matchers): Insert reference to
11430 c-font-lock-enclosing-decls.
11432 * progmodes/cc-engine.el (c-backward-single-comment):
11433 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11434 to nil around calls to (forward-comment -1).
11436 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11438 * image.el (put-image): Doc typo fix.
11440 * progmodes/etags.el (tags-search): Doc typo fix.
11442 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11443 password if we get errors 550 to 554.
11445 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11447 * net/gnutls.el (gnutls-log-level): Remove.
11449 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11450 indentation character (bug#6380).
11452 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11454 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11455 to clarify what the problem is (bug#4291).
11457 * simple.el (current-kill): Clarify what
11458 `interprogram-paste-function' does (bug#7500).
11459 (auto-fill-mode): Document `auto-fill-function' in relation to
11460 `auto-fill-mode' (bug#2470).
11462 2011-07-16 Lawrence Mitchell <wence@gmx.li>
11464 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11465 method if slot is read-only (bug#9035).
11467 2011-07-16 Martin Rudalics <rudalics@gmx.at>
11469 * frame.el (select-frame-set-input-focus): New argument NORECORD.
11470 * window.el (pop-to-buffer): Select window used even if it was
11471 selected before, see discussion of (Bug#8615), (Bug#6954).
11472 Pass argument NORECORD on to select-frame-set-input-focus.
11474 2011-07-15 Glenn Morris <rgm@gnu.org>
11476 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
11479 2011-07-09 Lawrence Mitchell <wence@gmx.li>
11481 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11482 (gnutls-negotiate): Use it.
11484 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11486 * net/gnutls.el (gnutls-negotiate):
11487 Upcase `gnutls-algorithm-priority'.
11489 2011-07-15 Glenn Morris <rgm@gnu.org>
11491 * jka-compr.el (jka-compr-verbose): Move from here...
11492 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11493 Add missing :version tag.
11494 * info.el: No need to require jka-compr when compiling.
11496 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11498 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11499 (gnutls-negotiate): Use it.
11501 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11503 * info.el (Info-beginning-of-buffer): New command.
11504 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11505 announcing `b' as the key (bug#8325).
11506 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
11508 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11510 * international/mule-cmds.el
11511 (describe-specified-language-support): Make the error message
11512 clearer (bug#8905).
11514 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11516 * isearch.el (isearch-barrier): Add a doc string, since it's
11517 mentioned in a function doc string (bug#8678).
11519 2011-07-15 Martin Rudalics <rudalics@gmx.at>
11521 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11522 buffer argument (Bug#9083) and self-identifying label argument.
11524 2011-07-15 Glenn Morris <rgm@gnu.org>
11526 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11528 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11530 * man.el (Man-fontify-manpage): Fix message when formatting the
11531 man page (bug#7929).
11533 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11535 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11536 argument LRM; if non-nil, append an invisible LRM character to the
11538 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11539 last argument non-nil, when formatting buffer names.
11540 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11541 paragraph direction.
11543 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11545 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11546 the man page name (bug#7929).
11548 * image.el (put-image): Mention the `put-image' overlay property
11551 * scroll-bar.el (set-scroll-bar-mode): Mention that
11552 `scroll-bar-mode' lists the values (bug#7772).
11554 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11555 command (bug#7729).
11557 * rect.el (apply-on-rectangle): Return the point after the last
11559 (string-rectangle): Go to the point after the last operation
11562 * printing.el (pr-toggle-region): Clarify the documentation
11563 slightly (bug#7493).
11565 * time.el (display-time-update):
11566 Allow `display-time-mail-function' to return nil (bug#7158).
11567 Fix suggested by Detlev Zundel.
11569 * vc/diff.el (diff): Clarify the order the file names are read
11572 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11573 the doc string (bug#7015).
11575 * font-lock.el (font-lock-maximum-decoration): Mention what
11576 numeric levels mean (bug#6935).
11578 * startup.el (initial-buffer-choice): Don't mention the `none'
11579 selection, which is against policy.
11581 2011-07-14 Martin Rudalics <rudalics@gmx.at>
11583 * window.el (display-buffer-normalize-special):
11584 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
11586 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11588 * subr.el (version<, version<=, version=): Mention "-CVS" and
11589 "-12345" alpha version numbers.
11591 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11593 * bindings.el: Add advertised binding for set-mark-command
11596 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11598 * bindings.el (mode-line-other-buffer):
11599 * bookmark.el (bookmark-bmenu-2-window):
11600 * bs.el (bs-cycle-next, bs-cycle-previous):
11601 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11604 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11607 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
11609 * follow.el (follow-debug-message, follow-redisplay):
11610 * jka-cmpr-hook.el (with-auto-compression-mode):
11611 Fix typos in docstrings.
11613 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11615 * subr.el (with-silent-modifications): Clarify somewhat what the
11616 macro inhibits (bug#6525).
11618 * simple.el (eval-expression): Note what it does if called
11619 interactively (bug#6495).
11621 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11623 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11624 Use pop-to-buffer buffer-or-name if it is nil.
11626 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11627 Remove switch-to-buffer.
11629 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11631 * files.el (make-directory): Clarify that an error will be raised
11632 if there's an error (bug#6397).
11634 * startup.el (initial-buffer-choice): Add `none' as a choice
11637 * subr.el (add-hook): Clarify section about buffer-local hooks
11640 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11642 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11644 * tabify.el (untabify): Preserve the current column so that point
11645 doesn't move (bug#6032).
11647 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11649 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11650 Rewrite to avoid awkward possessive "s" (bug#5986).
11652 2011-07-13 Glenn Morris <rgm@gnu.org>
11654 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11655 (dired-insert-directory): Give a message the first time
11656 if ls is found not to support --dired.
11658 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11660 * simple.el (toggle-truncate-lines): Clarify what is toggled
11661 (bug#5580). Text by Drew Adams.
11663 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11665 * simple.el (blink-matching-open): Make the error message from the
11666 last change less verbose.
11668 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11670 * font-lock.el (font-lock-comment-face): Use the high contrast
11671 "yellow" color for font-lock-comment-face on low color terminals
11672 using a dark background color (bug#4221).
11674 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11676 * dired.el (dired-insert-set-properties): Make the doc string
11677 reflect what it does now (bug#5325).
11679 * simple.el (blink-matching-open): Say that we were unable to find
11680 the match within the limit, if we're limited (bug#5122).
11682 * international/mule-cmds.el (prefer-coding-system): Add an
11683 example (bug#4869).
11685 * progmodes/etags.el (tags-search): Document `file-list-form'
11688 2011-07-13 Lawrence Mitchell <wence@gmx.li>
11690 * net/browse-url.el (browse-url-default-browser)
11691 (browse-url-browser-function): Make the default browser choice a
11692 bit more logical (bug#4300). Also clean up the doc string.
11694 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11696 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11697 binary endings (bug#4440).
11699 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11701 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11702 which can be pretty annoying (bug#8971).
11704 * jka-compr.el (jka-compr-verbose): New variable, and use
11705 throughout (bug#8971).
11707 * info.el (Info-find-file): Fall back on the installation
11708 directory if we can't find the info node anywhere else.
11710 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11712 * vc/vc.el (vc-revert-file):
11713 Don't set file time-stamp in the past. (Bug#5181)
11715 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11717 * files.el (after-find-file): Give a better error message when
11718 trying to find a symlink that points to a file that doesn't exist
11721 * progmodes/cc-vars.el: Remove (probably) misleading comment
11724 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11726 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11728 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11730 * mouse-sel.el: Hack restoring functionality, while keeping
11731 compatibility with 2010-07-03 changes to mouse selection.
11732 (mouse-sel-primary-overlay): New var.
11733 (mouse-sel-selection-alist): Use it.
11734 (mouse-sel-mode): Doc fix; remove points that are default features
11737 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11739 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11740 Fix previous fix (bug#2490).
11742 2011-07-12 Roland Winkler <winkler@gnu.org>
11744 * textmodes/bibtex.el (bibtex-initialize):
11745 Use pop-to-buffer-same-window.
11746 (bibtex-search-entries): Fix interactive call.
11748 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11750 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11751 Fontise bytecomp Error lines more correctly (bug#2490).
11752 Fix suggested by Johan Bockgård.
11754 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11756 * dired-x.el (dired-guess-default): Use `delete-dups'.
11758 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11760 * dired.el (dired-mark-prompt):
11761 * dired-aux.el (dired-read-shell-command): Doc fix.
11763 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11765 * mail/sendmail.el (sendmail-query-once):
11766 Use `customize-save-variable' unconditionally, now that it works under
11769 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11771 * cus-edit.el (custom-file): Take an optional no-error variable.
11772 (customize-save-variable): Set the variable, and give a warning if
11773 running under "emacs -q".
11775 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
11777 * loadhist.el (unload-feature-special-hooks):
11778 Add `auto-coding-functions', `fill-nobreak-predicate' and
11779 `find-directory-functions' (bug#5327).
11781 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11783 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11785 * cus-edit.el (custom-guess-name-alist): -alist variables should
11786 use the `alist' type (bug#3120). Suggested by Drew Adams.
11788 * printing.el: Add documentation to all the `pr-toggle-' commands.
11790 2011-07-11 Leo Liu <sdl.web@gmail.com>
11792 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11793 backends where it makes sense (bug#2623).
11795 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11797 * dired-x.el (dired-guess-default): Remove duplicate shell command
11798 entries (bug#2028).
11799 (dired-guess-default): Fix grammar in doc string (bug#2028).
11800 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
11802 * subr.el (remove-duplicates): New conveniency function.
11804 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11806 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11809 2011-07-10 Martin Rudalics <rudalics@gmx.at>
11811 * window.el (display-buffer-normalize-default): Don't invert
11812 meaning of even-window-heights. Reported by Eli Zaretskii
11815 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11817 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11819 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
11821 * window.el (display-buffer): Fix arguments to
11822 display-buffer-reuse-window in last change.
11824 * faces.el (link): Use a less saturated blue on light backgrounds.
11826 * startup.el (fancy-startup-text, fancy-about-text)
11827 (fancy-startup-tail): Use font-lock faces, for background safety.
11829 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11831 * emulation/viper-cmd.el (viper-change-state-to-vi):
11832 Limit triggering of abbrev expansion (Bug#9038).
11834 2011-07-09 Martin Rudalics <rudalics@gmx.at>
11836 * window.el (display-buffer-default-specifiers): Remove.
11837 (display-buffer-macro-specifiers): Remove default specifiers.
11838 (display-buffer-alist): Default to nil.
11839 (display-buffer-reuse-window): New optional argument other-window.
11840 (display-buffer-pop-up-window): Allow splitting internal
11841 windows. Check whether a live window was created.
11842 (display-buffer-other-window-means-other-frame)
11843 (display-buffer-normalize-arguments): Rename to
11844 display-buffer-normalize-argument and rewrite. Set the
11845 other-window specifier.
11846 (display-buffer-normalize-special): New function.
11847 (display-buffer-normalize-options): Rename to
11848 display-buffer-normalize-default and rewrite.
11849 (display-buffer-normalize-options-inhibit): Remove.
11850 (display-buffer-normalize-specifiers): Rewrite.
11851 (display-buffer): Process other-window specifier and call
11852 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11854 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
11855 (display-buffer-alist-set): Don't handle 'unset default values.
11856 (display-buffer-in-window, display-buffer-alist-set):
11857 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
11858 <tassilo@member.fsf.org>.
11860 2011-07-09 Leo Liu <sdl.web@gmail.com>
11862 * register.el (insert-register): Restore accidental change on
11863 2011-06-26. (Bug#9028)
11865 2011-07-09 Glenn Morris <rgm@gnu.org>
11867 * subr.el (remq): Handle the empty list. (Bug#9024)
11869 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11871 * mail/sendmail.el (send-mail-function): No longer delay custom
11873 * custom.el (custom-initialize-delay): Doc fix.
11875 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11877 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11879 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
11881 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11882 human-friendly prompt.
11884 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11886 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11887 provided by a particular plugin.
11889 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11891 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11892 save customizations (with "emacs -Q"), just set the variable
11893 instead of erroring out.
11895 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11897 2011-07-08 Juri Linkov <juri@jurta.org>
11899 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11900 (archive-zip-update-case): Use 7z if found by `executable-find'.
11901 The order of searching the available programs is the same as in
11902 `archive-zip-extract' (bug#8968).
11904 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11906 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11907 (menu-bar-options-menu): Tweak descriptions.
11909 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11911 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11912 menu items into verb phrases (bug#1421). Also refill to fit under
11915 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11917 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11918 (Info-read-node-name): Doc fix (Bug#1084).
11920 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11921 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11922 (end-of-sexp, beginning-of-sexp)
11923 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11924 (forward-symbol, forward-same-syntax, word-at-point)
11925 (sentence-at-point): Doc fix (Bug#1144).
11927 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11929 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11930 should cover it (bug#1281).
11932 * cus-edit.el (custom-show): Mark as obsolete.
11934 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
11935 negotiation fails, then possibly try again with a non-encrypted
11936 connection (bug#9017).
11938 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11941 2011-07-07 Richard Stallman <rms@gnu.org>
11943 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11944 property, and handle its changed format.
11945 Look for the correct line number.
11946 Use file's line contents (but not past first =) to find
11947 correct line in message.
11949 2011-07-07 Kenichi Handa <handa@m17n.org>
11951 * international/characters.el (build-unicode-category-table):
11953 (unicode-category-table): Set it by unicode-property-table-internal.
11955 * international/mule-cmds.el (char-code-property-alist): Move to
11957 (get-char-code-property): Call unicode-property-table-internal to
11958 load a file. Call get-unicode-property-internal where necessary.
11959 (put-char-code-property): Call unicode-property-table-internal to
11960 load a file. Call put-unicode-property-internal where necessary.
11961 put-unicode-property-internal where necessary.
11962 (char-code-property-description):
11963 Call unicode-property-table-internal to load a file.
11965 * international/charprop.el:
11966 * international/uni-bidi.el:
11967 * international/uni-category.el:
11968 * international/uni-combining.el:
11969 * international/uni-comment.el:
11970 * international/uni-decimal.el:
11971 * international/uni-decomposition.el:
11972 * international/uni-digit.el:
11973 * international/uni-lowercase.el:
11974 * international/uni-mirrored.el:
11975 * international/uni-name.el:
11976 * international/uni-numeric.el:
11977 * international/uni-old-name.el:
11978 * international/uni-titlecase.el:
11979 * international/uni-uppercase.el: Regenerate.
11981 * loadup.el: Load international/charprop.el before
11982 international/characters.
11984 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11986 * window.el (next-buffer, previous-buffer): Signal an error if
11987 called from a minibuffer window.
11989 * bindings.el: Revert 2011-07-04 change.
11991 2011-07-06 Richard Stallman <rms@gnu.org>
11993 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11994 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11995 Treat markers like ints.
11996 (rmail-mime-entity): Doc fix.
11998 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12000 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12001 defcustom again for backwards compatibility.
12003 * simple.el (shell-command-on-region): Fill.
12005 * dired-aux.el (dired-kill-line): Add a doc string.
12007 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12008 to "\\sw\\|\\s_" (bug#358).
12010 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12011 (dired-unmark-backward): Ditto.
12012 (dired-flag-backup-files): Ditto.
12014 * dired-x.el (dired-mark-sexp): Ditto.
12016 2011-07-06 Richard Stallman <rms@gnu.org>
12018 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12019 (rmail-mime-entity): New arg TRUNCATED.
12020 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12022 (rmail-mime-save): Warn if entity is truncated.
12023 (rmail-mime-toggle-hidden): Likewise, for showing.
12024 (rmail-mime-process-multipart): Record when an entity is truncated.
12026 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12027 if ENTITY is a string.
12029 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12031 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
12032 of faces when `M-C-x'-ing their definitions (bug#8378).
12033 Also clean up the code slightly.
12035 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
12036 because that makes the colors go away.
12038 * mail/sendmail.el (send-mail-function): Change the default to
12039 `sendmail-query-once'.
12040 (sendmail-query-once): Add an autoload cookie.
12042 * net/network-stream.el (network-stream-open-starttls): Try using
12043 a plain connection even if the server offered STARTTLS, and we
12044 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12045 capability. This should make smtpmail.el work in slightly more
12048 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
12050 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12052 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12054 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12056 * progmodes/sql.el: Version 3.0
12057 (sql-product-alist): Add product :completion-object,
12058 :completion-column, and :statement attributes.
12059 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
12060 (sql-mode-syntax-table): Mark all punctuation.
12061 (sql-font-lock-keywords-builder): Temporarily remove fallback on
12063 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
12064 (sql-mode-oracle-font-lock-keywords): Improve.
12065 (sql-oracle-show-reserved-words): New function for development.
12066 (sql-product-font-lock): Simplify for source code buffers.
12067 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12069 (sql-highlight-product): Set product specific syntax table.
12070 (sql-mode-map): Add statement movement functions.
12071 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12073 (sql-statement-regexp, sql-beginning-of-statement)
12074 (sql-end-of-statement, sql-signum): New functions.
12075 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
12076 (sql-show-sqli-buffer): Bug fix.
12077 (sql-interactive-mode): Store connection data as buffer local.
12078 (sql-connect): Add NEW-NAME parameter. Redesign interaction
12079 with sql-interactive-mode.
12080 (sql-save-connection): Save buffer local settings.
12081 (sql-connection-menu-filter): Change menu entry name.
12082 (sql-product-interactive): Bug fix.
12083 (sql-preoutput-hold): New variable.
12084 (sql-interactive-remove-continuation-prompt): Bug fixes.
12085 (sql-debug-redirect): New variable.
12086 (sql-str-literal): New function.
12087 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
12089 (sql-oracle-save-settings, sql-oracle-restore-settings)
12090 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12091 (sql-completion-object, sql-completion-column)
12092 (sql-completion-sqlbuf): New variables.
12093 (sql-build-completions-1, sql-build-completions)
12094 (sql-try-completion): New functions.
12095 (sql-read-table-name): Use them.
12096 (sql-contains-names): New buffer local variable.
12097 (sql-list-all, sql-list-table): Use it.
12098 (sql-oracle-completion-types): New variable.
12099 (sql-oracle-completion-object, sql-sqlite-completion-object)
12100 (sql-postgres-completion-object): New functions.
12102 2011-07-06 Glenn Morris <rgm@gnu.org>
12104 * window.el (pop-to-buffer): Doc fix.
12106 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
12108 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12110 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
12112 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
12114 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
12116 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
12118 * button.el (button): Inherit from link face. Suggested by Dan
12121 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12123 * progmodes/gdb-mi.el: Fit in 80 columns.
12124 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12127 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12128 if imenu is simply not configured (bug#8941).
12130 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12132 * allout.el (allout-post-undo-hook): New allout outline-change
12133 event hook to signal undo activity.
12134 (allout-post-command-business): Run allout-post-undo-hook if an
12135 undo just occurred.
12136 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12137 * allout-widgets.el (allout-widgets-after-undo-function):
12138 Ensure the integrity of the current item's decoration after it has been
12139 in the vicinity of an undo.
12140 (allout-widgets-mode): Include allout-widgets-after-undo-function
12141 on the new allout-post-undo-hook.
12143 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12145 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12146 Let define-derived-mode define it.
12147 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12148 cycles of abbrev-table inheritance (bug#8998).
12150 2011-07-05 Roland Winkler <winkler@gnu.org>
12152 * textmodes/bibtex.el: Add support for biblatex.
12153 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12154 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12155 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12156 (bibtex-entry-alist, bibtex-field-alist): New variables.
12157 (bibtex-entry-field-alist): Obsolete alias for
12158 bibtex-BibTeX-entry-alist.
12159 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12160 (bibtex-set-dialect): New command.
12161 (bibtex-entry-type, bibtex-entry-head)
12162 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12163 Bind via bibtex-set-dialect.
12164 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12165 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12166 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12167 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12168 Define via bibtex-set-dialect.
12169 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12170 Obey bibtex-no-opt-remove-re.
12171 (bibtex-vec-push, bibtex-vec-incr): New functions.
12172 (bibtex-format-entry, bibtex-field-list)
12173 (bibtex-print-help-message, bibtex-validate)
12174 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12176 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12178 * progmodes/compile.el (compilation-goto-locus):
12179 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12180 * bs.el (bs-cycle-next, bs-cycle-previous):
12181 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12182 * bindings.el (mode-line-other-buffer):
12183 * autoinsert.el (auto-insert):
12184 * arc-mode.el (archive-extract):
12185 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12187 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12189 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12190 Fix check of `emacs-lock-unlockable-modes'.
12191 Coerce true values of `emacs-lock--try-unlocking' to t.
12193 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12195 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12196 * emacs-lock.el: New file.
12198 2011-07-05 Julien Danjou <julien@danjou.info>
12200 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12201 than `boundp' to check if face is set.
12203 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12205 * register.el (registerv-make):
12206 * window.el (window-min-height): Fix typos in docstrings.
12208 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12210 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
12213 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12215 * server.el (server-execute): Catch quit and call
12216 `server-return-error' to pass the error back to emacsclient and
12217 close the connection (bug#8942).
12219 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12221 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12222 insecure exception for current topic. Also note that auto-saves
12223 are handled differently.
12225 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
12226 State variables for tracking auto-save inhibition situation.
12228 (allout-write-contents-hook-handler): Rename from
12229 'allout-write-file-hook-handler', and describe how it depends on
12230 write-contents-functions sensitivity to non-nil value to prevent
12233 (allout-auto-save-hook-handler): Remove. auto-save does not check
12234 this in individual buffers, only in the starting buffer, so this
12235 is not the right way for us to inhibit auto-save in a buffer
12236 according to its condition.
12238 (allout-mode): Use new allout-write-contents-hook-handler, and
12239 only with write-contents-functions. Remove auto-save provisions -
12240 they're implemented elsewhere.
12242 (allout-before-change-handler): If undo is in progress, note that
12243 for attention of allout-post-command-business.
12245 (allout-post-command-business): If the command we're following was
12246 an undo, check for change in the status of encrypted items and
12247 adjust auto-save inhibitions accordingly.
12249 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12250 according to whether there are or aren't any plain-text topics
12251 pending encryption.
12253 (allout-inhibit-auto-save-info-for-decryption):
12254 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12255 if there are plain-text topics pending encryption.
12257 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12258 buffer-saved-size and some allout state to not inhibit auto-saves
12259 if there are no longer any plain-text topics pending encryption.
12261 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12262 No longer provide for exemption of the current topic.
12264 2011-07-04 Juri Linkov <juri@jurta.org>
12266 Add 7z operations to delete and save changed members (bug#8968).
12267 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12269 (archive-7z-write-file-member): New function.
12270 (archive-7z-summarize): Fix the number of dashes in the
12273 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12275 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12278 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
12280 * bindings.el: Ignore next-buffer and previous-buffer in
12281 minibuffer-local-map.
12283 * font-lock.el (font-lock-builtin-face): Change light background
12284 color to dark slate blue (Bug#6693).
12286 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12288 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12290 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12292 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12293 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12294 Add switch-to-buffer.
12296 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12298 * isearch.el (isearch-search-fun-function): Clarify further the
12299 meaning of the function returned.
12301 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
12303 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12305 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12306 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12308 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12309 `tramp-default-remote-path' does not exist.
12310 (tramp-send-command-and-read): New optional argument NOERROR.
12311 (tramp-open-connection-setup-interactive-shell)
12312 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12313 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12314 (tramp-process-sentinel): Flush also process' connection property.
12315 (tramp-sh-handle-start-file-process): Do not set process
12316 sentinel. It is done now ...
12317 (tramp-maybe-open-connection): ... here. (Bug#8929)
12319 2011-07-04 MON KEY <monkey@sandpframing.com>
12321 * play/animate.el (animate-string): Doc fixes and allow changing
12322 the buffer name (bug#5417).
12324 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12326 * play/animate.el (animation-buffer-name): Rename from *animate*.
12328 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12330 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12331 This is simpler and helps future-proof the code.
12332 (timer-until): Use time-subtract and float-time.
12333 (timer--time-less-p): Use time-less-p.
12335 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12337 * type-break.el (timep): Use the value of `float-time' to avoid a
12338 byte-compiler warning.
12340 * server.el (server-eval-and-print): Return any result, even nil.
12342 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12344 * type-break.el: Accept time formats that the builtins accept.
12345 (timep, type-break-time-difference): Accept any format that
12346 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12347 This is simpler and helps future-proof the code.
12348 (type-break-time-difference): Round rather than ignoring
12349 subseconds components.
12351 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12353 * info.el (Info-apropos-matches): Make non-interactive, since it
12354 doesn't seem to do anything useful as a command (bug#8829).
12356 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
12358 * frame.el (frame-background-mode, frame-set-background-mode):
12359 Move from faces.el.
12360 (frame-default-terminal-background): New function.
12362 * custom.el (custom-push-theme): Don't record faces in `changed'
12363 theme; this doesn't work correctly for per-frame face settings.
12364 (disable-theme): Use face-set-after-frame-default to reset faces.
12365 (custom--frame-color-default): New function.
12367 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12369 * dired.el (dired-flagging-regexp): Remove unused variable
12372 2011-03-29 Kevin Ryde <user42@zip.com.au>
12374 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12375 `perl-Test2' extend to match possible "fail #N" rep count
12378 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12380 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12381 `smtpmail-via-smtp' now returns the error instead of nil.
12383 * isearch.el (isearch-search-fun-function): Clarify the doc string
12386 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
12388 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12389 unnecessary spaces (bug#8987).
12391 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12393 * net/network-stream.el (open-network-stream): Use the
12394 :end-of-capability command thoughout.
12396 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12398 * net/network-stream.el (open-network-stream): Add the
12399 :end-of-capability command parameter, used by pop3.el.
12401 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12403 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12405 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12406 for list)" (bug#6475).
12408 * files.el (file-expand-wildcards): Ignore non-readable
12409 sub-directories while trying to find matches instead of signaling
12410 an error (bug#6297).
12412 * man.el (Man-reference-regexp): Allow matching possible
12413 word-wrapped references (bug#6289).
12415 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12416 for consistency with the other vc buffers (bug#6197).
12417 (vc-checkin): Ditto.
12419 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12421 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12423 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12425 * custom.el (defcustom): Clarify that :set is only used in the
12426 Customize user interface (bug#6089).
12428 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12429 associated with a file, refuse to run instead of erroring out
12432 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12433 the doc string, since it appears that using `fill-column' always
12434 controls the width (bug#7845).
12436 * simple.el (shell-command-on-region): Say where the error output
12437 went if `shell-command-default-error-buffer' is set (bug#6857).
12439 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12441 * allout.el (allout-yank-processing): Adjust cursor position for
12442 backwards-deleted space.
12444 (allout-rebullet-heading): Register changes with
12445 allout-exposure-changed-hook, so the modified topic is properly
12448 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12450 * minibuffer.el (completion-in-region): Document PREDICATE
12453 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12454 of keyword/argument pairs (bug#6904).
12456 * replace.el (multi-occur):
12457 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
12459 2011-07-02 Drew Adams <drew.adams@oracle.com>
12461 * dired.el (dired-mark-if): Make the message about whether it's
12462 marking or unmarking clearer (bug#8523).
12464 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12466 * disp-table.el (display-table-print-array): New function.
12467 (describe-display-table): Use it to print the vectors more pretty
12470 2011-07-02 Martin Rudalics <rudalics@gmx.at>
12472 * window.el (window-state-get-1): Don't assign clone numbers.
12473 Add clone-of item to list of window parameters.
12474 (window-state-put-2): Don't process clone numbers.
12475 (display-buffer-alist): Fix doc-string.
12477 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12479 * subr.el (remq): Don't allocate if it's not needed.
12480 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12481 (keymap--merge-bindings): New functions.
12482 (keymap-canonicalize): Use them to refine the canonicalization.
12483 * minibuffer.el (minibuffer-local-completion-map)
12484 (minibuffer-local-must-match-map): Move initialization from C.
12485 (minibuffer-local-filename-completion-map): Move initialization from C;
12486 don't inherit from anything here.
12487 (minibuffer-local-filename-must-match-map): Make obsolete.
12488 (completing-read-default): Use make-composed-keymap to combine
12489 minibuffer-local-filename-completion-map with either
12490 minibuffer-local-must-match-map or
12491 minibuffer-local-filename-completion-map.
12493 2011-07-01 Glenn Morris <rgm@gnu.org>
12495 * type-break.el (type-break-time-sum): Use dolist.
12497 * textmodes/flyspell.el (flyspell-word-search-backward):
12498 Replace CL function.
12500 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12502 * mouse.el (mouse--strip-first-event): New function.
12503 (function-key-map): Use it to map fringe clicks to normal clicks
12506 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12507 (vc-bzr-revision-completion-table): Add support for annotate and date.
12509 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12510 inherit from parent.
12512 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12514 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
12515 (dired-show-file-type): Doc fixup (bug#8818).
12517 * dired.el (dired-mode): Fix up the doc string as suggested by
12518 Drew Adams (bug#8817).
12520 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12521 cookie, since the manual says that it should be possible to add
12522 this function to `find-file-hook' (bug#8709).
12524 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12526 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12527 here. Noted Ted Zlatanov as the maintainer.
12528 (cfengine-common-settings, cfengine-common-syntax): New functions
12529 to set up common things between `cfengine-mode' and
12531 (cfengine3-mode): New mode.
12532 (cfengine3-defuns cfengine3-defuns-regex
12533 (cfengine3-class-selector-regex cfengine3-category-regex)
12534 (cfengine3-vartypes cfengine3-font-lock-keywords)
12535 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
12536 (cfengine3-indent-line): Add from cfengine3.el.
12538 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
12540 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12542 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12544 2011-07-01 Martin Rudalics <rudalics@gmx.at>
12546 * window.el (same-window-buffer-names, same-window-regexps)
12547 (same-window-p, special-display-frame-alist)
12548 (special-display-popup-frame, special-display-function)
12549 (special-display-buffer-names, special-display-regexps)
12550 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12551 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12552 (split-window-preferred-function, split-height-threshold)
12553 (split-width-threshold, even-window-heights)
12554 (display-buffer-mark-dedicated, window-splittable-p)
12555 (split-window-sensibly, window-safely-shrinkable-p):
12557 (display-buffer): Don't spread args with function specifier
12558 because special-display-popup-frame won't like it.
12560 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12562 Time-stamp simplifications and fixes.
12563 These improve accuracy slightly, and future-proof the code
12564 against some potential changes to current-time format.
12566 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12567 by using time-since and float-time.
12569 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12570 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12571 + NNN microseconds".
12573 * type-break.el (type-break-time-sum): Rewrite using time-add.
12575 * play/hanoi.el (hanoi-current-time-float): Remove.
12576 All uses replaced by float-time.
12578 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12579 This yields a more-accurate answer.
12580 (rng-time-to-float): Remove; no longer needed.
12582 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12584 * calendar/timeclock.el (timeclock-seconds-to-time):
12585 Defalias to seconds-to-time, since they're the same thing.
12587 * emacs-lisp/elp.el (elp-elapsed-time):
12588 * emacs-lisp/benchmark.el (benchmark-elapse):
12589 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12591 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12593 * window.el (bury-buffer): Don't iconify the only frame.
12594 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12595 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12597 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
12599 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12600 Add mouse-yank-primary.
12602 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12604 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12606 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12608 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12609 (find-library-name): Use it to find relative load names when provided
12610 absolute file name (bug#8803).
12612 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12614 * textmodes/flyspell.el (flyspell-word): Consider words that
12615 differ only in case as potential doublons (bug#5687).
12617 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12618 Remove two rather uninteresting debugging-like messages to make
12619 debbugs.el more silent.
12621 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12622 a password-like phrase.
12624 2011-06-30 Masatake YAMATO <yamato@redhat.com>
12626 * progmodes/cc-guess.el: New file.
12628 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
12630 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12631 derived from `c-basic-common-init'.
12633 * progmodes/cc-mode.el (top-level): Require cc-guess.
12634 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12636 2011-06-30 Lawrence Mitchell <wence@gmx.li>
12638 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12640 2011-06-30 Alan Mackenzie <acm@muc.de>
12642 * progmodes/cc-engine.el (c-guess-continued-construct):
12643 Correct the handling of template-args-cont, particularly for when font
12644 lock is disabled. Name this case as "CASE G".
12646 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12648 * allout.el (allout-yank-processing): Fix injection of extra space
12649 between bullet and non-whitespace character in first topic when
12650 pasting, ensuring that the actual spacing in the pasted topic
12651 following the bullet char is preserved. This extra space was
12652 causing pasted encrypted topics to get a decrypted status even
12653 when the content was actually still encrypted. Now the decryption
12654 status from before the paste is preserved.
12656 (allout-flag-region): Set all allout overlays so they evaporate
12657 when reduced to zero length (evanescent), to prevent overlay
12660 2011-06-30 Glenn Morris <rgm@gnu.org>
12662 * w32-fns.el (w32-charset-info-alist): Declare.
12664 * find-dired.el (find-grep-options): Simplify.
12666 * term/ns-win.el (ns-set-resource): Declare.
12668 * ses.el (row, col): Declare dynamic variables honestly.
12670 * textmodes/reftex-parse.el (index-tags): Declare.
12672 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
12674 * cus-edit.el (customize-push-and-save): New function.
12676 * files.el (hack-local-variables-confirm): Use it.
12678 * custom.el (load-theme): New arg NO-CONFIRM.
12679 Use customize-push-and-save (Bug#8720).
12680 (custom-enabled-themes): Doc fix.
12682 * cus-theme.el (customize-create-theme)
12683 (custom-theme-merge-theme): Callers to load-theme changed.
12685 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12687 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12688 short URLs have at least one dot in them (bug #7614).
12690 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12691 nil, because using a pty is apparently too slow (bug #895).
12693 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12695 * mail/sendmail.el (sendmail-query-once): New function.
12696 (sendmail-query-once-function): New variable.
12698 2011-06-29 Glenn Morris <rgm@gnu.org>
12700 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12702 * ses.el (top-level): Require cl when compiling.
12703 (ses-set-localvars): Fix error statement.
12704 Call it at compile time to silence a storm of warnings.
12706 2011-06-29 Martin Rudalics <rudalics@gmx.at>
12708 * window.el (normalize-live-buffer): Rename to
12709 window-normalize-buffer.
12710 (normalize-live-frame): Rename to window-normalize-frame.
12711 (normalize-any-window): Rename to window-normalize-any-window.
12712 (normalize-live-window): Rename to window-normalize-live-window.
12713 (make-window-atom): Rename to window-make-atom.
12714 (window-resize-reset): Rename to window--resize-reset.
12715 (window-resize-reset-1): Rename to window--resize-reset-1.
12716 (resize-mini-window): Rename to window--resize-mini-window.
12717 (resize-subwindows-skip-p): Rename to
12718 window--resize-subwindows-skip-p.
12719 (resize-subwindows-normal): Rename to
12720 window--resize-subwindows-normal.
12721 (resize-subwindows): Rename to window--resize-subwindows.
12722 (resize-other-windows): Rename to window--resize-siblings.
12723 (resize-this-window): Rename to window--resize-this-window.
12724 (resize-root-window): Rename to window--resize-root-window.
12725 (resize-root-window-vertically): Rename to
12726 window--resize-root-window-vertically.
12727 (normalize-buffer-to-display): Rename to
12728 window-normalize-buffer-to-display.
12729 (normalize-buffer-to-switch-to): Rename to
12730 window-normalize-buffer-to-switch-to.
12731 Correspondingly update all callers of the functions listed
12733 (display-buffer-alist, display-buffer-normalize-arguments)
12734 (display-buffer-normalize-options, display-buffer)
12735 (display-buffer-alist-set): Use "function" instead of
12738 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
12740 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12741 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12742 debbugs.gnu.org. Mention acknowledgment email.
12744 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12746 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12747 buffer multibyteness, since it shouldn't matter.
12749 2011-06-28 Martin Rudalics <rudalics@gmx.at>
12751 * window.el (display-buffer-in-side-window): Handle dedicated
12752 windows as in display-buffer-reuse-window.
12753 (display-buffer-normalize-alist): Use value of override
12755 (display-buffer-normalize-specifiers): Use value of
12756 other-window-means-other-frame specifier.
12757 (display-buffer-alist): Rewrite some texts in widgets.
12758 (display-buffer): Spread arguments when calling function
12759 specified by fun-with-args.
12761 2011-06-28 Deniz Dogan <deniz@dogan.se>
12763 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12766 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12767 selectors (Bug#5732).
12768 (css-proprietary-nmstart-re): Use `regexp-opt'.
12770 2011-06-27 Jari Aalto <jari.aalto@cante.net>
12772 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12773 (eshell-ls-date-format): New defcustom.
12774 (eshell-ls-file): Use it.
12776 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12778 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12780 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12782 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12783 (ange-ftp-make-tmp-name): New arg.
12784 (ange-ftp-file-local-copy): Use it.
12786 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
12788 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12789 no-conversion (Bug#8870).
12791 2011-06-27 Martin Rudalics <rudalics@gmx.at>
12793 * window.el (window-right, window-left, window-child)
12794 (window-child-count, window-last-child)
12795 (window-iso-combination-p, walk-window-tree-1)
12796 (window-atom-check-1, window-tree-1, delete-window)
12797 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12798 new naming conventions - window-vchild, window-hchild,
12799 window-next and window-prev are now called window-top-child,
12800 window-left-child, window-next-sibling and window-prev-sibling
12802 (resize-window-reset): Rename to window-resize-reset.
12803 (resize-window-reset-1): Rename to window-resize-reset-1.
12804 (resize-window): Rename to window-resize.
12805 (window-min-height, window-min-width)
12806 (resize-mini-window, resize-this-window, resize-root-window)
12807 (resize-root-window-vertically, adjust-window-trailing-edge)
12808 (enlarge-window, shrink-window, maximize-window)
12809 (minimize-window, delete-window, quit-restore-window)
12810 (split-window, balance-windows, balance-windows-area-adjust)
12811 (balance-windows-area, window-state-put-2)
12812 (display-buffer-even-window-sizes, display-buffer-set-height)
12813 (display-buffer-set-width, set-window-text-height)
12814 (fit-window-to-buffer): Rename all "resize-window" prefixed
12815 calls to use the "window-resize" prefix convention.
12816 (display-buffer-alist): Fix symbol for label specifier.
12817 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12818 corresponding specifier.
12819 Reported by Juanma Barranquero <lekktu@gmail.com>.
12821 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12823 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12825 (ses-call-printer): Does not pass an empty string to formatter when the
12826 cell is empty to keep from barking printer Calc math-format-value.
12828 2011-06-27 Richard Stallman <rms@gnu.org>
12830 * battery.el (battery-mode-line-limit): New variable.
12831 (battery-update): Handle it.
12833 * mail/rmailmm.el (rmail-mime-process-multipart):
12834 Handle truncated messages.
12836 2011-06-27 Glenn Morris <rgm@gnu.org>
12838 * progmodes/flymake.el (flymake-err-line-patterns):
12839 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12841 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12843 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
12844 (ses--clean-!, ses--clean-_): New functions.
12845 (ses-range): Add configurability of readout order, and conversion
12848 * ses.el (ses-repair-cell-reference-all): New function.
12849 (ses-cell-symbol): Set macro as safe, so that it can be used in
12852 * ses.el: Update cycle detection algorithm.
12853 (ses-localvars): Add ses--Dijkstra-attempt-nb and
12854 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
12855 (ses-set-localvars): New function.
12856 (ses-make-cell): Add property-list as a cell element.
12857 (ses-cell-property-get-fun, ses-cell-property-get)
12858 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
12859 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12861 (ses-cell-property-set, ses-cell-property-pop)
12862 (ses-cell-property-get-handle): New macro.
12863 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12864 New aliases, used for code readability.
12865 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12867 (ses-self-reference-early-detection): New defcustom.
12868 (ses-formula-references): Robustify against self-referring cells.
12869 (ses-mode): Use ses-set-localvars.
12870 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12871 before lauching the update processing.
12872 (ses-initialize-Dijkstra-attempt): New function.
12873 (ses-recalculate-cell): Update for cycle detection based on
12874 Dijkstra algorithm.
12876 * ses.el: Fix commenting and indenting convention.
12878 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12880 * bs.el (bs-cycle-next): Complete last change.
12882 2011-06-27 Drew Adams <drew.adams@oracle.com>
12884 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12886 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12888 * net/network-stream.el (network-stream-open-starttls):
12889 Don't re-get capabilities unless we've reestablished connection.
12890 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12892 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12893 to binary to possibly avoid line encoding issues on Windows (among
12896 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12898 * net/network-stream.el (open-network-stream): Return an :error
12899 saying what the problem was, if possible.
12901 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12904 * net/network-stream.el (network-stream-open-starttls): If we
12905 wanted to use STARTTLS, and the server offered it, but we weren't
12906 able to because we had no STARTTLS support, then close the connection.
12907 (open-network-stream): Return an :error element, if present.
12909 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
12911 * hl-line.el (hl-line-sticky-flag): Doc fix.
12912 (global-hl-line-sticky-flag): New option (Bug#8323).
12913 (global-hl-line-highlight): Obey it.
12915 * vc/vc.el (vc-revert-show-diff): Default to t.
12917 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12919 * allout-widgets.el (allout-widgets-post-command-business):
12920 Stop decorating intermediate isearch matches. They're not being
12921 undecorated when an isearch is continued past, and isearch
12922 automatically collapses them. This leads to "widget leaks", where
12923 decorated items accumulate in collapsed areas. Lines with lots of
12924 hidden widgets can slow down cursor travel, substantially.
12925 Too much complicated machinery would be needed to ensure undecoration,
12926 so we're doing without this nicety.
12928 (allout-widgets-tally-string): Don't try to do a hash-table-count
12929 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12930 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12931 *Messages* when allout-widgets-maintain-tally is t.
12933 2011-06-26 Martin Rudalics <rudalics@gmx.at>
12935 * window.el (display-buffer-normalize-argument): Rename to
12936 display-buffer-normalize-arguments. Handle special meaning of
12937 LABEL argument. Respect special-display-function when popping up
12938 a new frame. Fix code searching for a window showing the buffer
12940 (display-buffer-normalize-specifiers):
12941 Call display-buffer-normalize-arguments.
12942 (display-buffer-in-window): Don't undedicate the window if its
12943 buffer remains the same.
12944 Reported by Drew Adams <drew.adams@oracle.com>.
12945 (display-buffer-alist): Add choice for same-window macro
12947 (display-buffer): Mention special meaning of LABEL argument in
12948 doc-string. Fix quoting. Don't pop up a new frame even as
12951 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
12953 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12954 avoid deleting the current window in some cases (bug#8911).
12956 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12958 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12961 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12963 * net/network-stream.el (network-stream-open-starttls):
12964 Use built-in TLS support if `gnutls-available-p' is true.
12965 (network-stream-open-tls): Ditto.
12967 2011-06-26 Leo Liu <sdl.web@gmail.com>
12969 * register.el (registerv): New struct.
12970 (registerv-make): New function.
12971 (jump-to-register, describe-register-1, insert-register):
12972 Support the jump-func, print-func and insert-func slot of a registerv
12975 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
12977 * vc/vc.el (vc-revert-show-diff): New defcustom.
12978 (vc-diff-internal): New arg specifying diff buffer.
12979 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12980 reuse an existing *vc-diff* buffer (Bug#8927).
12982 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12984 2011-06-26 Glenn Morris <rgm@gnu.org>
12986 * progmodes/f90.el (f90-critical-indent): New option.
12987 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12988 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12989 (f90-mode): Doc fix.
12990 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12991 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12992 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12993 (f90-match-end): Handle block, critical.
12995 2011-06-25 Glenn Morris <rgm@gnu.org>
12997 * calendar/diary-lib.el (diary-included-files): Doc fix.
12998 (diary-include-files): New function, extracted from
12999 diary-include-other-diary-files and diary-mark-included-diary-files.
13000 (diary-include-other-diary-files, diary-mark-included-diary-files):
13001 Just call diary-include-files.
13002 (diary-mark-entries): Reset diary-included-files on first call.
13004 * calendar/diary-lib.el (diary-mark-entries)
13005 (diary-mark-included-diary-files):
13006 Visit included diary-files in temp buffers.
13008 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13009 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13010 (f90-start-block-re, f90-imenu-generic-expression)
13011 (f90-looking-at-program-block-start, f90-no-block-limit):
13012 Add support for submodules.
13014 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13015 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
13017 2011-06-25 Eli Zaretskii <eliz@gnu.org>
13019 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13020 buffer-file-type before setting its value, to avoid disastrous
13021 global effects on decoding files for DOS/Windows systems. (Bug#8780)
13023 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
13025 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13027 * ses.el (ses-unload-function):
13028 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13030 * proced.el (proced-unload-function):
13031 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13033 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13035 * server.el (server-create-window-system-frame): Add parameters arg.
13036 (server-process-filter): Doc fix. Handle frame-parameters.
13038 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
13040 Fix bug#8730, bug#8781.
13042 * loadhist.el (unload--set-major-mode): New function.
13043 (unload-feature): Use it.
13045 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13046 (python-unload-function): New function.
13048 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13050 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13052 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13054 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13055 the candidates list.
13057 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
13059 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13061 2011-06-23 Richard Stallman <rms@gnu.org>
13063 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13064 (rmail-variables): Set next-error-move-function.
13065 (rmail-what-message): Take argument POS.
13066 (rmail-next-error-move): New function.
13068 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13070 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13071 messages for adjacent non-terminals.
13073 2011-06-23 Richard Stallman <rms@gnu.org>
13075 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
13076 (rmail-show-message-1): Preserve buffer modified flag.
13077 (rmail-start-mail): Don't specify use of rmail-mail-return;
13078 that's done by mail-bury now.
13079 (rmail-mail-return): Handle arg NEWBUF.
13081 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
13083 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13086 2011-06-23 Martin Rudalics <rudalics@gmx.at>
13088 * window.el (get-lru-window, get-mru-window)
13089 (get-largest-window): Never return a minibuffer window.
13090 (display-buffer-pop-up-window): Fix a bug that could lead to
13091 reusing the minibuffer window.
13092 (display-buffer): Pass original specifier argument to
13093 display-buffer-function instead of the normalized one.
13094 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13096 2011-06-22 Leo Liu <sdl.web@gmail.com>
13098 * minibuffer.el (completing-read-function)
13099 (completing-read-default): Move from minibuf.c
13101 2011-06-22 Richard Stallman <rms@gnu.org>
13103 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13104 to Rmail even if not started by a special Rmail command.
13106 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13107 Copy the buffer currently showing just one message.
13109 2011-06-22 Roland Winkler <winkler@gnu.org>
13111 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13112 (bibtex-clean-entry): First delete the old key so that a
13113 customized algorithm for generating the new key does not get
13114 confused by the old key.
13115 (bibtex-url): Obey regexp of first step.
13116 (bibtex-search-entries): Do not use add-to-list with local
13119 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13121 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13122 stored a user name, then query for the password first, instead of
13123 waiting for SMTP to give an error message and the trying again.
13125 2011-06-22 Lawrence Mitchell <wence@gmx.li>
13127 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13128 BUFFER in call-process.
13130 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13132 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13134 (smtpmail-try-auth-methods): Require user name and password from
13137 2011-06-22 Martin Rudalics <rudalics@gmx.at>
13139 * window.el (display-buffer-default-specifiers)
13140 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13141 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
13142 (split-window): Normalize SIDE argument (Bug#8916).
13144 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13145 (special-display-frame-alist, special-display-popup-frame):
13146 Remove duplicate declarations. These are now in window.el.
13148 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13150 * mail/smtpmail.el (smtpmail-via-smtp):
13151 Set :use-starttls-if-possible so that we always use STARTTLS if the
13152 server supports it. SMTP servers that support STARTTLS commonly
13155 * net/network-stream.el (network-stream-open-starttls): Support
13156 upgrading to STARTTLS always, even if we don't have built-in support.
13157 (open-network-stream): Add the :always-query-capabilities keyword.
13159 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13160 upgrades with `open-network-stream', and rely solely on
13161 auth-source for all credentials. Big changes throughout the file,
13163 (smtpmail-auth-credentials): Remove.
13164 (smtpmail-starttls-credentials): Remove.
13165 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13168 * net/network-stream.el (network-stream-open-starttls):
13169 Provide support for client certificates both for external and built-in
13171 (auth-source): Require.
13172 (open-network-stream): Document the :client-certificate keyword.
13173 (network-stream-certificate): Change cert-cert to cert and
13176 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
13178 * net/tramp-cache.el (top): Don't load the persistency file when
13179 "emacs -Q" has been called.
13181 2011-06-21 Tim Harper <timcharper@gmail.com>
13183 * term/ns-win.el (ns-initialize-window-system):
13184 Set application-specific `ApplePressAndHoldEnabled' system
13185 resource to NO as it is not yet supported by the NS port.
13187 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
13189 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13190 (list-dynamic-libraries): ...not here.
13192 2011-06-21 Leo Liu <sdl.web@gmail.com>
13194 * subr.el (sha1): Implement sha1 using secure-hash.
13196 2011-06-21 Martin Rudalics <rudalics@gmx.at>
13198 * window.el (display-buffer-alist): In default value do not
13199 enforce searching a window on any but the selected frame.
13200 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13201 (display-buffer-select-window): Remove function.
13202 (display-buffer-in-window): When a window on another frame gets
13203 reused, do not select it any more but just raise its frame if
13204 necessary (Bug#8851) and (Bug#8856).
13205 (display-buffer-normalize-options): Handle pop-up-frames related
13206 options more faithfully.
13207 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13208 window if it is on another frame.
13209 (display-buffer-alist, display-buffer-default-specifiers):
13210 Don't make new frame unsplittable by default.
13211 (display-buffer-normalize-argument): Fix doc-string typo and use
13212 'same-frame-other-window instead of 'other-window when associating
13213 with display-buffer-macro-specifiers.
13215 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13217 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13219 (5x5-mode-map, 5x5-mode-menu): Bind them.
13220 (5x5-draw-grid): Tweak the solver's rendering.
13222 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13224 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13225 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13227 2011-06-21 Drew Adams <drew.adams@oracle.com>
13229 * menu-bar.el: Use function variable instead of switch-to-buffer.
13230 (menu-bar-select-buffer-function): New variable.
13231 (menu-bar-update-buffers): Use it (bug#8876).
13233 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13235 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13238 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13240 * x-dnd.el (x-dnd-version-from-flags)
13241 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13242 and long as number (Bug#8899).
13243 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13245 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13247 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
13248 (completion-try-completion, completion-all-completions): Compute the
13249 metadata argument if it's missing; make it optional (bug#8795).
13251 * wid-edit.el: Use lex-bind and move towards completion-at-point.
13252 (widget-complete): Use new :completion-function property.
13253 (widget-completions-at-point): New function.
13254 (default): Use :completion-function instead of :complete.
13255 (widget-default-completions): Rename from widget-default-complete;
13257 (widget-string-complete, widget-file-complete, widget-color-complete):
13259 (file, symbol, function, variable, coding-system, color):
13260 * international/mule-cmds.el (default-input-method, charset)
13261 (language-info-custom-alist):
13262 * cus-edit.el (face): Use new property :completions.
13264 * progmodes/pascal.el (pascal-completions-at-point): New function.
13265 (pascal-mode): Use it.
13266 (pascal-mode-map): Use completion-at-point.
13267 (pascal-toggle-completions): Make obsolete.
13268 (pascal-complete-word, pascal-show-completions):
13269 * progmodes/octave-mod.el (octave-complete-symbol):
13270 Redefine as obsolete alias.
13271 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13272 Signal absence of completion info for old Octave,
13273 (inferior-octave-complete): Redefine as obsolete alias.
13274 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13275 (meta-completions-at-point): Rename from meta-complete-symbol and
13276 adapt it for use on completion-at-point-functions.
13277 (meta-common-mode): Use it.
13278 (meta-looking-at-backward, meta-match-buffer): Remove.
13279 (meta-complete-symbol): Redefine as obsolete alias.
13280 (meta-common-mode-map): Use completion-at-point.
13281 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13282 (makefile-mode-map): Use completion-at-point.
13283 (makefile-completions-at-point): Rename from makefile-complete and
13284 adapt it for use on completion-at-point-functions.
13285 (makefile-mode): Use it.
13286 (makefile-complete): Redefine as obsolete alias.
13288 2011-06-20 Deniz Dogan <deniz@dogan.se>
13290 * net/rcirc.el: Delete trailing whitespaces once and for all.
13292 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13294 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13296 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
13298 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13300 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13302 2011-06-19 Martin Rudalics <rudalics@gmx.at>
13304 * window.el (display-buffer-other-window-means-other-frame):
13305 Call display-buffer-normalize-alist.
13306 (display-buffer-normalize-specifiers-1): Rename to
13307 display-buffer-normalize-argument. New argument other-frame.
13309 (display-buffer-normalize-specifiers-2): Rename to
13310 display-buffer-normalize-options.
13311 (display-buffer-normalize-alist-1): New function.
13312 (display-buffer-normalize-specifiers-3): Rename to
13313 display-buffer-normalize-alist.
13314 Call display-buffer-normalize-alist-1.
13315 (display-buffer-normalize-options-inhibit): New variable.
13316 (display-buffer-normalize-specifiers): Rewrite calling
13317 display-buffer-normalize-alist,
13318 display-buffer-normalize-argument, and
13319 display-buffer-normalize-options. Don't call the latter if
13320 display-buffer-normalize-options-inhibit is non-nil.
13321 (frame-auto-delete): New option.
13322 (window-deletable-p): Use frame-auto-delete.
13323 (window-list-no-nils, window-state-ignored-parameters)
13324 (window-state-get-1, window-state-get, window-state-put-list)
13325 (window-state-put-1, window-state-put-2, window-state-put):
13327 (display-buffer-normalize-options): Move special-display-p group
13328 after pop-up-frame group (Bug#8851) and (Bug#8856).
13330 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
13332 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13334 (rx-submatch-n): New function.
13337 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13340 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13342 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13344 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13345 anytime existing face settings are present (Bug#8889).
13347 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13348 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13349 Remove unused argument.
13351 2011-06-18 Martin Rudalics <rudalics@gmx.at>
13353 * window.el (display-buffer-default-specifiers):
13354 Remove pop-up-frame. Add pop-up-window-min-height,
13355 pop-up-window-min-width, and another reuse-window specifier
13356 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
13357 (display-buffer-normalize-specifiers-2):
13358 Handle split-height-threshold and split-width-threshold also when
13359 pop-up-windows is unset. Add a reuse-window specifier for the
13360 case popping up a new window fails.
13361 (special-display-popup-frame): Remove double quoting.
13362 (display-buffer-normalize-specifiers-1): Fix thinko.
13364 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13366 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13367 according to comint-completion-addsuffix.
13369 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13370 (pcomplete-suffix-list): Mark as obsolete.
13371 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13372 pcomplete-seen in the closure.
13373 (pcomplete-comint-setup): Setup completion-at-point as well.
13374 (pcomplete--entries): New function.
13375 (pcomplete--env-regexp): New var.
13376 (pcomplete-entries): Rewrite to work with partial-completion and
13377 without relying on pcomplete-suffix-list.
13378 (pcomplete-pare-list): Remove, unused.
13380 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13382 * window.el (display-buffer-alist): Set pop-up-window-min-height
13383 and pop-up-window-min-width in default value. Reported by
13384 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13385 other-window-means-other-frame.
13386 (display-buffer-macro-specifiers): Comment out entry for
13387 other-window specifier.
13388 (display-buffer-other-window-means-other-frame): New function.
13389 (display-buffer-normalize-specifiers-1): New arguments
13390 buffer-name and label. Treat other-window case specially.
13391 (display-buffer-normalize-specifiers-2): Treat other-window case
13393 (display-buffer-normalize-specifiers-3): New function.
13394 (display-buffer-normalize-specifiers):
13395 Call display-buffer-normalize-specifiers-3.
13397 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13399 * window.el (same-window-p): Fix two typos introduced when
13400 adding with-no-warnings.
13401 (display-buffer-normalize-specifiers-1): Don't check
13402 pop-up-frames for 'unset initialization.
13403 (display-buffer-normalize-specifiers-2): Major rewrite using
13404 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13405 (pop-up-frames, display-buffer-reuse-frames)
13406 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13407 Suggested by David Engster <deng@randomsample.de>.
13408 (even-window-heights): Initialize to 'unset.
13409 (display-buffer-alist-set): Handle new 'unset initializations.
13410 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13413 2011-06-16 Martin Rudalics <rudalics@gmx.at>
13415 * window.el (display-buffer-normalize-specifiers-1):
13416 Respect current value of pop-up-frames for most reasonable values of
13417 second argument of display-buffer (Bug#8865).
13418 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13419 (switch-to-buffer-other-window-same-frame)
13420 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13422 (display-buffer): Don't check noninteractive when calling
13423 display-buffer-pop-up-frame.
13424 (display-buffer-pop-up-frame): Never pop up a frame in
13425 noninteractive mode (Bug#8857).
13426 (enlarge-window, shrink-window): Don't report an error when the
13427 window can't be resized as requested (Bug#8862).
13429 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13431 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13433 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13435 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13437 2011-06-15 Alan Mackenzie <acm@muc.de>
13439 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13440 for declarators, disable knr checking to speed up for normal files.
13441 2: Refactor, replacing a sequence of nested if forms by a cond form.
13443 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13445 * net/network-stream.el (open-network-stream): Add the keyword
13446 :always-query-capabilities for the case where you want to force a
13447 `plain' network connection, but the protocol still requires the
13448 capabilitiy command (i.e., SMTP and EHLO).
13450 * subr.el (process-live-p): Rename from `process-alive-p' for
13451 consistency with other `-live-p' functions.
13453 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13455 * window.el (same-window-buffer-names, same-window-regexps)
13456 (special-display-frame-alist, special-display-popup-frame)
13457 (special-display-function, special-display-buffer-names)
13458 (special-display-regexps, pop-up-frame-alist)
13459 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13460 (pop-up-windows, split-window-preferred-function)
13461 (split-height-threshold, split-width-threshold, even-window-heights)
13462 (display-buffer-mark-dedicated): Don't encourage the use of
13463 display-buffer-alist from Elisp code.
13465 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13467 * progmodes/python.el (python-mode): Derive from prog-mode.
13468 * progmodes/ps-mode.el (ps-mode):
13469 * progmodes/mixal-mode.el (mixal-mode):
13470 * progmodes/cfengine.el (cfengine-mode):
13471 * progmodes/ld-script.el (ld-script-mode): Likewise.
13473 2011-06-15 Martin Rudalics <rudalics@gmx.at>
13475 * window.el (display-buffer-alist): Trim default value to avoid
13476 popping up a new frame (Bug#8857) or reusing an arbitrary window
13478 (display-buffer): Do not fall back on popping up a new frame in
13479 batch mode (Bug#8857).
13481 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
13483 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13484 (custom-theme-summary): New function.
13485 (customize-themes): Use it.
13487 2011-06-13 Glenn Morris <rgm@gnu.org>
13489 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13491 2011-06-13 Martin Rudalics <rudalics@gmx.at>
13493 * help.el (help-window): Remove variable.
13494 (help-window-point-marker, temp-buffer-max-height)
13495 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13496 (help-print-return-message): Don't set help-window.
13497 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13498 (help-window-setup-finish): Remove.
13499 (help-window-display-message, help-window-setup)
13500 (with-help-window): Major rewrite based on new
13501 display-buffer-window variable.
13503 * help-mode.el (help-mode-finish): Remove help-window related
13506 * view.el (view-exits-all-viewing-windows): Remove reference to
13507 view-return-to-alist in doc-string.
13508 (view-return-to-alist): Make obsolete.
13509 (view-buffer): Call pop-to-buffer-same-window and remove
13511 (view-buffer-other-window): Call pop-to-buffer-other-window and
13512 simplify code. Ignore second argument.
13513 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13514 simplify code. Ignore second argument.
13515 (view-return-to-alist-update): Make obsolete.
13516 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13517 Rewrite using quit-restore window parameters.
13518 (view-mode-exit): Rename second argument to EXIT-ONLY.
13519 Rewrite using quit-restore-window.
13520 (View-exit, View-exit-and-edit, View-leave, View-quit)
13521 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13522 appropriate arguments.
13523 (view-end-message): Use quit-restore window parameter.
13525 * window.el (display-buffer-function): Rewrite doc-string.
13526 (display-buffer-window, display-buffer-alist): New variables.
13527 (display-buffer-split-specifiers)
13528 (display-buffer-side-specifiers)
13529 (display-buffer-macro-specifiers): New constants.
13530 (display-buffer-even-window-sizes, display-buffer-set-height)
13531 (display-buffer-set-width, display-buffer-select-window)
13532 (display-buffer-in-window, display-buffer-reuse-window)
13533 (display-buffer-split-window-1, display-buffer-split-window)
13534 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13535 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13536 (display-buffer-in-side-window, normalize-buffer-to-display)
13537 (display-buffer-normalize-specifiers-1)
13538 (display-buffer-normalize-specifiers-2)
13539 (display-buffer-normalize-specifiers, display-buffer-frame):
13541 (display-buffer): Major rewrite.
13542 (display-buffer-other-window, display-buffer-other-frame)
13543 (pop-to-buffer, switch-to-buffer-other-window)
13544 (switch-to-buffer-other-frame): Rewrite.
13545 (display-buffer-same-window, display-buffer-same-frame)
13546 (display-buffer-same-frame-other-window)
13547 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13548 (pop-to-buffer-other-window)
13549 (pop-to-buffer-same-frame-other-window)
13550 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13551 (switch-to-buffer-other-window-same-frame): New functions.
13552 (same-window-p, special-display-p): Rewrite disabling warnings.
13554 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13555 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13557 (same-window-buffer-names, same-window-regexps)
13558 (special-display-frame-alist, special-display-popup-frame)
13559 (special-display-function, special-display-buffer-names)
13560 (special-display-regexps, pop-up-frame-alist)
13561 (pop-up-frame-function, split-window-preferred-function)
13562 (split-height-threshold, split-width-threshold)
13563 (even-window-heights): Make obsolete.
13565 2011-06-12 Glenn Morris <rgm@gnu.org>
13567 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
13568 Misc simplifications.
13570 2011-06-12 Martin Rudalics <rudalics@gmx.at>
13572 * window.el (window-safely-shrinkable-p): Restore function which
13573 was inadvertently removed in change from 2011-06-11. Declare as
13576 * calendar/calendar.el (calendar-generate-window):
13577 Use window-iso-combined-p instead of combination of one-window-p and
13578 window-safely-shrinkable-p.
13580 2011-06-12 Glenn Morris <rgm@gnu.org>
13582 * progmodes/fortran.el (fortran-mode-syntax-table):
13583 * progmodes/f90.el (f90-mode-syntax-table):
13584 Set % to punctuation. (Bug#8820)
13585 (f90-find-tag-default): Remove, no longer needed.
13587 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13589 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13591 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
13593 * image.el (image-animated-p): Return animation delay in seconds.
13594 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13595 (image-animate-timeout): Remove DELAY argument. Don't assume
13596 every subimage has the same delay; get it from image-animated-p.
13597 (image-animate): Caller changed.
13599 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
13601 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13602 to ignored backtrace functions.
13604 2011-06-11 Glenn Morris <rgm@gnu.org>
13606 * calendar/appt.el (appt-disp-window-function): Doc fix.
13607 (appt-check): Handle overlapping appointments. (Bug#8337)
13609 2011-06-11 Martin Rudalics <rudalics@gmx.at>
13611 * window.el (window-tree-1, window-tree): New functions, moving
13612 the latter to window.el.
13613 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13614 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13615 (bw-refresh-edges): Remove.
13616 (balance-windows-1, balance-windows-2): New functions.
13617 (balance-windows): Rewrite in terms of window tree functions,
13618 balance-windows-1 and balance-windows-2.
13619 (bw-adjust-window): Remove.
13620 (balance-windows-area-adjust): New function with functionality of
13621 bw-adjust-window but using resize-window.
13622 (set-window-text-height): Rewrite doc-string.
13623 Use normalize-live-window and resize-window.
13624 (enlarge-window-horizontally, shrink-window-horizontally):
13625 Rename argument to DELTA.
13626 (window-buffer-height): New function.
13627 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13628 Rewrite using new window resize routines.
13629 (kill-buffer-and-window, mouse-autoselect-window-select):
13630 Use ignore-errors instead of condition-case.
13631 (quit-window): Call delete-frame instead of delete-windows-on
13632 for the only buffer on frame.
13634 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13636 * loadup.el (top-level): Load window before files for the sake
13637 of replace-buffer-in-windows.
13639 * files.el (read-buffer-to-switch)
13640 (switch-to-buffer-other-window)
13641 (switch-to-buffer-other-frame, display-buffer-other-frame):
13644 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13645 (previous-buffer): Move to window.el.
13647 * bindings.el (unbury-buffer): Move to window.el.
13649 * window.el (delete-other-windows-vertically): Move after
13650 definition of delete-other-windows.
13651 (other-window, delete-windows-on, replace-buffer-in-windows):
13652 Move here from window.c.
13653 (record-window-buffer, unrecord-window-buffer)
13654 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13655 (switch-to-next-buffer): New functions.
13656 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13657 from simple.el. Call switch-to-next-buffer.
13658 (previous-buffer): Move here from simple.el.
13659 Call switch-to-prev-buffer.
13660 (bury-buffer): Move here from buffer.c. Switch to previous
13661 buffer when window cannot be deleted.
13662 (unbury-buffer): Move here from bindings.el.
13663 (ctl-x-map): Move binding for other-window from window.c to
13665 (read-buffer-to-switch, switch-to-buffer-other-window)
13666 (switch-to-buffer-other-frame): Move here from files.el.
13667 (normalize-buffer-to-switch-to): New functions.
13668 (switch-to-buffer): Move here from buffer.c.
13669 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
13671 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13673 * window.el (window-min-height, window-min-width): Move here
13674 from window.c. Add defcustoms and rewrite doc-strings.
13675 (resize-mini-window, resize-window): New functions.
13676 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13677 Move here from window.c.
13678 (maximize-window, minimize-window): New functions.
13679 (delete-window, delete-other-windows, split-window): Move here
13681 (window-split-min-size): New function.
13682 (split-window-keep-point): Mention split-window-above-each-other
13683 instead of split-window-vertically.
13684 (split-window-above-each-other, split-window-vertically):
13685 Rename split-window-vertically to split-window-above-each-other
13686 and provide defalias for old definition.
13687 (split-window-side-by-side, split-window-horizontally):
13688 Rename split-window-horizontally to split-window-side-by-side
13689 and provide defalias for the old definition.
13690 (ctl-x-map): Move bindings for delete-window,
13691 delete-other-windows and enlarge-window here from window.c.
13692 Replace bindings for split-window-vertically and
13693 split-window-horizontally by bindings for
13694 split-window-above-each-other and split-window-side-by-side.
13696 * cus-start.el (all): Remove entries for window-min-height and
13697 window-min-width. Add entries for window-splits and
13700 2011-06-09 Glenn Morris <rgm@gnu.org>
13702 * calendar/appt.el (appt-mode-line): New function.
13703 (appt-check, appt-disp-window): Use it.
13705 * files.el (hack-one-local-variable-eval-safep):
13706 Allow minor-modes with explicit +/-1 arguments.
13708 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13710 * term/xterm.el (xterm): Add defgroup.
13711 (xterm-extra-capabilities): Add defcustom to supply known xterm
13712 capabilities, skip querying them, or query them (default).
13713 (terminal-init-xterm): Use it.
13714 (terminal-init-xterm-modify-other-keys): New function to set up
13715 modifyOtherKeys support to simplify `terminal-init-xterm'.
13717 2011-06-09 Martin Rudalics <rudalics@gmx.at>
13719 * window.el (resize-window-reset, resize-window-reset-1)
13720 (resize-subwindows-skip-p, resize-subwindows-normal)
13721 (resize-subwindows, resize-other-windows, resize-this-window)
13722 (resize-root-window, resize-root-window-vertically)
13723 (window-deletable-p, window-or-subwindow-p)
13724 (frame-root-window-p): New functions.
13726 2011-06-09 Glenn Morris <rgm@gnu.org>
13728 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13729 (ange-ftp-get-files): Use it.
13731 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13733 * mail/sendmail.el (mail-recover-1, mail-recover):
13734 * files.el (recover-file, recover-session):
13735 Handle dired-listing-switches not being just a single short option.
13737 2011-06-09 Glenn Morris <rgm@gnu.org>
13739 * calendar/appt.el (appt-display-message, appt-disp-window):
13740 Handle lists of appointments.
13742 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13744 * window.el (one-window-p): Move down in code.
13745 Rewrite doc-string.
13746 (window-current-scroll-bars): Rewrite doc-string.
13747 Normalize live window argument.
13748 (walk-windows, get-window-with-predicate, count-windows):
13749 Rewrite doc-string. Use window-list-1.
13750 (window-in-direction-2, window-in-direction, get-mru-window):
13753 2011-06-08 Reuben Thomas <rrt@sc3d.org>
13755 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13756 Doc fix (Bug#8713).
13758 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
13760 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13762 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
13764 * loadhist.el (unload-feature-special-hooks):
13765 Add `comint-output-filter-functions'.
13767 2011-06-08 Ivan Kanis <gnu@kanis.fr>
13769 * calendar/appt.el (appt-check): Move some initializations into the let.
13771 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13773 * window.el (window-height): Defalias to window-total-height.
13774 (window-width): Defalias to window-body-width.
13776 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
13778 * image-mode.el (image-toggle-animation): New command.
13779 (image-mode-map): Bind it to RET.
13780 (image-mode): Update message.
13781 (image-toggle-display-image): Avoid a spurious cache flush.
13782 (image-transform-rotation): Doc fix.
13783 (image-transform-properties): Return quickly in the normal case.
13784 (image-animate-loop): Rename from image-animate-max-time.
13786 * image.el (image-animate-max-time): Move to image-mode.el.
13787 (create-animated-image): Remove unnecessary function.
13788 (image-animate): Rename from image-animate-start. New arg.
13789 (image-animate-stop): Remove; just use image-animate-timer.
13790 (image-animate-timer): Use car-safe.
13791 (image-animate-timeout): Rename argument.
13793 2011-06-07 Martin Rudalics <rudalics@gmx.at>
13795 * window.el (get-lru-window, get-largest-window): Move here from
13796 window.c. Rename first argument to ALL-FRAMES.
13797 Rephrase doc-strings.
13798 (get-buffer-window-list): Rewrite using window-list-1.
13799 Rephrase doc-string.
13800 (window-safe-min-height, window-safe-min-width): New constants.
13801 (window-size-ignore, window-min-size, window-min-size-1)
13802 (window-sizable, window-sizable-p, window-size-fixed-1)
13803 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13804 (window-max-delta-1, window-max-delta, window-resizable)
13805 (window-resizable-p, window-total-height, window-total-width)
13806 (window-body-width): New functions.
13807 (window-full-height-p, window-full-width-p): Rewrite using
13809 (window-body-height): Rewrite using window-body-size.
13811 2011-06-06 Martin Rudalics <rudalics@gmx.at>
13813 * window.el (window-right, window-left, window-child)
13814 (window-child-count, window-last-child, window-any-p)
13815 (normalize-live-buffer, normalize-live-frame)
13816 (normalize-any-window, normalize-live-window)
13817 (window-iso-combination-p, window-iso-combined-p)
13818 (window-iso-combinations)
13819 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13820 (windows-with-parameter, window-with-parameter)
13821 (window-atom-root, make-window-atom, window-atom-check-1)
13822 (window-atom-check, window-side-check, window-check):
13824 (ignore-window-parameters, window-sides, window-sides-vertical)
13825 (window-sides-slots): New variables.
13826 (window-size-fixed): Move down in code. Minor doc-string fix.
13828 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13830 * comint.el (comint-dynamic-complete-as-filename)
13831 (comint-dynamic-complete-filename): Correctly call
13832 completion-in-region.
13834 2011-06-05 Deniz Dogan <deniz@dogan.se>
13836 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13839 2011-06-05 Deniz Dogan <deniz@dogan.se>
13841 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13842 (rcirc): Use it to prompt for encryption.
13844 2011-06-05 Roland Winkler <winkler@gnu.org>
13846 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13847 (bibtex-search-entries): New command bound to C-c C-a.
13848 (bibtex-display-entries): New function.
13850 2011-06-05 Roland Winkler <winkler@gnu.org>
13852 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13853 (bibtex-insert-kill): After yanking insert newline if necessary.
13854 (bibtex-initialize): Call bibtex-string-files-init only once.
13855 (bibtex-mode): Do not call easy-menu-add.
13856 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13857 (bibtex-yank): Set arg properly if nil.
13859 2011-06-05 Roland Winkler <winkler@gnu.org>
13861 * textmodes/bibtex.el (bibtex-search-entry-globally):
13863 (bibtex-search-entry): Use it.
13865 2011-06-05 Roland Winkler <winkler@gnu.org>
13867 * textmodes/bibtex.el (bibtex-entry-format): New option
13869 (bibtex-format-entry, bibtex-reformat): Honor this option.
13870 (bibtex-parse-entry): Return fields in proper order.
13872 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
13874 * doc-view.el (doc-view-remove-if): Move computation of result out
13875 of `dolist' to silence misleading lexical-binding warning.
13877 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
13879 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13880 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13882 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13884 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13887 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13889 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13890 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13891 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13892 (tramp-parse-putty):
13893 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13894 (tramp-completion-function-alist-ssh)
13895 (tramp-completion-function-alist-telnet)
13896 (tramp-completion-function-alist-su)
13897 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13900 * net/tramp-ftp.el:
13902 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13903 load "tramp.el" `tramp-set-completion-function'.
13905 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13907 * shell.el: Require and use pcomplete.
13908 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13909 (shell-completion-vars): Set pcomplete-default-completion-function.
13911 2011-06-04 Deniz Dogan <deniz@dogan.se>
13913 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13916 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13918 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13920 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
13922 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13923 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13924 * vc/log-view.el (log-view-beginning-of-defun):
13925 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13926 (smerge-refine-forward, smerge-refine-chopup-region):
13927 Silence warning for unused `dotimes' counter variables.
13929 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13931 * net/tramp.el (tramp-with-progress-reporter): Rename from
13932 with-progress-reporter. Use `declare'.
13933 * net/tramp-smb.el:
13935 * net/tramp-gvfs.el: Update all uses.
13937 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13939 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13940 buffer isn't killed before making it current.
13942 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13944 Silence various byte-compiler warnings.
13945 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13946 `access-type' and new obsolescence format.
13947 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13949 (byte-compile-check-variable): New `access-type' argument.
13950 Only warn if the access-type is obsolete.
13951 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13952 (byte-compile-variable-set): Adjust callers.
13953 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13954 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13955 setting it as obsolete.
13956 * simple.el (minibuffer-completing-symbol):
13957 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13958 access as obsolete.
13959 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13961 * international/quail.el (quail-mouse-choose-completion): Remove unused
13962 code referring to obsolete var.
13963 (quail-choose-completion-string): Remove.
13964 * server.el (server-clients-with, server-kill-buffer-query-function)
13965 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13966 * proced.el (proced-send-signal):
13967 * emacs-lisp/lisp.el (lisp-complete-symbol):
13968 Replace completion-annotate-function with completion-extra-properties.
13970 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13972 * simple.el (goto-line): Use read-number.
13973 (overriding-map-is-bound): Remove.
13974 (saved-overriding-map): Change default.
13975 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13976 Take the map as argument.
13977 (universal-argument, negative-argument, digit-argument): Use it.
13978 (restore-overriding-map): Adjust.
13979 (do-auto-fill): Use fill-forward-paragraph.
13980 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13982 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13983 (minibuffer-inactive-mode): New major mode.
13984 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13985 the *Messages* buffer" hack.
13986 (mouse-popup-menubar): Don't burp if the event is a normal key.
13988 Miscellaneous tweaks.
13989 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13990 lexical scoping as in subr.el's dolist and dotimes.
13991 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13992 Silence compiler warning.
13993 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13994 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13995 * international/ccl.el (ccl-compile): Trivial simplification.
13996 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13997 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13998 `printflag' argument.
13999 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14000 Purecopy the whole obsolescence data.
14002 2011-06-01 Leo Liu <sdl.web@gmail.com>
14004 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14005 improve doc-string as suggested by Marco Pessotto
14006 <melmothx@gmail.com>.
14007 (rcirc-print): Fix last change.
14009 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14011 * minibuffer.el (complete-with-action): Return nil for the metadata and
14012 boundaries of non-functional tables.
14013 (completion-table-dynamic): Return nil for the metadata.
14014 (completion-table-with-terminator): Add default case, using
14015 complete-with-action.
14016 (completion--metadata): New function.
14017 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14018 to try and avoid pathological performance problems.
14019 (completion--embedded-envvar-table): Return `category' metadata.
14021 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14023 * subr.el (process-alive-p): New tiny convenience function.
14025 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14027 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14028 content but also its previous major mode.
14030 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
14032 * emacs-lisp/debug.el (debug): Restore the previous content of the
14033 *Backtrace* buffer when we exit with C-M-c.
14035 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14037 * minibuffer.el: Add metadata method to completion tables.
14038 (completion-category-overrides): New defcustom.
14039 (completion-metadata, completion--field-metadata)
14040 (completion-metadata-get, completion--styles)
14041 (completion--cycle-threshold): New functions.
14042 (completion-try-completion, completion-all-completions):
14043 Add `metadata' argument to choose completion-styles.
14044 (completion--do-completion): Use metadata to choose cycling.
14045 (completion-all-sorted-completions): Use metadata for sorting.
14046 Remove :completion-cycle-penalty which is not needed any more.
14047 (completion--try-word-completion): Add `metadata' argument.
14048 (minibuffer-completion-help): Check metadata for annotation function
14050 (completion-file-name-table): Return `category' metadata.
14051 (minibuffer-completing-file-name): Make obsolete.
14052 * simple.el (minibuffer-completing-symbol): Make obsolete.
14053 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14054 completion-try-completion.
14056 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14058 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14060 2011-05-30 Leo Liu <sdl.web@gmail.com>
14062 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
14063 (rcirc-print): Decode all incoming messages (bug#8744).
14064 (rcirc-decode-coding-system): Allow value nil for automatic coding
14067 2011-06-01 Glenn Morris <rgm@gnu.org>
14069 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14071 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14073 * image.el (image-animate-max-time): Allow nil and t values.
14075 (create-animated-image): Doc fix.
14076 (image-animate-start): Remove second arg; just use
14077 image-animate-max-time.
14078 (image-animate-timeout): Doc fix. Args changed.
14080 * image-mode.el (image-toggle-display-image): Ensure that the
14081 image spec passed to the animate timer is the same object as in
14082 the buffer's display property (Bug#6981).
14083 (image-transform-properties): Doc fix.
14085 * image.el (image-animate-max-time): Default to nil.
14087 2011-05-29 Martin Rudalics <rudalics@gmx.at>
14089 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14090 entire buffer list (Bug#8184).
14092 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14094 * image.el (imagemagick-types-inhibit)
14095 (imagemagick-register-types): Doc fix.
14097 2011-05-29 Deniz Dogan <deniz@dogan.se>
14099 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14102 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14104 * select.el: Don't perform clipboard-manager saving in hooks;
14105 leave the hooks empty.
14107 2011-05-28 Leo Liu <sdl.web@gmail.com>
14109 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14110 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14111 (occur-edit-mode): New major mode (Bug#8463).
14112 (occur-after-change-function): New function.
14113 (occur-engine): Give Occur tags a read-only property.
14115 2011-05-28 Kevin Ryde <user42@zip.com.au>
14117 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14119 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14121 * bindings.el (help-echo): Make the initial non-indicator dash
14122 empty on graphical terminals (Bug#7295).
14124 * files.el (auto-mode-alist): Move config rule after the
14125 in-stripping one (Bug#8547).
14127 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14129 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14130 setting (Bug#8740).
14132 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14134 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14135 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14138 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14140 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14142 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14144 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14145 (hs-hide-block-at-point, hs-find-block-beginning)
14146 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14149 2011-05-28 Glenn Morris <rgm@gnu.org>
14151 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14153 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14155 * help-fns.el (describe-function-1): If the function is a derived
14156 major mode, print the parent mode.
14158 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14159 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14161 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14163 * minibuffer.el (completion--capf-wrapper): Check applicability before
14164 returning non-nil for non-exclusive completion data.
14165 * progmodes/etags.el (tags-completion-at-point-function):
14166 * info-look.el (info-lookup-completions-at-point): Mark as
14168 (info-complete): Adjust accordingly.
14170 * info-look.el: Convert to lexical-binding and completion-at-point.
14171 (info-lookup-completions-at-point): New function.
14172 (info-complete): Use it and completion-in-region.
14174 2011-05-28 Drew Adams <drew.adams@oracle.com>
14176 * isearch.el: Let M-e start with point at the first mismatched char.
14177 (isearch-fail-pos): New function.
14178 (isearch-edit-string): Use it.
14180 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14182 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14184 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
14186 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14187 traversal functions for avl-trees.
14188 (avl-tree--stack): New struct.
14189 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14190 (avl-tree-enter): Add optional `updatefun' arg.
14191 (avl-tree--do-enter): Add optional `updatefun' arg.
14192 Change return value.
14193 (avl-tree-delete): Add optional `test' and `nilflag' args.
14194 (avl-tree--do-delete): Add `test' and `nilflag' args.
14195 Change return value.
14196 (avl-tree-member): Add optional `nilflag'
14197 (avl-tree-member-p): New function.
14198 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14199 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14200 (avl-tree-stack-empty-p): New functions.
14202 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14203 avl-tree--del-balance1 and make it work both ways.
14204 (avl-tree--del-balance2): Remove.
14205 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14206 make it work both ways.
14207 (avl-tree--enter-balance2): Remove.
14208 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14210 (avl-tree--mapc, avl-tree-map): Add direction argument.
14212 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
14214 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14216 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
14218 * select.el: Support clipboard managers with built-in function
14219 x-clipboard-manager-save, via delete-frame-functions and
14221 (xselect-convert-to-targets): Add MULTIPLE target to list.
14222 (xselect-convert-to-save-targets): New function.
14224 2011-05-27 Kenichi Handa <handa@m17n.org>
14226 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14227 let-binding rfc2047-encode-encoded-words to nil.
14229 2011-05-27 Glenn Morris <rgm@gnu.org>
14231 * mail/emacsbug.el: Don't require url-util.
14233 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14235 * files.el (set-auto-mode):
14236 Also respect mode: entries at the end of the file. (Bug#8586)
14238 2011-05-26 Glenn Morris <rgm@gnu.org>
14240 * files.el (hack-local-variables-prop-line, hack-local-variables):
14241 Downcase mode names, as seems to be traditional.
14242 (hack-local-variables, hack-local-variables-apply): Doc fixes.
14244 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14245 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14247 2011-05-25 Julien Danjou <julien@danjou.info>
14249 * textmodes/rst.el (rst-define-level-faces): Do not define face
14250 symbol if it is already defined.
14252 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14254 * play/5x5.el (5x5-new-game, 5x5-randomize):
14255 Reset 5x5-solver-output to nil when a new grid is cast.
14256 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14257 these debugging traces, as defmacro breaks the compiled code.
14259 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14261 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14263 2011-05-24 Leo Liu <sdl.web@gmail.com>
14265 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14266 (vc-bzr-sha1): Adapt.
14268 * sha1.el: Remove. Function `sha1' is now builtin.
14270 * bindings.el: Provide sha1 feature.
14272 2011-05-24 Kenichi Handa <handa@m17n.org>
14274 * mail/sendmail.el: Require `rfc2047'.
14275 (mail-insert-from-field): Do not perform RFC2047 encoding.
14276 (mail-encode-header): New function.
14277 (sendmail-send-it): Set buffer-file-coding-system of the work
14278 buffer to the return value of select-message-coding-system.
14279 Call mail-encode-header.
14281 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14283 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
14285 * mail/supercite.el (sc-default-cite-frame):
14286 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
14288 2011-05-24 Glenn Morris <rgm@gnu.org>
14290 * progmodes/python.el (brm-menu): Declare.
14292 * emulation/viper.el (viper-set-hooks): Declare.
14294 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14295 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14296 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14297 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14298 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14299 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14301 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14303 Add an :exit-function for completion-at-point.
14305 * minibuffer.el (completion--done): New fun.
14306 (completion--do-completion): Use it. New arg `expect-exact'.
14307 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14308 since completion--do-completion does it for us now.
14309 (minibuffer-force-complete): Use completion--done and
14310 completion--replace. Handle sole-completion case with more care.
14311 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14312 (completion-extra-properties): New var.
14313 (completion-annotate-function): Make obsolete.
14314 (minibuffer-completion-help): Adjust accordingly.
14315 Use completion-list-insert-choice-function.
14316 (completion-at-point, completion-help-at-point):
14317 Bind completion-extra-properties.
14318 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14319 * simple.el (completion-list-insert-choice-function): New var.
14320 (completion-setup-function): Preserve it.
14321 (choose-completion): Pay attention to it, shuffle the code a bit.
14322 (choose-completion-string): New arg `insert-function'.
14324 * textmodes/bibtex.el: Convert to lexical binding.
14325 (bibtex-mode-map): Use completion-at-point.
14326 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14327 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14328 (bibtex-complete): Define as obsolete alias.
14329 (bibtex-complete-internal): Remove.
14330 (bibtex-format-entry): Remove unused sub-group in regexp.
14331 * shell.el (shell--command-completion-data)
14332 (shell-environment-variable-completion):
14333 * pcomplete.el (pcomplete-completions-at-point):
14334 * comint.el (comint--complete-file-name-data): Use :exit-function
14335 instead of completion-table-with-terminator so it also works for
14338 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14340 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14342 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14345 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14347 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14349 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14350 customization variable and implement: If non-nil, auto-fill will
14351 be inhibited while on topic's header line.
14353 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14355 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
14356 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
14357 always have a solution in grid size = 5 cases.
14358 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14359 (5x5-solver-output, 5x5-log-buffer): New vars.
14360 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14361 Make these variables buffer local to achieve 5x5 multi-session-ness.
14362 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14363 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14364 (5x5-solve-suggest): New funs.
14365 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14366 randomize a grid so that we ensure that there is always a solution.
14367 (5x5-make-random-grid): Allow other movement than flipping.
14369 2011-05-23 Kevin Ryde <user42@zip.com.au>
14371 * emacs-lisp/advice.el (ad-read-advised-function):
14372 Use `function-called-at-point' as the default, if it has
14373 advice and passes PREDICATE.
14375 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14377 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14378 byte-compile-lambda if it's actually a lambda.
14380 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14381 Fix function quoting. Use backquote better.
14383 2011-05-22 Yuanle Song <sylecn@gmail.com>
14385 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14386 matching (Bug#8516).
14388 2011-01-22 Jari Aalto <jari.aalto@cante.net>
14390 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14391 different face (Bug#8178).
14393 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
14395 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14396 defface (Bug#8144).
14398 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14400 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14401 funcall as well (bug#8712). Warn when performing those conversions.
14402 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14404 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14406 2011-05-22 Glenn Morris <rgm@gnu.org>
14408 * files.el (hack-local-variables-prop-line): Small simplifications.
14409 (hack-local-variables, hack-local-variables-prop-line):
14410 If MODE-ONLY, return the mode, rather than just `t'.
14412 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14414 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14416 2011-05-21 Glenn Morris <rgm@gnu.org>
14418 * files.el (hack-local-variables-prop-line, hack-local-variables):
14419 If only interested in the mode, don't bother doing the other stuff.
14421 * image-mode.el (image-after-revert-hook):
14422 Redraw all frames on which the image is visible. (Bug#8567)
14424 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14426 * wid-edit.el (widget-checklist-match-inline):
14427 Fix 2011-04-19 change. (Bug#8649)
14429 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14431 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14432 Also allow singlespace after single-letter capitals followed by a dot.
14434 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14435 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14437 2011-05-20 Nix <nix@esperi.org.uk>
14439 * files.el (basic-save-buffer-2):
14440 Fix handling of break-hardlink-on-save with non-existent files.
14442 2011-05-19 Deniz Dogan <deniz@dogan.se>
14444 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
14445 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
14447 2011-05-19 Glenn Morris <rgm@gnu.org>
14449 * progmodes/f90.el (f90-type-def-re):
14450 Handle "type, bind(c)". (Bug#8691)
14452 * emacs-lisp/autoload.el (batch-update-autoloads):
14453 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14455 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
14457 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14458 property for the correct connection in case of multihops.
14460 2011-05-18 Glenn Morris <rgm@gnu.org>
14462 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
14463 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14465 Rationalize calendar handling of day and month abbrev-arrays.
14466 * calendar/calendar.el (calendar-customized-p): New function.
14467 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14468 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14470 (calendar-abbrev-length, calendar-day-abbrev-array)
14471 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14472 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14473 Elements may no longer be nil.
14474 (calendar-day-name, calendar-month-name):
14475 Update for changed nature of abbrev arrays.
14476 * calendar/diary-lib.el (diary-name-pattern):
14477 Update for changed nature of abbrev arrays.
14478 (diary-mark-entries-1): Update calendar-make-alist calls.
14479 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14480 * calendar/cal-html.el (cal-html-day-abbrev-array):
14481 Simply inherit from calendar-day-abbrev-array.
14483 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14485 * progmodes/grep.el (grep-mode): Disable default
14486 compilation-directory-matcher setting (bug#8684).
14488 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
14490 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14491 instead of "head" and "tail". There were problems with SunOS 5.9,
14492 and it performs better.
14494 2011-05-17 Glenn Morris <rgm@gnu.org>
14496 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14498 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14499 Replace obsolete function.
14501 * shell.el (pcomplete-parse-arguments-function): Declare.
14503 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14504 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14505 (appt-check): Doc fixes.
14506 (appt-disp-window-function, appt-delete-window-function):
14507 Remove needless special case in custom :type.
14508 (appt-display-count): Default to 0, not nil.
14509 (appt-check): Reset appt-display-count to 0, not nil.
14511 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
14513 * progmodes/python.el (python-font-lock-keywords):
14514 Add the Python 3.X keyword "nonlocal" (bug#8639).
14516 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14518 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14520 2011-05-16 Kevin Ryde <user42@zip.com.au>
14522 * info-look.el (makefile-automake-mode): New setups, looking in
14523 automake manual, then makefile-mode.
14524 (makefile-mode): Remove automake manual, have it just in
14525 makefile-automake-mode since there's various things different or
14526 not relevant to plain make.
14527 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14528 believe a hypothetical automake-mode would go to makefile-mode,
14529 not the other way around.
14531 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
14533 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14534 hunk-end tags (Bug#8672).
14536 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14537 vc-annotate-show-diff-revision-at-line (Bug#8671).
14539 2011-05-14 Glenn Morris <rgm@gnu.org>
14541 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14542 in the middle of an existing one with multiple authors. (Bug#8645)
14543 (change-log-font-lock-keywords): Also handle multiple author lines
14544 with leading tabs. (Bug#8644)
14546 * calendar/appt.el (appt-check): Rename some local variables.
14547 Some simplification/reordering.
14549 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14550 (feedmail-sendmail-f-doesnt-sell-me-out)
14551 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14552 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14553 (feedmail-queue-runner-message-sender): Set :version.
14554 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14555 (bbdb-dwim-net-address, vm-mail): Declare.
14556 (feedmail-binmail-gnulinuxish-template):
14557 Rename from feedmail-binmail-linuxish-template.
14558 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14559 Use insert-buffer-substring.
14561 2011-05-14 Bill Carpenter <bill@carpenter.org>
14563 * mail/feedmail.el (feedmail-patch-level): Increase.
14564 (feedmail-debug): New custom group.
14565 (feedmail-confirm-outgoing-timeout)
14566 (feedmail-sendmail-f-doesnt-sell-me-out)
14567 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14568 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14569 (feedmail-sender-line, feedmail-from-line)
14570 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
14571 (feedmail-spray-this-address)
14572 (feedmail-spray-address-fiddle-plex-list)
14573 (feedmail-queue-use-send-time-for-date)
14574 (feedmail-queue-use-send-time-for-message-id)
14575 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14576 (feedmail-buffer-eating-function):
14578 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14579 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14580 (feedmail-message-action-scroll-down): New functions.
14581 (feedmail-queue-directory, feedmail-queue-draft-directory):
14582 Use expand-file-name.
14583 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14584 Remove C-v help entry.
14585 (feedmail-queue-buffer-file-name): New variable.
14586 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14587 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14588 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14589 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14590 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14591 (feedmail-message-action-toggle-spray)
14592 (feedmail-run-the-queue-no-prompts)
14593 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14594 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14595 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14596 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14597 (feedmail-envelope-deducer, feedmail-fiddle-from)
14598 (feedmail-fiddle-sender, feedmail-default-date-generator)
14599 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14600 (feedmail-fiddle-spray-address)
14601 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14602 (feedmail-fiddle-list-of-fiddle-plexes)
14603 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14604 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14605 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14606 Change default. Doc fix.
14607 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14608 (feedmail-binmail-linuxish-template): New constant.
14609 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14610 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14611 (feedmail-send-it): Add debug call.
14612 Use feedmail-queue-buffer-file-name, and
14613 feedmail-send-it-immediately-wrapper.
14614 (feedmail-message-action-send): Add debug call.
14615 Use feedmail-send-it-immediately-wrapper.
14616 (feedmail-queue-express-to-queue): Add debug call.
14617 Run feedmail-queue-express-hook.
14618 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14619 (feedmail-message-action-help-blat):
14620 Rename from feedmail-queue-send-edit-prompt-help-first.
14621 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14622 Check line-endings. Handle errors better.
14623 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14624 Doc fix. Add debug call.
14625 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14626 Use feedmail-queue-send-edit-prompt-inner.
14627 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14628 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14629 from feedmail-queue-send-edit-prompt.
14630 (feedmail-queue-send-edit-prompt-help)
14631 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14632 (feedmail-tidy-up-slug): Add debug call.
14633 Respect feedmail-queue-slug-suspect-regexp.
14634 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14635 (feedmail-dump-message-to-queue): Add debug call.
14636 Expand queue-directory.
14637 (feedmail-dump-message-to-queue): Change message slightly.
14638 Use feedmail-say-chatter.
14639 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14640 (feedmail-send-it-immediately-wrapper): New function.
14641 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14642 Insert empty string rather than newline. Handle full-frame case.
14643 Use catch/throw. Use feedmail-say-chatter.
14644 (feedmail-fiddle-from): Try mail-host-address.
14645 (feedmail-default-message-id-generator): Doc fix.
14646 Bind system-time-locale. Handle missing end.
14647 (feedmail-fiddle-x-mailer): Add debug call.
14648 Handle feedmail-x-mailer-line being nil.
14649 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14650 Add debug call. Use buffer-substring-no-properties.
14651 (feedmail-say-debug, feedmail-say-chatter): New functions.
14652 (feedmail-find-eoh): Give an explicit error.
14654 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
14656 * net/newst-treeview.el (newsticker-treeview-face): Change default
14657 family from helvetica to sans.
14658 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
14659 etc/images/newsticker.
14661 * net/newst-reader.el (newsticker-feed-face): Change default
14662 family from helvetica to sans.
14664 * net/newst-plainview.el (newsticker-new-item-face)
14665 (newsticker-old-item-face, newsticker-immortal-item-face)
14666 (newsticker-obsolete-item-face, newsticker-date-face)
14667 (newsticker-statistics-face): Change default family from
14669 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
14670 etc/images/newsticker.
14672 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14673 (newsticker--process-auto-mark-filter-match): Tell user about
14676 2011-05-13 Didier Verna <didier@xemacs.org>
14678 Common Lisp indentation improvements on defmethod and lambda-lists.
14679 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14681 (lisp-lambda-list-keyword-parameter-indentation)
14682 (lisp-lambda-list-keyword-parameter-alignment)
14683 (lisp-lambda-list-keyword-alignment): New customizable user options.
14684 (lisp-indent-defun-method): Improve docstring.
14685 (extended-loop-p): Fix comment.
14686 (lisp-indent-lambda-list-keywords-regexp): New variable.
14687 (lisp-indent-lambda-list): New function.
14688 (lisp-indent-259): Use it.
14689 (lisp-indent-defmethod): Support for more than one
14690 method qualifier and properly indent methods lambda-lists.
14691 (defgeneric): Provide a missing common-lisp-indent-function property.
14693 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14695 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14696 bounds for the empty string (bug#8667).
14698 2011-05-13 Glenn Morris <rgm@gnu.org>
14700 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14702 * mail/sendmail.el (sendmail-program): Try executable-find first.
14703 (sendmail-send-it): `sendmail-program' cannot be unbound.
14705 * calendar/appt.el (appt-make-list): Simplify.
14706 (appt-time-msg-list): Doc fix.
14707 (appt-check): Change mode-line message at the time of the appointment.
14709 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14711 * progmodes/ld-script.el (ld-script-keywords)
14712 (ld-script-builtins): Update keywords list.
14714 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14716 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14718 * shell.el (shell-completion-vars): New function.
14720 * simple.el (read-shell-command): Use it.
14721 (blink-matching-open): No need for " [...]" in minibuffer-message.
14723 2011-05-12 Glenn Morris <rgm@gnu.org>
14725 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14726 (appt-check): Simplify.
14728 2011-05-12 Eli Zaretskii <eliz@gnu.org>
14730 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
14731 literal "/dev/null".
14733 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14735 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14738 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
14740 * progmodes/which-func.el (which-function):
14741 Use add-log-current-defun instead of add-log-current-defun-function,
14742 which might not be defined (Bug#8260).
14744 2011-05-12 Glenn Morris <rgm@gnu.org>
14746 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14747 Let byte-compile-initial-macro-environment always take precedence.
14749 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14751 * net/rcirc.el: Add support for SSL/TLS connections.
14752 (rcirc-server-alist): New field `encryption'.
14753 (rcirc): Check `encryption' settings.
14754 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14755 Merge make-local-variable into `set'.
14756 (rcirc--connection-open-p): New function.
14757 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14758 the process is not a network process (e.g. running gnutls-cli).
14759 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14760 Make rcirc-(en|de)code-coding-system local here.
14761 (rcirc-mode): Merge make-local-variable into `set'.
14762 (rcirc-parent-buffer): Make permanent buffer-local.
14763 (rcirc-multiline-minor-mode): Don't do it here.
14764 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14765 there's no server buffer.
14767 2011-05-11 Glenn Morris <rgm@gnu.org>
14769 * newcomment.el (comment-kill): Prefix "unused" local.
14771 * term/w32console.el (get-screen-color): Declare.
14773 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14774 Handle symbol elements of byte-compile-initial-macro-environment.
14776 2011-05-10 Leo Liu <sdl.web@gmail.com>
14778 * bookmark.el (bookmark-bmenu-mode-map):
14779 Bind bookmark-bmenu-search to `/'.
14781 * mail/footnote.el: Convert to utf-8 encoding.
14782 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14783 (Footnote-unicode): New function.
14784 (footnote-style-alist): Add unicode style to the list.
14785 (footnote-style): Doc fix.
14787 2011-05-10 Jim Meyering <meyering@redhat.com>
14789 Fix doubled-word typos.
14790 * international/quail.el (quail-insert-kbd-layout): and and -> and
14791 * kermit.el: and and -> and
14792 * net/ldap.el (ldap-search-internal): to to -> to
14793 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14794 * progmodes/js.el (js-mode): and and -> and
14795 * textmodes/artist.el (artist-move-to-xy): at at -> at
14796 (artist-draw-region-trim-line-endings): if if -> if
14797 And Safetyc -> Safety.
14798 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14800 2011-05-10 Glenn Morris <rgm@gnu.org>
14801 Stefan Monnier <monnier@iro.umontreal.ca>
14803 * files.el (hack-one-local-variable-eval-safep):
14804 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14806 2011-05-10 Glenn Morris <rgm@gnu.org>
14808 * calendar/diary-lib.el (diary-list-entries-hook)
14809 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14810 (diary-nongregorian-marking-hook, diary-list-entries)
14811 (diary-include-other-diary-files, diary-mark-entries)
14812 (diary-mark-included-diary-files): Doc fixes.
14814 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14816 * misc.el: Require tabulated-list.el during compilation.
14818 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14820 * progmodes/compile.el (compilation-start):
14821 Run compilation-filter-hook for the async case too.
14822 (compilation-filter-hook): Doc fix.
14824 2011-05-09 Deniz Dogan <deniz@dogan.se>
14826 * wdired.el: Remove outdated installation comment. Fix usage
14829 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14831 * misc.el: Implement new command `list-dynamic-libraries'.
14832 (list-dynamic-libraries--loaded-only-p): New variable.
14833 (list-dynamic-libraries--refresh): New function.
14834 (list-dynamic-libraries): New command.
14836 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14838 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14839 Fix the ant regexp to handle end-line and end-column info from jikes.
14840 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14841 higher priority to avoid clobbering by gnu.
14843 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14845 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14846 if the face has existing theme settings (Bug#8454).
14848 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14850 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14851 Only match variables declared via `my' or `our' (Bug#8261).
14853 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14854 special file names `.' and `..' (Bug#8259).
14856 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14858 * progmodes/grep.el (grep-mode-font-lock-keywords):
14859 Remove buffer-changing entries.
14860 (grep-filter): New function.
14861 (grep-mode): Add it to compilation-filter-hook.
14863 * progmodes/compile.el (compilation-filter-hook)
14864 (compilation-filter-start): New defvars.
14865 (compilation-filter): Call compilation-filter-hook prior to
14866 updating the process mark.
14868 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14870 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14872 2011-05-07 Eli Zaretskii <eliz@gnu.org>
14874 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14875 mailclient-send-it even if window-system is nil. (Bug#8595)
14877 * term/w32console.el (terminal-init-w32console):
14878 Call get-screen-color and use its output to set the frame
14879 background-mode. (Bug#8597)
14881 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14883 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14884 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14886 (defgeneric, eieio--defmethod): Use them.
14887 (eieio-defgeneric): Remove.
14888 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14890 2011-05-07 Glenn Morris <rgm@gnu.org>
14892 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14893 Use let rather than let*.
14894 (timeclock-find-discrep): Remove unused local.
14896 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14898 * calendar/appt.el (appt-time-msg-list): Doc fix.
14900 2011-05-06 Noah Friedman <friedman@splode.com>
14902 * apropos.el (apropos-print-doc): Only use
14903 emacs-lisp-docstring-fill-column when it is bound to an integer,
14904 per that variable's documentation.
14906 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14908 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
14909 and warnings are not silently discarded (e.g. use -d instead of -P).
14911 2011-05-06 Glenn Morris <rgm@gnu.org>
14913 * calendar/appt.el (appt-message-warning-time): Doc fix.
14914 (appt-warning-time-regexp): New option.
14915 (appt-make-list): Respect appt-message-warning-time.
14917 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14919 (diary-add-to-list): Strip comments from the displayed string.
14920 (diary-mode): Set comment-start and comment-end.
14922 * vc/diff-mode.el (smerge-refine-subst): Declare.
14923 (diff-refine-hunk): Don't require smerge-mode when compiling.
14925 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
14927 * simple.el (list-processes): Return nil as the docstring says.
14929 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14931 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14933 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14934 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14935 determining of binary transfer. (Bug#7383)
14937 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14939 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14940 Fix port computation bug. (Bug#8618)
14942 2011-05-05 Glenn Morris <rgm@gnu.org>
14944 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14946 * simple.el (shell-dynamic-complete-functions)
14947 (comint-dynamic-complete-functions): Declare.
14949 * net/network-stream.el (gnutls-negotiate):
14950 * simple.el (tabulated-list-print): Fix declarations.
14952 * progmodes/gud.el (syntax-symbol, syntax-point):
14953 Remove unnecessary and incorrect declarations.
14955 * emacs-lisp/check-declare.el (check-declare-scan):
14956 Handle byte-compile-initial-macro-environment in bytecomp.el
14958 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14960 Fix earlier half-done eieio-defmethod change (bug#8338).
14961 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14962 Streamline and change calling convention.
14963 (defmethod): Adjust accordingly and simplify.
14964 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14965 new eieio--defmethod.
14966 (slot-boundp): Minor CSE simplification.
14968 2011-05-05 Milan Zamazal <pdm@zamazal.org>
14970 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14971 (glasses-make-readable): Use glasses-separate-capital-groups.
14973 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
14975 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14976 (warning-series): Doc fix.
14977 (display-warning): Don't try to create the buffer if we just found it.
14979 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
14981 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14982 (autoload-find-generated-file): New function.
14983 (generate-file-autoloads): Bind generated-autoload-file to
14985 (update-file-autoloads, update-directory-autoloads):
14986 Use autoload-find-generated-file. If called interactively, prompt for
14987 output file (Bug#7989).
14988 (batch-update-autoloads): Doc fix.
14990 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
14992 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14994 2011-05-04 Glenn Morris <rgm@gnu.org>
14996 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14997 function, so it follows changes in calendar-date-style.
14998 (diary-fancy-date-matcher): New function.
14999 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15000 (diary-fancy-font-lock-fontify-region-function):
15001 Use diary-fancy-date-pattern as a function.
15003 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15004 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15006 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15008 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15009 instead of positional arguments. Allow :keylist and :crlfiles
15011 (open-gnutls-stream): Call it.
15013 * net/network-stream.el (network-stream-open-starttls): Adjust to
15014 call `gnutls-negotiate' with :process and :hostname arguments.
15016 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15018 * minibuffer.el (completion--message): New function.
15019 (completion--do-completion, minibuffer-complete)
15020 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15021 (completion--do-completion): Don't ignore completion-auto-help when in
15024 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15025 internal encoding (e.g. tibetan zero is not whitespace).
15026 (global-whitespace-mode): Prefer save-current-buffer.
15027 (whitespace-trailing-regexp): Remove useless save-match-data.
15028 (whitespace-empty-at-bob-regexp): Minor simplification.
15030 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
15032 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15034 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15036 * textmodes/ispell.el (ispell-add-per-file-word-list):
15037 Use `concat' to create string for insertion.
15039 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15041 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15042 Avoid open-line which runs post-self-insert-hook.
15043 (bibtex-fill-entry): Remove unused `end' var.
15045 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15047 * textmodes/ispell.el (ispell-add-per-file-word-list):
15048 Protect against `nil' value of `comment-start' (Bug#8579).
15050 2011-05-03 Leo Liu <sdl.web@gmail.com>
15052 * isearch.el (isearch-yank-pop): New command.
15053 (isearch-mode-map): Bind it to `M-y'.
15054 (isearch-forward): Mention it.
15056 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15058 * simple.el (minibuffer-complete-shell-command): Remove.
15059 (minibuffer-local-shell-command-map): Use completion-at-point.
15060 (read-shell-command): Setup completion vars here instead.
15061 (read-expression-map): Bind TAB to symbol completion.
15063 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15064 error directly rather via storing it into `results'.
15066 2011-05-02 Leo Liu <sdl.web@gmail.com>
15068 * vc/diff.el: Fix description.
15070 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15072 * server.el (server-eval-at): New function.
15074 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15076 * net/network-stream.el (open-network-stream): Take a :nowait
15077 parameter and pass it on to `make-network-process'.
15078 (network-stream-open-plain): Ditto.
15080 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15082 * faces.el (face-spec-set-match-display): Don't match toolkit
15083 options on terminal frames.
15085 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15087 * progmodes/pascal.el: Use lexical binding.
15088 (pascal-mode-map): Remove author preferences.
15090 * pcomplete.el (pcomplete-std-complete): Don't abuse
15091 completion-at-point.
15093 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
15095 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15096 removing code that has been dead since 1991 or so.
15098 * startup.el (command-line): When warning about "_emacs", use a
15099 delayed warning to allow the user to filter it out.
15101 2011-04-28 Deniz Dogan <deniz@dogan.se>
15103 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15104 user has not joined.
15106 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15108 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15109 aren't any completions at point.
15111 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
15113 * subr.el (display-delayed-warnings): New function.
15114 (delayed-warnings-hook): New variable.
15116 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15118 * minibuffer.el (completion-at-point, completion-help-at-point):
15119 Don't presume that a given completion-at-point-function will always
15120 use the same calling convention.
15122 * pcomplete.el (pcomplete-completions-at-point):
15123 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15124 pcomplete-seen is non-nil.
15125 (pcomplete-comint-setup): Also recognize the new comint/shell
15126 completion functions.
15127 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15128 pcomplete-seen is non-nil.
15130 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
15132 * calendar/icalendar.el (diary-lib): Add require statement.
15133 (icalendar--create-uid): Read out a uid from a text-property on
15134 the first character in the entry. This allows for code to add its
15135 own uid to the entry.
15136 (icalendar--convert-float-to-ical): Add export of
15137 `diary-float'-entries save for those with the optional DAY
15140 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15142 * subr.el (shell-quote-argument): Use alternate escaping strategy
15143 when we spot a variable reference in a string.
15145 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15147 * cus-start.el (all): Define customization for debug-on-event.
15149 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15151 * subr.el (shell-quote-argument): Escape correctly under Windows.
15153 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15155 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15157 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
15159 * net/tramp.el (tramp-process-actions): Add POS argument.
15160 Delete region between POS and (pos).
15162 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15163 Use `nil' position in `tramp-process-actions' call.
15164 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15166 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15167 position in `tramp-process-actions' call.
15169 * net/trampver.el: Update release number.
15171 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15173 * custom.el (defcustom): Obey lexical-binding.
15175 Fix octave-inf completion problems reported by Alexander Klimov.
15176 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15177 Inherit from octave-mode-syntax-table.
15178 (inferior-octave-mode): Set info-lookup-mode.
15179 (inferior-octave-completion-at-point): New function.
15180 (inferior-octave-complete): Use it and completion-in-region.
15181 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15182 comint-filename-completion.
15183 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15184 symbol elements which shouldn't be word elements.
15185 (octave-font-lock-keywords, octave-beginning-of-defun)
15186 (octave-function-header-regexp): Adjust regexps accordingly.
15187 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15189 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
15191 * net/gnutls.el (gnutls-errorp): Declare before first use.
15193 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15195 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15196 verify-error, and verify-hostname-error parameters. Check whether
15197 default trustfile exists before going to use it. Add missing
15198 argument to gnutls-message-maybe call. Return value.
15199 Reported by Claudio Bley <claudio.bley@gmail.com>.
15200 (open-gnutls-stream): Add usage example.
15202 * net/network-stream.el (network-stream-open-starttls): Give host
15203 parameter to `gnutls-negotiate'.
15204 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
15205 * subr.el (shell-quote-argument): Escape correctly under Windows.
15207 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
15209 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15210 Use correct match group (bug#8438).
15212 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
15214 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15215 (package-menu--generate): New arg specifying packages to show.
15216 (package-menu-refresh, package-menu-execute, list-packages):
15218 (package-show-package-list): New function, replacing deleted
15219 package--list-packages (renamed because it is non-internal).
15221 * finder.el (finder-list-matches): Use package-show-package-list
15222 instead of deleted package--list-packages.
15224 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15225 Based on a previous implementation by Juanma Barranquero (Bug#8366).
15226 (vc-annotate-mode-map): Bind it to RET.
15228 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15230 * progmodes/etags.el (next-file): Don't use set-buffer to change
15231 buffers (Bug#8478).
15233 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
15235 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15237 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15238 (apropos-accumulator): Doc fix.
15239 (apropos-function, apropos-macro, apropos-command)
15240 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15241 (apropos-plist): Add face property.
15242 (apropos-symbols-internal): Fix indentation.
15243 (apropos-print): Simplify help, and recognize apropos-multi-type.
15244 (apropos-print-doc): Use button-type-get to extract the button's
15245 face property. Fill docstring (Bug#8352).
15247 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
15249 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15251 * play/mpuz.el (mpuz-silent): Doc fix.
15252 (mpuz-mode-map): Use mapc.
15253 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15254 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15255 Fix typos in docstrings.
15257 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15258 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15260 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15262 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
15264 * minibuffer.el (completion--do-completion): Avoid the "Next char
15265 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15267 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15268 mouse-2 into unread-command-events, it is interpreted correctly.
15270 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
15271 (image-toggle-display): Doc fix.
15273 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
15275 * textmodes/page.el (what-page): Use line-number-at-pos to
15276 calculate line number (Bug#6825).
15278 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15280 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15281 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15282 Pass argument NO-DEFAULT to `find-tag-interactive'.
15284 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15286 Lexical-binding cleanup.
15288 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15289 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15290 * progmodes/ada-prj.el (ada-prj-initialize-values)
15291 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15292 (ada-prj-show-value):
15293 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15294 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15295 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15296 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15297 * progmodes/bug-reference.el (bug-reference-push-button):
15298 * progmodes/fortran.el (fortran-line-length):
15299 * progmodes/glasses.el (glasses-change):
15300 * progmodes/octave-mod.el (octave-fill-paragraph):
15301 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15302 (python-pdbtrack-grub-for-buffer, python-sentinel):
15303 * progmodes/sql.el (sql-save-connection):
15304 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15305 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15306 Mark unused parameters.
15308 * progmodes/compile.el (compilation--flush-directory-cache)
15309 (compilation--flush-parse, compile-internal): Mark unused parameters.
15310 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15311 (compilation-next-error-function): Remove unused variable `timestamp'.
15313 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15314 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15316 * progmodes/dcl-mode.el (dcl-end-of-command):
15317 Remove unused variable `start'.
15318 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15319 (dcl-option-value-basic, dcl-option-value-offset)
15320 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15321 Mark unused parameters.
15322 (dcl-save-local-variable): Remove unused variable `val'.
15325 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15326 Mark unused parameters.
15327 (delphi-ignore-changes): Move before first use.
15328 (delphi-charset-token-at): Remove unused variable `start'.
15329 (delphi-else-start): Remove unused variable `if-count'.
15330 (delphi-comment-block-start, delphi-comment-block-end):
15331 Remove unused variable `kind'.
15332 (delphi-indent-line): Remove unused variable `new-point'.
15334 * progmodes/ebrowse.el (ebrowse-files-list)
15335 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15336 Mark unused parameters. Don't quote `lambda'.
15337 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15338 Don't quote `lambda'.
15339 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15340 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15341 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15342 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15343 Use `ignore-errors'.
15344 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15345 (ebrowse-view/find-file-and-search-pattern)
15346 (ebrowse-view/find-member-declaration/definition):
15347 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15348 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15349 Rename parameter PREFIX-ARG to PREFIX.
15350 (ebrowse-tags-read-name): Remove unused variables `start' and
15352 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15355 * progmodes/etags.el (local-find-tag-hook): Declare.
15356 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15357 Mark unused parameters.
15359 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15360 (executable-interpret): Mark unused parameter.
15362 * progmodes/flymake.el (flymake-process-sentinel)
15363 (flymake-after-change-function)
15364 (flymake-create-temp-with-folder-structure)
15365 (flymake-get-include-dirs-dot): Mark unused parameters.
15366 (flymake-safe-delete-directory): Remove unused variable `err'.
15368 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15369 (speedbar-timer-fn, speedbar-line-text)
15370 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15371 (speedbar-center-buffer-smartly): Declare functions.
15372 (gdb-find-watch-expression): Remove unused variable `array'.
15373 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15374 (gdb-starting): Mark unused parameters.
15375 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15376 (gdb-table-string): Remove unused variable `res'.
15377 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15378 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15379 (gdb-display-buffer): Remove unused variable `cur-size'.
15381 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15382 allow lexical-binding compilation.
15383 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15384 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15385 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15386 Mark unused parameters.
15387 (gud-gdb-marker-filter): Remove unused variable `match'.
15388 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15389 lambda expressions and funcall them, instead of using `fset'.
15391 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15392 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15394 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15395 variable `header-beg'; use `let'.
15397 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15398 `restart', `last-sexp' and `at-do'.
15400 * progmodes/js.el (js--debug): Mark unused parameter.
15401 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15402 (js--splice-into-items): Remove unused variable `item'.
15403 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15405 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15406 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15407 (makefile-complete): Remove unused variable `try'.
15408 (makefile-fill-paragraph, makefile-match-function-end):
15409 Mark unused parameters.
15411 * progmodes/octave-inf.el (inferior-octave-complete):
15412 Remove unused variable `proc'.
15413 (inferior-octave-output-digest): Mark unused parameter.
15415 * progmodes/perl-mode.el (perl-calculate-indent):
15416 Remove unused variable `err'.
15418 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15419 (prolog-indent-line): Mark unused parameters.
15420 (prolog-indent-line): Remove unused variable `beg'.
15422 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15423 (reporter-dont-compact-list): Declare.
15425 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15426 Remove unused variable `char'.
15427 (sh-debug): Mark unused parameter.
15428 (sh-get-indent-info): Remove unused variable `start'.
15429 (sh-calculate-indent): Remove unused variable `var'.
15431 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15432 (simula-electric-keyword): Remove unused variable `null'.
15433 (simula-search-backward, simula-search-forward): Remove unused
15434 variables `begin' and `end'.
15436 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15437 Remove unused variable `pos'.
15438 (vera-electric-tab, vera-comment-uncomment-region):
15439 Mark unused parameters.
15440 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15442 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
15444 * emacs-lisp/package.el (package--builtins, package-alist)
15445 (package-load-descriptor, package-built-in-p, package-activate)
15446 (define-package, package-installed-p)
15447 (package-compute-transaction, package-buffer-info)
15448 (package--push): Doc fix. Distinguish more clearly between
15449 version strings and version lists.
15451 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
15453 Lexical-binding cleanup.
15455 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15456 (5x5-make-mutate-best):
15457 * play/fortune.el (fortune-in-buffer):
15458 * play/gomoku.el (gomoku-init-display):
15459 * play/solitaire.el (solitaire, solitaire-do-check):
15460 * play/tetris.el (tetris-default-update-speed-function):
15461 Mark unused parameters.
15463 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15464 (bubbles--shift): Remove unused variable `char-org'.
15465 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15466 (bubbles--show-images): Remove unused variable `char'.
15468 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15469 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15470 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15471 (decipher-analyze-buffer): Use ?\s.
15472 (decipher-make-checkpoint): Remove unused variable `mapping'.
15474 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15476 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15477 Remove unused variable `result'; use `let'.
15479 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15480 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15481 (gametree-children-shown-p, gametree-compute-reduced-score):
15482 Use `ignore-errors'.
15484 * play/handwrite.el (ps-lpr-switches): Declare.
15485 (handwrite): Remove unused variables `pmin' and `lastp'.
15487 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15489 * play/landmark.el (landmark-init-display)
15490 (landmark-update-naught-weights): Mark unused parameters.
15491 (landmark-y): Remove unused variable `noise'. Simplify.
15492 (landmark-human-plays): Remove unused variable `score'.
15494 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15495 (mpuz-try-proposal): Remove unused variable `game'.
15497 * play/zone.el (life-patterns): Declare.
15499 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
15501 * vc/vc.el (ediff-vc-internal): Declare function.
15503 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15505 * shell.el: Use lexical-binding and std completion UI.
15506 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15507 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15508 comint-preoutput-filter-functions rather than on
15509 comint-output-filter-functions.
15510 (shell-command-completion, shell--command-completion-data)
15511 (shell-filename-completion, shell-environment-variable-completion)
15512 (shell-c-a-p-replace-by-expanded-directory): New functions.
15513 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15514 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15515 (shell-dynamic-complete-environment-variable): Use them.
15516 (shell-dynamic-complete-as-environment-variable)
15517 (shell-dynamic-complete-as-command): Remove.
15518 (shell-match-partial-variable): Match past point.
15519 * comint.el: Clean up use of completion-at-point-functions.
15520 (comint-completion-at-point): New function.
15521 (comint-mode): Use it completion-at-point-functions.
15522 (comint-dynamic-complete): Make it obsolete.
15523 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15524 (comint-c-a-p-replace-by-expanded-history): New function.
15525 (comint-dynamic-complete-functions)
15526 (comint-replace-by-expanded-history): Use it.
15527 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15528 termination strings. Try harder to avoid second try-completion.
15529 (completion-in-region-mode-map): Disable bindings that don't work yet.
15531 * comint.el: Use lexical-binding. Require CL.
15532 (comint-dynamic-complete-functions): Use comint-filename-completion.
15533 (comint-completion-addsuffix): Tweak custom type.
15534 (comint-filename-completion, comint--common-suffix)
15535 (comint--common-quoted-suffix, comint--table-subvert)
15536 (comint--complete-file-name-data): New functions.
15537 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15538 (comint-dynamic-list-filename-completions): Use them.
15539 (comint-dynamic-simple-complete): Make obsolete.
15541 * minibuffer.el (completion-in-region-mode):
15542 Keep completion-in-region-mode--predicate global.
15543 (completion-in-region--postch):
15544 Assume completion-in-region-mode--predicate is not null.
15546 * progmodes/flymake.el (flymake-start-syntax-check-process):
15547 Obey `dir'. Simplify.
15549 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15550 we're in VC after all.
15552 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15554 * vc/vc.el (vc-diff-build-argument-list-internal)
15555 (vc-version-ediff, vc-ediff): New commands.
15556 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15558 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15560 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15563 * obsolete/erc-hecomplete.el: Make obsolete.
15564 * obsolete/: Standardize obsolescence info in the header.
15566 2011-04-20 Glenn Morris <rgm@gnu.org>
15568 * calendar/solar.el (solar-horizontal-coordinates):
15569 Use the longitude argument rather than `calendar-longitude'.
15570 (solar-date-next-longitude): Remove unused locals.
15572 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15574 * whitespace.el: New version 13.2.1.
15576 2011-04-20 felix <EmacsWiki> (tiny change)
15578 * whitespace.el (global-whitespace-mode): Keep highlight when
15579 switching between major modes on a file.
15581 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15583 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15584 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15585 multi-line comments as well.
15587 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
15589 Lexical-binding cleanup.
15591 * arc-mode.el (archive-mode-revert):
15592 * cmuscheme.el (scheme-interactively-start-process):
15593 * custom.el (custom-initialize-delay):
15594 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15595 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15596 * emacs-lock.el (emacs-lock-clear-sentinel):
15597 * ezimage.el (defezimage):
15598 * follow.el (follow-avoid-tail-recenter):
15599 * fringe.el (set-fringe-mode-1):
15600 * generic-x.el (bat-generic-mode-compile):
15601 * help-mode.el (help-info-variable, help-do-xref)
15602 (help-mode-revert-buffer):
15603 * help.el (view-emacs-todo):
15604 * iswitchb.el (iswitchb-completion-help):
15605 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15606 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15607 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15608 * locate.el (locate-update):
15609 * longlines.el (longlines-encode-region)
15610 (longlines-after-change-function):
15611 * outline.el (outline-isearch-open-invisible):
15612 * ps-def.el (declare-function, charset-dimension, char-width)
15614 * ps-mule.el (ps-mule-plot-string):
15615 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15616 (recentf-edit-list-select, recentf-edit-list-validate)
15617 (recentf-open-files-action):
15618 * rect.el (delete-whitespace-rectangle-line)
15619 (rectangle-number-line-callback):
15620 * register.el (window-configuration-to-register)
15621 (frame-configuration-to-register):
15622 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15623 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15624 (xselect-convert-to-targets, xselect-convert-to-delete)
15625 (xselect-convert-to-filename, xselect-convert-to-charpos)
15626 (xselect-convert-to-lineno, xselect-convert-to-colno)
15627 (xselect-convert-to-os, xselect-convert-to-host)
15628 (xselect-convert-to-user, xselect-convert-to-class)
15629 (xselect-convert-to-name, xselect-convert-to-integer)
15630 (xselect-convert-to-atom, xselect-convert-to-identity):
15631 * subr.el (declare, ignore, process-kill-without-query)
15632 (text-clone-maintain):
15633 * terminal.el (te-get-char, te-tic-sentinel):
15634 * tool-bar.el (tool-bar-make-keymap):
15635 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15636 * type-break.el (type-break-mode, type-break-noninteractive-query):
15637 * view.el (View-back-to-mark):
15638 * wid-browse.el (widget-browse-action, widget-browse-widget)
15639 (widget-browse-widgets, widget-browse-sexp):
15640 * widget.el (define-widget-keywords):
15641 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15642 Mark unused parameters.
15644 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15645 (align-areas): Remove unused variable `look'.
15646 (align-region): Remove unused variables `real-end' and `pos-list'.
15648 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15650 * bindings.el (mode-line-modified, mode-line-remote):
15651 Mark unused parameters.
15652 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15654 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15655 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15657 * comint.el (comint-history-isearch-pop-state)
15658 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15659 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15660 (comint-substitute-in-file-name): Doc fix.
15662 * completion.el (cmpl-statistics-block): Mark unused parameter.
15663 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15664 (save-completions-to-file, load-completions-from-file):
15665 Remove unused local variable `e'.
15667 * composite.el (compose-chars): Remove unused variable `len'.
15668 (lgstring-insert-glyph): Remove unused variable `g'.
15669 (compose-glyph-string): Remove unused variables `ascent',
15670 `descent', `lbearing' and `rbearing'.
15671 (compose-glyph-string-relative): Remove unused variables
15672 `lbearing', `rbearing' and `wadjust'.
15673 (compose-gstring-for-graphic): Remove unused variables `header',
15674 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15675 (compose-gstring-for-terminal): Remove unused variables `header'
15676 and `nchars'. Use `let', not `let*'.
15678 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15679 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15680 (Custom-buffer-done, custom-buffer-create-internal)
15681 (custom-browse-visibility-action, custom-browse-group-tag-action)
15682 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15683 (widget-magic-mouse-down-action, custom-toggle-parent)
15684 (custom-add-parent-links, custom-toggle-hide-variable)
15685 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15686 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15687 (custom-face-menu-create, custom-variable-menu-create, get)
15688 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15689 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15690 (customize-apropos): Remove unused variable `tests'.
15691 (custom-group-value-create): Remove unused variable `hidden-p'.
15692 (sort-fold-case): Declare.
15694 * cus-theme.el (custom-reset-standard-faces-list)
15695 (custom-reset-standard-variables-list): Declare.
15696 (customize-create-theme, custom-theme-revert, custom-theme-write)
15697 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15698 Mark unused parameters.
15700 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15702 * delim-col.el (delimit-columns-max): Move defvar before first use.
15704 * descr-text.el (describe-char-categories): Don't quote `lambda'.
15705 (describe-char): Don't quote `lambda'. Mark unused parameter.
15707 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15708 (auto-insert): Declare.
15709 (desktop-restore-file-buffer): Rename desktop-* parameters;
15711 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15712 (desktop-buffer): Rename desktop-* parameters.
15714 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15715 (dframe-reposition-frame-xemacs, dframe-help-echo)
15716 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15717 Mark unused parameters.
15719 * dired-aux.el (backup-extract-version-start, overwrite-query)
15720 (overwrite-backup-query, rename-regexp-query)
15721 (rename-non-directory-query): Declare.
15722 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15723 (dired-add-entry): Remove unused variable `orig-file-name'.
15724 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15725 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15726 `dired-copy-preserve-time' directly.
15727 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15728 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15730 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15731 (dired-virtual-revert, dired-make-relative-symlink):
15732 Mark unused parameters.
15733 (manual-program): Declare.
15734 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15735 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15736 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15738 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15740 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15742 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15745 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15747 * electric.el (Electric-command-loop): Rename parameter
15748 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15750 * expand.el (expand-in-literal): Remove unused variable `here'.
15752 * facemenu.el (facemenu-add-new-color):
15753 Remove unused variable `docstring'.
15755 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15756 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15757 (face-attr-construct): Mark unused parameter. Doc fix.
15758 (read-color): Remove unused variable `hex-string'.
15760 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15761 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15762 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15763 (display-buffer-other-frame): Remove unused variable `old-window'.
15764 (kill-buffer-hook): Declare.
15765 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15766 Mark unused parameters.
15767 (after-find-file): Pass 1 to `auto-save-mode', not t.
15769 * files-x.el (auto-insert): Declare.
15770 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15772 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
15773 variable `buf'. Mark unused parameter.
15774 (find-lisp-insert-directory): Mark unused parameter.
15776 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15777 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15778 (format-common-tail): Remove, unused.
15779 (format-deannotate-region): Remove unused variable `loc'.
15780 (format-annotate-region): Remove unused variable `p'.
15781 (format-annotate-single-property-change): Remove unused variables
15782 `default' and `tail'.
15784 * forms.el (read-file-filter): Declare.
15785 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15787 * frame.el (frame-creation-function-alist): Mark unused parameter.
15788 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15790 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15791 Remove unused parameters.
15792 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15793 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15795 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15796 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15797 (hfy-prepare-tag-map): Mark unused parameters.
15798 (htmlfontify-buffer): Use `called-interactively-p'.
15800 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15801 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15802 (ibuffer-do-occur): Mark unused parameters.
15803 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15804 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15806 * ibuffer.el: Don't quote `lambda'.
15807 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15808 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15809 Mark unused parameters.
15811 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15812 (ido-completing-read): Mark unused parameters.
15813 (ido-copy-current-word): Mark unused parameters;
15814 remove unused variable `name'.
15815 (ido-sort-merged-list): Remove unused parameter `dirs'.
15817 * ielm.el (ielm-input-sender): Mark unused parameter.
15818 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15819 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15820 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15821 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15822 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15824 * image-dired.el (image-dired-display-thumbs): Remove unused
15825 variables `curr-file' and `count'.
15826 (image-dired-remove-tag): Remove unused variable `start'.
15827 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15828 variable `curr-file'
15829 (image-dired-rotate-original): Remove unused variable `temp-file'.
15830 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15831 Remove unused variable `file'.
15832 (image-dired-gallery-generate): Remove unused variable `curr'.
15833 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15835 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15837 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15839 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15841 * isearch.el (minibuffer-history-symbol): Declare.
15842 (isearch-edit-string): Remove unused variable `err'.
15843 (isearch-message-prefix, isearch-message-suffix):
15844 Mark unused parameters.
15846 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15848 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15850 * makesum.el (double-column): Remove unused variable `cnt'.
15852 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15853 (ido-ignore-item-temp-list): Declare.
15855 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15856 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15857 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15858 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15861 * mouse-sel.el (mouse-extend-internal):
15862 Remove unused variable `orig-window-frame'.
15864 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15865 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15866 Move declarations before first use.
15867 (pcomplete-opt): Mark unused parameters; doc fix.
15869 * proced.el (proced-revert): Mark unused parameter.
15870 (proced-send-signal): Remove unused variable `err'.
15872 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15873 Rename parameter PREFIX-ARG to ARG.
15874 (ps-basic-plot-string, ps-basic-plot-whitespace):
15875 Mark unused parameters.
15877 * replace.el (replace-count): Define.
15878 (occur-revert-function): Mark unused parameters.
15879 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15880 (isearch-case-fold-search, isearch-string): Declare.
15881 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15882 bind `case-fold-search'. Remove unused variables `beg' and `end',
15884 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15885 COUNT and bind `replace-count'.
15886 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15889 * savehist.el (print-readably, print-string-length): Declare.
15891 * shadowfile.el (shadow-expand-cluster-in-file-name):
15892 Remove unused variable `cluster'.
15893 (shadow-copy-file): Remove unused variable `i'.
15894 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15895 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15896 (shadow-define-literal-group, shadow-define-regexp-group)
15897 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15899 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15900 (shell): Use `called-interactively-p'.
15901 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15903 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15904 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15905 (delete-backward-char): Remove unused variable `ocol'.
15906 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15907 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15908 (event-apply-hyper-modifier, event-apply-shift-modifier)
15909 (event-apply-control-modifier, event-apply-meta-modifier):
15910 Mark unused parameters.
15911 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15912 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15914 * speedbar.el (speedbar-ignored-directory-expressions)
15915 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15916 (speedbar-find-file, speedbar-dir-follow)
15917 (speedbar-directory-buttons-follow, speedbar-tag-find)
15918 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15919 (speedbar-buffers-line-directory, speedbar-buffer-click):
15920 Mark unused parameters.
15921 (speedbar-tag-file): Remove unused variable `mode'.
15922 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15924 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15926 * talk.el (talk): Remove unused variable `display'.
15928 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15929 (tar-write-region-annotate): Mark unused parameter.
15931 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15932 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15933 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15934 warning by another.
15936 * time-stamp.el (time-stamp-string-preprocess):
15937 Remove unused variable `require-padding'.
15939 * tree-widget.el (widget-glyph-enable): Declare.
15940 (tree-widget-action): Mark unused parameter.
15942 * w32-fns.el (x-get-selection): Mark unused parameter.
15943 (autoload-make-program, generated-autoload-file): Declare.
15945 * wdired.el (wdired-revert): Mark unused parameters.
15946 (wdired-xcase-word): Remove unused variable `err'.
15948 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15949 (whitespace-help-scroll): Remove unused variable `data-help'.
15951 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15952 (widget-image-insert, widget-after-change, default)
15953 (widget-default-format-handler, widget-default-notify)
15954 (widget-default-prompt-value, widget-info-link-action)
15955 (widget-url-link-action, widget-function-link-action)
15956 (widget-variable-link-action, widget-file-link-action)
15957 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15958 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15959 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15960 (widget-insert-button-action, widget-delete-button-action, visibility)
15961 (widget-documentation-link-action, widget-documentation-string-action)
15962 (widget-const-prompt-value, widget-regexp-match, symbol)
15963 (widget-coding-system-prompt-value)
15964 (widget-key-sequence-value-to-external, sexp)
15965 (widget-sexp-value-to-internal, character, vector, cons)
15966 (widget-choice-prompt-value, widget-boolean-prompt-value)
15967 (widget-color--choose-action): Mark unused parameters.
15968 (widget-item-match-inline, widget-choice-match-inline)
15969 (widget-checklist-match, widget-checklist-match-inline)
15970 (widget-group-match): Rename parameter VALUES to VALS.
15971 (widget-field-value-set): Remove unused variable `size'.
15972 (widget-color-action): Remove unused variables `value' and `start'.
15974 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
15975 variable `dir'. Doc fix.
15976 (windmove-find-other-window): Don't pass it.
15978 * window.el (count-windows): Mark unused parameter.
15979 (bw-adjust-window): Remove unused variable `err'.
15981 * woman.el (woman-file-name): Remove unused variable `default'.
15982 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15983 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15984 (global-font-lock-mode): Declare.
15985 (woman-decode-region): Mark unused parameter.
15986 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15988 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15989 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15990 (x-dnd-handle-moz-url): Remove unused variable `title'.
15991 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15993 * xml.el (xml-parse-tag, xml-parse-attlist):
15994 Remove unused variable `pos'.
15996 2011-04-19 Glenn Morris <rgm@gnu.org>
15998 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15999 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16000 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16001 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16002 * calendar/cal-html.el (cal-html-insert-minical):
16003 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16004 (calendar-mark-date-pattern):
16005 Prefix "unused" locals.
16007 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16008 optional argument `style'.
16010 * calendar/appt.el (appt-make-list):
16011 * calendar/cal-china.el (calendar-chinese-date-string):
16012 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16013 (diary-hebrew-yahrzeit):
16014 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16015 * calendar/calendar.el (calendar-generate-window):
16016 * calendar/time-date.el (time-to-days):
16017 Remove unused local variables.
16019 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
16021 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16022 glyphless-char-display table.
16023 (tabulated-list-glyphless-char-display): New var.
16025 2011-04-18 Sam Steingold <sds@gnu.org>
16027 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16028 to acknowledgments.
16030 2011-04-17 Glenn Morris <rgm@gnu.org>
16032 * calendar/diary-lib.el (diary-sexp-entry):
16033 * calendar/holidays.el (holiday-sexp):
16034 Set debug-on-error rather than the removed stack-trace-on-error.
16036 2011-04-16 Glenn Morris <rgm@gnu.org>
16038 * progmodes/f90.el: Use lexical-binding.
16039 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16041 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16043 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16044 (mail-mode): Setup mailalias completion here instead.
16045 * mail/mailalias.el: Use lexical-binding.
16046 (pattern, mailalias-done): Declare dynamic.
16047 (mail-completion-at-point-function): New function, from mail-complete.
16048 (mail-complete): Use it.
16049 (mail-completion-expand): New function.
16050 (mail-get-names): Use it.
16051 (mail-directory, mail-directory-process, mail-directory-stream):
16052 Don't use `pattern' for lexically bound arg.
16054 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16056 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16057 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16058 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16060 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16061 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16062 (byte-interactive-p): Define them again, for use when inlining
16065 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
16067 * loadup.el: Use `string-to-number', not `string-to-int'.
16069 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16071 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16072 gud-gdb-complete-command.
16073 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16074 (gud-gdb-completion-at-point): New function.
16075 (gud-gdb-completions): Remove.
16077 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
16079 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16080 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16081 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16082 whether `executable-find' is bound.
16084 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16086 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16088 * minibuffer.el (completion-in-region-mode-predicate)
16089 (completion-in-region-mode--predicate): New vars.
16090 (completion-in-region, completion-in-region--postch)
16091 (completion-in-region-mode): Use them.
16092 (completion--capf-wrapper): Also return the hook function.
16093 (completion-at-point, completion-help-at-point):
16094 Adjust and provide a predicate.
16096 Preserve arg names for advice of subr and lexical functions (bug#8457).
16097 * help-fns.el (help-function-arglist): Consolidate the subr and
16098 new-byte-code cases. Add argument `preserve-names' to extract names
16099 from the docstring when needed.
16100 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16101 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16102 (ad-arglist): Use help-function-arglist's new arg.
16103 (ad-definition-type): Use cond.
16105 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
16107 * autorevert.el (auto-revert-handler):
16108 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16109 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16110 Don't quote lambda.
16112 * image-mode.el (image-transform-set-scale):
16113 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16115 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16117 * net/network-stream.el (network-stream-open-starttls): Only do
16118 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
16119 Upgrades via gnutls-cli are too slow to be done opportunistically.
16121 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
16123 * dframe.el (dframe-current-frame): Remove spurious quote.
16125 2011-04-12 Glenn Morris <rgm@gnu.org>
16127 * calendar/cal-tex.el (cal-tex-end-document):
16128 Try to automatically use latin1 input if needed.
16130 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16131 Don't try to cons a mark onto an empty element.
16133 2011-04-11 Leo Liu <sdl.web@gmail.com>
16135 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16137 (ido-kill-buffer-at-head): Support killing virtual buffers.
16139 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
16141 * minibuffer.el (completion-show-inline-help): New var.
16142 (completion--do-completion, minibuffer-complete)
16143 (minibuffer-force-complete, minibuffer-complete-word):
16144 Inhibit minibuffer messages if completion-show-inline-help is nil.
16146 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16147 to avoid interference from inline help (Bug#5849).
16149 2011-04-10 Leo Liu <sdl.web@gmail.com>
16151 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16154 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
16156 * image-mode.el (image-toggle-display-image): Signal an error if
16158 (image-transform-mode, image-transform-resize)
16159 (image-transform-set-rotation): Doc fix.
16160 (image-transform-set-resize): Delete.
16161 (image-transform-set-scale, image-transform-fit-to-height)
16162 (image-transform-fit-to-width): Handle image-toggle-display-image
16163 and image-transform-resize directly.
16165 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
16167 * doc-view.el (doc-view-fit-width-to-window)
16168 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16169 New functions for fitting the shown image to the Emacs window size.
16170 (doc-view-mode-map): Add bindings for the new functions.
16172 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
16174 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
16175 Fix typo in docstring.
16177 2011-04-08 Eli Zaretskii <eliz@gnu.org>
16179 * files.el (file-size-human-readable): Produce one digit after
16180 decimal, like "ls -lh" does.
16182 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16183 the file size representation.
16185 * simple.el (list-processes): If async subprocesses are not
16186 available, error out with a clear error message.
16188 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
16190 * help.el (help-form-show): New function, to be called from C.
16191 Put help-form output in a buffer named differently than *Help*.
16193 2011-04-08 Eli Zaretskii <eliz@gnu.org>
16195 * files.el (file-size-human-readable): New function.
16197 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16198 computing the representation inline. Don't require `cl'.
16200 2011-04-08 Glenn Morris <rgm@gnu.org>
16202 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16204 * net/browse-url.el (browse-url-firefox):
16205 Test system-type, not system-configuration.
16207 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16208 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16209 Use log-edit-empty-buffer-p. (Bug#7598)
16211 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16212 (rlogin-mode-map): Initialize in the defvar.
16213 (rlogin): Use ignore-errors.
16215 * replace.el (occur-mode-map): Some fixes for menu items.
16217 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16219 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16221 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
16223 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16224 issuing unused warnings.
16226 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16229 * simple.el: Lisp reimplement of list-processes. Based on an
16230 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16231 (process-menu-mode): New major mode.
16232 (list-processes--refresh, list-processes):
16233 (process-menu-visit-buffer): New functions.
16235 * files.el (save-buffers-kill-emacs): Don't assume any return
16236 value of list-processes, which is undocumented anyway.
16238 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
16240 * emacs-lisp/tabulated-list.el: New file.
16242 * emacs-lisp/package.el: Use Tabulated List mode.
16243 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16244 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16245 table format using Tabulated List mode variables.
16246 (package--push): New macro, replacing package-list-maybe-add.
16247 (package-menu--generate): Use package--push. Renamed from
16248 package--generate-package-list.
16249 (package-menu-refresh, list-packages): Use it.
16250 (package-menu--print-info): Rename from package-print-package.
16251 Return insertion data instead of inserting it directly.
16252 (package-menu-describe-package, package-menu-execute):
16253 Use tabulated-list-get-id.
16254 (package-menu-mark-delete, package-menu-mark-install)
16255 (package-menu-mark-unmark, package-menu-backup-unmark)
16256 (package-menu-mark-obsolete-for-deletion):
16257 Use tabulated-list-put-tag.
16258 (package--list-packages, package-menu-revert)
16259 (package-menu-get-package, package-menu-get-version)
16260 (package-menu-sort-by-column): Functions deleted.
16261 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16262 (package-menu--status-predicate, package-menu--version-predicate)
16263 (package-menu--name-predicate)
16264 (package-menu--description-predicate): Handle arguments in the
16265 Tabulated List format.
16266 (package-list-packages-no-fetch): Call list-packages.
16268 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
16270 * files.el (after-find-file-from-revert-buffer): Remove variable.
16271 (after-find-file): Don't bind it.
16272 (revert-buffer-in-progress-p): New variable.
16273 (revert-buffer): Bind it.
16274 Pass nil for `after-find-file-from-revert-buffer'.
16276 * saveplace.el (save-place-find-file-hook): Use new variable
16277 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16279 2011-04-06 Glenn Morris <rgm@gnu.org>
16281 * Makefile.in (AUTOGEN_VCS): New variable.
16282 (autoloads): Use $AUTOGEN_VCS.
16284 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16285 * calendar/calendar.el (calendar-mode-map):
16286 Check for toolkit scroll bars. (Bug#8305)
16288 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16290 * minibuffer.el (completion-in-region--postch)
16291 (completion-in-region-mode): Remove unnecessary messages.
16293 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
16295 * font-lock.el (font-lock-refresh-defaults):
16296 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16297 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16299 * info.el (Info-directory-list, Info-read-node-name-2)
16300 (Info-split-parameter-string): Doc fixes.
16301 (Info-virtual-nodes): Reflow docstring.
16302 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16303 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16304 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16305 Fix typos in docstrings.
16306 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16307 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16308 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16309 (Info-restore-desktop-buffer): Mark unused parameters.
16310 (Info-directory-find-file, Info-directory-find-node)
16311 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16312 (Info-virtual-index-find-node, Info-apropos-find-file)
16313 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
16314 Mark unused parameters; fix typos in docstrings.
16315 (Info-virtual-index): Remove unused local variable `nodename'.
16317 2011-04-05 Deniz Dogan <deniz@dogan.se>
16319 * net/rcirc.el: Update my e-mail address.
16320 (rcirc-mode-map): Remove M-o binding.
16322 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16324 * startup.el (command-line): Save the cursor's theme-face
16325 directly, instead of using face-override-spec.
16327 * custom.el (load-theme): Minor optimization in assigning faces.
16329 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16331 * help-fns.el (describe-variable): Complete all variables having
16332 documentation, including keywords.
16333 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16335 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16337 Convert to lexical-binding.
16339 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16340 (bs--get-marked-string, bs--get-modified-string)
16341 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16342 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16343 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16345 * ehelp.el (electric-help-execute-extended)
16346 (electric-help-ctrl-x-prefix):
16347 * hexl.el (hexl-revert-buffer-function):
16348 * linum.el (linum-after-change, linum-after-scroll):
16349 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16351 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16353 2011-04-04 Daiki Ueno <ueno@unixuser.org>
16360 * epg.el: Use lexical binding.
16362 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
16364 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16366 * textmodes/flyspell.el (flyspell-word): Recognize default
16367 dictionary case for flyspell-mark-duplications-exceptions.
16368 Use regexp matching for languages.
16369 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16370 default dictionary (Bug#7926).
16372 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
16374 * emacs-lisp/package.el (package--with-work-buffer):
16375 Recognize https URLs.
16377 * net/network-stream.el: Move from gnus/proto-stream.el.
16378 Change prefix to network-stream throughout.
16379 (open-protocol-stream): Merge into open-network-stream, leaving
16380 open-protocol-stream as an alias. Handle nil BUFFER args.
16382 * subr.el (open-network-stream): Move to net/network-stream.el.
16384 2011-04-02 Glenn Morris <rgm@gnu.org>
16386 * find-dired.el (find-exec-terminator): New option.
16387 (find-ls-option): Test for -ls support.
16388 (find-ls-subdir-switches): Test for -b in find-ls-option.
16389 (find-dired, find-grep-dired): Doc fixes.
16390 (find-dired): Use find-exec-terminator.
16392 * find-dired.el (find-ls-option, find-ls-subdir-switches)
16393 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16394 (find-name-arg): Remove purecopy.
16396 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16397 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16398 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16399 accordingly. Don't add the null-device if not needed.
16401 * files.el (save-some-buffers): Doc fix.
16403 2011-04-02 Eli Zaretskii <eliz@gnu.org>
16405 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16407 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
16409 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16410 Use `dolist' rather than `mapcar'.
16412 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16414 Add lexical binding.
16416 * subr.el (apply-partially): Use new closures rather than CL.
16417 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16418 (dolist, dotimes): Use slightly different expansion for lexical code.
16419 (functionp): Move to C.
16420 (letrec): New macro.
16421 (with-wrapper-hook): Use it and apply-partially instead of CL.
16422 (eval-after-load): Preserve lexical-binding.
16423 (save-window-excursion, with-output-to-temp-buffer): Turn them
16426 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16428 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16430 (help-add-fundoc-usage): Don't add `Not documented'.
16431 (help-function-arglist): Handle closures, subroutines, and new
16432 byte-code-functions.
16433 (help-make-usage): Remove leading underscores.
16434 (describe-function-1): Handle closures.
16435 (describe-variable): Use special-variable-p for completion.
16437 * files.el (lexical-binding): Declare safe.
16439 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16440 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16441 (pcase): Add `let' pattern.
16442 Change memoization so it actually works.
16443 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16444 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16447 * emacs-lisp/macroexp.el: Use lexical binding.
16448 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16449 Don't convert ' to #' without checking that it's indeed quoting
16452 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
16453 Use eval-sexp-add-defvars.
16454 (eval-sexp-add-defvars): New fun.
16456 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16458 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16460 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16461 than the internal `byte-compile-lambda'.
16462 (defmethod): Don't hide code under quotes.
16463 (eieio-defmethod): New `code' argument.
16465 * emacs-lisp/eieio-comp.el: Remove.
16467 * emacs-lisp/edebug.el (edebug-eval-defun)
16468 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16469 (edebug-toggle): Avoid `eval'.
16471 * emacs-lisp/disass.el (disassemble-internal): Handle new
16473 (disassemble-1): Handle new byte codes.
16475 * emacs-lisp/cl.el (pushnew): Silence warning.
16477 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16478 (cl-byte-compile-throw): Remove.
16479 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16481 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16484 * emacs-lisp/cconv.el: New file.
16486 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16487 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16488 (byte-compile-initial-macro-environment):
16489 Handle declare-function here.
16490 (byte-compile--lexical-environment): New var.
16491 (byte-stack-ref, byte-stack-set, byte-discardN)
16492 (byte-discardN-preserve-tos): New lap codes.
16493 (byte-interactive-p): Don't use any more.
16494 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16496 (byte-compile-lapcode): Use them and handle new lap codes.
16497 (byte-compile-obsolete): Remove.
16498 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16499 (byte-compile-arglist-warn): Check late def of inlinable funs.
16500 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16501 since they should have been expanded by now.
16502 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16503 (byte-compile-from-buffer): Remove unused second arg.
16504 (byte-compile-preprocess): New function.
16505 (byte-compile-toplevel-file-form): New function to distinguish
16506 file-form calls from outside from file-form calls from hunk-handlers.
16507 (byte-compile-file-form): Simplify.
16508 (byte-compile-file-form-defsubst): Remove.
16509 (byte-compile-file-form-defmumble): Simplify now that
16510 byte-compile-lambda always returns a byte-code-function.
16511 (byte-compile): Preprocess.
16512 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16513 Remove, not used any more.
16514 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16515 (byte-compile-make-args-desc): New funs.
16516 (byte-compile-lambda): Handle lexical functions. Always return
16517 a byte-code-function.
16518 (byte-compile-reserved-constants): New var, to make up room for
16519 closed-over variables.
16520 (byte-compile-constants-vector): Obey it.
16521 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16522 (byte-compile-macroexpand-declare-function): New function.
16523 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16524 byte-code-functions.
16525 (byte-compile-form): Check obsolescence here.
16526 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16527 (byte-compile-variable-ref): Remove.
16528 (byte-compile-dynamic-variable-op): New fun.
16529 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16530 (byte-compile-variable-set): New funs.
16531 (byte-compile-discard): Add 2 args.
16532 (byte-compile-stack-ref, byte-compile-stack-set)
16533 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16534 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16535 macroexpand-all instead.
16536 (byte-compile-quote-form): Remove.
16537 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16538 (byte-compile-bind, byte-compile-unbind): New funs.
16539 (byte-compile-let): Handle let* and lexical binding.
16540 (byte-compile-let*): Remove.
16541 (byte-compile-catch, byte-compile-unwind-protect)
16542 (byte-compile-track-mouse, byte-compile-condition-case):
16543 Handle a new :fun-body form, used for lexical scoping.
16544 (byte-compile-save-window-excursion)
16545 (byte-compile-with-output-to-temp-buffer): Remove.
16546 (byte-compile-defun): Simplify.
16547 (byte-compile-stack-adjustment): New fun.
16548 (byte-compile-out): Use it.
16549 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16551 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16554 * emacs-lisp/byte-opt.el: Use lexical binding.
16555 (byte-inline-lapcode): Remove (to bytecomp).
16556 (byte-compile-inline-expand): Pay attention to inlining to/from
16557 lexically bound code.
16558 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16560 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16561 any more and don't call compiler-macros.
16562 (byte-compile-splice-in-already-compiled-code): Remove.
16563 (byte-code): Don't inline any more.
16564 (disassemble-offset): Receive `bytes' as argument rather than via
16566 (byte-compile-tag-number): Declare before first use.
16567 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16568 `return' even if make-spliceable.
16569 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16570 obsolete interactive-p.
16571 (byte-optimize-lapcode): Optimize new lap-codes.
16572 Don't trip up on new form of `byte-constant' lap code.
16574 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16576 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16578 * custom.el (custom-initialize-default, custom-declare-variable):
16581 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16583 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16584 (COMPILE_FIRST): Add macroexp and cconv.
16585 * makefile.w32-in: Mirror changes in Makefile.in.
16587 * vc/cvs-status.el:
16591 * vc/smerge-mode.el:
16592 * textmodes/bibtex-style.el:
16593 * textmodes/css-mode.el:
16601 * emacs-lisp/smie.el:
16604 * abbrev.el: Use lexical binding.
16606 2011-04-01 Eli Zaretskii <eliz@gnu.org>
16608 * info.el (info-display-manual): New function.
16610 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16612 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16614 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16616 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
16617 an entry for that server in rcirc-authinfo. (Bug#8385)
16619 2011-03-31 Glenn Morris <rgm@gnu.org>
16621 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16623 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16625 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16627 * progmodes/python.el (python-default-interpreter)
16628 (python-python-command-args, python-jython-command-args)
16629 (python-which-shell, python-which-args, python-which-bufname)
16630 (python-file-queue, python-comint-output-filter-function)
16631 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16632 variables and functions.
16634 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16636 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16637 (completion-in-region-mode): New minor mode.
16638 (completion-in-region): Use it.
16639 (completion-in-region--data, completion-in-region-mode-map): New vars.
16640 (completion-in-region--postch): New function.
16641 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16643 (completion--capf-wrapper): New function.
16644 (completion-at-point): Use it to track well-behavedness of
16646 (completion-help-at-point): New command.
16648 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16650 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16651 syntax class to search for whitespace on a single line
16652 (Message-ID: <4D938140.4030905@redhat.com>).
16654 2011-03-30 Leo Liu <sdl.web@gmail.com>
16656 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16658 (edit-abbrevs-map): Bind them here.
16659 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16661 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16663 * allout.el (allout-hide-by-annotation, allout-flag-region):
16664 Reduce possibility of overlay leakage by making them volatile.
16666 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16667 hash is not shared between buffers. Mode initialization is
16668 responsible for giving it a useful starting value.
16669 (allout-item-span): Reduce possibility of overlay leakage by
16670 making them volatile.
16671 (allout-widgets-count-buttons-in-region): Add diagnostic function
16672 for tracking down button overlay leaks.
16674 2011-03-29 Leo Liu <sdl.web@gmail.com>
16676 * ido.el (ido-read-internal): Use the default history var
16677 minibuffer-history if no HISTORY is specified.
16679 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16681 * net/imap.el (imap-shell-open, imap-process-connection-type):
16682 Use imap-process-connection-type for 'shell' streams as well as
16683 Kerberos, SSL, other subprocesses.
16685 2011-03-28 Leo Liu <sdl.web@gmail.com>
16687 * abbrev.el (abbrev-table-empty-p): New function.
16688 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16689 nonempty ones. (Bug#5937)
16691 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16693 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16695 2011-03-27 Leo Liu <sdl.web@gmail.com>
16697 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16698 for foreground and background colors.
16699 (ansi-color-make-color-map): Adapt.
16701 2011-03-25 Leo Liu <sdl.web@gmail.com>
16703 * midnight.el (midnight-time-float): Remove. Note it calculates
16704 the microsecond component incorrectly and seconds-to-time does the
16706 Remove redundant (require 'timer).
16708 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16709 (ido-completions): Remove unused arguments. (Bug#8329)
16711 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16713 * minibuffer.el (completion--flush-all-sorted-completions):
16714 Remove itself from hook.
16715 (completion-at-point): Let the functions perform the completion
16716 immediately and return nil or t.
16717 * comint.el (comint-dynamic-complete-functions): Now identical to
16718 completion-at-point-functions.
16719 (comint-dynamic-list-input-ring): Remove unused var `index'.
16720 (comint--match-partial-filename, comint--unquote&expand-filename):
16721 New funs, split from comint-match-partial-filename.
16722 (comint-dynamic-complete): Use completion-at-point.
16723 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16725 2011-03-24 Drew Adams <drew.adams@oracle.com>
16727 * thingatpt.el: Support `defun'.
16729 2011-03-23 Leo Liu <sdl.web@gmail.com>
16731 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16733 * help-mode.el (help-mode-finish): Tweak regexp.
16735 2011-03-23 Glenn Morris <rgm@gnu.org>
16737 * eshell/esh-opt.el (eshell-eval-using-options):
16738 Do not bind unused local variable `eshell-option-stub'.
16740 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16742 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16744 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16745 keymap variable in `with-no-warnings' to avoid a warning when the
16746 keymap has been already `defconst'ed.
16748 2011-03-22 Leo Liu <sdl.web@gmail.com>
16750 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16751 encode all chars in abbrevs; otherwise use emacs-mule or
16752 utf-8-emacs. (Bug#8308)
16754 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16756 * simple.el (backward-delete-char-untabify):
16757 Avoid warning about using `delete-backward-char'.
16759 * image.el (image-type-file-name-regexps): Make it variable.
16760 `imagemagick-register-types' modifies it, and the user may want
16761 to add new extensions for known image types.
16762 (imagemagick-register-types): Throw error if not using ImageMagick.
16764 2011-03-22 Leo Liu <sdl.web@gmail.com>
16766 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16767 located before rcirc-prompt-end-marker.
16768 (rcirc-complete): Error if point is not after rcirc prompt.
16769 Handle the case when table is nil.
16770 (rcirc-user-authenticated): Define to fix compiler warning.
16772 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
16774 * custom.el (custom--inhibit-theme-enable): Make it affect only
16775 custom-theme-set-variables and custom-theme-set-faces.
16776 (provide-theme): Ignore custom--inhibit-theme-enable.
16777 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16778 (custom-enabling-themes): Delete variable.
16779 (enable-theme): Accept only loaded themes as arguments.
16780 Ignore the special custom-enabled-themes variable.
16781 (custom-enabled-themes): Forbid themes from setting this.
16782 Eliminate use of custom-enabling-themes.
16783 (custom-push-theme): Quote "changed" custom var entry.
16785 2011-03-21 Leo Liu <sdl.web@gmail.com>
16787 * ido.el (ido-read-internal): Add ido-selected to history instead
16790 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16792 * subr.el (deferred-action-list, deferred-action-function):
16795 2011-03-21 Leo Liu <sdl.web@gmail.com>
16797 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16798 change on 2011-02-13 (bug#8309).
16800 * minibuffer.el (read-file-name-function): Change default value.
16801 (read-file-name--defaults): Rename from read-file-name-defaults.
16802 (read-file-name-default): Rename from read-file-name.
16803 (read-file-name): Call read-file-name-function.
16805 2011-03-21 Glenn Morris <rgm@gnu.org>
16807 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16810 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
16812 * cus-theme.el: Add missing provide statement.
16813 (customize-create-theme): Extract theme value correctly.
16814 (custom-theme-visit-theme): Autoload.
16815 (customize-create-theme): Prompt before inserting default faces.
16817 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16819 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16820 units and musical notes.
16822 2011-03-20 Leo Liu <sdl.web@gmail.com>
16824 * ido.el (ido-read-internal): Use completing-read-default.
16825 (ido-completing-read): Fix compatibility with completing-read.
16827 2011-03-20 Christian Ohler <ohler@gnu.org>
16829 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16830 (ert-delete-all-tests): Use `called-interactively-p' rather than
16832 (ert--make-xrefs-region): Respect END.
16834 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16836 * dired-aux.el (dired-create-directory): Signal an error if the
16837 directory already exists (Bug#8246).
16839 * facemenu.el (list-colors-display): Call list-faces-display
16840 inside with-help-window.
16841 (list-colors-print): Use display property to align the final
16842 column, instead of checking window-width.
16844 2011-03-19 Eli Zaretskii <eliz@gnu.org>
16846 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
16847 windows-nt systems.
16848 (emerge-protect-metachars): Quote correctly for ms-dos and
16849 windows-nt systems.
16851 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
16853 * info.el (info-initialize): Replace all uses of `:' with
16854 path-separator for compatibility with non-Unix systems.
16855 Cache quoting of path-separator. (Bug#8258)
16857 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
16859 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16860 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16861 (mouse-avoidance-mode): Fix typos in docstrings.
16863 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16865 * startup.el (package-subdirectory-regexp): Move from package.el.
16866 Omit \\` and \\', and let callers add them.
16868 * emacs-lisp/package.el (package-strip-version)
16869 (package-load-all-descriptors): Add \\` and \\' to
16870 package-subdirectory-regexp before using it.
16871 (package-untar-buffer): New arg DIR; ensure that file untars only
16872 into this expected directory. Remove superfluous delete-region.
16873 (package-unpack): Caller changed.
16874 (package-tar-file-info): Use package-subdirectory-regexp.
16876 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16878 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16879 diff-mode-shared-map (bug#8284).
16880 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
16882 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16884 * calendar/time-date.el (format-seconds): Use assoc instead of
16885 assoc-string, since assoc-string doesn't exist in XEmacs.
16887 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
16889 * custom.el (custom-known-themes): Reflow docstring.
16890 (custom-theme-load-path): Fix typo in docstring.
16891 (load-theme): Fix typo in error message.
16892 (custom-available-themes, custom-variable-theme-value):
16893 Use `let', not `let*'.
16895 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16897 * calc/README: Mention inclusion of musical notes.
16899 * calc/calc-units.el (calc-lu-quant): Rename from
16900 `calc-logunits-quantity'.
16901 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16902 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16903 (calc-db): Rename from `calc-dblevel'.
16904 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16905 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16906 (calc-np): Rename from `calc-nplevel'.
16907 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16908 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16909 (calc-lu-plus): Rename from `calc-logunits-add'.
16910 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16911 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16912 (calc-lu-minus): Rename from `calc-logunits-sub'.
16913 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16914 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16915 (calc-lu-times): Rename from `calc-logunits-mul'.
16916 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16917 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16918 (calc-lu-divide): Rename from `calc-logunits-div'.
16919 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16920 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16922 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16923 functions being autoloaded.
16925 * calc/calc.el (calc-lu-power-reference): Rename from
16926 `calc-logunits-power-reference'.
16927 (calc-lu-field-reference): Rename from
16928 `calc-logunits-field-reference'.
16930 * calc/calc-help.el (calc-l-prefix-help):
16931 Mention musical note functions.
16933 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16935 * minibuffer.el (completion-all-sorted-completions):
16936 Use :completion-cycle-penalty text property if present.
16938 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16940 * allout.el (allout-yank-processing): Adjust for new rebulleting
16941 regime so bullet being yanked is used without prompting the user
16944 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
16946 * startup.el (command-line): Warn the user that _emacs is deprecated.
16948 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
16950 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16951 (delphi-verbose, delphi-comment-face, delphi-string-face)
16952 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16953 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16954 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16955 (delphi-new-comment-line, delphi-font-lock-defaults)
16956 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16957 Fix typos in docstrings.
16959 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16961 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
16962 Invert the roles of character and string values for INSTEAD, so a
16963 string is used for the more common case of a defaulting prompt.
16965 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16967 * progmodes/ruby-mode.el (ruby-backward-sexp):
16968 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16969 * play/gamegrid.el (gamegrid-make-face):
16970 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16971 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16972 * notifications.el (notifications-notify):
16973 * net/xesam.el (xesam-search-engines):
16974 * net/quickurl.el (quickurl-list-insert):
16975 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16977 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
16979 * startup.el (command-line): Update package subdirectory regexp.
16981 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16983 * allout.el (allout-abbreviate-flattened-numbering)
16984 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16986 * subr.el (read-char-choice): Only show the cursor after the prompt,
16987 not after the answer.
16989 2011-03-15 Kevin Ryde <user42@zip.com.au>
16991 * help-fns.el (variable-at-point): Skip leading quotes, if any
16994 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16996 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16999 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
17001 * shell.el (shell): When called interactively, offer to change the
17002 shell file name on remote hosts.
17004 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17006 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17007 integration for LDAP parameters. The host, base, user or binddn,
17008 and secret tokens can be specified in a netrc file, for instance.
17009 This is optional because an `auth-source' parameter must be
17010 specified in the search attributes.
17012 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
17014 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17016 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17018 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17019 into declaration. Remove redundant and harmful binding.
17021 2011-03-12 Eli Zaretskii <eliz@gnu.org>
17023 * files.el (file-ownership-preserved-p): Pass `integer' as an
17024 explicit 2nd argument to `file-attributes'. If the file's owner
17025 is the Administrators group on Windows, and the current user is
17026 Administrator, consider that a match.
17028 * server.el (server-ensure-safe-dir): Consider server directory
17029 safe on MS-Windows if its owner is the Administrators group while
17030 the current Emacs user is Administrator. Use `=' to compare
17031 numerical UIDs, since they could be integers or floats.
17033 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
17035 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17037 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
17039 Sync with Tramp 2.2.1.
17041 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17043 * net/trampver.el: Update release number.
17045 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17047 * progmodes/compile.el (compilation--previous-directory): Fix up
17048 various nil/dead-marker mismatches (bug#8014).
17049 (compilation-directory-properties, compilation-error-properties):
17050 Don't call it at a position past the one we're about to change.
17052 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17053 Disable obsolescence warnings in the file that declares it.
17055 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17057 * allout-widgets.el (allout-widgets-tally):
17058 Initialize allout-widgets-tally as a hash table rather than nil to
17059 prevent mode-line redisplay warnings. Also, clarify the module
17060 description and fix a comment typo.
17062 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
17064 * help-fns.el (describe-variable): Don't complete keywords.
17065 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17067 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
17069 * emacs-lisp/package.el (package-version-join): Impose a standard
17070 string representation for pre/alpha/beta version lists.
17071 (package-unpack-single): Standardize the directory name by passing
17072 it through package-version-join.
17073 (package-strip-rcs-id): Accept any version string that does not
17074 signal an error in version-to-list.
17076 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
17078 * simple.el (delete-trailing-whitespace): Return nil for the
17079 benefit of `write-file-functions'.
17081 2011-03-10 Glenn Morris <rgm@gnu.org>
17083 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17085 * vc/vc-git.el (vc-git-program): New option.
17086 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17087 (vc-git--call): Use it.
17089 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17091 * cus-edit.el (Custom-newline): If no button at point, look
17092 for a subgroup button at start-of-line. (Bug#2298)
17094 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17096 2011-03-10 Julien Danjou <julien@danjou.info>
17098 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17099 `cursor-type' is nil.
17101 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17103 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17105 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17107 * allout.el: Change so yank of distinctive-bullet items
17108 preserves the existing header prefix, rebulleting it if necessary,
17109 rather than replacing it. This is necessary for proper operation
17110 of cooperative addons like allout-widgets.
17111 (allout-make-topic-prefix, allout-rebullet-heading):
17112 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17113 value as alternate bullet to be used, instead of prompting the user
17114 for a bullet character.
17116 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
17118 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17119 Do not use `tramp-file-name-port', because this returns also
17120 `tramp-default-port'.
17122 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17124 * net/rcirc.el (rcirc-handler-001): Remove useless
17125 with-rcirc-process-buffer.
17126 (rcirc-check-auth-status): Swap arguments to string-match.
17128 2011-03-09 Glenn Morris <rgm@gnu.org>
17130 * shell.el (shell-mode):
17131 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17133 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17134 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17136 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
17138 * emacs-lisp/package.el (package-refresh-contents)
17139 (package-menu-execute): Use condition-case-no-debug.
17141 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
17143 * simple.el (shell-command-to-string): Use `process-file'.
17145 * emacs-lisp/package.el (package-tar-file-info): Handle also
17148 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17149 Use `equal' for upload base check.
17151 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17153 * textmodes/texinfo.el (texinfo-environments):
17154 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17156 2011-03-08 Glenn Morris <rgm@gnu.org>
17158 * cus-start.el (cursor-in-non-selected-windows):
17159 Fix :set quoting oddness. (Bug#8192)
17161 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17162 in some setf expressions. (Bug#2159)
17164 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
17166 * custom.el (custom-available-themes): Return themes in
17167 alphabetical order.
17169 See ChangeLog.15 for earlier changes.
17171 ;; Local Variables:
17175 Copyright (C) 2011-2012 Free Software Foundation, Inc.
17177 This file is part of GNU Emacs.
17179 GNU Emacs is free software: you can redistribute it and/or modify
17180 it under the terms of the GNU General Public License as published by
17181 the Free Software Foundation, either version 3 of the License, or
17182 (at your option) any later version.
17184 GNU Emacs is distributed in the hope that it will be useful,
17185 but WITHOUT ANY WARRANTY; without even the implied warranty of
17186 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17187 GNU General Public License for more details.
17189 You should have received a copy of the GNU General Public License
17190 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.