1 2012-08-06 Glenn Morris <rgm@gnu.org>
3 * eshell/esh-ext.el (eshell/addpath): Use dolist.
4 Do less getting and setting of environment variables.
6 2012-08-05 Chong Yidong <cyd@gnu.org>
8 * proced.el (proced): Add substitution string to docstring to
9 trigger autoloading of the proced library on C-h f (Bug#1768).
11 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
12 show defvars which have no second argument (Bug#8638).
14 * imenu.el (imenu-generic-expression): Move documentation here
15 from imenu--generic-function.
16 (imenu--generic-function): Refer to imenu-generic-expression.
18 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
20 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
21 indentation declaration.
22 (viper-loop): Add indentation declaration (Bug#7025).
24 2012-08-05 Chong Yidong <cyd@gnu.org>
26 * help-fns.el (describe-variable): Add hyperlink for
27 directory-local variables files. Improve buffer-local and
28 permanent-local reporting; suggested by MON KEY (Bug#6644).
30 * help-mode.el (help-dir-local-var-def): New button type.
32 * files.el (kill-buffer-hook): Provide a defvar.
34 2012-08-05 Glenn Morris <rgm@gnu.org>
36 * eshell/esh-ext.el (eshell/addpath):
37 Also update eshell-path-env. (Bug#12013)
39 2012-08-05 Chong Yidong <cyd@gnu.org>
41 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
43 * fringe.el (fringe-styles): Add docstring.
44 (fringe--check-mode): New function.
45 (set-fringe-mode, set-fringe-style): Use it.
46 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
48 * files.el (set-auto-mode): Fix invalid setq call.
50 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
52 * isearch.el: Misc simplification; use defstruct.
53 (isearch-mode-map): Dense maps now work like sparse ones.
54 (isearch--state): New defstruct.
55 (isearch-string-state, isearch-message-state, isearch-point-state)
56 (isearch-success-state, isearch-forward-state)
57 (isearch-other-end-state, isearch-word-state, isearch-error-state)
58 (isearch-wrapped-state, isearch-barrier-state)
59 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
60 replaced by defstruct's accessors.
61 (isearch--set-state): Rename from isearch-top-state and change
63 (isearch-push-state): Use new isearch--get-state.
64 (isearch-toggle-word): Disable regexp when enabling word.
65 (isearch-message-prefix): Remove unused arg _c-q-hack.
66 (isearch-message-suffix): Remove unused arg _ellipsis.
68 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
70 * simple.el (list-processes--refresh): For a server use :host or
71 :local as the address.
72 (list-processes): Doc fix.
74 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
76 * lisp/mpc.el: Support password in host argument.
77 (mpc--proc-connect): Parse and use new password element.
78 Set mpc-proc variable instead of returning process.
79 (mpc-proc): Adjust accordingly.
81 2012-08-03 Eli Zaretskii <eliz@gnu.org>
83 * whitespace.el (whitespace-display-mappings): Use Unicode
84 codepoints, instead of emacs-mule codepoints. See
85 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
88 * files.el (file-truename): Don't skip symlink-chasing part on
89 windows-nt. Incorporate the resolution of 8+3 short aliases on
90 Windows into the loop that recursively chases symlinks. Compare
91 directory and its parent case-insensitively on MS-Windows and
94 2012-08-03 Chong Yidong <cyd@gnu.org>
96 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
98 * sort.el (sort-regexp-fields): Doc fix.
100 2012-08-03 Tassilo Horn <tsdh@gnu.org>
102 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
103 labels regex position point at the expected place.
105 2012-08-03 MON KEY <monkey@sandpframing.com>
107 * net/imap.el (imap-interactive-login, imap-authenticate)
108 (imap-mailbox-lsub, imap-mailbox-list)
109 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
110 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
111 (imap-parse-response): Doc fix.
113 2012-08-03 João Távora <joaotavora@gmail.com>
115 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
116 if sexp scanning does not move point (Bug#5734).
118 2012-08-02 Tassilo Horn <tsdh@gnu.org>
120 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
121 Add listings, minted, and ctable packages.
122 (reftex-label-alist-builtin): Move listings, minted, and ctable
123 entries before LaTeX.
124 (reftex-label-alist): Docfix.
126 2012-08-02 Bastien Guerry <bzg@gnu.org>
128 * replace.el (occur): Fix docstring (bug#12122).
130 2012-08-02 Glenn Morris <rgm@gnu.org>
132 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
134 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
136 Obsolete alias inactivate-current-input-method-function (Bug#10150).
137 * international/mule-cmds.el: Create
138 inactivate-current-input-method-function as an obsolete alias for
139 deactivate-current-input-method-function. See Katsumi Yamaoka in
140 <http://bugs.gnu.org/10150#46>.
142 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
144 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
147 2012-08-01 Glenn Morris <rgm@gnu.org>
149 * progmodes/autoconf.el (autoconf-definition-regexp):
150 Add AH_TEMPLATE, adjust submatch numbering.
151 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
152 (autoconf-current-defun-function): Update for above change.
153 (autoconf-current-defun-function): First skip to end of current word.
155 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
157 * calendar/cal-html.el (cal-html-insert-agenda-days):
158 Fix typo. (Bug#12018)
160 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
162 Shell processes: enhancements to startup and CEDET compatibility.
163 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
164 (python-shell-make-comint): accept-process-output at startup.
165 (run-python-internal): Set inferior-python-mode-hook to nil.
166 (python-shell-internal-get-or-create-process): call sit-for.
167 (python-preoutput-result): Add obsolete alias.
168 (python-shell-internal-send-string): Use it.
169 (python-shell-send-setup-code): Remove call to
170 accept-process-output.
172 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
174 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
177 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
179 * calc-mode.el (calc-basic-simplification-mode): Rename from
180 `calc-limited-simplification-mode'.
181 (calc-alg-simplification-mode): New function.
182 (calc-set-simplify-mode): Adjust message.
184 * calc.el (calc-set-mode-line): Adjust mode line display for
185 basic simplification mode.
187 * calc-help.el (calc-m-prefix-help): Update help message.
189 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
190 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
192 2012-07-31 Bastien Guerry <bzg@gnu.org>
194 * man.el (man): Fix comment. (bug#12101)
196 2012-07-31 Martin Rudalics <rudalics@gmx.at>
198 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
199 Don't return a non-nil value when no suitable buffer was found.
201 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
203 * progmodes/python.el (run-python-internal): Disable font lock for
206 2012-07-30 Stefan Merten <smerten@oekonux.de>
208 * rst.el: Silence `checkdoc-ispell'.
209 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
210 (rst-official-version, rst-official-cvs-rev)
211 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
212 (rst-mode-map): New key binding.
214 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
216 Update .PHONY listings in makefiles.
217 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
218 autoloads, update-subdirs, updates, bzr-update, update-authors,
219 compile-onefile, compile-calc, backup-compiled-files,
220 compile-after-backup, compile-one-process, mh-autoloads,
221 bootstrap-clean, distclean, maintainer-clean.
223 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
225 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
226 (calc-set-mode-line): Don't display "AlgSimp ".
228 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
229 (calc-lim-simplify-mode): New function.
230 (calc-set-simplify-mode): Default to 'alg.
231 (calc-default-simplify-mode): Make algebraic simplifications
234 * calc/calc-ext.el (calc-init-extensions): Remove binding for
235 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
237 * calc/calc-help.el (calc-m-prefix-help): Change messages to
238 indicate new simplification modes.
240 * calc/README: Mention new default simplification mode.
242 * calc/calc.el (math-normalize-error): New variable.
243 (math-normalize): Set `math-normalize-error' to t
244 when there's an error.
246 * calc/calc-alg.el (math-simplify): Don't simplify when
247 `math-normalize' returns an error.
249 2012-07-29 Eli Zaretskii <eliz@gnu.org>
251 * international/mule-cmds.el (set-locale-environment): Revert last
252 change, since display-graphic-p returns nil when this function is
253 called during startup. Instead...
255 * term/w32console.el (terminal-init-w32console): ...setup the
256 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
258 2012-07-29 Juri Linkov <juri@jurta.org>
260 * simple.el (goto-line): Don't display default line number in the
261 prompt because it should be displayed by `read-number' (bug#9952).
262 Add the current line number to the defaults of `goto-line' to
263 allow its easier modification by users with `M-n' (bug#9201).
265 * subr.el (read-number): Support multiple default values like in
266 other minibuffer reading functions. Replace `read' with
267 `string-to-number' for consistency with `number-to-string'.
269 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
271 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
272 * emulation/viper-init.el (viper-deactivate-input-method-action):
273 Rename from viper-inactivate-input-method-action.
274 (viper-deactivate-input-method):
275 Rename from viper-inactivate-input-method.
276 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
277 * international/mule-cmds.el (deactivate-input-method):
278 Rename from inactivate-input-method.
279 Also run input-method-deactivate-hook.
280 (deactivate-current-input-method-function):
281 Rename from inactivate-current-input-method-function.
282 (input-method-deactivate-hook): New hook.
283 (input-method-inactivate-hook): Mark obsolete.
284 (inactivate-input-method): Mark obsolete.
286 * international/quail.el (quail-activate):
287 Also run quail-deactivate-hook.
288 (quail-deactivate): Rename from quail-inactivate.
289 * international/robin.el (robin-activate):
290 Also run robin-deactivate-hook.
291 (robin-deactivate): Rename from robin-inactivate.
293 2012-07-29 Chong Yidong <cyd@gnu.org>
295 * simple.el (indicate-copied-region): New function.
296 (kill-ring-save): Split off from here.
298 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
299 (kill-rectangle): Set deactivate-mark to t on read-only error.
301 * register.el (copy-to-register, copy-rectangle-to-register):
302 Deactivate the mark, and use indicate-copied-region (Bug#10056).
303 (append-to-register, prepend-to-register): Call
305 2012-07-29 Juri Linkov <juri@jurta.org>
307 * simple.el (async-shell-command-buffer): New defcustom.
308 (shell-command): Use it. (Bug#4719)
310 2012-07-28 Eli Zaretskii <eliz@gnu.org>
312 * international/mule-cmds.el (set-locale-environment): In a
313 console session on MS-Windows, set up keyboard and terminal
314 encoding from the OEM codepage, not the ANSI codepage.
317 2012-07-28 Chong Yidong <cyd@gnu.org>
319 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
322 2012-07-25 Leo Liu <sdl.web@gmail.com>
324 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
325 the alist (bug#12029).
327 2012-07-28 Eli Zaretskii <eliz@gnu.org>
329 * makefile.w32-in (custom-deps, finder-data, updates, compile)
330 (compile-always, compile-first)
331 ($(lisp)/calendar/cal-loaddefs.el)
332 ($(lisp)/calendar/diary-loaddefs.el)
333 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
334 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
335 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
336 instead of on update-subdirs.
337 (bootstrap-clean): Delete $(lisp)/subdirs.el.
339 2012-07-28 Chong Yidong <cyd@gnu.org>
341 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
342 directory if vc-deduce-backend returns nil (Bug#7350).
344 * simple.el (delete-trailing-lines): New option.
345 (delete-trailing-whitespace): Obey it (Bug#11879).
347 2012-07-28 David Engster <deng@randomsample.de>
349 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
350 Explanation of new 'symbol-qnames feature in doc-strings.
351 (xml-maybe-do-ns): Return expanded names as plain symbols if
352 'symbol-qnames was provided in XML-NS argument (Bug#11916).
353 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
355 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
357 Consistent completion in inferior python with emacs -nw.
358 * progmodes/python.el (inferior-python-mode): replace "<tab>"
359 binding in inferior-python-mode-map with "\t".
360 (python-shell-completion-complete-at-point)
361 (python-completion-complete-at-point): Remove interactive spec.
363 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
365 * calc/calccomp.el (math-compose-expr): Undo previous change.
367 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
369 * progmodes/python.el (python-mode-map): Added keybinding for
371 (python-shell-make-comint): Fix pop-to-buffer call.
372 (run-python): Autoload. New arg SHOW.
373 (python-shell-get-or-create-process): Do not pop python process
376 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
378 * notifications.el (notifications-on-action-signal)
379 (notifications-on-closed-signal): Use also the bus address for the map.
380 (notifications-notify, notifications-close-notification)
381 (notifications-get-capabilities): Add optional argument BUS.
383 2012-07-27 Tassilo Horn <tsdh@gnu.org>
385 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
386 support for the lstlisting and minted environments, and for the
388 * textmodes/reftex.el (reftex-compile-variables): Also recognize
389 labels written in keyvals syntax.
391 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
393 * calc/calccomp.el (math-compose-expr): Use parentheses when
394 there is a product in the denominator of a fraction.
396 2012-07-26 Eli Zaretskii <eliz@gnu.org>
398 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
399 ($(lisp)/calendar/diary-loaddefs.el)
400 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
401 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
402 failures in parallel bootstrap because subdirs.el is being
403 rewritten while the autoload files are built at the same time,
404 which needs to load subdirs.el.
406 2012-07-26 Martin Rudalics <rudalics@gmx.at>
408 * mouse.el (popup-menu): Fix doc-string and re-indent code.
409 (mouse-drag-line): Don't exit tracking when a switch-frame or
410 switch-window event occurs (Bug#12006).
412 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
414 * mouse.el (popup-menu): Fix last change.
416 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
418 Autoload from Lisp with more care. Follow aliases when looking for
420 * subr.el (autoloadp): New function.
421 (symbol-file): Use it.
422 (function-get): New function.
423 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
425 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
426 (lisp-indent-function):
427 * emacs-lisp/gv.el (gv-get):
428 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
429 * emacs-lisp/byte-opt.el (byte-optimize-form):
430 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
431 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
433 * emacs-lisp/cl.el: Don't propagate function properties any more.
435 * speedbar.el (speedbar-add-localized-speedbar-support):
436 * emacs-lisp/disass.el (disassemble-internal):
437 * desktop.el (desktop-load-file):
438 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
439 (describe-function-1):
440 * emacs-lisp/find-func.el (find-function-noselect):
441 * emacs-lisp/elp.el (elp-instrument-function):
442 * emacs-lisp/advice.el (ad-has-proper-definition):
443 * apropos.el (apropos-safe-documentation, apropos-macrop):
444 * emacs-lisp/debug.el (debug-on-entry):
445 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
446 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
447 * calc/calc.el (name): Use autoloadp & autoload-do-load.
449 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
451 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
452 function, not an obsolete variable (Bug#12046).
454 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
456 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
458 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
460 * emacs-lisp/pp.el (pp-display-expression): Select old selected
461 window only if it is still live (Bug#12034).
463 2012-07-25 Martin Rudalics <rudalics@gmx.at>
465 * subr.el (redirect-frame-focus): Add advertised calling
466 convention (Bug#12030).
468 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
470 Prefer typical American spelling for "acknowledgment".
471 * vc/add-log.el (change-log-acknowledgment): Rename from
472 change-log-acknowledgement, with an alias for the old name.
474 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
476 * calc-alg.el (math-simplify-divide): Don't cross multiply
477 in an equation when the lhs is a variable.
479 2012-07-24 Julien Danjou <julien@danjou.info>
481 * net/netrc.el (netrc-find-service-number, netrc-store-data):
484 2012-07-23 Eli Zaretskii <eliz@gnu.org>
486 * startup.el (command-line): Don't display an empty user name in
487 the error message about non-existent home directory, when
488 init-file-user was set to an empty string. See
489 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
490 for the details and context.
492 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
494 * ses.el (ses-cell-formula-aset): New macro.
495 (ses-cell-references-aset): New macro.
496 (ses-cell-p): New function.
497 (ses-rename-cell): Do no longer rely on complex operations like
498 ses-cell-set-formula or ses-set-cell to change the cell and handle
499 the undo at the same time, but rather use lower level new macros
500 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
501 the undo directly. Refresh the mode line.
503 2012-07-21 Leo Liu <sdl.web@gmail.com>
505 * progmodes/cc-cmds.el (c-defun-name):
506 Use match-string-no-properties instead for consistency.
508 2012-07-20 Leo Liu <sdl.web@gmail.com>
510 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
513 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
515 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
517 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
518 * progmodes/bug-reference.el, misearch.el: Provide themselves
521 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
522 of narrowed buffer (bug#11966).
524 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
526 * ses.el (ses-rename-cell): Set new name also in reference list of
527 cells of which the renamed cell depends.
529 2012-07-20 Masatake YAMATO <yamato@redhat.com>
531 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
532 to check whether menu-bar is shown or not. If not shown,
533 show the menu-bar as a popup menu instead of using tmm.
534 * mouse.el (popup-menu): Accept `point' as `position' argument.
536 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
538 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
539 up inside string symbol literal (bug#11923).
541 2012-07-20 Eli Zaretskii <eliz@gnu.org>
543 * startup.el (fancy-startup-text): Read the whole tutorial, not
544 just its first 256 bytes. Prevents gibberish in display of the
547 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
549 Drop idle buffer compaction due to an absence of the
551 * compact.el: Remove.
553 2012-07-19 Sam Steingold <sds@gnu.org>
555 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
556 vc-bzr-pull & vc-bzr-merge-branch.
557 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
558 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
559 for consistency with compilation-error-regexp-alist.
560 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
561 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
562 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
563 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
565 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
567 * emacs-lisp/chart.el: Use lexical-binding.
568 (chart-emacs-storage): Don't hardcode the list of entries.
570 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
572 Next round of tweaks caused by Fgarbage_collect changes.
573 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
575 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
577 Compact buffers when idle.
578 * compact.el: New file.
580 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
582 * subr.el (eventp): Presume that if it looks vaguely like an event,
583 it's an event (bug#10190).
585 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
587 Enhancements to ppss related code (thanks Stefan).
588 * progmodes/python.el (python-indent-context)
589 (python-indent-calculate-indentation, python-indent-dedent-line)
590 (python-indent-electric-colon, python-nav-forward-block)
591 (python-mode-abbrev-table)
592 (python-info-assignment-continuation-line-p): Simplify checks
594 (python-info-continuation-line-p): Cleanup.
595 (python-info-ppss-context): Do not catch 'quote.
596 (python-info-ppss-context-type)
597 (python-info-ppss-comment-or-string-p): Simplify.
599 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
601 * progmodes/python.el: Enhancements to eldoc support.
602 (python-info-current-symbol): New function.
603 (python-eldoc-at-point): Use python-info-current-symbol.
604 (python-info-current-defun): Fix cornercase on first defun scan.
605 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
606 and signal error when no inferior python process is available.
608 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
610 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
611 assume it's always t.
612 (vc-git-registered): Remove caching, the function is only called
614 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
616 2012-07-18 Chong Yidong <cyd@gnu.org>
618 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
620 * simple.el (count-words): Report on narrowing (Bug#9959).
622 * bindings.el: Bind M-= to count-words.
624 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
626 2012-07-18 Masatake YAMATO <yamato@redhat.com>
628 * progmodes/sh-script.el (sh-imenu-generic-expression):
629 Capture a function with `function' keyword and without parentheses
630 like "function FOO" (bug#11856).
632 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
634 * window.el (split-window-sensibly): Make WINDOW argument
637 2012-07-18 Chong Yidong <cyd@gnu.org>
639 * subr.el (keyboard-translate): Doc fix (Bug#7261).
641 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
642 and make C-x 8 RET exit isearch (Bug#11439).
644 * international/iso-transl.el: Move isearch-mode-map key
645 definitions to isearch.el.
647 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
649 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
650 (eieio-defclass): Use gv-define-setter when possible.
652 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
654 Reflect recent changes in Fgarbage_collect.
655 * emacs-lisp/chart.el (chart-emacs-storage): Change to
656 reflect new format of data returned by Fgarbage_collect.
658 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
660 New utility functions + python-info-ppss-context fix (Bug#11910).
661 * progmodes/python.el (python-info-beginning-of-block-statement-p)
662 (python-info-ppss-comment-or-string-p): New functions.
663 (python-info-ppss-context): Small fix for string check.
665 2012-07-17 Juri Linkov <juri@jurta.org>
667 * dired-aux.el (dired-do-async-shell-command): Doc fix.
668 (dired-do-async-shell-command): Don't add `*' at the end of the
670 (dired-do-shell-command): Doc fix.
671 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
672 Join the individual commands using either "&" or ";" as the
673 separator depending on the values of these trailing characters.
674 At the end re-add the trailing "&". (Bug#10598)
676 * simple.el (async-shell-command): Sync the interactive spec with
677 `shell-command'. Doc fix.
678 (shell-command): Doc fix.
680 2012-07-17 Juri Linkov <juri@jurta.org>
682 * descr-text.el (describe-char): Fix format args. (Bug#10129)
684 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
686 Final renames and doc fixes for movement commands (bug#11899).
687 * progmodes/python.el (python-nav-beginning-of-statement):
688 Rename from python-nav-statement-start.
689 (python-nav-end-of-statement): Rename from
690 python-nav-statement-end.
691 (python-nav-beginning-of-block): Rename from
692 python-nav-block-start.
693 (python-nav-end-of-block): Rename from python-nav-block-end.
695 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
697 * progmodes/python.el (python-shell-send-string-no-output):
698 Allow accept-process-output to quit, keeping shell process ready for
699 future interactions (Bug#11868).
701 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
703 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
705 * emacs-lisp/elint.el (elint-find-args-in-code):
706 Use help-function-arglist, so as to handle lexical byte-code.
708 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
711 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
713 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
714 Avoid spuriously marking the buffer as modified because of c-is-sws.
716 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
717 as not-a-comment (bug#11946).
719 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
722 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
723 Use read-event since we don't really want to read chars but bytes.
725 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
726 $$..$$ but also $..$ using regexps (bug#11953).
727 Use tex-verbatim for \url and \path.
728 (tex-font-lock-keywords): Define as defconst like the others.
729 (tex-common-initialization): Don't use font-lock-syntax-table any more.
731 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
733 * international/mule-cmds.el (ucs-insert): Make it an obsolete
734 alias for insert-char.
736 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
738 * progmodes/python.el: Simplified imenu implementation.
739 (python-nav-jump-to-defun): Remove command.
740 (python-mode-map): Use `imenu' instead.
741 (python-nav-list-defun-positions-cache)
742 (python-imenu-include-defun-type, python-imenu-make-tree)
743 (python-imenu-subtree-root-label, python-imenu-index-alist):
745 (python-nav-list-defun-positions, python-nav-read-defun)
746 (python-imenu-tree-assoc, python-imenu-make-element-tree)
747 (python-imenu-make-tree, python-imenu-create-index):
749 (python-mode): Update to interact with imenu by setting
750 `imenu-extract-index-name-function' only.
752 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
754 * progmodes/python.el: Enhancements to navigation commands.
755 (python-nav-backward-sentence)
756 (python-nav-forward-sentence): Remove.
757 (python-nav-backward-statement, python-nav-forward-statement)
758 (python-nav-statement-start, python-nav-statement-end)
759 (python-nav-backward-block, python-nav-forward-block)
760 (python-nav-block-start, python-nav-block-end)
761 (python-nav-forward-sexp-function)
762 (python-info-current-line-comment-p)
763 (python-info-current-line-empty-p): New functions.
764 (python-indent-context): Use `python-nav-statement-start'.
766 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
768 * eshell/em-ls.el (eshell/ls): Use `apply'.
770 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
771 multi-hops, instead of Tramp internals.
773 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
775 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
776 when F1 and F2 are located on different hosts.
778 2012-07-14 Chong Yidong <cyd@gnu.org>
780 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
781 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
782 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
783 (xterm-mouse--read-event-sequence-1000)
784 (xterm-mouse--read-event-sequence-1006): New functions. For old
785 mouse protocol, handle M-mouse-X events correctly.
786 (xterm-mouse-event): New arg specifying mouse protocol.
787 (turn-on-xterm-mouse-tracking-on-terminal)
788 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
789 sequence to toggle extended coordinates on newer XTerms.
790 This appears to be harmless on terminals which do not support this.
792 2012-07-14 Leo Liu <sdl.web@gmail.com>
794 Add fringe bitmap indicators for flymake. (Bug#11253)
795 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
796 (flymake-make-overlay): New arg BITMAP.
797 (flymake-error-bitmap, flymake-warning-bitmap)
798 (flymake-fringe-indicator-position): New user variables.
800 * fringe.el: New bitmap exclamation-mark.
802 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
804 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
807 2012-07-14 Chong Yidong <cyd@gnu.org>
809 * electric.el (electric-pair-post-self-insert-function): Fix pair
810 insertion in empty-region case (Bug#11520).
812 2012-07-14 Chong Yidong <cyd@gnu.org>
814 * bindings.el: Consolidate ctl-x-r-map bindings.
815 Bind copy-rectangle-as-kill to C-x r w.
817 * rect.el, register.el: Move bindings to bindings.el.
819 2012-07-14 Reuben Thomas <rrt@sc3d.org>
821 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
823 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
825 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
827 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
829 * bindings.el (top): Use `mapc' instead of `mapcar'.
831 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
833 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
835 * progmodes/sql.el (sql-comint): Suppress the check for program on
836 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
839 2012-07-13 Chong Yidong <cyd@gnu.org>
841 * bindings.el: Assign a non-nil permanent-local property to
842 per-buffer variables which lack a default value (Bug#11930).
844 * help-fns.el (describe-variable): In the "automatically becomes
845 local" notice, take note of permanent-local variables.
847 2012-07-13 Chong Yidong <cyd@gnu.org>
849 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
850 to allow printing the message when called from Lisp.
852 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
853 Remove toggle-read-only.
855 * bs.el (bs-toggle-readonly):
856 * buff-menu.el (Buffer-menu-toggle-read-only):
857 Remove with-no-warnings around toggle-read-only.
859 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
860 Remove with-no-warnings around toggle-read-only.
861 (ffap-read-only, ffap-read-only-other-window)
862 (ffap-read-only-other-frame): Callers changed.
864 * help-mode.el: Don't require view package.
865 (help-mode-finish): Set buffer-read-only instead of calling
868 * bindings.el (mode-line-toggle-read-only):
869 * dired.el (dired-toggle-read-only):
870 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
871 with non-nil second arg.
873 * emacs-lisp/eieio-custom.el (eieio-customize-object):
874 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
877 2012-07-12 Eli Zaretskii <eliz@gnu.org>
879 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
882 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
884 More CL cleanups and reduction of use of cl.el.
885 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
886 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
887 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
888 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
889 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
890 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
891 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
892 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
893 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
894 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
895 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
896 * eshell/em-cmpl.el, eshell/em-banner.el:
897 * calendar/parse-time.el: Use cl-lib.
898 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
899 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
900 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
901 * term/ns-win.el, term.el, shell.el, ps-samp.el:
902 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
903 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
904 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
905 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
906 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
907 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
908 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
909 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
910 `lambda' rather than with `quote'.
911 (eshell-do-opt): Adjust accordingly.
912 (eshell-process-option): Simplify.
914 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
915 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
916 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
917 to `pcase--dontcare'.
918 * emacs-lisp/cl.el (labels): Mark obsolete.
919 (cl--letf, letf): Move to cl-lib.
920 (cl--letf*, letf*): Remove.
921 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
922 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
924 (cl--letf, cl-letf): Move from cl.el.
925 (cl-letf*): New macro.
926 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
928 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
930 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
932 2012-07-11 Chong Yidong <cyd@gnu.org>
934 * vc/log-edit.el (log-edit-vc-backend): New variable.
937 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
938 argument of log-edit to set up all local variables.
939 (vc-start-logentry): New optional arg specifying VC backend.
941 * vc/vc.el (vc-checkin): Use it.
942 (vc-deduce-fileset): Handle Log Edit buffers.
943 (vc-diff): Make first argument optional too.
945 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
947 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
949 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
950 command, just in case. The function is not needed anymore.
951 (eshell-external-command): Do not call `eshell-remote-command'.
953 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
955 Reduce use of (require 'cl).
956 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
957 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
958 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
959 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
960 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
961 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
962 * battery.el, avoid.el, abbrev.el: Use cl-lib.
963 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
964 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
965 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
966 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
967 * calculator.el, autorevert.el, apropos.el: Don't require CL.
968 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
969 (byte-compile-unfold-bcf, byte-compile-check-variable):
970 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
971 (byte-compile-nilconstp):
972 * emacs-lisp/autoload.el (make-autoload): Use pcase.
973 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
975 * emacs-lisp/gv.el (cond): Make it a valid place.
976 (if): Simplify slightly.
978 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
979 (pcase--self-quoting-p): New function.
982 2012-07-10 Glenn Morris <rgm@gnu.org>
984 * emacs-lisp/authors.el (authors-fixed-entries):
985 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
987 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
989 Rename configure.in to configure.ac (Bug#11603).
990 * emacs-lisp/authors.el (authors-canonical-file-name):
991 * progmodes/autoconf.el (autoconf-mode):
992 Prefer configure.ac to configure.in.
994 2012-07-08 Chong Yidong <cyd@gnu.org>
996 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
997 Implement the mouse-1-click-follows-link handling properly.
999 * info.el (Info-link-keymap): Use follow-link mechanism for
1000 header-line links (Bug#374).
1002 * simple.el (deactivate-mark): Do not set the primary selection
1003 if another program has acquired it (Bug#11772).
1005 2012-07-07 Kevin Ryde <user42@zip.com.au>
1007 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1008 (woman-decode-region): Replace escaped-escapes without destroying
1009 bold or underline (Bug#11552).
1010 (woman2-process-escapes): Handle nofill regions (Bug#11591).
1012 2012-07-07 Chong Yidong <cyd@gnu.org>
1014 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
1015 (interprogram-cut-function, interprogram-paste-function):
1016 Mention that we typically mean the clipboard.
1018 2012-07-06 Glenn Morris <rgm@gnu.org>
1020 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1022 * files.el (toggle-read-only): Restrict message to interactive use.
1024 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
1026 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1028 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1030 2012-07-06 Glenn Morris <rgm@gnu.org>
1032 * Makefile.in (compile-one-process): Rename from "recompile".
1034 * Makefile.in (bzr-update): "compile" is the same as "recompile
1035 autoloads", but parallelizable, so use that instead.
1037 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1039 * window.el (quit-window): Always restore window height when
1040 it's saved in quit-restore parameter (Bug#11810).
1042 2012-07-06 Glenn Morris <rgm@gnu.org>
1044 * simple.el (kill-whole-line): Doc tweak.
1046 2012-07-06 Eli Zaretskii <eliz@gnu.org>
1048 * files.el (file-relative-name): Compare file names
1049 case-insensitively if on MS-Windows or MS-DOS, or if
1050 read-file-name-completion-ignore-case is non-nil. Don't use
1051 case-fold-search for this purpose. (Bug#11827)
1053 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1055 * calendar/cal-dst.el (calendar-current-time-zone):
1056 Return calendar-current-time-zone-cache if non-nil.
1058 2012-07-17 Masatake YAMATO <yamato@redhat.com>
1059 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1061 * calendar/cal-dst.el (calendar-current-time-zone):
1062 Return calendar-current-time-zone-cache if non-nil.
1064 2012-07-06 Glenn Morris <rgm@gnu.org>
1066 * Makefile.in (cvs-update): Remove old alias.
1068 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
1070 Sync with Tramp 2.2.6-pre.
1072 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1073 compatible declaration.
1075 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1076 Protect `list-load-path-shadows' call.
1078 * net/tramp-compat.el (top): Require packages, which aren't
1079 autoloaded anymore for XEmacs. Protect call of
1080 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1081 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1082 it hurts at least for SXEmacs.
1083 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1084 standard-value for `temporary-file-directory'.
1086 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1087 Redirect stderr to /dev/null.
1088 (tramp-sh-handle-write-region): uid and gid can be floats.
1089 Reported by Russell Sim <russell.sim@gmail.com>.
1090 (tramp-sh-handle-vc-registered): Hide errors.
1091 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1092 and `start-file-process'.
1093 (tramp-maybe-open-connection): Check also whether `non-essential'
1096 2012-07-04 Chong Yidong <cyd@gnu.org>
1098 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1099 (xml-parse-tag): Likewise, and avoid changing entity tables.
1100 (xml-syntax-table): Define from scratch, making sure not to give
1101 x2000 and other Unicode spaces whitespace syntax, since those are
1103 (xml-parse-fragment): Delete unused function.
1104 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1105 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1106 (xml-entity-ref, xml-pe-reference-re)
1107 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1108 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1109 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1110 (xml-entity-value-re): Use syntax references in regexps where
1111 possible; no need to define inside a let-binding.
1112 (xml-parse-dtd): Use xml-pe-reference-re.
1113 (xml-entity-or-char-ref-re): New defconst.
1114 (xml-parse-string, xml-substitute-special): Use it.
1116 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1118 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1119 (find-file--read-only): New function.
1120 (find-file-read-only, find-file-read-only-other-window)
1121 (find-file-read-only-other-frame): Use it.
1122 (insert-file-contents-literally): Don't `fset'.
1123 (get-free-disk-space): Use locate-dominating-file.
1125 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1126 function is already compiled.
1128 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1130 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
1132 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1133 files on the same host.
1135 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1137 * help-fns.el (describe-function-1): Only call
1138 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1140 2012-07-03 Chong Yidong <cyd@gnu.org>
1142 * xml.el: Protect parser against XML bombs.
1143 (xml-entity-expansion-limit): New variable.
1144 (xml-parse-string, xml-substitute-special): Use it.
1145 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1147 2012-07-03 Glenn Morris <rgm@gnu.org>
1149 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1150 Allow linking to specific messages in debbugs reports (eg 123#5).
1152 2012-07-02 Chong Yidong <cyd@gnu.org>
1154 * xml.el: Fix entity and character reference expansion, allowing
1155 them to expand into markup as per XML spec.
1156 (xml-default-ns): New variable.
1157 (xml-entity-alist): Use XML spec definitions for lt and amp.
1158 (xml-parse-region): Make first two arguments optional.
1159 Discard text properties.
1160 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1161 All callers changed.
1162 (xml-parse-tag): Call xml-parse-tag-1. For backward
1163 compatibility, this function should not modify buffer contents.
1164 (xml-parse-tag-1): Fix opening-tag regexp.
1165 (xml-parse-string): Rewrite, handling entity and character
1166 references properly.
1167 (xml--entity-replacement-text): Signal an error if a parameter
1168 entity is undefined.
1170 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1172 * comint.el (comint-output-filter): Filter out repeated prompts.
1174 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1175 and file-name-absolute-p.
1176 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1179 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1182 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1183 Rename from byte-compile--refiy-function. All uses changed.
1185 2012-07-01 Chong Yidong <cyd@gnu.org>
1187 * xml.el (xml--parse-buffer): New function. Move most of
1188 xml-parse-region here.
1189 (xml-parse-region): Copy region into a temporary buffer, since
1190 parameter entity substitution requires changing buffer contents.
1191 Use xml--parse-buffer.
1192 (xml-parse-file): Use xml--parse-buffer.
1193 (xml-parse-dtd): Make parameter entity substitution work right.
1194 Use proper regexps for ELEMENT declarations (Bug#7172).
1196 2012-06-30 Glenn Morris <rgm@gnu.org>
1198 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1200 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1201 Remove outdated and unnecessary dbus declarations.
1203 2012-06-30 Eli Zaretskii <eliz@gnu.org>
1205 * emacs-lisp/timer.el (timer-until): Subtract results of
1206 float-time, instead of taking float-time of the result of
1207 time-subtract, since float-time signals an error for negative time
1210 2012-06-30 Chong Yidong <cyd@gnu.org>
1212 * xml.el (xml-*-re): Convert defvars into defconsts, and
1213 eval-and-compile them so eval-and-compile works on derivatives.
1214 (xml--entity-replacement-text): Use eval-and-comple.
1216 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
1218 * vc/vc-git.el (vc-git-registered): Use cache property
1220 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1221 `vc-git-working-revision' in order to benefit from the cache.
1222 (vc-git-root): Use cache property `git-root'. (Bug#11757)
1224 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1226 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
1227 removed (likely outside Emacs). (Bug#11757)
1229 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1231 * emacs-lisp/cl-lib.el: Require macroexp.
1233 2012-06-30 Chong Yidong <cyd@gnu.org>
1235 * xml.el: Implement XML parameter entities.
1236 (xml-parameter-entity-alist): New variable.
1237 (xml-parse-region, xml-parse-fragment): Preserve previous values
1238 of xml-entity-alist and xml-parameter-entity-alist, so that
1239 repeated calls on different documents do not change them.
1240 (xml-parse-tag): Fix doctype regexp.
1241 (xml--entity-replacement-text): New function.
1242 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1243 properly requires url retrieval which is unimplemented.
1244 (xml-escape-string): Doc fix.
1246 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1248 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1250 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1252 * fringe.el (fringe-mode): Doc fix.
1254 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
1256 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1258 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1259 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1261 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
1263 * calendar/cal-dst.el (calendar-current-time-zone):
1264 Return calendar-current-time-zone-cache if non-nil.
1266 2012-06-29 Masatake YAMATO <yamato@redhat.com>
1268 * progmodes/which-func.el (which-func-format):
1269 Add mouse-face. (Bug#11698)
1271 2012-06-29 Leo Liu <sdl.web@gmail.com>
1273 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1275 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1277 * minibuffer.el (minibuffer-confirm-exit-commands):
1278 Add completion-at-point (bug#11725).
1280 2012-06-29 Glenn Morris <rgm@gnu.org>
1282 * progmodes/f90.el (f90-font-lock-keywords-2):
1283 Add some preprocessor elements. (Bug#10499)
1285 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1287 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1288 Use syntax-propertize (bug#11739).
1290 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
1292 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1294 2012-06-28 Julien Danjou <julien@danjou.info>
1296 * term.el (term-handle-colors-array): Use a set of new faces to
1297 color the terminal. Also uses :inverse-video property.
1298 (term-default-fg-color): Set to nil by default, deprecate in favor
1300 (term-default-bg-color): Set to nil by default, deprecate in favor
1302 (term-current-face): Use `term-face' by default.
1303 (term-bold-attribute): Variable deleted.
1305 2012-06-28 Glenn Morris <rgm@gnu.org>
1307 * simple.el (completion-list-mode-finish):
1308 Don't use toggle-read-only. (Since completion-list-mode has
1309 a special mode-class, it wasn't doing anything extra anyway.)
1311 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1313 Make inlining of other-mode interpreted functions work (bug#11799).
1314 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1315 (byte-compile): Use it to fix compilation of lexical-binding closures.
1316 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1317 function, if needed.
1319 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1321 * help-mode.el (help-make-xrefs): Don't just withstand
1322 cyclic-variable-indirection but any error in documentation-property.
1324 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1326 * bindings.el (bindings--define-key): New function.
1327 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1328 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1329 * bindings.el: Use it to purecopy define-key bindings.
1331 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1333 * emacs-lisp/cl.el (flet): Mark obsolete.
1334 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1335 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1336 * progmodes/js.el (js-c-fill-paragraph):
1337 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1338 (ebrowse-switch-member-buffer-to-derived-class):
1339 * play/5x5.el (5x5-solver): Use cl-flet.
1341 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1342 (cl--symbol-function): New macro.
1343 (cl--letf, cl--letf*): Use it.
1345 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1346 Strip "toggle-" if any.
1348 2012-06-27 Glenn Morris <rgm@gnu.org>
1350 * info.el (Info-default-directory-list): Move here from paths.el.
1351 * paths.el: Remove file, which is now empty.
1352 * loadup.el: No longer load "paths".
1354 * custom.el (custom-initialize-delay): Doc fix.
1356 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1357 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1358 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1359 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1360 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1361 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1362 * eshell/eshell.el (eshell-defgroup): Remove alias.
1364 2012-06-27 Chong Yidong <cyd@gnu.org>
1366 * help.el (help-enable-auto-load): New variable.
1368 * help-fns.el (help-fns--autoloaded-p): New function.
1369 (describe-function-1): Refer to a function as "autoloaded" if it
1370 was autoloaded at any time in the past. Perform autoloading if
1371 help-enable-auto-load is non-nil.
1373 2012-06-26 Eli Zaretskii <eliz@gnu.org>
1375 * makefile.w32-in (compile, compile-always): Depend on
1376 update-subdirs, not on subdirs.el. Otherwise, several different
1377 sub-targets of 'bootstrap' running in parallel could
1378 simultaneously write to subdirs.el, producing a garbled file.
1380 2012-06-26 Sam Steingold <sds@gnu.org>
1382 * files.el (file-name-base): New convenience function.
1383 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1384 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1385 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1386 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1387 * textmodes/ispell.el, textmodes/reftex-ref.el:
1388 * textmodes/tex-mode.el: Use it.
1389 Did not touch cedet and org because they are maintained elsewhere.
1391 2012-06-26 Martin Rudalics <rudalics@gmx.at>
1393 * calendar/calendar.el (calendar-exit): Don't try to delete or
1394 iconify last frame. See:
1395 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1397 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1399 * server.el (server-process-filter): Remember dir in the
1400 process's `server-client-directory' properties.
1402 2012-06-24 Chong Yidong <cyd@gnu.org>
1404 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1407 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
1409 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1411 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1413 * help-fns.el (describe-variable): Don't croak when doc is not found.
1414 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1415 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1416 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1417 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1418 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1420 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1422 2012-06-23 Chong Yidong <cyd@gnu.org>
1424 * info.el (Info-mouse-follow-link): Accept symbol values of
1425 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
1426 (Info-fontify-node): Use Info-link-keymap for all navigation
1427 buttons, with link-args property to perform the desired action.
1428 (Info-link-keymap): Doc fix.
1429 (Info-next-link-keymap, Info-prev-link-keymap)
1430 (Info-up-link-keymap): Delete now-unused keymaps.
1432 2012-06-23 Chong Yidong <cyd@gnu.org>
1434 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1436 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1439 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1441 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1443 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1446 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1447 the requote function doesn't work properly (bug#11714).
1449 2012-06-23 Glenn Morris <rgm@gnu.org>
1451 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1453 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1455 Further GV/CL cleanups.
1456 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1458 (gv--defun-declaration): New function.
1459 (defun-declarations-alist): Use it.
1460 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1461 (gv-place): Autoload.
1462 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1463 original definition of dotimes and dolist.
1464 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1465 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1466 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1467 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1468 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1469 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1470 to the function's definition.
1471 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1475 * env.el: Don't use CL.
1477 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1479 Support higher-resolution time stamps (Bug#9000).
1481 * calendar/time-date.el (with-decoded-time-value): New arg
1482 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1483 (encode-time-value): New optional arg PICO. New type 3.
1484 (time-to-seconds) [!float-time]: Support the new picoseconds
1485 component if it's used.
1486 (seconds-to-time, time-subtract, time-add):
1487 Support ps-resolution time stamps as well.
1489 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1490 (timerp): Timer vectors now have length 9, not 8.
1491 (timer--time): Support new-style (4-part) time stamps.
1492 (timer-next-integral-multiple-of-time): Time stamps now have
1493 picosecond resolution, so take a bit more care about rounding.
1494 (timer-relative-time, timer-inc-time): New optional arg psecs.
1495 (timer-set-time-with-usecs): Set psecs to 0.
1496 (timer--activate): Check psecs component, too.
1498 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1500 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1502 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1503 Move the non-essential binding to the post/pre-command-hook where it is
1504 more obviously correct.
1506 * subr.el (read-passwd): Don't use a history at all.
1507 * savehist.el (savehist-save): Remove password saved accidentally
1508 because of the above bug.
1510 2012-06-22 Bastien Guerry <bzg@gnu.org>
1512 * files.el (toggle-read-only): Display a message telling whether
1513 the buffer is read-only or not (bug#11726).
1515 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1517 * emacs-lisp/gv.el: New file.
1518 * subr.el (push, pop): Extend to generalized variables.
1519 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1520 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1521 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1522 gv-define-simple-setter, and gv-define-expander.
1523 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1524 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1525 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1526 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1527 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1529 (cl-defstruct): Don't define setf-method any more.
1530 * emacs-lisp/cl.el (flet): Don't autoload.
1531 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1532 (define-setf-expander, defsetf, define-modify-macro)
1533 (cl-struct-setf-expander): Move from cl-lib.el.
1534 * emacs-lisp/syntax.el:
1535 * emacs-lisp/ewoc.el:
1536 * emacs-lisp/smie.el:
1537 * emacs-lisp/cconv.el:
1538 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1539 (timer--time): Use gv-define-simple-setter.
1540 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1541 to avoid coding-system problems in subr.el. Adjust all users.
1542 (macroexp--maxsize, macroexp-small-p): New functions.
1543 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1544 * scroll-bar.el (scroll-bar-mode):
1545 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1546 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1547 * winner.el (winner-configuration, winner-make-point-alist)
1548 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1549 * files.el (locate-file-completion-table): Avoid list*.
1551 2012-06-22 Chong Yidong <cyd@gnu.org>
1553 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1554 (dired-create-files): Doc fix (Bug#11329).
1555 (dired-do-copy): Doc fix (Bug#11334).
1556 (dired-mark-read-string): Doc fix (Bug#11553).
1558 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1559 Doc fix (Bug#11326).
1560 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1561 (dired-dwim-target): Doc fix.
1563 * wdired.el (wdired-mode): Doc fix.
1565 2012-06-22 Glenn Morris <rgm@gnu.org>
1567 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1568 (pcmpl-rpm-cache-stamp-file): New constant.
1569 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1570 (pcmpl-rpm-packages): Optionally cache list of packages.
1572 * pcmpl-rpm.el (pcmpl-rpm): New group.
1573 (pcmpl-rpm-query-options): New option.
1574 (pcmpl-rpm-packages): No need to inline it.
1575 Use pcmpl-rpm-query-options.
1577 * calendar/calendar.el (calendar-in-read-only-buffer):
1578 Avoid some needless mode changes.
1580 2012-06-21 Chong Yidong <cyd@gnu.org>
1582 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1583 (desktop-path): Remove . from the default value (Bug#10977).
1584 (desktop-read): Use user-emacs-directory if desktop-path is nil.
1586 2012-06-20 Chong Yidong <cyd@gnu.org>
1588 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1590 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1592 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1595 2012-06-20 Chong Yidong <cyd@gnu.org>
1597 * term.el (term-window-width): Handle the case of a missing right
1599 (term-check-size): Use window-text-height (Bug#5445).
1600 (term-mode): Use define-derived-mode. Minor cleanups.
1601 Set font-lock-defaults (Bug#7692).
1602 (term-move-columns, term-insert-char, term-emulate-terminal)
1603 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
1605 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
1607 * net/ange-ftp.el (ange-ftp-get-passwd):
1608 Bind `enable-recursive-minibuffers'.
1609 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1611 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1613 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1615 2012-06-19 Glenn Morris <rgm@gnu.org>
1617 * progmodes/python.el (python-mode): Derive from prog-mode.
1619 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1621 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1622 (edt-user-menu-bar-update-buffers): New functions.
1623 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1625 2012-06-19 Chong Yidong <cyd@gnu.org>
1627 * subr.el (with-selected-window): Preserve the selected window's
1628 terminal's top-frame (Bug#4702).
1630 * window.el (save-selected-window): Likewise.
1632 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1634 * progmodes/python.el (python-rx-constituents): Move backquote.
1635 (python-skeleton-define, python-define-auxiliary-skeleton):
1638 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
1640 * minibuffer.el (read-file-name-default): Revert the patch from
1643 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1645 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1646 (pcase--u1, pcase--q1): Don't use apply-partially.
1648 2012-06-18 Glenn Morris <rgm@gnu.org>
1650 * progmodes/python.el (python-proc, python-buffer)
1651 (python-send-receive, python-send-string): Fix obsolete versions.
1653 2012-06-18 Martin Rudalics <rudalics@gmx.at>
1655 * window.el (special-display-p): Completely remove stringp
1656 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1658 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
1660 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1662 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1664 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1665 * net/tramp-sh.el (tramp-maybe-open-connection):
1666 Throw if `non-essential' is non-nil.
1668 2012-06-17 Martin Rudalics <rudalics@gmx.at>
1670 * window.el (special-display-p): Signal an error if BUFFER-NAME
1671 is not a string (Bug#11713).
1673 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1675 * progmodes/python.el (python-info-beginning-of-backslash):
1676 Rename from python-info-beginning-of-backlash, as a spelling fix.
1678 2012-06-17 Chong Yidong <cyd@gnu.org>
1680 * term.el (term-emulate-terminal): If term-check-size is called,
1681 move point to the process mark without resetting point (Bug#4635).
1683 2012-06-17 Glenn Morris <rgm@gnu.org>
1685 * international/mule-cmds.el (mule-menu-keymap)
1686 (set-language-environment, set-locale-environment): Doc tweaks.
1688 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1690 * cus-face.el (custom-face-attributes): Add wave-style underline
1692 * faces.el (set-face-attribute): Update docstring to describe
1693 wave-style underline attribute.
1695 2012-06-16 Chong Yidong <cyd@gnu.org>
1697 * term/xterm.el (terminal-init-xterm): Discard input before
1698 querying background mode (Bug#10959).
1700 2012-06-16 Stefan Merten <smerten@oekonux.de>
1702 * textmodes/rst.el: Added and corrected some comments.
1703 (rst-re-alist-def): Improve symbol syntax.
1704 (rst-mode-syntax-table): Correct syntax entries.
1705 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1706 (rst-official-version, rst-official-cvs-rev): Update version
1709 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
1711 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1712 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1714 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1716 * progmodes/python.el: New python.el merge.
1717 (python-guess-indent): Obsolete var.
1718 (python-indent-guess-indent-offset): New defcustom.
1719 (python-indent): Obsolete var.
1720 (python-indent-offset): New defcustom.
1721 (python-python-command, python-jython-command): Delete var.
1722 (python-shell-interpreter): New defcustom.
1723 (python-pdbtrack-do-tracking-p): Delete var.
1724 (python-pdbtrack-activate): New defcustom.
1725 (python-use-skeletons): Obsolete var.
1726 (python-skeleton-autoinsert): New defcustom.
1727 (inferior-python-filter-regexp, python-continuation-offset)
1728 (python-honour-comment-indentation, python-indent-string-contents)
1729 (python-jython-packages, python-mode-hook)
1730 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1731 (python-shell-prompt-alist)
1732 (python-source-modes): Delete defcustoms.
1733 (python-check-buffer-name, python-eldoc-setup-code)
1734 (python-eldoc-string-code, python-ffap-setup-code)
1735 (python-ffap-string-code, python-fill-comment-function)
1736 (python-fill-decorator-function, python-fill-paren-function)
1737 (python-fill-string-function, python-imenu-include-defun-type)
1738 (python-imenu-make-tree, python-imenu-subtree-root-label)
1739 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1740 (python-shell-compilation-regexp-alist)
1741 (python-shell-completion-module-string-code)
1742 (python-shell-completion-pdb-string-code)
1743 (python-shell-completion-setup-code)
1744 (python-shell-completion-string-code)
1745 (python-shell-enable-font-lock, python-shell-exec-path)
1746 (python-shell-extra-pythonpaths)
1747 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1748 (python-shell-process-environment)
1749 (python-shell-prompt-block-regexp)
1750 (python-shell-prompt-output-regexp)
1751 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1752 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1753 (python-shell-virtualenv-path): New defcustoms.
1754 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1755 (inferior-python-mode-syntax-table, python--prompt-regexp)
1756 (python-buffer, python-command python-python-command)
1757 (python-default-template, python-imports, python-indent-index)
1758 (python-indent-list, python-indent-list-length)
1759 (python-mode-running, python-pdbtrack-is-tracking-p)
1760 (python-preoutput-continuation, python-preoutput-leftover)
1761 (python-preoutput-result, python-preoutput-skip-next-prompt)
1762 (python-prev-dir/file, python-recursing)
1763 (python-saved-check-command, python-version-checked)
1764 (python-which-func-length-limit)
1765 (view-return-to-alist): Delete vars.
1766 (python-check-custom-command, python-dotty-syntax-table)
1767 (python-imenu-index-alist, python-indent-current-level)
1768 (python-indent-dedenters, python-indent-levels)
1769 (python-nav-beginning-of-defun-regexp)
1770 (python-nav-list-defun-positions-cache)
1771 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1772 (python-shell-internal-buffer)
1773 (python-skeleton-available): New vars.
1774 (def-python-skeleton): Delete macro.
1775 (python-skeleton-define): New macro.
1776 (python-define-auxiliary-skeleton, python-rx): New macros.
1777 (python-insert-class): Delete command.
1778 (python-skeleton-class): New command.
1779 (python-insert-def): Delete command.
1780 (python-skeleton-def): New command.
1781 (python-insert-for): Delete command.
1782 (python-skeleton-for): New command.
1783 (python-insert-if): Delete command.
1784 (python-skeleton-if): New command.
1785 (python-insert-try/except, python-insert-try/finally): Delete commands.
1786 (python-skeleton-try): New command.
1787 (python-insert-while): Delete command.
1788 (python-skeleton-while): New command.
1789 (python-backspace): Delete command.
1790 (python-indent-dedent-line-backspace): New command.
1791 (python-electric-colon): Delete command.
1792 (python-indent-electric-colon): New command.
1793 (python-guess-indent): Delete command.
1794 (python-indent-guess-indent-offset): New command.
1795 (python-shift-left): Delete command.
1796 (python-indent-shift-left): New command.
1797 (python-shift-right): Delete command.
1798 (python-indent-shift-right): New command.
1799 (python-find-function): Delete command.
1800 (python-nav-jump-to-defun): New command.
1801 (python-next-statement): Delete command.
1802 (python-nav-forward-sentence): New command.
1803 (python-previous-statement): Delete command.
1804 (python-nav-backward-sentence): New command.
1805 (python-fill-paragraph): Delete command.
1806 (python-fill-paragraph-function): New command.
1807 (python-send-buffer): Delete command.
1808 (python-shell-send-buffer): New command.
1809 (python-send-defun): Delete command.
1810 (python-shell-send-defun): New command.
1811 (python-send-region, python-send-region-and-go): Delete commands.
1812 (python-shell-send-region)
1813 (python-shell-switch-to-shell): New commands.
1814 (python-send-string): Delete command.
1815 (python-shell-send-string): New command.
1816 (python-switch-to-python): Delete command.
1817 (python-shell-switch-to-shell): New command.
1818 (python-describe-symbol): Delete command.
1819 (python-eldoc-at-point): New command.
1820 (python--set-prompt-regexp, python-args-to-list)
1821 (python-after-info-look, python-check-version)
1822 (python-check-comint-prompt, python-find-imports)
1823 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1824 (python-unload-function, python-expand-template)
1825 (python-maybe-jython, python-preoutput-filter)
1826 (python-pdbtrack-get-source-buffer)
1827 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1828 (python-pdbtrack-toggle-stack-tracking)
1829 (python-pdbtrack-track-stack-file, python-initial-text)
1830 (python-first-word, python-comment-line-p, python-send-command)
1831 (python-setup-brm, python-sentinel, python-set-proc)
1832 (python-skip-out, python-input-filter, python-outdent-p)
1833 (python-outline-level, python-backslash-continuation-line-p)
1834 (python-end-of-block, python-end-of-statement, python-mark-block)
1835 (python-beginning-of-block, python-beginning-of-statement)
1836 (python-blank-line-p, python-beginning-of-string)
1837 (python-open-block-statement-p): Delete functions.
1838 (python-indent-line, python-indent-line-1): Delete functions.
1839 (python-indent-line): New function.
1840 (python-indentation-levels): Delete function.
1841 (python-indent-calculate-levels): New function.
1842 (python-proc): Delete function.
1843 (python-shell-get-process): New function.
1844 (python-send-receive): Delete function.
1845 (python-shell-send-string-no-output): New function.
1846 (python-module-path): Delete function.
1847 (python-ffap-module-path): New function.
1848 (python-completion-at-point)
1849 (python-symbol-completions): Delete functions.
1850 (python-completion-complete-at-point): New function.
1851 (python-load-file): Delete function.
1852 (python-shell-send-file): New function.
1853 (python-calculate-indentation): Delete function.
1854 (python-indent-calculate-indentation): New function.
1855 (python-skip-comments/blanks): Delete function.
1856 (python-util-forward-comment): New function.
1857 (python-continuation-line-p): Delete function.
1858 (python-info-continuation-line-p): New function.
1859 (python-which-func, python-current-defun): Delete function.
1860 (python-info-current-defun): New function.
1861 (python-beginning-of-defun): Delete function.
1862 (python-nav-beginning-of-defun): New function.
1863 (python-close-block-statement-p)
1864 (python-block-end-p): Delete function.
1865 (python-info-closing-block): New function.
1866 (python-comint-output-filter-function)
1867 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1868 (python-fill-comment, python-fill-decorator, python-fill-paren)
1869 (python-fill-string, python-imenu-make-element-tree)
1870 (python-imenu-make-tree, python-imenu-tree-assoc)
1871 (python-indent-context, python-indent-dedent-line)
1872 (python-indent-line-function)
1873 (python-indent-post-self-insert-function)
1874 (python-indent-toggle-levels)
1875 (python-info-assignment-continuation-line-p)
1876 (python-info-beginning-of-backlash)
1877 (python-info-block-continuation-line-p)
1878 (python-info-closing-block-message)
1879 (python-info-line-ends-backslash-p)
1880 (python-info-looking-at-beginning-of-defun)
1881 (python-info-ppss-context, python-info-ppss-context-type)
1882 (python-nav-list-defun-positions, python-nav-read-defun)
1883 (python-nav-sentence-end, python-nav-sentence-start)
1884 (python-pdbtrack-comint-output-filter-function)
1885 (python-pdbtrack-set-tracked-buffer)
1886 (python-shell-calculate-exec-path)
1887 (python-shell-calculate-process-environment)
1888 (python-shell-completion--do-completion-at-point)
1889 (python-shell-completion--get-completions)
1890 (python-shell-completion-complete-at-point)
1891 (python-shell-completion-complete-or-indent)
1892 (python-shell-get-or-create-process)
1893 (python-shell-get-process-name)
1894 (python-shell-internal-get-or-create-process)
1895 (python-shell-internal-get-process-name)
1896 (python-shell-internal-send-string, python-shell-make-comint)
1897 (python-shell-parse-command, python-shell-send-setup-code)
1898 (python-skeleton-add-menu-items)
1899 (python-util-clone-local-variables, python-util-position)
1900 (run-python-internal, python-indentation-levels)
1901 (python-nav-beginning-of-defun)
1902 (python-completion-complete-at-point): New functions.
1903 (run-python): Change arguments. New API requirements.
1905 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1907 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1910 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1911 (macroexp--expand-all): Use it.
1913 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1914 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1915 Use `cl-function' instead.
1917 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
1919 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1920 Suggested by Stefan Monnier while discussing bug#11657.
1922 2012-06-14 Sam Steingold <sds@gnu.org>
1924 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1926 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1928 * play/doctor.el (doctor-doc): Remove parameter and use
1929 doctor-sent instead of sent.
1930 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1932 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1934 * files.el: Require cl-lib.
1935 (file-name-non-special): Replace case -> cl-case.
1937 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1939 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1940 mapping from #' to function*.
1942 2012-06-13 Chong Yidong <cyd@gnu.org>
1944 * mouse.el (mouse-drag-track): Do not set the mark if the user
1945 releases the mouse without selecting anything (Bug#11588).
1947 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1949 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1950 as well (bug#11646).
1952 * loadup.el: Count byte-code functions as well.
1954 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1955 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1957 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1958 (bug#11649). Add cl-defun and cl-defmacro.
1960 2012-06-13 Drew Adams <drew.adams@oracle.com>
1962 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1965 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
1967 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1968 Otherwise, it blocks in batch mode.
1970 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
1972 * help-mode.el (bookmark-make-record-default): Declare.
1974 2012-06-13 Chong Yidong <cyd@gnu.org>
1976 * emacs-lisp/package.el (list-packages): Compute a list of
1977 packages that are newly-available since the last list-packages
1979 (package-menu--new-package-list): New var.
1980 (package-menu--generate, package-menu--print-info)
1981 (package-menu--status-predicate, package-menu-mark-install):
1982 Handle new status label "new".
1984 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1986 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1987 conversion to backquotes.
1989 2012-06-12 Chong Yidong <cyd@gnu.org>
1991 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1992 Rename from gud-inhibit-global-bindings.
1994 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1996 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1997 hook from nxml-glyph-set-hook.
1999 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2002 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2004 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2005 Convert to defcustom.
2007 2012-06-12 Drew Adams <drew.adams@oracle.com>
2009 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2011 (help-mode): Use them.
2013 2012-06-11 Glenn Morris <rgm@gnu.org>
2015 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2016 Use preprocessor face for directives.
2017 (fortran-directive-re): Doc fix.
2019 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2021 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2022 conversion to backquotes (bug#11652).
2024 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2025 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2026 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2027 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2028 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2029 (cl-ninth, cl-tenth): Mark them as inlinable.
2030 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2031 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2032 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2033 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2034 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2035 (cl-list*, cl-adjoin): Don't put an autoload manually.
2036 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2037 (cl--compiler-macro-list*): Add autoload cookie.
2038 (cl--compiler-macro-cXXr): New function.
2040 * help-fns.el (help-fns--compiler-macro): New function extracted from
2041 describe-function-1; follow aliases and use `compiler-macro' property.
2042 (describe-function-1): Use it.
2044 2012-06-11 Chong Yidong <cyd@gnu.org>
2046 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2047 is uninstalled, if imagemagick is installed.
2049 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2051 * emacs-lisp/cl-lib.el: Use lexical-binding.
2052 (cl-map-extents, cl-maclisp-member): Remove.
2053 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2054 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2055 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2056 * emacs-lisp/cl-extra.el: Use lexical-binding.
2057 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2058 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2059 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2060 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2061 * emacs-lisp/cl-seq.el: Use lexical-binding.
2062 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2063 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2064 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2065 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2066 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2069 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
2071 Sync with Tramp 2.2.6-pre.
2073 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2074 `print-length' and `print-level' to nil, in order to avoid
2075 truncation. Reported by Christopher Schmidt
2076 <christopher@ristopher.com>.
2078 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2080 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2082 (tramp-compat-copy-directory): Add optional argument
2083 COPY-CONTENTS. It is not handled yet.
2085 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2086 (tramp-ftp-file-name-p): Simplify.
2088 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2089 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2092 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2093 (tramp-methods): Do not use `tramp-password-end-of-line'.
2094 (tramp-completion-function-alist-putty): Handle UNIX case.
2095 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2096 (tramp-do-file-attributes-with-stat)
2097 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2098 gid as real numbers. They could run out of integer range on cygwin.
2099 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2100 (tramp-sh-handle-expand-file-name): Handle hops.
2101 (tramp-open-connection-setup-interactive-shell):
2102 Use `tramp-cleanup'. Move check for busyboxes ...
2103 (tramp-find-shell): ... here. Simplify implementation.
2104 Set "remote-shell" property also for alternative shells.
2105 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2106 If failing, a regular file would be written otherwise.
2107 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2108 (tramp-find-inline-encoding): Cache the coding commands in the
2109 process cache. Apply test command on the remote side, if defined.
2110 (tramp-find-inline-compress): Cache the compress commands in the
2112 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2113 when requested. Handle hops.
2114 (tramp-current-connection): New defvar.
2115 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2116 Throw `suppress', if there was a failed connection shortly before.
2117 Handle user interrupt. (Bug#10187)
2118 (tramp-get-inline-compress, tramp-get-inline-coding):
2119 Read connection properties from the process cache.
2121 * net/tramp-smb.el (tramp-smb-server-version)
2122 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2124 (tramp-smb-prompt): Extend for powershell prompt.
2125 (tramp-smb-file-name-handler-alist): Add handlers for
2126 `process-file', `shell-command' and `start-file-process'.
2127 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2128 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2129 (tramp-smb-file-name-p): Simplify.
2130 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2131 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2132 (tramp-smb-shell-quote-argument): New defuns.
2133 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2134 Implement using "tar". By this, time-stamps are preserved.
2135 (tramp-smb-handle-copy-file): Handle also the case of directories.
2136 (tramp-smb-do-file-attributes-with-stat)
2137 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2138 Use `tramp-get-connection-buffer').
2139 (tramp-smb-handle-rename-file): Use "rename", when source and
2140 target are on the same share.
2141 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2142 Use `tramp-smb-server-version'.
2143 (tramp-smb-wait-for-output): Remove prompt.
2145 * net/tramp.el (top): Require 'cl.
2146 (tramp-methods, tramp-rsh-end-of-line):
2147 Remove `tramp-password-end-of-line' from docstring.
2148 (tramp-save-ad-hoc-proxies): New defcustom.
2149 (tramp-completion-function-alist): Adapt docstring.
2150 (tramp-default-password-end-of-line): Remove defcustom.
2151 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2152 (tramp-user-regexp, tramp-file-name-regexp-unified)
2153 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2154 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2155 (tramp-remote-file-name-spec-regexp): New defconst.
2156 (tramp-file-name-structure): Extend structure for hops.
2157 (tramp-get-method-parameter): Move up.
2158 (tramp-file-name-p, tramp-dissect-file-name)
2159 (with-parsed-tramp-file-name): Handle hops.
2160 (tramp-file-name-hop): New defun.
2161 (tramp-make-tramp-file-name): New optional arg HOP.
2162 (tramp-message-show-progress-reporter-message): New defvar.
2163 (tramp-with-progress-reporter): Use it. We cannot use
2164 `tramp-message-show-message' here, because this suppresses also
2166 (tramp-error-with-buffer): Suppress buffer view, if
2167 `tramp-message-show-message' is nil.
2168 Use `tramp-get-connection-buffer'.
2169 (tramp-cleanup): New defun.
2170 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2171 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2173 (tramp-completion-handle-file-name-all-completions): Handle hops.
2174 Fix an error when called from ido.
2175 (tramp-completion-dissect-file-name): Use better local variable
2176 name. Add hop to the vector.
2177 (tramp-handle-insert-file-contents): Use progress-reporter for the
2179 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2181 (tramp-check-for-regexp): Simplify search.
2182 (tramp-enter-password): Remove it. Move implementation ...
2183 (tramp-action-password): ... here.
2184 (tramp-mode-string-to-int, tramp-local-host-p)
2185 (tramp-make-tramp-temp-file, tramp-read-passwd)
2186 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2187 Set tramp-autoload cookie.
2189 * net/trampver.el: Update release number.
2191 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2192 Michael Albinus <michael.albinus@gmx.de>
2194 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2195 (tramp-parse-group, tramp-parse-file)
2196 (tramp-parse-shostkeys-sknownhosts): New defuns.
2197 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2198 (tramp-parse-shosts-group, tramp-parse-sconfig)
2199 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2200 (tramp-parse-sknownhosts, tramp-parse-hosts)
2201 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2203 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2204 (tramp-parse-putty-group): Don't narrow.
2205 (tramp-parse-putty): Make a loop.
2206 (tramp-file-name-handler): Catch the `suppress' signal.
2208 2012-06-11 Chong Yidong <cyd@gnu.org>
2210 * image.el (imagemagick-register-types): Put the ImageMagick entry
2211 at the end of image-type-file-name-regexps.
2213 2012-06-11 Johan Bockgård <bojohan@gnu.org>
2215 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2216 (pcase, pcase-let*, pcase-dolist): Use them.
2218 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2220 * emacs-lisp/pcase.el (pcase--let*): New function.
2221 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2222 (pcase--expand): Use macroexp-let².
2224 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2226 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2227 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2228 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2229 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2230 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2231 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2233 2012-06-10 Glenn Morris <rgm@gnu.org>
2235 * mail/rmail.el (rmail-yank-current-message): Leave point at
2236 correct position. (Bug#11660)
2238 2012-06-10 Chong Yidong <cyd@gnu.org>
2240 * allout-widgets.el: Fix code header.
2242 2012-06-10 Chong Yidong <cyd@gnu.org>
2244 * cus-edit.el (customize-changed-options-previous-release):
2247 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2249 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2251 2012-06-09 Chong Yidong <cyd@gnu.org>
2253 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2255 2012-06-09 Martin Rudalics <rudalics@gmx.at>
2257 * window.el (special-display-popup-frame): Don't use
2258 window--display-buffer (Bug#11651).
2260 2012-06-09 Eli Zaretskii <eliz@gnu.org>
2262 Fix parallel builds: make sure loaddefs.el is not being written
2263 while Lisp files are compiled.
2264 (compile): Don't depend on 'mh-autoloads'.
2265 (compile-CMD, compile-SH): Depend on 'autoloads'.
2266 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2268 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2270 2012-06-09 Chong Yidong <cyd@gnu.org>
2272 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2273 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2274 Doc fixes (Bug#11225).
2276 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2278 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2279 a function if there's a clear indication that it has a compiler-macro.
2280 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2281 (macro-declarations-alist): Add arglist to declaration functions.
2282 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2283 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2284 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2285 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2286 Also add autoload to find the compiler macro.
2287 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2288 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2289 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2290 (cl--compiler-macro-get): New functions, replacing calls to
2291 cl-define-compiler-macro.
2292 (cl-typep) [compiler-macro]: Use macroexp-let².
2294 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
2296 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2297 string properly, fixes Bug#11473.
2299 2012-06-08 Chong Yidong <cyd@gnu.org>
2301 * faces.el (set-face-attribute): Doc fix.
2302 (modify-face): Don't use :bold and :italic.
2303 (error, warning, success): Tweak definitions.
2305 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2306 (custom-modified, custom-set, custom-changed, custom-themed)
2307 (custom-saved, custom-button, custom-button-mouse)
2308 (custom-button-pressed, custom-state, custom-comment-tag)
2309 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2310 (custom-group-subtitle): Use new-style face specs.
2311 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2312 (custom-set-face, custom-changed-face, custom-saved-face)
2313 (custom-button-face, custom-button-pressed-face)
2314 (custom-documentation-face, custom-state-face)
2315 (custom-comment-face, custom-comment-tag-face)
2316 (custom-variable-tag-face, custom-variable-button-face)
2317 (custom-face-tag-face, custom-group-tag-face-1)
2318 (custom-group-tag-face): Remove obsolete face alias.
2320 * epa.el (epa-validity-high, epa-validity-medium)
2321 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2322 (epa-field-name, epa-field-body):
2323 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2324 (font-lock-keyword-face, font-lock-builtin-face)
2325 (font-lock-function-name-face, font-lock-variable-name-face)
2326 (font-lock-type-face, font-lock-constant-face):
2327 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2328 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2329 * speedbar.el (speedbar-button-face, speedbar-file-face)
2330 (speedbar-directory-face, speedbar-tag-face)
2331 (speedbar-selected-face, speedbar-highlight-face)
2332 (speedbar-separator-face):
2333 * whitespace.el (whitespace-newline, whitespace-space)
2334 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2335 (whitespace-line, whitespace-space-before-tab)
2336 (whitespace-space-after-tab, whitespace-indentation)
2338 * emulation/cua-base.el (cua-global-mark):
2339 * eshell/em-prompt.el (eshell-prompt):
2340 * net/newst-plainview.el (newsticker-new-item-face)
2341 (newsticker-old-item-face, newsticker-immortal-item-face)
2342 (newsticker-obsolete-item-face, newsticker-date-face)
2343 (newsticker-statistics-face, newsticker-default-face):
2344 * net/newst-reader.el (newsticker-feed-face)
2345 (newsticker-extra-face, newsticker-enclosure-face):
2346 * net/newst-treeview.el (newsticker-treeview-face)
2347 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2348 (newsticker-treeview-immortal-face)
2349 (newsticker-treeview-obsolete-face)
2350 (newsticker-treeview-selection-face):
2351 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2352 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2353 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2354 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2355 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2356 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2357 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2359 * progmodes/vera-mode.el (vera-font-lock-number)
2360 (vera-font-lock-function, vera-font-lock-interface):
2361 * textmodes/table.el (table-cell): Use new-style face specs, and
2362 don't use the old :bold and :italic attributes.
2364 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2365 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2366 (ebrowse-member-class, ebrowse-progress): Likewise.
2367 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2368 (ebrowse-file-name-face, ebrowse-default-face)
2369 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2370 (ebrowse-progress-face): Remove obsolete faces.
2372 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2373 Inherit from error and warning faces respectively.
2375 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2377 (flyspell-incorrect-face, flyspell-duplicate-face):
2378 Remove obsolete aliases.
2380 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
2382 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2385 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2387 * startup.el (argv, argi): Make lexically scoped.
2388 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2389 * emacs-lisp/cl-macs.el: Use lexical-binding.
2390 Rename cl-bind-* to cl--bind-*.
2391 * files.el: Don't require `cl' since it doesn't use it.
2392 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2394 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
2396 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2397 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2398 instead of calling external sort utility.
2399 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2401 2012-06-08 Eli Zaretskii <eliz@gnu.org>
2403 * descr-text.el (describe-char): Mention how to insert the
2404 character, if the current input method doesn't support it.
2405 See the discussion in this thread for the details:
2406 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2408 2012-06-08 Sam Steingold <sds@gnu.org>
2410 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2411 XF86Back to previous-buffer.
2412 (minibuffer-local-map): Bind them to next-history-element and
2413 previous-history-element respectively.
2414 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2415 help-go-back respectively.
2416 * info.el (Info-mode-map): Bind them to Info-history-forward and
2417 Info-history-back respectively.
2418 These are the keys next to Up on the ThinkPad keyboard.
2420 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2422 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2423 * emacs-lisp/cl-macs.el: Provide itself.
2424 (cl--labels-convert-cache): New var.
2425 (cl--labels-convert): New function.
2426 (cl-flet, cl-labels): New implementation with new semantics, relying on
2428 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2429 (cl-closure-vars, cl--function-convert-cache)
2430 (cl--function-convert): Move from cl-macs.el.
2431 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2432 rename by removing the "cl-" prefix.
2433 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2435 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2437 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2438 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2439 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2440 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2441 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2442 (cl-hash-table-count): Add old compatibility aliases.
2444 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2445 Use macroexpand-all-environment instead.
2446 (cl--old-macroexpand): New var.
2447 (cl--sm-macroexpand): New function.
2448 (cl-symbol-macrolet): Use it during macro expansion.
2449 (cl--function-convert-cache): New var.
2450 (cl--function-convert): New function, extracted from
2452 (cl-lexical-let): Use it.
2454 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2455 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2456 (cl-member): Remove old alias.
2458 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2459 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2460 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2461 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2462 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2463 (cl-macroexpand-cmacs): Remove var.
2464 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2465 Use macroexpand-all instead.
2467 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2469 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2470 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2471 (macroexp-copyable-p): New functions and macros.
2472 * emacs-lisp/edebug.el (edebug-unwrap):
2473 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2474 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2475 (pcase--let*): Remove.
2476 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2477 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2478 macroexp-const-p instead.
2479 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2481 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2482 instead of "cl-" for internal definitions. Use macroexp-const-p.
2483 (cl-old-bc-file-form): Remove var.
2484 (cl-const-exprs-p): Remove fun.
2485 (cl-labels, cl-macrolet): Use backquote.
2486 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2487 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2488 (cl-define-setf-expander): Rename from cl-define-setf-method.
2489 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2491 * international/mule-cmds.el: Don't require CL.
2492 (view-hello-file): Don't use `letf'.
2494 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2496 * tmm.el (tmm-prompt): Use string-prefix-p.
2497 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2498 (tmm-add-prompt): Use minibuffer-completion-help.
2499 (tmm-delete-map): Remove.
2501 * subr.el (kbd): Make it its own function.
2503 2012-06-07 Stefan Merten <smerten@oekonux.de>
2505 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2506 Silence compiler warnings. Fix versions.
2507 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
2508 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
2509 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
2510 (rst-package-emacs-version-alist): Correct Emacs version to
2511 represent major merge with upstream.
2512 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
2514 2012-06-06 Glenn Morris <rgm@gnu.org>
2516 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2517 Only print environment variables if set.
2519 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2521 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2522 (macroexp--cons): Rename from maybe-cons.
2523 (macroexp--accumulate): Rename from macroexp-accumulate.
2524 (macroexp--all-forms): Rename from macroexpand-all-forms.
2525 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2526 (macroexp--expand-all): Rename from macroexpand-all-1.
2528 2012-06-06 Sam Steingold <sds@gnu.org>
2530 * calendar/calendar.el (calendar-in-read-only-buffer):
2531 Call `special-mode' to enable the standard read-only keybindings.
2533 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2535 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2536 with "loading" messages (bug#11635).
2538 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
2540 * files.el (enable-remote-dir-locals): New option.
2541 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2543 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2544 Ensure, that the temp directory is local.
2546 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2547 `temporary-file-directory'.
2549 * progmodes/python.el (python-send-region): Ensure, that the
2550 temporary file is created also in the remote case.
2552 2012-06-06 Glenn Morris <rgm@gnu.org>
2554 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2555 (vc-rcs-update-changelog): Use it.
2557 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
2559 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2560 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2561 (vc-sccs-diff): Replace use of the external vcdiff script.
2563 2012-06-05 Glenn Morris <rgm@gnu.org>
2565 * ledit.el: Move to obsolete/.
2567 2012-06-05 Sam Steingold <sds@gnu.org>
2569 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
2572 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2574 * emacs-lisp/cust-print.el: Move to obsolete.
2576 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2577 compiler-macro expansion.
2579 Add native compiler-macro support.
2580 * emacs-lisp/macroexp.el (macroexpand-all-1):
2581 Support compiler-macros directly. Properly follow aliases and apply
2582 the compiler macros more thoroughly.
2583 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2584 macroexpand now properly follows aliases.
2585 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2586 (cl-compiler-macroexpand): Use new prop.
2587 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2589 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2591 2012-06-05 Martin Rudalics <rudalics@gmx.at>
2593 * window.el (get-lru-window, get-mru-window, get-largest-window):
2594 New argument NOT-SELECTED to avoid picking the selected window.
2595 (window--display-buffer-1, window--display-buffer-2): Replace by
2596 new function window--display-buffer
2597 (display-buffer-same-window, display-buffer-reuse-window)
2598 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2599 Use window--display-buffer.
2600 (display-buffer-use-some-window): Remove temporary dedication
2601 hack by calling get-lru-window and get-largest-window with
2602 NOT-SELECTED argument non-nil. Call window--display-buffer.
2604 2012-06-05 Glenn Morris <rgm@gnu.org>
2606 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2607 Replace external vcdiff script.
2609 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2611 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2613 2012-06-04 Chong Yidong <cyd@gnu.org>
2615 * image.el (imagemagick-types-inhibit): Revert last change.
2617 (imagemagick-enabled-types): Remove CIN and EPS*.
2619 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2621 * emacs-lisp/cl-lib.el: Rename from cl.el.
2622 * emacs-lisp/cl.el: New compatibility file.
2623 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2624 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2625 to obey the "cl-" prefix.
2626 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2628 2012-06-03 Glenn Morris <rgm@gnu.org>
2630 * emacs-lisp/authors.el (authors-aliases): Addition.
2632 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2635 2012-06-03 Stefan Merten <smerten@oekonux.de>
2637 * textmodes/rst.el: Add comments.
2638 (rst-transition, rst-adornment): New faces.
2639 (rst-adornment-faces-alist): Make default safe to reevaluate.
2641 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2642 Improve customization tags.
2643 (rst-define-level-faces): Clarify meaning.
2645 2012-06-03 Chong Yidong <cyd@gnu.org>
2647 * progmodes/compile.el (compilation-mode-line-fail)
2648 (compilation-mode-line-run, compilation-mode-line-exit):
2650 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2652 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2654 * progmodes/which-func.el (which-func-update-ediff-windows):
2655 New function. Use it in ediff-select-hook (Bug#11478).
2657 2012-06-03 Chong Yidong <cyd@gnu.org>
2659 * bindings.el: Remove explicit help text from format-mode-line.
2660 It is now supplied by mode-line-default-help-echo.
2661 (mode-line-front-space, mode-line-end-spaces)
2662 (mode-line-misc-info): New variables.
2663 (mode-line-modes, mode-line-position): Move the default value to
2664 the variable definition.
2665 (mode-line-default-help-echo): New defcustom.
2666 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2667 (mode-line-modified-help-echo): New functions.
2668 (mode-line-mule-info, mode-line-modified): Use them.
2669 (mode-line-eol-desc, propertized-buffer-identification):
2670 Consistency fixes for help text.
2671 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2672 set-buffer-file-coding-system (Bug#289).
2673 (mode-line-mule-info-help-echo): Update help text.
2675 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2677 * simple.el (execute-extended-command): Set real-this-command
2680 2012-06-02 Chong Yidong <cyd@gnu.org>
2682 Remove incorrect uses of "modeline" in comments, docstrings, and
2683 function/variable names (Bug#10329).
2685 * cus-edit.el (mode-line):
2686 * dframe.el (dframe-mouse-hscroll):
2687 * emacs-lisp/re-builder.el:
2688 * emacs-lisp/easy-mmode.el (define-minor-mode):
2689 * frame.el (set-frame-name):
2690 * help.el (lookup-minor-mode-from-indicator):
2691 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2692 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2693 (c-toggle-hungry-state):
2694 * progmodes/antlr-mode.el (antlr-language-alist):
2695 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2696 * progmodes/vhdl-mode.el (vhdl-mode):
2697 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2698 * term/ns-win.el (ns-face-at-pos):
2699 * term/sup-mouse.el (sup-mouse-report):
2700 * textmodes/flyspell.el (flyspell-mode-line-string):
2701 * textmodes/ispell.el (ispell-highlight-face):
2702 * textmodes/reftex-global.el:
2703 * vc/vc-arch.el (vc-arch-mode-line-string):
2704 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2705 * vc/vc-git.el (vc-git-mode-line-string):
2706 * vc/vc-hooks.el (vc-display-status)
2707 (vc-default-mode-line-string):
2708 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2710 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2712 * dired.el (dired-sort-set-mode-line): Rename from
2713 dired-sort-set-modeline. All callers changed.
2715 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2716 eshell-status-in-modeline.
2718 * foldout.el (foldout-mode-line-string): Rename from
2719 foldout-modeline-string. All callers changed.
2720 (foldout-update-mode-line): Rename from foldout-update-modeline.
2722 * subr.el (redraw-modeline): Make into obsolete alias.
2724 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2725 timeclock-modeline-display. Make old name an alias.
2726 (timeclock-update-mode-line): Likewise. All callers changed.
2727 (timeclock-mode-line-display): No need to check before using
2729 (timeclock-relative, timeclock-day-over-hook)
2730 (timeclock-use-elapsed, timeclock-mode-string)
2731 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2733 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2734 crisp-mode-modeline-string.
2736 * play/solitaire.el (solitaire-build-mode-line): Rename from
2737 solitaire-build-modeline. All callers changed.
2739 * play/zone.el (zone-hiding-mode-line): Rename from
2740 zone-hiding-modeline. All callers changed.
2741 (zone): Remove unusued `modeline-hidden-level' property.
2743 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2744 xscheme-modeline-initialize. All callers changed.
2746 * strokes.el (strokes-lighter): Rename from
2747 strokes-modeline-string.
2749 * textmodes/sgml-mode.el (html-face-tag-alist)
2750 (html-tag-face-alist): Use mode-line face instead of obsolete
2753 2012-06-02 Stefan Merten <smerten@oekonux.de>
2755 * textmodes/rst.el: Always require `cl'.
2756 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
2758 2012-06-02 Chong Yidong <cyd@gnu.org>
2760 * image.el (imagemagick-enabled-types): Rename from
2761 imagemagick-types-enable. Add many more types.
2762 (imagemagick-types-inhibit): Change default to nil.
2763 (imagemagick-filter-types): Caller changed.
2765 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2767 * emacs-lisp/cl-macs.el: Use backquotes.
2768 (cl-transform-function-property): Use eval-and-compile rather than
2770 (defstruct): Use declare-function instead of with-no-warnings.
2772 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2773 (byte-compile-output-docform): Re-add the print-circle bindings.
2774 (byte-compile-fix-header): Use #$ just because it's shorter.
2775 (byte-compile-output-file-form): Remove defun/defmacro.
2777 2012-06-01 Martin Rudalics <rudalics@gmx.at>
2779 * simple.el (choose-completion): Remove now obsolete binding for
2782 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
2784 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2785 in order to avoid "Stack overflow in regexp matcher".
2787 2012-05-31 Glenn Morris <rgm@gnu.org>
2789 * image.el: For clarity, call imagemagick-register-types at
2790 top-level, rather than relying on a custom :initialize.
2791 (imagemagick-types-enable): New option. (Bug#11557)
2792 (imagemagick-filter-types): New function. (Bug#7406)
2793 (imagemagick-register-types): Use imagemagick-filter-types.
2794 If disabling support, remove elements altogether rather
2795 than using an impossible regexp.
2796 (imagemagick-types-inhibit): Give it the default init function.
2798 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2800 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2801 Handle arbitrary file name lengths (Bug#11585).
2803 2012-05-31 Martin Rudalics <rudalics@gmx.at>
2805 * desktop.el (desktop-read): Clear previous and next buffers for
2806 all windows and bury *Messages* buffer (bug#11556).
2808 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2810 Add `declare' for `defun'. Align `defmacro's with it.
2811 * emacs-lisp/easy-mmode.el (define-minor-mode)
2812 (define-globalized-minor-mode): Don't autoload the var definitions.
2813 * emacs-lisp/byte-run.el: Use lexical-binding.
2814 (defun-declarations-alist, macro-declarations-alist): New vars.
2815 (defmacro, defun): Use them.
2816 (make-obsolete, define-obsolete-function-alias)
2817 (make-obsolete-variable, define-obsolete-variable-alias):
2819 (macro-declaration-function): Mark obsolete.
2820 * emacs-lisp/autoload.el: Use lexical-binding.
2821 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2823 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2825 * textmodes/ispell.el (ispell-with-no-warnings):
2827 (ispell-kill-ispell, ispell-change-dictionary):
2828 Use `called-interactively-p' for Emacs instead of obsolete
2831 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2833 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2834 (macro-declaration-function): Move var from C code.
2835 (macro-declaration-function): Define function with defalias.
2836 * emacs-lisp/macroexp.el (macroexpand-all-1):
2837 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2838 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2839 defun/defmacro any more.
2840 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2841 Provide fallback for unknown arglist.
2842 (byte-compile-arglist-warn): Change calling convention.
2843 (byte-compile-output-file-form): Move print-vars binding.
2844 (byte-compile-output-docform): Simplify accordingly.
2845 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2846 (byte-compile-defmacro-declaration): Remove.
2847 (byte-compile-file-form-defmumble): Generalize to defalias.
2848 (byte-compile-output-as-comment): Return byte-positions.
2849 Simplify callers accordingly.
2850 (byte-compile-lambda): Use `assert'.
2851 (byte-compile-defun, byte-compile-defmacro): Remove.
2852 (byte-compile-file-form-defalias):
2853 Use byte-compile-file-form-defmumble.
2854 (byte-compile-defalias-warn): Remove.
2856 2012-05-29 Stefan Merten <smerten@oekonux.de>
2858 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
2859 possible. Fix authors. Improve comments. Improve loading of `cl'.
2861 (rst-mode-abbrev-table): Merge definition.
2862 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2863 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2865 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
2867 * calendar/icalendar.el
2868 (icalendar-export-region): Export UID properly.
2870 2012-05-29 Leo Liu <sdl.web@gmail.com>
2871 * calendar/icalendar.el (icalendar-import-format):
2872 Add `icalendar-import-format-uid' (Bug#11525).
2873 (icalendar-import-format-uid): New.
2874 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2877 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2879 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2880 different alternative patterns.
2881 (pcase-codegen): Be more careful to preserve identity.
2882 (pcase--u1): Don't forget to mark vars as used.
2884 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2885 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2886 (byte-compile-from-buffer): ...rather than here.
2888 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2889 functions from byte-compile-function-environment.
2891 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
2893 * window.el (window-deletable-p): Avoid deleting the root window
2894 of a frame with an active minibuffer.
2896 2012-05-29 Martin Rudalics <rudalics@gmx.at>
2898 * simple.el (choose-completion): Use quit-window (Bug#11567).
2900 2012-05-29 Chong Yidong <cyd@gnu.org>
2902 * whitespace.el (whitespace-cleanup): Fix usage of
2903 whitespace-empty-at-bob-regexp (Bug#11492).
2905 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2907 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2910 2012-05-29 Juri Linkov <juri@jurta.org>
2912 * isearch.el (isearch-mode-map): Bind `M-s _' to
2913 `isearch-toggle-symbol'. Bind `M-s c' to
2914 `isearch-toggle-case-fold'.
2915 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2916 (isearch-forward): Add `M-s _' to the docstring.
2917 (isearch-forward-symbol, isearch-toggle-case-fold)
2918 (isearch-symbol-regexp): New functions. (Bug#11381)
2920 2012-05-29 Juri Linkov <juri@jurta.org>
2922 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2923 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2924 a function, call it to get the regexp.
2925 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2926 property `isearch-message-prefix' instead of the string "word ".
2927 (isearch-search-fun-default): For the case of `isearch-word',
2928 return a lambda that calls re-search-forward/re-search-backward
2929 with a regexp returned by `word-search-regexp' or by the function
2932 2012-05-29 Juri Linkov <juri@jurta.org>
2934 * isearch.el (isearch-search-fun-default): New function.
2935 (isearch-search-fun): Move default part to the new function
2936 `isearch-search-fun-default'.
2937 (isearch-search-fun-function): Set the default value to
2938 `isearch-search-fun-default'. (Bug#11381)
2940 * comint.el (comint-history-isearch-end):
2941 Use `isearch-search-fun-default'.
2942 (comint-history-isearch-search): Use `isearch-search-fun-default'
2943 and remove spacial case for `isearch-word'.
2944 (comint-history-isearch-wrap): Remove spacial case for
2947 * hexl.el (hexl-isearch-search-function):
2948 Use `isearch-search-fun-default'.
2950 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2951 Use `word-search-regexp' for `isearch-word'.
2953 * misearch.el (multi-isearch-search-fun):
2954 Use `isearch-search-fun-default'.
2956 * simple.el (minibuffer-history-isearch-search):
2957 Use `isearch-search-fun-default' and remove spacial case for
2959 (minibuffer-history-isearch-wrap): Remove spacial case for
2962 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2963 Remove spacial case for `isearch-word'.
2964 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2966 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2968 Decrease XEmacs incompatibilities.
2969 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2971 (flyspell-delete-region-overlays): Use alternative definition for
2973 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2974 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2975 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2976 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2977 `define-obsolete-face-alias' under XEmacs, but old method.
2979 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2980 `with-no-warnings' definition or Emacs alias.
2981 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2982 (ispell-word): Do not use `region-p' if XEmacs.
2984 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2986 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2987 Check for `ispell-dictionary-base-alist' instead of full
2988 `ispell-dictionary-alist'.
2989 (ispell-init-process): Show spellchecker when starting new Ispell
2992 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2994 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2995 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2997 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
2999 * version.el (motif-version-string, gtk-version-string)
3000 (ns-version-string): Declare.
3002 2012-05-27 Juri Linkov <juri@jurta.org>
3004 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3005 after the `eval-defun-1' specialcaseing
3006 like in `edebug-eval-defun' (bug#10181).
3008 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3009 like in `eval-defun-1'.
3011 2012-05-27 Eli Zaretskii <eliz@gnu.org>
3013 * mail/sendmail.el (mail-yank-region):
3014 Recognize rmail-yank-current-message in addition to insert-buffer.
3015 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
3016 a *mail* buffer created through rmail-start-mail with sendmail as
3019 2012-05-27 Chong Yidong <cyd@gnu.org>
3021 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3022 Default to 256 (Bug#11267).
3024 * help.el (describe-mode): Doc fix.
3026 2012-05-26 Glenn Morris <rgm@gnu.org>
3028 * w32-fns.el (w32-init-info): Remove.
3029 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3031 * info.el (info-initialize): For self-contained NS builds, put the
3032 included info/ directory at the front. (Bug#2791)
3034 * paths.el (Info-default-directory-list): Make it a defcustom,
3035 mainly so that we can use custom-initialize-delay.
3037 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3039 * subr.el (buffer-has-markers-at): Mark obsolete.
3041 * subr.el (lambda): Use declare.
3043 * emacs-lisp/lisp-mode.el (lambda):
3044 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3046 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3048 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3050 2012-05-26 Glenn Morris <rgm@gnu.org>
3052 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3054 2012-05-25 Glenn Morris <rgm@gnu.org>
3056 * paths.el: Remove no-byte-compile.
3057 * loadup.el: No need to load paths.el uncompiled.
3059 * image.el (imagemagick-types-inhibit): Doc fix.
3061 * version.el: Remove no-byte-compile and associated formatting.
3062 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3063 is ancient code from when there was an "inc-vers.el".
3065 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3067 * progmodes/gdb-mi.el: Minor style changes.
3068 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3069 Turn into minor modes.
3070 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3071 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3072 (gdb-shell): Remove unneeded let-binding.
3073 (gdb-get-many-fields): Eliminate O(n²) behavior.
3075 2012-05-25 Eli Zaretskii <eliz@gnu.org>
3077 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3078 platforms that don't link in fontset.c.
3080 2012-05-25 Juri Linkov <juri@jurta.org>
3082 Use the same diff color scheme as in modern VCSes (bug#10181).
3084 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3085 to avoid confusion with `diff-added' that now uses green colors.
3086 (diff-removed): Use shades of red.
3087 (diff-added): Use shades of green.
3088 (diff-changed): Leave just the yellow color.
3089 (diff-use-changed-face): New variable.
3090 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3091 how to highlight context diff changes.
3092 (diff-refine-change): Use shades of yellow.
3093 (diff-refine-removed): New face that uses shades of red.
3094 (diff-refine-added): New face that uses shades of green.
3095 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3096 `diff-refine-removed' in the call to `smerge-refine-subst'
3097 depending on the value of `diff-use-changed-face'.
3099 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3100 (smerge-other): Use shades of green.
3101 (smerge-base): Use shades of yellow.
3102 (smerge-refined-change): Empty face.
3103 (smerge-refined-removed): New face that uses shades of red.
3104 (smerge-refined-added): New face that uses shades of green.
3105 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3106 args `props-r' and `props-a', and use them. Doc fix.
3107 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3108 on its value use different faces `smerge-refined-change',
3109 `smerge-refined-removed', `smerge-refined-added' in the call to
3110 `smerge-refine-subst'.
3112 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3113 Add face condition `min-colors 88' with shades of red.
3114 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3115 `min-colors 88' with shades of green.
3116 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3117 `min-colors 88' with shades of yellow.
3119 2012-05-24 Glenn Morris <rgm@gnu.org>
3121 * paths.el (prune-directory-list, remote-shell-program): Move to...
3122 * files.el (prune-directory-list, remote-shell-program): ...here.
3123 For the latter, delay initialization, prefer ssh, just search PATH.
3125 * paths.el (term-file-prefix): Move to faces.el (the only user).
3126 * faces.el (term-file-prefix): Move here, make it a defcustom.
3128 * paths.el (news-directory, news-path, news-inews-program):
3129 Move to gnus/nnspool.el.
3131 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3133 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3134 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3135 Make the latter a defcustom, with a delayed initialization.
3137 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3138 These were deleted from Gnus itself late 2010.
3140 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
3142 * progmodes/which-func.el (which-func-ff-hook):
3143 Check against user-error, not error.
3145 * emacs-lisp/edebug.el (top): Do not load or set up loading of
3146 cl-specs.el, which no longer exists.
3148 2012-05-22 Glenn Morris <rgm@gnu.org>
3150 * info.el (info-emacs-bug): New command.
3151 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3152 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3154 2012-05-21 Glenn Morris <rgm@gnu.org>
3156 * makefile.w32-in (update-subdirs-SH):
3157 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3159 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3161 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3163 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3164 Simplify Maven regexp, and make sure the file can't start with a space
3167 2012-05-21 Glenn Morris <rgm@gnu.org>
3169 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3170 Scrap superfluous subshells.
3172 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3174 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3175 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3177 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3179 * calc/calc.el (calc-ensure-consistent-units): New variable.
3181 * calc/calc-units.el (math-consistent-units-p)
3182 (math-check-unit-consistency): New functions.
3183 (calc-quick-units, calc-convert-units):
3184 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3186 (calc-extract-units): Fix typo.
3188 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3190 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3192 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3193 (flyspell-default-deplacement-commands): Don't spell check after
3194 repeated window/frame switches (e.g. triggered by mouse-movement).
3195 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3196 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3197 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3198 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3200 (flyspell-get-casechars, flyspell-get-not-casechars):
3201 Simplify; Don't bother removing a ] just to add it back.
3202 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3204 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3206 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3208 (math-function-table): Add support for more C functions.
3210 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3212 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3213 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3214 Protect delay handling for otherchars against empty otherchars.
3216 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3218 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3219 their respective macro declarations.
3220 * skeleton.el (define-skeleton):
3221 * progmodes/compile.el (define-compilation-mode):
3222 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3223 (define-ibuffer-filter):
3224 * emacs-lisp/generic.el (define-generic-mode):
3225 * emacs-lisp/easy-mmode.el (define-minor-mode)
3226 (define-globalized-minor-mode):
3227 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3228 * emacs-lisp/byte-run.el (defsubst):
3229 * custom.el (deftheme): Add doc-string metadata.
3231 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3233 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3235 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3237 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3239 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3240 * emacs-lisp/cl-macs.el: Idem.
3241 * emacs-lisp/cl-specs.el: Remove.
3243 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3245 Minor renaming of internal CL functions and variables.
3246 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3247 (cl--position): Rename from cl-position.
3248 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3249 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3250 (cl--random-state): Rename from *random-state*.
3252 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3254 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3255 parens around the arg list (bug#11499).
3257 2012-05-17 Juri Linkov <juri@jurta.org>
3259 * isearch.el (word-search-regexp, word-search-backward)
3260 (word-search-forward, word-search-backward-lax)
3261 (word-search-forward-lax): Move functions from search.c
3262 (bug#10145, bug#11381).
3264 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3266 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3267 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3268 Delay for otherchars as for normal word components.
3270 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3272 * minibuffer.el (completion--sifn-requote): Fix last change.
3273 (minibuffer-local-must-match-filename-map):
3274 Move define-obsolete-variable-alias before its var.
3276 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3278 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3280 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3282 (completion--string-equal-p): New function.
3283 (completion--twq-all): Use it to get better assertion failure data.
3285 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3286 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3287 (shell--requote-argument): New functions.
3288 (shell-completion-vars): Use them.
3289 (shell--parse-pcomplete-arguments): Rename from
3290 shell-parse-pcomplete-arguments.
3291 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3292 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3293 Obey comint-file-name-quote-list.
3295 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3296 (smie-indent-keyword): Use it.
3298 2012-05-14 Stefan Merten <smerten@oekonux.de>
3300 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3302 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3304 * net/rlogin.el (rlogin-mode-map): Fix last change.
3306 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
3308 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3309 the following \r\n using a single `process-send-string', since the
3310 Lotus SMTP server refuses to accept any commands if they are sent
3311 with two `process-send-string's (Bug#11444).
3313 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3315 * shell.el (shell-parse-pcomplete-arguments):
3316 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
3318 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3320 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
3321 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3322 (image-transform-width, image-transform-fit-width): New functions.
3323 (image-transform-properties): Use them.
3324 (image-transform-check-size): New function.
3325 (image-toggle-display-image): Use it (for testing).
3326 (image-transform-set-rotation): Reduce angle mod 360.
3327 Delete obsolete comment.
3329 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3331 * image-mode.el: Fix scaling (bug#11399).
3332 (image-transform-resize): Doc fix.
3333 (image-transform-properties): Default scale is 1 and height should
3336 2012-05-13 Johan Bockgård <bojohan@gnu.org>
3338 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3339 than hard-coding `car', to fix misbehavior when moving forward.
3341 2012-05-13 Chong Yidong <cyd@gnu.org>
3343 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3344 (tabulated-list-entries, tabulated-list-padding)
3345 (tabulated-list-sort-key): Make permanent-local.
3347 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3348 (electric-buffer-list): Put electric buffer menu
3349 command descriptions in this docstring, instead of the docstring
3350 of electric-buffer-menu-mode. Code cleanups.
3351 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3352 Electric-buffer-menu-mode.
3353 (electric-buffer-update-highlight): Minor code cleanup.
3355 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
3357 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3360 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3362 Move define-obsolete-variable-alias before the var's definition.
3363 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3364 * tooltip.el (tooltip-hook):
3365 * textmodes/reftex-toc.el (reftex-toc-map):
3366 * textmodes/reftex-sel.el (reftex-select-label-map)
3367 (reftex-select-bib-map):
3368 * textmodes/reftex-index.el (reftex-index-map)
3369 (reftex-index-phrases-map):
3370 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3371 * progmodes/meta-mode.el (meta-mode-map):
3372 * novice.el (disabled-command-hook):
3373 * loadhist.el (unload-hook-features-list):
3374 * frame.el (blink-cursor):
3375 * files.el (find-file-not-found-hooks, write-file-hooks)
3376 (write-contents-hooks):
3377 * emulation/tpu-edt.el (GOLD-map):
3378 * emacs-lock.el (emacs-lock-from-exiting):
3379 * emacs-lisp/generic.el (generic-font-lock-defaults):
3380 * emacs-lisp/chart.el (chart-map):
3381 * dos-fns.el (register-name-alist):
3382 * dired-x.el (dired-omit-files-p):
3383 * desktop.el (desktop-enable):
3384 * cus-edit.el (custom-mode-hook):
3385 * buff-menu.el (buffer-menu-mode-hook):
3386 * bookmark.el (bookmark-read-annotation-text-func)
3387 (bookmark-exit-hooks):
3388 * allout.el (allout-mode-deactivate-hook)
3389 (allout-exposure-change-hook, allout-structure-added-hook)
3390 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3391 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3392 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3393 comes before the corresponding variable's definition.
3395 2012-05-12 Chong Yidong <cyd@gnu.org>
3397 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
3398 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3399 (Buffer-menu-mode-map): Bind it.
3400 (Buffer-menu--pretty-name): Add a mouse-face property.
3402 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3404 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3405 (prolog-upper-case-string, prolog-lower-case-string)
3406 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3407 (prolog-use-smie, prolog-smie-grammar): New vars.
3408 (prolog-smie-forward-token, prolog-smie-backward-token)
3409 (prolog-smie-rules): New funs.
3410 (prolog-comment-indent): Remove.
3411 (prolog-mode-variables): Use default comment indentation instead.
3413 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3414 (prolog-mode): Don't call them any more.
3415 (prolog-electric-colon, prolog-electric-dash)
3416 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3418 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3420 * minibuffer.el (completion--twq-all): Again, allow case differences.
3422 * term.el: Move keymap initialization code to be more idiomatic.
3423 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3424 (term-terminal-menu): Move initialization into declaration.
3425 (term-escape-char): Let the user set it in her .emacs.
3427 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3428 Provide SMIE-based indentation (not enabled by default yet).
3429 (sh-mode-map): Don't bind electric keys.
3430 Use electric-pair-mode instead of skeleton-pair.
3431 (sh-assignment-regexp): Fit within 80 columns.
3432 (sh-indent-supported): Specify actual shell name instead of boolean.
3433 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3434 (sh-maybe-here-document): Use it. Make obsolete.
3435 (sh-electric-here-document-mode) New minor mode.
3436 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3437 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3438 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3439 (sh-smie-rc-grammar, sh-use-smie): New vars.
3440 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3441 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3442 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3443 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3444 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3445 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3446 (sh-set-shell): Use smie-setup if requested.
3448 * term.el (term-set-escape-char): Properly set term-escape-char.
3449 See http://stackoverflow.com/questions/10524656.
3451 2012-05-10 Chong Yidong <cyd@gnu.org>
3453 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3454 Use url-generic-parse-url, and handle host names and Windows
3456 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3457 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3458 URL schemes to work on.
3459 (ffap--toggle-read-only): New function.
3460 (ffap-read-only, ffap-read-only-other-window)
3461 (ffap-read-only-other-frame): Use it.
3462 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3463 necessary for ffap-url-unwrap-remote.
3465 2012-05-10 Dave Abrahams <dave@boostpro.com>
3467 * cus-start.el (create-lockfiles): Add it.
3469 2012-05-09 Chong Yidong <cyd@gnu.org>
3471 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3472 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3474 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3476 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3478 2012-05-09 Chong Yidong <cyd@gnu.org>
3480 * ansi-color.el (ansi-color-process-output): Check for validity of
3481 comint-last-output-start before using it. This avoids a bad
3482 interaction with gdb-mi's input/output buffer.
3484 2012-05-09 Glenn Morris <rgm@gnu.org>
3486 * files.el (dir-locals-read-from-file):
3487 Mention dir-locals in any error message.
3489 2012-05-09 Chong Yidong <cyd@gnu.org>
3491 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3492 package (Bug#11410).
3494 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3495 variables into description.
3497 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3499 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3500 shell-delimiter-argument-list (bug#11348).
3501 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3503 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
3505 * textmodes/rst.el: Silence byte-compiler warnings.
3506 (rst-re-alist, rst-reset-section-caches): Move around.
3507 (rst-re): Use `characterp', not `char-valid-p'.
3508 (font-lock-beg, font-lock-end): Declare.
3510 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3511 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3513 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3515 2012-05-08 Glenn Morris <rgm@gnu.org>
3517 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3519 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3521 * vc/log-edit.el: Add GNU coding standards highlighting.
3522 (log-edit-font-lock-gnu-style)
3523 (log-edit-font-lock-gnu-keywords): New vars.
3524 (log-edit-font-lock-keywords): New fun.
3525 (log-edit-mode): Don't fold case in font-lock.
3526 (log-edit-font-lock-keywords): Do not assume case-folding.
3528 * imenu.el: Misc cleanup. Make docstrings out of comments.
3529 Use lexical-binding.
3530 (imenu--index-alist, imenu--last-menubar-index-alist)
3531 (imenu-menubar-modified-tick): Use defvar-local.
3532 (imenu--split-menu): Remove unused var.
3533 (imenu--cleanup-seen): Declare as global.
3534 (imenu--cleanup): Use dolist.
3536 * subr.el (defvar-local): Add debug spec and doc-string position.
3538 2012-05-08 Glenn Morris <rgm@gnu.org>
3540 * language/burmese.el, language/cham.el, language/czech.el:
3541 * language/english.el, language/georgian.el, language/greek.el:
3542 * language/japanese.el, language/khmer.el, language/korean.el:
3543 * language/lao.el, language/misc-lang.el, language/romanian.el:
3544 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3545 * language/thai.el, language/utf-8-lang.el:
3546 Remove no-byte-compile setting.
3548 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3550 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3552 * progmodes/make-mode.el (makefile-browse):
3553 Remove unnecessary interactive. (Bug#11324)
3555 2012-05-07 Glenn Morris <rgm@gnu.org>
3557 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3559 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3561 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3563 * loadup.el: Preload newcomment.el.
3564 * newcomment.el: Move autoload-only code to toplevel.
3566 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3567 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3568 Handle new :right-align column property.
3569 (tabulated-list-print-col): Idem, plus use `display' text-property to
3570 try and preserve alignment for variable pitch fonts.
3572 2012-05-07 Chong Yidong <cyd@gnu.org>
3574 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3575 (tabulated-list-use-header-line): New var.
3576 (tabulated-list-init-header): Use it.
3577 (tabulated-list-print-fake-header): New function.
3578 (tabulated-list-print): Use it.
3579 (tabulated-list-sort-button-map): Add non-header-line commands.
3580 (tabulated-list-init-header): Add column name property to basic
3582 (tabulated-list-col-sort): Handle non-header-line button case.
3583 (tabulated-list--sort-by-column-name): Fix a corner case.
3585 * buff-menu.el (list-buffers--refresh):
3586 Handle Buffer-menu-use-header-line.
3588 2012-05-06 Chong Yidong <cyd@gnu.org>
3590 * buff-menu.el: Convert to Tabulated List mode.
3591 (Buffer-menu-buffer+size-width): Make obsolete.
3592 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3593 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3594 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3595 documentation into docstring of buffer-menu.
3596 (Buffer-menu-toggle-files-only): Add an informative message.
3597 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3598 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3599 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3600 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3601 (Buffer-menu-execute, Buffer-menu-select)
3602 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3603 (Buffer-menu-bury): Use Tabulated List machinery.
3604 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3605 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
3607 (list-buffers--refresh): New function.
3608 (list-buffers-noselect): Use it.
3609 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3610 (Buffer-menu--pretty-file-name): New helper functions.
3612 * loadup.el: Preload tabulated-list.
3614 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3615 tabulated-list-sort-column.
3616 (tabulated-list-init-header): Add the initial aligning space even
3617 if tabulated-list-padding is zero.
3619 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3621 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3622 whose cdr is not a cons cell correctly (bug#11038).
3624 2012-05-06 Chong Yidong <cyd@gnu.org>
3626 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3627 Accept additional plist in column descriptors.
3628 (tabulated-list-init-header): Obey it.
3629 (tabulated-list-get-entry): New function.
3630 (tabulated-list-put-tag): Use it. Use string-width instead of
3632 (tabulated-list--column-number): New function.
3633 (tabulated-list-print): Use it.
3634 (tabulated-list-print-col): New function.
3635 Set `tabulated-list-column-name' property on each column's text.
3636 (tabulated-list-print-entry): Use it.
3637 (tabulated-list-delete-entry, tabulated-list-set-col):
3639 (tabulated-list-sort-column): New command (Bug#11337).
3641 * buff-menu.el (list-buffers): Move C-x C-b binding from
3642 buff-menu.el to bindings.el.
3644 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3645 :advertised-binding feature.
3647 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3649 * progmodes/compile.el (compilation-internal-error-properties):
3650 Calculate start position correctly when end-col is set but
3651 end-line is not (Bug#11382).
3653 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3655 * man.el (Man-unindent): Use text-property-default-nonsticky to
3656 prevent untabify from inheriting face properties (Bug#11408).
3658 2012-05-05 Stefan Merten <smerten@oekonux.de>
3660 * textmodes/rst.el: Major merge with upstream development up to
3661 Docutils SVN r7399 / rst.el V1.2.1.
3663 Clarify maintainership and authors.
3665 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3666 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3667 (rst-official-version, rst-official-cvs-rev, rst-version)
3668 (rst-package-emacs-version-alist): New functions and variables
3669 for version information.
3671 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3672 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3673 (rst-mode-syntax-table, rst-mode): New and corrected functions
3674 and variables representing reStructuredText features.
3676 (rst-re): New function for reStructuredText regexes. Use in
3679 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3680 (rst-mode-map): Rebind keys.
3682 (rst-mode-lazy, rst-font-lock-keywords)
3683 (rst-font-lock-extend-region)
3684 (rst-font-lock-extend-region-internal)
3685 (rst-font-lock-extend-region-extend)
3686 (rst-font-lock-find-unindented-line-limit)
3687 (rst-font-lock-find-unindented-line-match)
3688 (rst-adornment-level, rst-font-lock-adornment-level)
3689 (rst-font-lock-adornment-match)
3690 (rst-font-lock-handle-adornment-pre-match-form)
3691 (rst-font-lock-handle-adornment-matcher): Major revision of
3692 font-locking. Integrate with other code. Use `jit-lock-mode'.
3694 (rst-preferred-adornments, rst-adjust-hook)
3695 (rst-new-adornment-down, rst-preferred-bullets)
3696 (rst-preferred-bullets, rst-indent, rst-indent-width)
3697 (rst-indent-field, rst-indent-literal-normal)
3698 (rst-indent-literal-minimized, rst-indent-comment): Change,
3699 extend and improve customization.
3701 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3702 (rst-normalize-cursor-position, rst-get-decoration)
3703 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3704 (rst-rstrip, rst-toc-insert-find-delete-contents)
3705 (rst-shift-fill-region, rst-compute-bullet-tabs)
3706 (rst-debug-print-tabs, rst-debug-mark-found)
3707 (rst-shift-region-guts, rst-shift-region-right)
3708 (rst-shift-region-left, rst-use-char-classes)
3709 (rst-font-lock-keywords-function)
3710 (rst-font-lock-indentation-point)
3711 (rst-font-lock-find-unindented-line-begin)
3712 (rst-font-lock-find-unindented-line-end)
3713 (rst-font-lock-find-unindented-line)
3714 (rst-font-lock-adornment-point, rst-font-lock-level)
3715 (rst-adornment-level-alist): Remove functions and variables.
3717 (rst-compare-adornments, rst-get-adornment-match)
3718 (rst-suggest-new-adornment, rst-get-adornments-around)
3719 (rst-adornment-complete-p, rst-get-next-adornment)
3720 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3721 (rst-straighten-adornments): Standardize function names to
3722 use "adornment" instead of "decoration". Correct callers.
3723 Similar standardizing in many places.
3725 (rst-update-section, rst-adjust, rst-promote-region)
3726 (rst-enumerate-region, rst-bullet-list-region)
3727 (rst-repeat-last-character): Correct use of `interactive'.
3729 (rst-classify-adornment, rst-find-all-adornments)
3730 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3731 (rst-find-leftmost-column, rst-repeat-last-character):
3734 (rst-find-title-line, rst-reset-section-caches)
3735 (rst-get-adornments-around, rst-adjust-adornment-work)
3736 (rst-arabic-to-roman, rst-roman-to-arabic)
3737 (rst-insert-list-pos, rst-insert-list-new-item)
3738 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3741 (rst-all-sections, rst-section-hierarchy)
3742 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3745 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3746 configuration instead of only buffer. Change where necessary.
3748 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3749 (rst-shift-region, rst-adaptive-fill): New functions for
3750 indentation and filling.
3752 (rst-comment-line-break, rst-comment-indent)
3753 (rst-comment-insert-comment, rst-comment-region)
3754 (rst-uncomment-region): New functions for handling comments.
3756 (rst-compile): Quote shell arguments.
3758 (rst-compile-pdf-preview, rst-compile-slides-preview):
3759 Delete temporary files after use.
3761 2012-05-05 Glenn Morris <rgm@gnu.org>
3763 * calendar/cal-html.el: Optionally include holidays in the output.
3764 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3765 (cal-html-holidays): New option.
3766 (cal-html-css-default): Add holiday entry.
3767 (holiday-in-range): Autoload it.
3768 (cal-html-htmlify-entry): Add optional class argument.
3769 (cal-html-htmlify-list): Add optional holidays argument.
3770 (cal-html-insert-agenda-days): Include holidays in the output.
3771 (cal-html-one-month): Maybe include holidays.
3773 * calendar/holidays.el (holiday-in-range):
3774 Move here from cal-tex-list-holidays.
3775 * calendar/cal-tex.el (cal-tex-list-holidays):
3776 Make it an obsolete alias for holiday-in-range. Update all callers.
3778 2012-05-05 Chong Yidong <cyd@gnu.org>
3780 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3783 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3785 * files.el (file-auto-mode-skip): New var.
3786 (set-auto-mode-1): Use it.
3788 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3790 * repeat.el: Use lexical-binding.
3791 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3792 (repeat-undo-count): Remove.
3794 * progmodes/octave-mod.el (octave-abbrev-start):
3795 * progmodes/f90.el (f90-abbrev-start):
3796 * face-remap.el (text-scale-adjust):
3797 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3799 * emacs-lisp/pcase.el (pcase--let*): New function.
3800 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3802 (pcase--split-pred): Be more clever about ruling out overlap between
3803 a predicate and some constant pattern.
3804 (pcase--q1): Use `null' instead of (eq foo nil).
3806 * subr.el (setq-local, defvar-local): New macros.
3807 (kbd): Redefine as an alias.
3808 (with-selected-window): Leave unrelated frames alone.
3809 (set-temporary-overlay-map): New function.
3811 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3813 * subr.el (user-error): New function.
3814 * window.el (switch-to-buffer):
3815 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3816 (smerge-match-conflict):
3817 * simple.el (previous-matching-history-element)
3818 (next-matching-history-element, goto-history-element, undo-more)
3820 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3821 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3822 (next-file, tags-loop-scan, list-tags, complete-tag):
3823 * progmodes/compile.el (compilation-loop):
3824 * mouse.el (mouse-minibuffer-check):
3825 * man.el (Man-bgproc-sentinel, Man-goto-page):
3826 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3827 (Info-history-forward, Info-follow-reference, Info-menu)
3828 (Info-extract-menu-item, Info-extract-menu-counting)
3829 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3830 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3831 (Info-next-reference, Info-prev-reference, Info-index)
3832 (Info-index-next, Info-follow-nearest-node)
3833 (Info-copy-current-node-name):
3834 * imenu.el (imenu--make-index-alist)
3835 (imenu-default-create-index-function, imenu-add-to-menubar):
3836 * files.el (basic-save-buffer, recover-file):
3837 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3838 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3839 (checkdoc-message-text, checkdoc-defun):
3840 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3841 * cus-edit.el (customize-changed-options, customize-rogue)
3842 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3843 (custom-variable-mark-to-reset-standard)
3844 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3846 * completion.el (check-completion-length):
3847 * comint.el (comint-search-arg)
3848 (comint-previous-matching-input-string-position)
3849 (comint-previous-matching-input)
3850 (comint-replace-by-expanded-history-before-point, comint-send-input)
3851 (comint-copy-old-input, comint-backward-matching-input)
3852 (comint-goto-process-mark, comint-set-process-mark):
3853 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3854 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3856 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3858 * dabbrev.el (dabbrev--ignore-case-p): New function.
3859 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3862 * files.el (automount-dir-prefix): Mark as obsolete.
3864 2012-05-04 Glenn Morris <rgm@gnu.org>
3866 * patcomp.el, play/bruce.el: Move to obsolete/.
3868 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3870 Fix minor Y10k bugs.
3871 * arc-mode.el (archive-unixdate):
3872 * autoinsert.el (auto-insert-alist):
3873 * calc/calc-forms.el (math-this-year):
3874 * emacs-lisp/copyright.el (copyright-current-year)
3875 (copyright-update-year, copyright):
3876 * tar-mode.el (tar-clip-time-string):
3877 * time.el (display-time-update):
3878 Don't assume years have 4 digits.
3880 2012-05-04 Chong Yidong <cyd@gnu.org>
3882 * dos-w32.el (file-name-buffer-file-type-alist)
3883 (direct-print-region-use-command-dot-com):
3884 * ffap.el (ffap-menu-regexp):
3885 * find-file.el (ff-special-constructs):
3886 * follow.el (follow-debug):
3887 * forms.el (forms--debug):
3888 * iswitchb.el (iswitchb-all-frames):
3889 * ido.el (ido-all-frames):
3890 * emacs-lisp/timer.el (timer-max-repeats):
3891 * mail/feedmail.el (feedmail-mail-send-hook)
3892 (feedmail-mail-send-hook-queued):
3893 * mail/footnote.el (footnote-signature-separator):
3894 * mail/mailabbrev.el (mail-alias-separator-string)
3895 (mail-abbrev-mode-regexp):
3896 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3897 * progmodes/idlwave.el (idlwave-libinfo-file)
3898 (idlwave-default-completion-case-is-down)
3899 (idlwave-library-routines): Convert defvars to defcustoms.
3901 * mail/rmail.el (rmail-decode-mime-charset):
3902 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3903 (idlwave-shell-fix-inserted-breaks)
3904 (idlwave-shell-activate-alt-keybindings)
3905 (idlwave-shell-use-breakpoint-glyph):
3906 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3908 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3910 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3912 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3914 * progmodes/verilog-mode.el (font-lock-keywords):
3915 Fix mis-highligting auto. Reported by Craig Barner.
3916 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3917 defines from global name space. Reported by Dan Dever.
3918 (verilog-auto-reset, verilog-auto-reset-widths)
3919 (verilog-auto-tieoff): Support using unbased numbers for
3920 AUTORESET and AUTOTIEOFF.
3921 (verilog-submit-bug-report): Update variable list.
3922 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3923 parenthesis from not matching. Reported by Michael Rytting.
3924 (verilog-auto-template-lint): Fix hash error when linting modules
3925 with no used templates.
3926 (verilog-warn, verilog-warn-error)
3927 (verilog-warn-fatal): When non-interactive report multiple
3928 warnings before exiting. Suggested by Brad Dobbie.
3929 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3930 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3931 to report unused template errors. Reported by Brad Dobbie.
3932 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3933 nets, bug438. Reported by Vns Blore.
3934 (verilog-auto-inout-module, verilog-auto-reg)
3935 (verilog-read-decls, verilog-read-sub-decls-sig)
3936 (verilog-signals-edit-wire-reg, verilog-signals-with):
3937 Fix passing of Verilog data types in ANSI input/output ports
3938 such as "output logic" into the AUTOs. Special case "wire" and
3939 "reg" for backwards compatibility presuming Verilog 2001.
3940 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3941 (verilog-preprocess): Fix replication of preprocess output.
3942 Reported by Brad Dobbie.
3943 (verilog-auto-inst-interfaced-ports):
3944 Create verilog-auto-inst-interfaced-ports, bug429.
3945 Reported by Julian Gorfajn.
3946 (verilog-after-save-font-hook)
3947 (verilog-before-save-font-hook): New variable.
3948 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3949 (verilog-save-font-mods): Wrap disabling fontification, reported
3951 (verilog-do-indent, verilog-pretty-declarations-auto)
3952 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3953 Reported by Pierre-David Pfister.
3954 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3955 of class declarations, bug292. Reported by Kevin Heilman.
3956 (verilog-read-decls): Fix 'parameter type' not appearing in
3957 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3958 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3959 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3960 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3961 Reported by David Kravitz.
3963 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
3965 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3966 assignment with tests in ifs and for loops.
3967 (verilog-extended-complete-re, verilog-complete-reg): Change so
3968 that DPI inport functions don't look like fuction declarations.
3969 (verilog-pretty-expr): Don't line up assignment
3970 operations to the test and increment in if and for loops
3971 (verilog-extended-complete-re, verilog-complete-reg): Change so
3972 that DPI inport functions don't look like fuction declarations.
3974 2012-05-03 Kenichi Handa <handa@m17n.org>
3976 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
3977 decoding, and show a warning message without signaling an error
3980 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3982 * emacs-lisp/bytecomp.el
3983 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3984 since cconv.el might have introduced :fun-body, internal-make-closure,
3985 and friends for bytecomp to handle (bug#11391).
3986 * custom.el (defcustom): Avoid ((λ ..) ..).
3988 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3990 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3992 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
3994 * notifications.el (dbus-debug):
3995 * term/linux.el (gpm-mouse-enable):
3996 * term/screen.el (xterm-register-default-colors): Declare.
3998 2012-05-02 Chong Yidong <cyd@gnu.org>
4000 * cus-start.el (gc-cons-percentage, exec-suffixes)
4001 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4002 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4003 (make-cursor-line-fully-visible, void-text-area-pointer)
4004 (font-list-limit): Add customization data.
4006 * allout.el (allout-exposure-change-functions)
4007 (allout-structure-added-functions)
4008 (allout-structure-deleted-functions)
4009 (allout-structure-shifted-functions): Rename abnormal hooks from
4010 *-hook, and convert to defcustoms.
4011 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4012 Convert to defcustoms.
4013 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4015 * allout-widgets.el: Hook callers changed.
4017 2012-05-02 Eli Zaretskii <eliz@gnu.org>
4019 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4020 the yanked message in preference to the default value of
4021 buffer-file-coding-system.
4023 2012-05-02 Martin Rudalics <rudalics@gmx.at>
4025 * window.el (display-buffer--action-function-custom-type):
4028 2012-05-02 Alan Mackenzie <acm@muc.de>
4030 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4032 2012-05-01 Glenn Morris <rgm@gnu.org>
4034 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4036 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4038 * cus-edit.el (custom-variable-documentation): Simplify with format.
4040 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4041 Stefan Monnier <monnier@iro.umontreal.ca>
4043 * simple.el (suggest-key-bindings, execute-extended-command):
4044 Move from keyboard.c.
4046 2012-05-01 Chong Yidong <cyd@gnu.org>
4048 * follow.el: Eliminate advice.
4049 (set-process-filter, process-filter, sit-for): Advice deleted.
4050 (follow-mode-off-hook): Obsolete hook removed.
4051 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4053 (follow-auto): Use a :set function.
4054 (follow-mode): Rewritten. Don't advise process filters.
4055 (follow-switch-to-current-buffer-all, follow-scroll-up)
4056 (follow-scroll-down): Assume follow-mode is bound.
4057 (follow-comint-scroll-to-bottom)
4058 (follow-align-compilation-windows): New functions.
4059 (follow--window-sorter): New function.
4060 (follow-all-followers): Use it to explicitly sort windows by their
4061 positions; don't make assumptions about next-window order.
4062 (follow-windows-start-end, follow-delete-other-windows-and-split)
4063 (follow-calc-win-start): Doc fix.
4064 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4065 vertical-motion unnecessarily.
4066 (follow-adjust-window): New function.
4067 (follow-post-command-hook): Use it.
4068 (follow-call-set-process-filter, follow-call-process-filter)
4069 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4070 (follow-stop-intercept-process-output, follow-generic-filter):
4072 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
4073 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4074 New functions, replacing advice on scroll-bar-* commands.
4075 (follow-mwheel-scroll): New function (Bug#4112).
4077 * comint.el (comint-adjust-point): New function.
4078 (comint-postoutput-scroll-to-bottom): Use it.
4079 Call follow-comint-scroll-to-bottom for Follow mode buffers.
4081 2012-05-01 Glenn Morris <rgm@gnu.org>
4083 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4084 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4085 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4086 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4087 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4088 Remove no-byte-compile setting.
4090 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4092 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4093 all-completions code to not return a number in the last cdr.
4095 2012-04-30 Leo Liu <sdl.web@gmail.com>
4097 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4100 2012-04-29 Chong Yidong <cyd@gnu.org>
4102 * follow.el (follow-calc-win-end): Rewrite to handle partial
4103 screen lines correctly (Bug#8390).
4104 (follow-avoid-tail-recenter): Minor cleanup.
4106 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4108 Avoid the obsolete `assoc' package.
4109 * speedbar.el (speedbar-refresh): Avoid adelete.
4110 (speedbar-file-lists): Simplify and avoid aput.
4111 * man.el (Man--sections, Man--refpages): New vars, replacing
4112 Man-sections-alist and Man-refpages-alist.
4113 (Man-build-section-alist, Man-build-references-alist):
4114 Use them; avoid aput.
4115 (Man--last-section, Man--last-refpage): New vars.
4116 (Man-follow-manual-reference): Use them.
4117 Use the `default' arg of completing-read.
4118 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4120 2012-04-27 Chong Yidong <cyd@gnu.org>
4122 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4124 * startup.el (x-apply-session-resources): New function.
4126 * term/ns-win.el (ns-initialize-window-system):
4127 * term/w32-win.el (w32-initialize-window-system):
4128 * term/x-win.el (x-initialize-window-system): Use it to properly
4129 set menu-bar-mode and other vars from X resources, even if the
4130 initial frame is not a window-system frame (Bug#2299).
4132 * subr.el (read-key): Avoid running filter function when setting
4133 up temporary tool bar entries (Bug#9922).
4135 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
4137 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4140 2012-04-27 Chong Yidong <cyd@gnu.org>
4142 * select.el (xselect--encode-string): New function, split from
4143 xselect-convert-to-string.
4144 (xselect-convert-to-string): Use it.
4145 (xselect-convert-to-filename, xselect-convert-to-os)
4146 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4147 returned strings are properly encoded (Bug#11315).
4149 2012-04-27 Chong Yidong <cyd@gnu.org>
4151 * simple.el (delete-active-region): Move to killing custom group.
4153 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
4155 * progmodes/which-func.el (which-func-current): Quote %
4156 characters for mode-line processing.
4158 2012-04-27 Chong Yidong <cyd@gnu.org>
4160 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4161 reaching eob (Bug#11286).
4163 2012-04-27 Eli Zaretskii <eliz@gnu.org>
4165 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4166 (gdb): Make it buffer-local and init to zero.
4167 (gdb-control-commands-regexp): New variable.
4168 (gdb-send): Don't wrap in "-interpreter-exec console" if
4169 gdb-control-level is positive. Increment gdb-control-level
4170 whenever the command matches gdb-control-commands-regexp, and
4171 decrement it each time the command is "end". (Bug#11279)
4173 2012-04-27 Martin Rudalics <rudalics@gmx.at>
4175 * window.el (adjust-window-trailing-edge, enlarge-window)
4176 (shrink-window, window-resize):
4177 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4178 windows (Bug#11276).
4180 2012-04-27 Chong Yidong <cyd@gnu.org>
4182 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
4183 fix "missing prefix" warning. All callers changed.
4185 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4187 * emacs-lisp/assoc.el: Move to obsolete/.
4189 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4191 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
4193 * term/ns-win.el (ns-define-service):
4194 * progmodes/pascal.el (pascal-goto-defun):
4195 * progmodes/js.el (js--read-tab):
4196 * progmodes/etags.el (tags-lazy-completion-table):
4197 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4198 * emacs-lisp/ewoc.el (ewoc--wrap):
4199 * emacs-lisp/assoc.el (aput, adelete, amake):
4200 * doc-view.el (doc-view-convert-current-doc):
4201 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4203 2012-04-26 Chong Yidong <cyd@gnu.org>
4205 * image.el (image-type-from-buffer): Only return supported image
4208 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4209 value, for symmetry with diff-end-of-hunk.
4210 (diff-split-hunk, diff-find-source-location)
4211 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4212 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4213 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4214 compute the relevant hunk or file properly (Bug#6005).
4215 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4217 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4226 * vc/vc.el: Replace lexical-let by lexical-binding.
4227 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4228 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4229 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4231 2012-04-26 Chong Yidong <cyd@gnu.org>
4233 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4234 (diff-mode-shared-map): Bind it to / and [remap undo].
4236 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4237 (ediff-window-setup-function): Use it as the default, to set up
4238 windows based on whether the current frame is graphical (Bug#2138).
4239 (ediff-choose-window-setup-function-automatically): Make obsolete.
4241 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4243 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4245 * ffap.el: Remove old code for obsolete package.
4246 (ffap-complete-as-file-p): Remove.
4248 Use completion-table-with-quoting for comint and pcomplete.
4249 * comint.el (comint--unquote&requote-argument)
4250 (comint--unquote-argument, comint--requote-argument): New functions.
4251 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4252 (comint-quote-filename): Use regexp-opt-charset.
4253 (comint--common-suffix, comint--common-quoted-suffix)
4254 (comint--table-subvert): Remove.
4255 (comint-unquote-function, comint-requote-function): New vars.
4256 (comint--complete-file-name-data): Use them with
4257 completion-table-with-quoting.
4258 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4259 * pcomplete.el (pcomplete-arg-quote-list)
4260 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4261 (pcomplete-unquote-argument-function): Default to non-nil.
4262 (pcomplete-unquote-argument): Simplify.
4263 (pcomplete--common-quoted-suffix): Remove.
4264 (pcomplete-requote-argument-function): New var.
4265 (pcomplete--common-suffix): New function.
4266 (pcomplete-completions-at-point): Use completion-table-with-quoting
4267 and completion-table-subvert.
4269 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4270 (minibuffer--double-dollars): Preserve properties.
4271 (completion--sifn-requote): New function.
4272 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4274 * minibuffer.el: Add support for completion of quoted/escaped data.
4275 (completion-table-with-quoting, completion-table-subvert): New funs.
4276 (completion--twq-try, completion--twq-all): New functions.
4277 (completion--nth-completion): New function.
4278 (completion-try-completion, completion-all-completions): Use it.
4280 2012-04-25 Leo Liu <sdl.web@gmail.com>
4282 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4283 Use compilation-message if available to find real filename.
4285 2012-04-25 Chong Yidong <cyd@gnu.org>
4287 * vc/diff-mode.el (diff-setup-whitespace): New function.
4288 (diff-mode): Use it.
4290 * vc/diff.el (diff-sentinel):
4291 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4292 Whitespace mode variables based on diff style (Bug#8612).
4294 2012-04-25 Leo Liu <sdl.web@gmail.com>
4296 * progmodes/python.el (python-send-region): Add suffix .py to the
4299 * files.el (auto-mode-alist): Use javascript-mode instead.
4301 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4303 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
4305 * net/soap-client.el (soap-resolve-references-for-sequence-type)
4306 (soap-resolve-references-for-array-type): Hack to prevent self
4307 references, see Bug#9.
4308 (soap-parse-envelope): Report the contents of the 'detail' node
4309 when receiving a fault reply.
4310 (soap-parse-envelope): Report the contents of the entire 'detail' node.
4312 * net/soap-inspect.el (soap-sample-value-for-simple-type)
4313 (soap-inspect-simple-type): New function.
4315 * net/soap-client.el (soap-simple-type): New struct.
4316 (soap-default-xsd-types, soap-default-soapenc-types)
4317 (soap-decode-basic-type, soap-encode-basic-type):
4318 support unsignedInt and double basic types.
4319 (soap-resolve-references-for-simple-type)
4320 (soap-parse-simple-type, soap-encode-simple-type): New function.
4321 (soap-parse-schema): Parse xsd:simpleType declarations.
4323 * net/soap-client.el (soap-default-xsd-types)
4324 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4325 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4326 the local name of "soapenc:Array".
4327 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
4328 decoding integer, byte and anyURI xsd types.
4330 2012-04-25 Chong Yidong <cyd@gnu.org>
4332 * cus-edit.el (custom-buffer-create-internal): Update header text.
4334 2012-04-25 Eli Zaretskii <eliz@gnu.org>
4336 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4337 settings on 'system-type', not on 'window-system'. On MS-Windows,
4338 set interactive-mode on in GDB.
4340 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4342 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4343 (ruby-syntax-propertize-regexp): Remove.
4344 (ruby-syntax-propertize-function): Split regexp into chunks.
4345 Match following code directly.
4347 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4349 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4350 (ruby-syntax-propertize-regexp): New function.
4351 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4352 by a special keyword.
4354 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4355 (ruby-syntax-general-delimiters-goto-beg)
4356 (ruby-syntax-propertize-general-delimiters): New functions.
4357 (ruby-syntax-propertize-function): Use them to handle GDL.
4358 (ruby-font-lock-keywords): Move old handling of GDL...
4359 (ruby-font-lock-syntactic-keywords): .. to here.
4360 (ruby-calculate-indent): Adjust indentation for GDL.
4362 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
4364 * notifications.el (top): Remove unneeded declarations.
4365 (notifications-specification-version): Change to "1.2".
4366 (notifications-interface, notifications-notify-method)
4367 (notifications-close-notification-method): Fix docstring.
4368 (notifications-get-capabilities-method): New defconst.
4369 (notifications-notify): Add :action-items, :resident and
4370 :transient hints. Change "image_data" to "image-data" and
4371 "image_path" to "image-path".
4372 (notifications-get-capabilities): New defun.
4374 2012-04-24 Leo Liu <sdl.web@gmail.com>
4376 * progmodes/python.el: Move hideshow setup to the end.
4378 2012-04-24 Martin Rudalics <rudalics@gmx.at>
4380 * window.el (handle-select-window): Clear echo area since this is
4381 no more done by read_char (Bug#11304).
4383 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4385 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4386 and `/ M' to filter-derived-mode.
4387 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4388 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4389 (ibuffer-mark-by-mode): Use default rather than initial-input.
4390 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4392 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4394 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4395 (ibuffer-filter-by-derived-mode): New filter.
4396 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4398 2012-04-23 Andreas Politz <politza@fh-trier.de>
4400 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4402 2012-04-23 Chong Yidong <cyd@gnu.org>
4404 * cus-edit.el (customize-apropos, customize-apropos-options):
4405 Disable matching of non-option variables (Bug#11176).
4406 (customize-option, customize-option-other-window)
4407 (customize-changed-options): Doc fix.
4408 (customize-apropos-options, customize-apropos-faces)
4409 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4411 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
4412 Fix word list splitting (Bug#11132).
4413 (apropos-symbol, apropos-keybinding, apropos-label)
4414 (apropos-property, apropos-function-button)
4415 (apropos-variable-button, apropos-misc-button): New faces.
4416 (apropos-symbol-face, apropos-keybinding-face)
4417 (apropos-label-face, apropos-property-face, apropos-match-face):
4418 Variables removed (Bug#8396).
4419 (apropos-library-button, apropos-format-plist, apropos-print)
4420 (apropos-print-doc, apropos-describe-plist): Callers changed.
4422 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
4424 * net/xesam.el (xesam-mode-map): Use let-bound map in
4425 initialization. (Bug#11292)
4427 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4429 Preserve ispell session localwords when switching back to
4432 * textmodes/ispell.el (ispell-buffer-session-localwords):
4433 New buffer-local variable to hold buffer session localwords.
4434 (ispell-kill-ispell): Add option 'clear to delete session
4436 (ispell-command-loop, ispell-change-dictionary)
4437 (ispell-buffer-local-words): Preserve session localwords when
4440 * textmodes/flyspell.el (flyspell-process-localwords)
4441 (flyspell-do-correct): Preserve session localwords when needed.
4443 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4445 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4446 using obsolete `translation-table-for-input'.
4447 (ispell-word, ispell-process-line, ispell-complete-word):
4448 Use plain `insert' instead of removed `ispell-insert-word'.
4450 2012-04-22 Chong Yidong <cyd@gnu.org>
4452 * cus-edit.el (custom-variable-menu)
4453 (custom-variable-reset-saved, custom-face-menu)
4454 (custom-face-reset-saved): If there is no saved value, make the
4455 "reset-saved" operation bring back the default (Bug#9509).
4456 (custom-face-state): Properly detect themed faces.
4458 * faces.el (face-spec-set): Stop supporting deprecated form of
4461 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
4463 Move functions from C to Lisp. Make non-blocking method calls
4464 the default. Implement further D-Bus standard interfaces.
4466 * net/dbus.el (dbus-message-internal): Declare function.
4467 Remove unneeded function declarations.
4468 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4469 (dbus-message-type-method-return, dbus-message-type-error)
4470 (dbus-message-type-signal): Declare variables. Remove local
4472 (dbus-interface-dbus, dbus-interface-peer)
4473 (dbus-interface-introspectable, dbus-interface-properties)
4474 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4476 (dbus-interface-objectmanager): New defconst.
4477 (dbus-call-method, dbus-call-method-asynchronously)
4478 (dbus-send-signal, dbus-method-return-internal)
4479 (dbus-method-error-internal, dbus-register-service)
4480 (dbus-register-signal, dbus-register-method): New defuns, moved
4482 (dbus-call-method-handler, dbus-setenv)
4483 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4485 (dbus-call-method-non-blocking): Make it an obsolete function.
4486 (dbus-unregister-object, dbus-unregister-service)
4487 (dbus-handle-event, dbus-register-property)
4488 (dbus-property-handler): Obey the new structure of
4489 `bus-registered-objects'.
4490 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4491 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4492 Use `dbus-call-method'.
4494 2012-04-22 Chong Yidong <cyd@gnu.org>
4496 * cus-edit.el (custom-commands, custom-reset-menu)
4497 (Custom-reset-standard): Tweak labels.
4498 (custom-reset-button-menu): Change default to t.
4499 (custom-buffer-create-internal): For the custom-reset-button-menu
4500 case, put the revert button first.
4501 (custom-group-subtitle): New face.
4502 (custom-group-value-create): Align docstring to a specific column.
4504 * wid-edit.el (widget-documentation-link-add): Don't handle
4505 indentation in this function.
4506 (widget-documentation-string-indent-to): New function.
4507 (widget-documentation-string-value-create): Use it.
4509 * autorevert.el (auto-revert):
4510 * epg-config.el (epg):
4511 * ibuffer.el (ibuffer):
4514 * eshell/eshell.el (eshell):
4515 * net/ange-ftp.el (ange-ftp):
4516 * progmodes/ebnf2ps.el (postscript):
4517 * progmodes/flymake.el (flymake):
4518 * progmodes/prolog.el (prolog):
4519 * progmodes/verilog-mode.el (verilog-mode):
4520 * progmodes/which-func.el (which-func):
4521 * term/xterm.el (xterm):
4522 * textmodes/picture.el (picture):
4523 * textmodes/tildify.el (tildify):
4524 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4525 customization buffers.
4527 2012-04-22 Alan Mackenzie <acm@muc.de>
4529 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4530 Adding a ) can hide the resulting (..) from searches. Fix it.
4531 Bound the backward search to the position of the existing (.
4533 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
4535 * progmodes/verilog-mode.el (verilog-mode): Check whether
4536 which-func-modes is t before adding verilog-mode.
4537 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4539 2012-04-21 Leo Liu <sdl.web@gmail.com>
4541 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
4543 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4545 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4546 filling of the last column of a table (Bug#5635).
4547 (woman-find-next-control-line): New arg, specifying an additional
4548 regexp component for the control line.
4549 (woman2-roff-buffer): Use it.
4550 (woman-break-table): New function.
4551 (woman2-TS): Use it.
4553 2012-04-21 Chong Yidong <cyd@gnu.org>
4555 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4556 (woman-horizontal-escapes, woman-negative-vertical-space)
4557 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4558 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4560 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4562 * minibuffer.el (completion-file-name-table): Complete user names.
4564 2012-04-20 Leo Liu <sdl.web@gmail.com>
4566 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4569 2012-04-20 Chong Yidong <cyd@gnu.org>
4571 * server.el (server-execute): Respect initial-buffer-choice if it
4572 is a string and there are no files to open (Bug#2825).
4573 (server-create-window-system-frame, server-create-tty-frame):
4574 Don't switch buffers here.
4575 (server-process-filter): Only try to open a window system frame if
4576 compiled with graphical support (Bug#8314).
4578 2012-04-20 Dan Nicolaescu <dann@gnu.org>
4580 * battery.el (battery-echo-area-format): Display remaining time
4581 for sysfs backend too (Bug#11269).
4582 (battery-linux-sysfs): Fix conditional for the charge.
4584 2012-04-20 Chong Yidong <cyd@gnu.org>
4586 * progmodes/gdb-mi.el (gdb): Revert previous change.
4587 (gdb-inferior-io--init-proc): New function.
4588 (gdb-init-1): Use it.
4589 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4590 responsible for allocating a new pty and hooking it to gdb when
4591 the old pty gets an EIO due to process exit.
4592 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4593 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4594 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4596 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4598 * window.el (window-min-size, window-sizable, window-min-delta)
4599 (window-max-delta, window--resizable, window-resizable)
4600 (window-total-size, window-full-height-p, window-full-width-p)
4601 (window-in-direction, window--resize-mini-window, window-resize)
4602 (window--resize-child-windows-normal)
4603 (window--resize-child-windows, window--resize-siblings)
4604 (window--resize-this-window, adjust-window-trailing-edge)
4605 (enlarge-window, shrink-window): Doc fixes.
4607 2012-04-20 Chong Yidong <cyd@gnu.org>
4609 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4610 New function to call delete-process on the gdb-inferior buffer's pty.
4611 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4612 pty process (Bug#11273).
4613 (gdb-update): New arg to suppress talking to the gdb process.
4614 (gdb-done-or-error): Use it.
4615 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4616 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4617 sentinel not being called.
4619 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4621 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4623 2012-04-20 Glenn Morris <rgm@gnu.org>
4625 * net/network-stream.el (open-network-stream): Doc fix.
4627 2012-04-20 Chong Yidong <cyd@gnu.org>
4629 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4631 2012-04-20 Alan Mackenzie <acm@muc.de>
4633 Ensure searching for keywords is case sensitive.
4635 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4636 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4637 (c-defun-name, c-mark-function, c-cpp-define-name)
4638 (c-comment-indent, c-scan-conditionals, c-indent-defun)
4639 (c-context-line-break): Bind case-fold-search to nil.
4641 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4642 Bind case-fold-search to nil.
4644 2012-04-20 Chong Yidong <cyd@gnu.org>
4646 * mail/sendmail.el (mail-bury): Call return action with the right
4647 Rmail buffer (Bug#11242).
4649 * server.el (server-process-filter): Handle corner case where both
4650 tty and nowait options are present (Bug#11102).
4652 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4654 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
4655 (top level): Put into the executable the ident-style '$Id:' tag on
4658 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4660 * electric.el (electric-indent-post-self-insert-function): Check that
4661 electric-indent-mode is enabled in current buffer.
4663 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4665 * imenu.el (imenu-progress-message): Restore; it is "used" in
4666 erc/erc-imenu.el and net/snmp-mode.el.
4668 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4670 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4671 (mouse-avoidance-nudge-mouse): Remove unused binding.
4673 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4675 * descr-text.el (describe-char):
4676 * progmodes/python.el (python-describe-symbol):
4677 Don't call `toggle-read-only', set `buffer-read-only'.
4679 * imenu.el (imenu-default-goto-function): Mark unused args.
4680 (imenu-progress-message): Remove obsolete macro; all callers changed.
4682 * subr.el (keymap-canonicalize): Remove unused binding.
4683 (read-passwd): Mark unused arg.
4685 * tutorial.el (tutorial--display-changes): Remove unused binding.
4686 (tutorial--save-tutorial-to): Remove unused variable.
4688 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4689 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4690 (package-generate-autoloads, package-menu--generate)
4691 (package-menu--find-upgrades): Remove unused bindings.
4693 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4694 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4695 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4696 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4697 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4698 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4699 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4700 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4701 (cua-delete-char-rectangle): Mark unused args.
4702 (cua-align-rectangle): Remove unused binding.
4704 * mail/rmail.el (compilation--message->loc)
4705 (epa--find-coding-system-for-mime-charset): Declare.
4707 * net/dbus.el (dbus-register-service): Declare.
4708 (dbus-name-owner-changed-handler): Remove unused binding.
4710 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4711 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4712 (nxml-scan-backward-within): Mark unused arg.
4713 (nxml-dynamic-markup-word): Remove unused binding.
4715 * mouse.el (mouse-menu-major-mode-map):
4716 * emacs-lisp/authors.el (authors-scan-change-log)
4717 (authors-add-to-author-list):
4718 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4719 * emacs-lisp/smie.el (smie-auto-fill):
4720 * mail/sendmail.el (mail-bury):
4721 * mail/unrmail.el (unrmail):
4722 * net/tls.el (open-tls-stream):
4723 * textmodes/picture.el (picture-mouse-set-point):
4724 Remove unused bindings.
4726 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
4728 * net/tramp.el (tramp-action-password): Let-bind
4729 `enable-recursive-minibuffers' to t.
4731 2012-04-18 Sam Steingold <sds@gnu.org>
4733 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4734 instead of 'string to accommodate values like [f11].
4735 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4736 * progmodes/gdb-mi.el: Likewise.
4738 2012-04-18 Leo Liu <sdl.web@gmail.com>
4740 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4742 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4745 2012-04-18 Chong Yidong <cyd@gnu.org>
4747 * simple.el (line-move): Use forward-line if in batch mode
4750 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4752 * files.el (after-find-file): Do not try to add a final newline if
4753 the buffer is read-only (Bug#11156).
4755 2012-04-17 Richard Stallman <rms@gnu.org>
4757 * mail/rmail.el (rmail-start-mail):
4758 Pass (rmail-mail-return...) for the return-action.
4759 Pass (rmail-yank-current-message...) for the yank-action.
4760 (rmail-yank-current-message): New function.
4761 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4762 (rmail-reply): Likewise.
4763 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4765 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
4766 buffer, not the last. Reject temp buffers. Use the rmail-mode
4769 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
4771 * server.el (server-ensure-safe-dir): Simplify.
4773 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4775 * emacs-lisp/smie.el: Provide smarter auto-filling.
4776 (smie-auto-fill): New function.
4777 (smie-setup): Use it.
4779 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4781 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
4783 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4784 (comment-indent): Use it.
4786 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4788 * ses.el: The overall change is to add cell renaming, that is
4789 setting fancy names for cell symbols other than name matching
4790 "\\`[A-Z]+[0-9]+\\'" regexp .
4791 (ses-localvars): Add ses--renamed-cell-symb-list.
4792 (ses-create-cell-variable): New defun.
4793 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4794 (ses-relocate-formula): Relocate formulas only for cells the
4795 symbols of which are not renamed, i.e. symbols whose names do not
4796 match regexp "\\`[A-Z]+[0-9]+\\'".
4797 (ses-relocate-all): Relocate values only for cells the symbols of
4798 which are not renamed.
4799 (ses-load): Create cells variables as the (ses-cell ...) are read,
4800 in order to check row col consistency with cell symbol name only
4801 for cells that are not renamed.
4802 (ses-replace-name-in-formula): New defun.
4803 (ses-rename-cell): New defun.
4805 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4807 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4808 New option (bug#11118).
4809 (perl-calculate-indent): Respect it.
4811 2012-04-17 Glenn Morris <rgm@gnu.org>
4813 * dired-aux.el (dired-mark-read-string): Doc fix.
4815 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4817 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4818 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4820 2012-04-17 Glenn Morris <rgm@gnu.org>
4822 * mouse.el (mouse-drag-track):
4823 * speedbar.el (speedbar-frame-mode):
4824 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4826 2012-04-16 Leo Liu <sdl.web@gmail.com>
4828 * progmodes/python.el: Trivial cleanup.
4830 2012-04-16 Glenn Morris <rgm@gnu.org>
4832 * vc/vc.el (vc-string-prefix-p):
4833 * vc/pcvs-util.el (cvs-string-prefix-p):
4834 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4835 * mpc.el (mpc-string-prefix-p):
4836 Make all of these into obsolete aliases for string-prefix-p.
4838 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4840 * textmodes/two-column.el: Move custom options to the start.
4841 (frame-width): Remove compat definition.
4842 (2C-associate-buffer, 2C-dissociate):
4843 Use with-current-buffer rather than save-excursion.
4844 (2C-dissociate): Force a mode-line update.
4845 (2C-autoscroll): Use ignore-errors.
4847 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4850 * emacs-lisp/cl-extra.el (*random-state*):
4851 Remove unnecessary declaration.
4853 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4855 * play/cookie1.el (cookie-snarf):
4856 Give an explicit error if input file cannot be read.
4858 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4860 * progmodes/perl-mode.el (c-macro-expand):
4861 Remove unnecessary autoload (it is in loaddefs.el).
4863 * textmodes/picture.el (picture-desired-column)
4864 (picture-update-desired-column): Convert comments to doc-strings.
4865 (picture-substitute): Remove function.
4866 (picture-mode-map): Initialize in the defvar.
4868 * woman.el: Remove eval-after-load for tar-mode.
4869 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4870 (woman-tar-extract-file): Autoload it.
4872 * frame.el (automatic-hscrolling): Make this alias obsolete.
4874 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4876 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4877 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
4878 (ispell-dictionary-base-alist): Revert to original XEmacs
4879 friendly version for default. [:alpha:] will be added in
4880 `ispell-set-spellchecker-params' if needed.
4882 2012-04-16 Chong Yidong <cyd@gnu.org>
4884 * image.el (imagemagick--file-regexp): New variable.
4885 (imagemagick-register-types): Use it.
4886 (imagemagick-types-inhibit): Add :set function. Allow new value
4887 of t to inhibit all types.
4889 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4890 so we can preload it.
4892 * loadup.el (fboundp): Preload regexp-opt, needed by
4893 imagemagick-register-types.
4895 2012-04-15 Chong Yidong <cyd@gnu.org>
4897 * frame.el (scrolling): Remove nearly unused customization group.
4899 * scroll-all.el (scroll-all-mode): Move to windows group.
4901 2012-04-15 Chong Yidong <cyd@gnu.org>
4903 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4905 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4907 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4908 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
4910 2012-04-15 Glenn Morris <rgm@gnu.org>
4912 * simple.el (process-file-side-effects): Doc fix.
4914 2012-04-15 Glenn Morris <rgm@gnu.org>
4916 * international/mule-cmds.el (set-language-environment): Doc fix.
4918 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4920 * server.el (server-auth-key, server-generate-key): Doc fixes.
4921 (server-get-auth-key): Doc fix. Use `string-match-p'.
4922 (server-start): Reflow docstring.
4924 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4926 * server.el (server-generate-key): `called-interactively-p'
4927 requires a parameter.
4929 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
4931 * server.el (server-auth-key): New variable.
4932 (server-generate-key, server-get-auth-key): New function.
4933 (server-start): Use the new variable and functions to allow
4934 setting a permanent server key (bug#9423).
4936 2012-04-14 Leo Liu <sdl.web@gmail.com>
4938 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4940 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4943 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4944 Emacs uses American spelling.
4946 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4948 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4949 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4950 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4951 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4953 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4955 * progmodes/which-func.el (which-func-modes): Change default.
4957 2012-04-14 Kim F. Storm <storm@cua.dk>
4959 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4960 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4962 2012-04-14 Chong Yidong <cyd@gnu.org>
4964 * custom.el (custom-theme-set-variables): Doc fix.
4966 2012-04-14 Glenn Morris <rgm@gnu.org>
4968 * international/mule.el (set-auto-coding-for-load): Doc fix.
4970 2012-04-14 Alan Mackenzie <acm@muc.de>
4972 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4973 imenu work again for Objective C Mode. Correct the *-index values,
4974 these having been disturbed by a previous change in 2011-08.
4976 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4977 Correct two search limits.
4979 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4981 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4983 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
4985 * international/characters.el: Fix sorting.
4987 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4989 * international/characters.el: Add more missing Latin case pairs.
4991 2012-04-14 Glenn Morris <rgm@gnu.org>
4993 * files.el (dir-locals-set-class-variables): Doc fix.
4995 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4997 * international/characters.el: Add set-case-syntax-pair call for
4998 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4999 counterpart. (Bug#11209)
5001 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5003 2012-04-14 Glenn Morris <rgm@gnu.org>
5005 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5007 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5009 * textmodes/ispell.el (ispell-dictionary-base-alist):
5010 Add data for Hebrew.
5012 2012-04-14 Chong Yidong <cyd@gnu.org>
5014 * net/rcirc.el (rcirc-cmd-quit):
5015 Revert 2012-03-18 change (Bug#11192).
5017 2012-04-14 Glenn Morris <rgm@gnu.org>
5019 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5021 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5023 * minibuffer.el (completion-in-region-mode-map):
5024 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
5026 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5028 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5030 2012-04-13 Masatake YAMATO <yamato@redhat.com>
5032 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5033 to allow `C-M-f' and `C-M-b' to move to the nearest path
5034 separator (bug#9511).
5036 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5038 * avoid.el: Require cl when compiling. And also move the
5039 `provide' to the end.
5041 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5043 * avoid.el (mouse-avoidance-banish-position): New variable.
5044 (mouse-avoidance-banish-destination): Use it (bug#10165).
5046 2012-04-13 Leo Liu <sdl.web@gmail.com>
5048 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5050 2012-04-13 Ken Brown <kbrown@cornell.edu>
5052 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
5053 this is no longer needed now that cygstart understands file:// URLs.
5054 (browse-url-filename-alist): For the same reason, don't modify
5055 file:// URLs on Cygwin.
5057 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5059 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5060 the region on shift if the binding is already shifted (bug#11221).
5062 2012-04-12 Glenn Morris <rgm@gnu.org>
5064 * mail/mailpost.el: Move to obsolete/.
5066 2012-04-12 Drew Adams <drew.adams@oracle.com>
5068 * imenu.el (imenu--generic-function): Ignore invisible definitions
5071 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5073 * hexl.el (hexl-bits): New variable.
5074 (hexl-options): Mention the variable in the doc string.
5075 (hexl-rulerise, hexl-line-displen): New functions.
5076 (hexl-mode): Mention the new variable.
5077 (hexl-mode, hexl-current-address, hexl-current-address):
5079 (hexl-ascii-start-column): New function.
5080 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5081 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5083 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5085 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5086 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5087 the encoding, as expected by hunspell.
5089 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5091 * battery.el (battery--linux-sysfs-regexp): New const.
5092 (battery-status-function): Use it. Remove yeeloong special case.
5093 (battery-yeeloong-sysfs): Remove.
5094 (battery-echo-area-format): Remove yeeloong special case.
5096 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5098 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5099 Reported by Noah Friedman.
5101 * subr.el (read-passwd): Use read-string.
5103 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5105 * vcursor.el (vcursor-move): Increase the priority of the overlay
5108 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5110 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5111 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5113 2012-04-11 William Stevenson <yhvh2000@gmail.com>
5115 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5116 define-minor-mode (bug#10760).
5118 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5120 * progmodes/grep.el (rgrep): Tweak the find command line so
5121 that directories matching `grep-find-ignored-files' won't be
5124 2012-04-11 Chong Yidong <cyd@gnu.org>
5126 * startup.el (command-line): Remove support for long-obsolete
5127 variable font-lock-face-attributes.
5129 2012-04-11 Glenn Morris <rgm@gnu.org>
5131 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5133 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5135 * window.el (window--state-get-1): Obey window-point-insertion-type.
5137 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5139 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5140 to previous function when point is on the first character of a
5141 function. Take care of that in `narrow-to-defun' (bug#6157).
5143 2012-04-11 Glenn Morris <rgm@gnu.org>
5145 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5146 not just file-errors.
5148 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5149 (vc-bzr-sha1): Use internal sha1.
5151 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5153 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5155 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5157 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5158 that start in the middle of the line (bug#10496).
5160 2012-04-10 Dan Nicolaescu <dann@gnu.org>
5162 * battery.el (battery-linux-proc-acpi): Only one battery is
5163 discharged at a time, but that seems to confuse battery.el when
5164 computing `rate-type' for the battery not being discharged
5167 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5169 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5171 * international/quail.el: Use dolist and simplify.
5172 (quail-define-package, quail-update-keyboard-layout)
5173 (quail-define-rules): Use dolist.
5174 (quail-insert-kbd-layout, quail-get-translation): CSE.
5176 * tmm.el: Use dolist, remove left over hook.
5177 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5179 (calendar-load-hook): Don't mess with it.
5181 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5182 Use derived-mode-p. Run the diff asynchronously.
5184 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5186 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5188 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
5190 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5191 (list-dynamic-libraries--loaded): New function.
5192 (list-dynamic-libraries--refresh): Use it.
5194 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
5196 * progmodes/python.el (python-fill-paragraph):
5197 Make python-fill-region in a multiline string work when font-lock is
5198 disabled (bug#7018).
5200 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5202 * language/european.el (cp775): Add oem/legacy (en)coding on
5203 DOS/MS Windows for the Baltic languages. There are still plenty
5204 of texts written in this encoding/codepage (bug#6519).
5206 2012-04-10 Glenn Morris <rgm@gnu.org>
5208 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5209 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5211 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5213 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
5214 next-line "n" and previous-line "p" in order to make recentf more
5215 consistent with ibuffer, dired or org-mode (bug#9387).
5217 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5219 * image.el (put-image): Return the overlay created instead of the
5220 optional input string (bug#7834). Note that this may break code
5221 that is (for some reason or other) depending on `put-image'
5222 returning the string.
5224 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5226 * simple.el (zap-to-char): Allow zapping using input methods
5229 * textmodes/fill.el (fill-region): Leave point and mark where they
5230 were before filling (bug#5399).
5232 2012-04-09 Glenn Morris <rgm@gnu.org>
5234 * version.el (emacs-bzr-get-version):
5235 Handle lightweight checkouts of local branches.
5237 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5239 * international/characters.el: Recover lost case pairs. (Bug#11209)
5241 2012-04-09 Chong Yidong <cyd@gnu.org>
5243 * custom.el (custom-variable-p): Return nil for non-symbol
5244 arguments instead of signaling an error.
5245 (user-variable-p): Obsolete alias for custom-variable-p.
5247 * apropos.el (apropos-variable):
5248 * files-x.el (read-file-local-variable):
5249 * simple.el (set-variable):
5250 * woman.el (woman-mini-help):
5251 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5253 2012-04-09 Glenn Morris <rgm@gnu.org>
5255 * startup.el (normal-top-level): Don't look for leim-list.el
5256 in places where it will not be found. (Bug#910)
5258 * international/mule-cmds.el (set-default-coding-systems):
5259 * files.el (normal-mode):
5260 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5261 This function was removed with ucs-tables.el in 2008.
5263 2012-04-08 Eli Zaretskii <eliz@gnu.org>
5265 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5266 ispell-encoding8-command to "-i", without a trailing space.
5267 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5268 separate command-line arguments, to specify the encoding, since
5269 that's how hunspell expects it.
5271 2012-04-08 Glenn Morris <rgm@gnu.org>
5273 * loadup.el: Load bindings before cus-start.
5274 This reduces somewhat the number of "rogue" settings in emacs -Q.
5276 2012-04-07 Glenn Morris <rgm@gnu.org>
5278 * version.el (emacs-bzr-get-version): New function.
5279 (emacs-bzr-version): New variable.
5280 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5281 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5283 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5285 * international/uni-bidi.el, international/uni-category.el:
5286 * international/uni-combining.el, international/uni-decimal.el:
5287 * international/uni-decomposition.el, international/uni-digit.el:
5288 * international/uni-lowercase.el, international/uni-mirrored.el:
5289 * international/uni-name.el, international/uni-numeric.el:
5290 * international/uni-titlecase.el, international/uni-uppercase.el:
5291 Update for Unicode 6.1.
5293 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5295 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5297 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5299 * window.el (shrink-window): Mention the `window-min-height'
5300 variable in the doc string.
5302 2012-04-05 Bastien Guerry <bzg@altern.org>
5304 * color.el (color-lighten-name): Fix typo.
5306 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5308 * server.el (server--on-display-p): New function.
5309 (server--on-display-p): Use it.
5311 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5313 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5316 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5318 * comint.el (comint--common-quoted-suffix): Check string boundary
5319 before comparing (bug#11158).
5320 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5322 2012-04-04 Chong Yidong <cyd@gnu.org>
5324 * minibuffer.el (completion-extra-properties): Doc fix.
5326 * subr.el (delayed-warnings-hook): Doc fix.
5328 2012-04-04 Daiki Ueno <ueno@unixuser.org>
5330 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5331 selection (Bug#11159).
5332 (epa-insert-keys): Inform that the default public key will be
5333 exported if no key is selected.
5335 2012-04-04 Richard Stallman <rms@gnu.org>
5337 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5339 2012-04-03 Chong Yidong <cyd@gnu.org>
5341 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5342 mail-insert-file, not its obsolete alias mail-attach-file.
5344 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
5346 * notifications.el (notifications-notify): Fix docstring.
5348 2012-04-02 Glenn Morris <rgm@gnu.org>
5350 * emacs-lisp/authors.el (authors-aliases): Another addition.
5352 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
5354 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5355 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5356 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5358 2012-04-01 Chong Yidong <cyd@gnu.org>
5360 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5361 Handle root directory properly.
5362 (copy-directory): Caller changed.
5364 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5365 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5367 2012-03-31 Glenn Morris <rgm@gnu.org>
5369 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5371 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5373 * calendar/calendar.el (calendar-window-list)
5374 (calendar-hide-window): Restore. (Bug#11140)
5375 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5377 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5379 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5381 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5382 Check if file is a symlink (Bug#10489).
5384 * files.el (copy-directory): Likewise.
5386 2012-03-30 Chong Yidong <cyd@gnu.org>
5388 * image.el (imagemagick-types-inhibit)
5389 (imagemagick-register-types): Doc fix.
5391 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5393 * textmodes/ispell.el (ispell-get-extended-character-mode):
5394 Disable extended-char-mode for hunspell. hunspell does not support it
5395 and treats ~word as ordinary words in pipe mode.
5397 2012-03-30 Glenn Morris <rgm@gnu.org>
5399 * tutorial.el (help-with-tutorial): Ensure local variables don't
5400 happen to make the buffer read-only. (Bug#11127)
5402 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5404 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5405 (perl-calculate-indent): Return `noindent' in strings.
5407 2012-03-28 Sam Steingold <sds@gnu.org>
5409 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5410 instead of the broken adhockery which does not prevent calendar
5411 buffers from being displayed at random after exit.
5412 (calendar-window-list, calendar-hide-window): Remove the broken
5415 2012-03-28 Glenn Morris <rgm@gnu.org>
5417 * replace.el (query-replace-map): Doc fix.
5419 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5421 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5422 contents. (Bug#11109)
5424 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5426 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5428 (avl-tree--check, avl-tree--check-node): New funs.
5430 2012-03-27 Martin Rudalics <rudalics@gmx.at>
5432 * window.el (switch-to-visible-buffer): New option.
5433 (switch-to-prev-buffer, switch-to-next-buffer):
5434 Observe switch-to-visible-buffer. Make sure that checking for a window
5435 showing a buffer already is done on the same frame.
5437 2012-03-27 Glenn Morris <rgm@gnu.org>
5439 * startup.el (mail-host-address): Doc fix.
5441 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5443 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5446 2012-03-26 Ami Fischman <ami@fischman.org>
5448 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5450 2012-03-26 Glenn Morris <rgm@gnu.org>
5452 * files.el (save-buffers-kill-emacs): Doc fix.
5454 * startup.el (normal-top-level, command-line, command-line-1):
5455 Give them doc strings.
5457 2012-03-25 Eli Zaretskii <eliz@gnu.org>
5459 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
5460 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
5462 2012-03-25 Chong Yidong <cyd@gnu.org>
5464 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5465 theme if it was previously enabled before (Bug#11031).
5467 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5468 spec with custom-face-get-current-spec if its :shown-value is not
5469 determined yet (Bug#9337).
5470 (customize-create-theme, custom-theme-revert): Doc fixes.
5472 * button.el (button-at): Minor addition to docstring.
5474 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
5476 * vc/vc.el (vc-merge): Fix a prompt.
5478 2012-03-24 Chong Yidong <cyd@gnu.org>
5480 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5483 * button.el (button-at): Minor addition to docstring.
5485 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5487 * newcomment.el (comment-choose-indent): No space after BOL.
5489 2012-03-22 Sam Steingold <sds@gnu.org>
5491 * window.el (switch-to-prev-buffer): Revert last patch because the
5492 bug turned out to be an advertised feature (Elisp manual 28.14).
5494 2012-03-22 Glenn Morris <rgm@gnu.org>
5496 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5497 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5499 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5501 * net/network-stream.el (network-stream-open-starttls): Make error
5502 message under Windows be less misleading.
5504 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5506 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5507 understands (bug#9942).
5509 2012-03-22 Chong Yidong <cyd@gnu.org>
5511 * simple.el (end-of-visible-line): Handle return value of
5512 next-single-property-change properly (Bug#9371).
5514 2012-03-22 Kenichi Handa <handa@m17n.org>
5516 * international/quail.el (quail-insert-kbd-layout): Fix previous
5517 change. To avoid unwanted bidi reordering, use
5518 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5520 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5522 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5523 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5524 (ruby-beginning-of-indent): Be more careful with the difference
5525 between word-boundary and symbol boundary.
5526 (ruby-mode-syntax-table): Make : a symbol constituent.
5528 2012-03-21 Andreas Politz <politza@fh-trier.de>
5530 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5532 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5534 * progmodes/etags.el (tags-completion-at-point-function):
5537 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5539 2012-03-21 Sam Steingold <sds@gnu.org>
5541 * progmodes/etags.el (tags-completion-at-point-function):
5542 Avoid the error when point is inside the pattern.
5544 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5546 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5549 2012-03-21 Drew Adams <drew.adams@oracle.com>
5551 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5553 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5555 * ido.el (ido-set-current-directory, ido-read-internal)
5556 (ido-choose-completion-string, ido-completion-help): Handle nil
5557 value of ido-completion-buffer (Bug#11008).
5559 2012-03-21 Sam Steingold <sds@gnu.org>
5561 * window.el (switch-to-prev-buffer): Do not switch to a visible
5562 window previous buffer, just like with the frame previous buffers.
5564 2012-03-21 Chong Yidong <cyd@gnu.org>
5566 * faces.el (make-face, make-empty-face, copy-face):
5567 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5570 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5572 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5573 (widget-complete): Remove broken use of it.
5575 2012-03-20 Chong Yidong <cyd@gnu.org>
5577 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5578 Use string-width and truncate-string-width to handle arbitrary
5581 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5583 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5584 to draw rectangles, not squares. (Regression introduced by revno
5585 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5587 2012-03-18 Chong Yidong <cyd@gnu.org>
5589 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5590 it is not yet defined (for temacs).
5592 2012-03-18 Leo Liu <sdl.web@gmail.com>
5594 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
5596 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5598 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5599 (ispell-choices-win-default-height, ispell-silently-savep)
5600 (ispell-dictionary-alist, ispell-encoding8-command)
5601 (ispell-check-version, ispell-aspell-find-dictionary)
5602 (ispell-valid-dictionary-list, ispell-words-keyword)
5603 (ispell-get-word, ispell-internal-change-dictionary)
5604 (ispell-region, ispell-skip-region-list)
5605 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5606 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5607 (ispell-message-text-end, ispell-message)
5608 (ispell-buffer-local-parsing): Doc fix.
5610 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
5612 * htmlfontify.el: Add support for code block fontification for ODT
5614 (hfy-optimisations): Define new option
5616 (hfy-fontify-buffer): Honor above setting.
5617 (hfy-begin-span, hfy-end-span): New routines factored out form
5618 `hfy-fontify-buffer'.
5619 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5620 that permit insertion of custom tags.
5621 (hfy-fontify-buffer): Use above handlers.
5622 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5623 (hfy-face-to-css): Re-defined to be a variable.
5624 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
5625 over multiple runs. This is made possible by having the caller let
5626 bind a special variable `hfy-user-sheet-assoc'.
5627 (htmlfontify-string): New defun.
5628 (hfy-compile-face-map): Make sure that the last char in the
5629 buffer is correctly fontified.
5630 (hfy-face-resolve-face): Whitespace only change.
5632 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5634 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5637 2012-03-16 Leo Liu <sdl.web@gmail.com>
5639 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5641 2012-03-16 Alan Mackenzie <acm@muc.de>
5643 Further optimise the handling of large macros.
5645 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5646 limit to a call of `c-literal-limits'.
5647 (c-determine-+ve-limit): New function.
5648 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5649 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
5650 In CASE 5B, restrict a search limit to 500.
5651 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5653 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5654 Restrict macro bounds to +-500 from after-change's BEG END.
5656 2012-03-16 Leo Liu <sdl.web@gmail.com>
5658 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5660 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5662 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
5663 `special-mode' setting of `buffer-read-only'. (Bug#11010)
5665 2012-03-16 Glenn Morris <rgm@gnu.org>
5667 * view.el (view-buffer, view-buffer-other-window)
5668 (view-buffer-other-frame): Doc fixes re special mode-class.
5670 * subr.el (eval-after-load): If named feature is provided not from
5671 a file, run after-load forms. (Bug#10946)
5673 * calendar/calendar.el (calendar-insert-at-column):
5674 Handle non-unit-width characters a bit better. (Bug#10978)
5676 2012-03-15 Chong Yidong <cyd@gnu.org>
5678 * emacs-lisp/ring.el (ring-extend): New function.
5679 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5681 * comint.el (comint-read-input-ring)
5682 (comint-add-to-input-history): Grow comint-input-ring lazily.
5684 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5686 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5687 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5689 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5690 (imenu-add-to-menubar): Don't add a redundant index.
5691 (imenu-update-menubar): Handle a dynamically composed keymap.
5693 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5695 * mail/sendmail.el (mail-encode-header):
5696 Bind rfc2047-encode-encoded-words to nil.
5698 2012-03-13 Glenn Morris <rgm@gnu.org>
5700 * calendar/calendar.el (calendar-string-spread):
5701 Handle non-unit-width characters a bit better. (Bug#10978)
5703 2012-03-13 Leo Liu <sdl.web@gmail.com>
5705 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5706 directory and file as argument (Bug#10822).
5708 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5710 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5711 For dynamically generated code, follow $PC.
5712 (gdb-disassembly-handler-custom): Handle no function name case.
5714 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5716 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5717 * emulation/ws-mode.el (ws-query-replace):
5718 * sort.el (sort-regexp-fields):
5719 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5721 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5723 * dabbrev.el: Fix cycle completion order (bug#10963).
5724 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5725 (dabbrev-completion): Don't use an obarray; provide
5726 a cycle-sort-function.
5728 2012-03-12 Leo Liu <sdl.web@gmail.com>
5730 * simple.el (kill-new): Use equal-including-properties for comparison.
5731 (kill-do-not-save-duplicates): Doc fix.
5733 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5735 * dabbrev.el: Fix cycle completion (bug#10963).
5736 Use lexical binding and wrap to 80 columns.
5737 (dabbrev-completion): Delay computing the list of completions.
5739 2012-03-12 Kenichi Handa <handa@m17n.org>
5741 * international/quail.el (quail-insert-kbd-layout): Surround each
5742 row by LRO and PDF instead of inserting many LRMs. Pad the left
5743 and right of each non-spacing marks. Insert invisible space
5744 between lower and upper characters to prevent composition.
5746 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5748 * minibuffer.el (minibuffer-complete): Don't get confused when the
5749 function is run twice via different commands (bug#10958).
5750 (complete-with-action): Fix docstring.
5752 2012-03-12 Chong Yidong <cyd@gnu.org>
5754 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5755 (nxml-completion-at-point-function): New function.
5756 (nxml-mode): Use it.
5757 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5759 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5760 Load generated autoloads file before byte compiling (Bug#10970).
5761 (package--make-autoloads-and-compile): New helper fun.
5763 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5765 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5767 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
5769 * autorevert.el (auto-revert-handler): Ensure, that
5770 file-readable-p is applied only for local files or in
5771 auto-revert-tail-mode.
5773 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5775 * server.el (server-eval-at): Handle non-tcp connections.
5776 Decode result string.
5778 * server.el (server-msg-size): New constant.
5779 (server-reply-print): New function.
5780 (server-eval-and-print): Use it.
5781 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5784 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5786 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5789 2012-03-11 Chong Yidong <cyd@gnu.org>
5791 * simple.el (goto-line): Doc fix (Bug#9938).
5793 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5795 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5796 when finished (Bug#10963).
5798 2012-03-11 Martin Rudalics <rudalics@gmx.at>
5800 * window.el (split-window-below): Fix bug in case where
5801 split-window-keep-point is nil (Bug#10971).
5803 2012-03-11 Juri Linkov <juri@jurta.org>
5805 * replace.el (replace-highlight): Set isearch-word to nil
5806 unconditionally. (Bug#10887)
5808 2012-03-10 Eli Zaretskii <eliz@gnu.org>
5810 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5811 mairix-replace-illegal-chars; all callers changed. Don't remove
5812 ^, ~, and = characters: they are meaningful in mairix search specs.
5813 (mairix-widget-create-query): Add usage information about mairix
5814 search forms: negating words, searching for substrings, etc.
5816 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5818 * international/fontset.el (font-encoding-alist): Add an entry for
5821 2012-03-10 Richard Stallman <rms@gnu.org>
5823 * mail/sendmail.el (mail-encode-header):
5824 Set rfc2047-encode-encoded-words.
5826 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5828 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5829 view buffer means not swapped.
5830 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5831 (rmail-write-region-annotate): Error if real text has disappeared.
5833 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5835 2012-03-10 Chong Yidong <cyd@gnu.org>
5837 * emulation/cua-rect.el (cua--init-rectangles):
5838 * emulation/cua-base.el (cua--init-keymaps):
5839 Add delete-forward-char to remappings (Bug#9666).
5841 2012-03-10 Martin Rudalics <rudalics@gmx.at>
5843 * speedbar.el (speedbar-unhighlight-one-tag-line):
5844 Avoid unhighlighting due to frame switching (Bug#10275).
5846 2012-03-10 Chong Yidong <cyd@gnu.org>
5848 * minibuffer.el (completion-in-region, completion-help-at-point):
5849 Give the completion field overlay a high priority (Bug#6830).
5851 * dired.el (dired-goto-file): Recognize absolute file name
5852 listings (Bug#7126).
5853 (dired-goto-file-1): New helper function.
5854 (dired-toggle-read-only): Inhibit warnings.
5856 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
5858 * net/dbus.el (dbus-property-handler): Return empty array if
5859 there are no properties.
5861 2012-03-09 Leo Liu <sdl.web@gmail.com>
5863 * savehist.el (savehist-printable): Stricter check for string
5866 2012-03-09 Eli Zaretskii <eliz@gnu.org>
5868 * mail/smtpmail.el (smtpmail-send-it):
5869 Bind coding-system-for-write to *-unix, so that FCC files are kept in
5872 2012-03-09 Glenn Morris <rgm@gnu.org>
5874 * files.el (dir-locals-find-file):
5875 Don't check result is regular, readable.
5876 (dir-locals-read-from-file): Demote errors.
5878 2012-03-08 Eli Zaretskii <eliz@gnu.org>
5880 * international/quail.el (quail-insert-kbd-layout):
5881 Insert invisible LRM characters before each character in a keyboard
5882 layout cell, to prevent their reordering by bidi display engine.
5883 For details, see the discussion in
5884 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5886 2012-03-08 Alan Mackenzie <acm@muc.de>
5888 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5889 the starting position; make it extend the marked region when
5890 invoked repeatedly - all under appropriate circumstances.
5891 Fixes bugs #5525, #10906.
5893 2012-03-08 Glenn Morris <rgm@gnu.org>
5895 * files.el (locate-dominating-file, dir-locals-find-file):
5896 Undo 2012-03-06 change.
5898 2012-03-07 Eli Zaretskii <eliz@gnu.org>
5900 * international/quail.el (quail-help):
5901 Force bidi-paragraph-direction be left-to-right. See discussion in
5902 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5905 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
5907 Avoid superfluous registering of signals. (Bug#10807)
5909 * notifications.el (notifications-on-action-object)
5910 (notifications-on-close-object): New defvars.
5911 (notifications-on-action-signal, notifications-on-closed-signal):
5912 Unregister the signal if not needed any longer.
5913 (notifications-notify): Register `notifications-action-signal' or
5914 `notifications-closed-signal', if :on-action or :on-close has been
5917 2012-03-07 Chong Yidong <cyd@gnu.org>
5919 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5922 2012-03-06 Glenn Morris <rgm@gnu.org>
5924 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5925 (x-disown-selection-internal, x-get-selection-internal):
5926 Doc fix (add arglist signatures). (Bug#10783)
5928 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5930 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5931 Handle breakpoints with no "type".
5933 2012-03-06 Glenn Morris <rgm@gnu.org>
5935 * files.el (locate-dominating-file): Add optional predicate argument.
5936 (dir-locals-find-file): Make use of above change.
5938 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5940 * info.el (Info-insert-dir): Also try "dir.gz".
5942 2012-03-06 Glenn Morris <rgm@gnu.org>
5944 * files.el (dir-locals-find-file):
5945 Ignore non-readable or non-regular files. (Bug#10928)
5947 * files.el (locate-dominating-file): Doc fix.
5949 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5951 * calendar/calendar.el (calendar-set-mode-line):
5952 `getenv' returns a string. (Bug#10951)
5954 2012-03-05 Leo Liu <sdl.web@gmail.com>
5956 * simple.el (backward-delete-char-untabify): Constrain point to
5959 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5961 2012-03-05 Chong Yidong <cyd@gnu.org>
5963 * simple.el (count-words): If called from Lisp, return the word
5964 count, for symmetry with `count-lines'. Arglist changed.
5965 (count-words--message): Args changed. Consolidate counting code
5966 from count-words and count-words-region.
5967 (count-words-region): Caller changed.
5968 (count-lines-region): Make it an obsolete alias.
5970 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5972 * saveplace.el (save-place-to-alist)
5973 (save-place-ignore-files-regexp): Allow value nil to disable this
5976 2012-03-04 Chong Yidong <cyd@gnu.org>
5978 * faces.el (face-spec-reset-face): For the default face, reset the
5979 attributes to default values (Bug#10748).
5981 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5983 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5984 previous patch: Check `message-send-mail-function', and not the
5985 default function (bug#10897).
5987 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
5989 * notifications.el (notifications-on-action-signal)
5990 (notifications-on-closed-signal): Check for unique service name of
5991 incoming event. Fix error in removing entry.
5992 (top): Register for signals with wildcard service name.
5993 (notifications-notify): Use daemon unique service name for map entries.
5995 2012-03-04 Chong Yidong <cyd@gnu.org>
5997 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
5999 2012-03-04 Glenn Morris <rgm@gnu.org>
6001 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6002 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6003 (expand-abbrev, define-abbrev-table): Doc fixes.
6005 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6007 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6008 `message-default-send-mail-function' and not `send-mail-function'
6009 when doing the prompting for `sendmail-query-once' before sending
6010 in Message buffers (bug#10897).
6012 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6013 This is inconsistent with all the other stream functions, which leave
6014 the setting up to the higher levels (if so wanted) (bug#10931).
6016 2012-03-02 Alan Mackenzie <acm@muc.de>
6018 Depessimize the handling of very large macros.
6020 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6021 (c-macro-cache-syntactic): New variables to implement a one
6022 element macro cache.
6023 (c-invalidate-macro-cache): New function.
6024 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6025 Adapt to use the new cache.
6026 (c-state-safe-place): Use better the cache of safe positions.
6027 (c-state-semi-nonlit-pos-cache)
6028 (c-state-semi-nonlit-pos-cache-limit):
6029 New variables for...
6030 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6031 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
6032 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6033 Use c-state-semi-safe-place.
6035 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6036 Add c-invalidate-macro-cache to the C, C++, Obj entries.
6038 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
6040 * jka-compr.el (jka-compr-call-process):
6041 Apply `file-accessible-directory-p' only when the default directory is
6044 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
6046 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6047 access of FILE2, if FILE1 does not exist.
6049 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6050 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6052 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6053 Add "PAGER=" to `process-environment'.
6055 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6057 * progmodes/sql.el: Bug fix
6058 (sql-get-login-ext): Save login values in globals.
6059 (sql-get-login): Use new version of `sql-get-login-ext'.
6060 (sql-interactive-mode): Set global `sql-connection' to nil.
6061 (sql-connect): Set global values for connection.
6062 (sql-product-interactive): Save global values as buffer local.
6064 2012-02-29 Leo Liu <sdl.web@gmail.com>
6066 * abbrev.el (define-abbrevs): Reset sys to nil.
6068 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6070 * files.el (file-equal-p): Rename from `files-equal-p'.
6071 Return nil when one or both files don't exist.
6072 (file-subdir-of-p): Now only top directory must exists,
6073 return nil if it doesn't.
6074 (copy-directory): No need to test with `file-subdir-of-p' after
6076 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6079 2012-02-28 Glenn Morris <rgm@gnu.org>
6081 * shell.el (shell-mode):
6082 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6083 * play/landmark.el (landmark-font-lock-face-O):
6084 * play/handwrite.el (handwrite):
6085 * play/gomoku.el (gomoku-O):
6086 * net/browse-url.el (browse-url-browser-display):
6087 * international/mule.el (define-charset):
6088 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6089 * filesets.el (filesets-find-file-delay):
6090 * eshell/em-xtra.el (eshell-xtra):
6091 * eshell/em-unix.el (eshell-grep):
6092 * emulation/viper.el (viper-mode):
6093 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6094 * emacs-lisp/easymenu.el (easy-menu-define):
6095 * calendar/timeclock.el (timeclock-use-display-time):
6097 * bookmark.el (bookmark-save-flag):
6098 Doc fix (standardize possessive apostrophe usage).
6100 2012-02-27 Chong Yidong <cyd@gnu.org>
6102 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6103 Fix key-binding lookup for ESC key (Bug#9146).
6105 * font-lock.el (font-lock-specified-p): Rename from
6106 font-lock-spec-present. Callers changed.
6108 2012-02-27 Daniel Hackney <dan@haxney.org>
6110 * emacs-lisp/package.el (package-compute-transaction):
6111 Handle holding a package version to t in package-load-list.
6113 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
6115 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6116 (tramp-get-inode, tramp-get-device): Use cached values.
6118 2012-02-26 Alan Mackenzie <acm@muc.de>
6120 Check there is a font-lock specification before doing initial
6123 * font-core.el (font-lock-mode): Move the conditional from
6124 :after-hook to font-lock-initial-fontify.
6125 (font-lock-default-function): Move the check for a specification
6126 to font-lock-spec-present.
6128 * font-lock.el (font-lock-initial-fontify): Call ...
6129 (font-lock-spec-present): New function.
6131 2012-02-26 Jim Blandy <jimb@red-bean.com>
6133 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6134 (gdb-send): Apply it to the operand of the '-interpreter-exec
6135 console' command, so that we can pass arguments with (say) quotes
6136 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6138 2012-02-26 Chong Yidong <cyd@gnu.org>
6140 * help-fns.el (describe-function-1): Clarify description of
6141 remapping (Bug#10844).
6143 * files.el (files-equal-p): Doc fix.
6144 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6145 and quit the loop once a mismatch is found.
6147 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
6149 * bs.el (bs--show-with-configuration): Don't throw an error
6150 if the window cannot be split; otherwise, subsequent calls to
6151 bs-show fail, restoring a stale window config. (Bug#10882)
6153 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6155 * term/ns-win.el (global-map): Bind ns-drag-file to
6156 ns-find-file (Bug#5855, Bug#10050).
6158 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6160 * calendar/parse-time.el (parse-time-string): Allow extractor to
6163 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
6165 * net/tramp.el (tramp-file-name-for-operation):
6166 Add `files-equal-p' and `file-subdir-of-p'.
6168 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6169 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6170 Add COPY-CONTENTS argument.
6172 2012-02-25 Chong Yidong <cyd@gnu.org>
6174 Add custom groups for VC backends, for consistency with vc-bzr.
6176 * vc/vc-arch.el (vc-arch):
6177 * vc/vc-cvs.el (vc-cvs):
6178 * vc/vc-git.el (vc-git):
6179 * vc/vc-hg.el (vc-hg):
6180 * vc/vc-mtn.el (vc-mtn):
6181 * vc/vc-rcs.el (vc-rcs):
6182 * vc/vc-sccs.el (vc-sccs):
6183 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6184 All relevant defcustoms reassigned.
6186 2012-02-25 Chong Yidong <cyd@gnu.org>
6188 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6190 * term/x-win.el (x-initialize-window-system): Reduce default for
6191 x-selection-timeout to 5 seconds (Bug#8869).
6193 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6195 * files.el (files-equal-p, file-subdir-of-p): New functions.
6196 (copy-directory): Error when trying to copy a directory on itself.
6197 Add missing copy-contents arg to tramp handler.
6198 * dired-aux.el (dired-copy-file-recursive): Same.
6199 (dired-create-files): Modify destination when source is equal to
6200 dest when copying files.
6201 Return also when dest is a subdir of source. (Bug#10489)
6203 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
6205 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6208 2012-02-23 Alan Mackenzie <acm@muc.de>
6210 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6211 parameter "after-hook:" to allow the expansion to run code after
6212 the execution of the mode hooks.
6214 * font-lock.el (font-lock-initial-fontify): New function extracted
6215 from font-lock-mode-internal.
6217 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
6220 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6222 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6223 (completion--cache-all-sorted-completions): New function.
6224 (completion-all-sorted-completions): Use it.
6225 (completion--do-completion, minibuffer-force-complete):
6226 Use it to re-instate the flush hook.
6228 * icomplete.el (icomplete-completions): Replace last fix with a better
6231 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6233 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6234 when it might call us back infinitely (bug#10797).
6236 2012-02-23 Glenn Morris <rgm@gnu.org>
6238 * minibuffer.el (completion-category-overrides): Doc fix.
6240 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6242 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6243 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6245 2012-02-23 Glenn Morris <rgm@gnu.org>
6247 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
6248 (authors-obsolete-files-regexps, authors-ignored-files)
6249 (authors-ambiguous-files, authors-renamed-files-alist):
6252 2012-02-23 Juri Linkov <juri@jurta.org>
6254 * isearch.el (isearch-occur): Sync interactive spec with occur's
6255 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6257 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6259 2012-02-22 Juri Linkov <juri@jurta.org>
6261 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6262 (ucs-insert): Doc fix. Check for hex digits in the string.
6263 Don't display `nil' in the error message. (Bug#10857)
6265 2012-02-22 Alan Mackenzie <acm@muc.de>
6267 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
6269 2012-02-22 Glenn Morris <rgm@gnu.org>
6271 * ffap.el (ffap-c-path):
6272 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6274 2012-02-22 Chong Yidong <cyd@gnu.org>
6276 * custom.el (load-theme): Doc fix.
6278 2012-02-22 Glenn Morris <rgm@gnu.org>
6280 * dired-x.el (dired-guess-shell-alist-default):
6281 Remove escape sequences from nroff output. (Bug#172)
6283 2012-02-21 Glenn Morris <rgm@gnu.org>
6285 * vc/emerge.el (emerge-defvar-local):
6286 Set `permanent-local' property rather than unused `preserved'.
6288 * textmodes/picture.el (picture-delete-char): New alias.
6289 (picture-mode-map): Use it. (Bug#10860)
6290 (picture-mode): Doc fix.
6292 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
6294 * newcomment.el (uncomment-region-default): Remove unused binding.
6296 2012-02-21 Glenn Morris <rgm@gnu.org>
6298 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6299 (picture-self-insert, picture-tab-chars): Doc fix.
6300 (picture-mode-map): Fix C-a, C-e.
6302 2012-02-20 Glenn Morris <rgm@gnu.org>
6304 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6306 2012-02-20 Leo Liu <sdl.web@gmail.com>
6308 * icomplete.el (icomplete-completions): Check FROM arg before
6309 passing to substring (Bug#10850).
6311 2012-02-19 Chong Yidong <cyd@gnu.org>
6313 * comint.el: Require ansi-color.
6314 (comint-output-filter-functions): Add ansi-color-process-output.
6316 * ansi-color.el: Don't set comint-output-filter-functions; it is
6317 now in the initial value defined in comint.el.
6318 (ansi-color-apply-face-function): New variable.
6319 (ansi-color-apply-on-region): Use it.
6320 (ansi-color-apply-overlay-face): New function.
6322 * shell.el (shell): No need to require ansi-color.
6323 (shell-mode): Use ansi-color-apply-face-function to highlight
6324 color escapes using font-lock-face property (Bug#10835).
6326 2012-02-19 Chong Yidong <cyd@gnu.org>
6328 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6329 mode-line formats (Bug#10839).
6331 2012-02-18 Glenn Morris <rgm@gnu.org>
6333 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6335 * mail/undigest.el (unforward-rmail-message): Doc fix.
6337 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6339 2012-02-18 Eli Zaretskii <eliz@gnu.org>
6341 * international/characters.el (script-list): Sync with the latest
6342 Unicode Character Database.
6344 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6346 * international/titdic-cnv.el: Remove duplicate coding tag.
6347 * language/cham.el: Likewise.
6348 * language/tai-viet.el: Likewise.
6350 2012-02-18 Glenn Morris <rgm@gnu.org>
6352 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6353 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6354 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6355 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6356 * calendar/holidays.el (holiday-bahai-holidays)
6357 (calendar-holidays, list-holidays):
6358 Use utf-8 Bahá'í in doc-strings, menus, etc.
6360 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6362 * saveplace.el (save-place-ignore-files-regexp): New variable
6363 allowing for excluding files from saving their location of point.
6364 The default value matches the temporary commit message editing
6365 files from Git, SVN, Bazaar, and Mercurial.
6366 (save-place-to-alist): Use it.
6368 2012-02-17 Lawrence Mitchell <wence@gmx.li>
6369 Stefan Monnier <monnier@iro.umontreal.ca>
6371 * newcomment.el (uncomment-region-default): Don't leave extra space
6372 when an arg is provided (bug#8150).
6374 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6376 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
6378 2012-02-17 Glenn Morris <rgm@gnu.org>
6380 * net/socks.el: Require network-stream. (Bug#10599)
6382 2012-02-17 Kenichi Handa <handa@m17n.org>
6384 * international/charprop.el:
6385 * international/uni-name.el:
6386 * international/uni-old-name.el:
6387 * international/uni-comment.el: Regenerate.
6389 2012-02-16 Glenn Morris <rgm@gnu.org>
6391 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6392 Interactively in calendar buffer, give an error if not on a date.
6394 2012-02-15 Glenn Morris <rgm@gnu.org>
6396 * shell.el (shell-delimiter-argument-list):
6397 Revert 2011-02-17 change. (Bug#8027)
6399 2012-02-15 Chong Yidong <cyd@gnu.org>
6401 * minibuffer.el (completion-at-point-functions): Doc fix.
6403 * custom.el (defcustom): Doc fix; note use of defvar.
6405 2012-02-15 Glenn Morris <rgm@gnu.org>
6407 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6410 2012-02-14 Glenn Morris <rgm@gnu.org>
6412 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6414 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6416 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6417 way the ports list is computed.
6418 (smtpmail-query-smtp-server): Prompt the user for a port number if
6419 we can't connect to any of the standard ports (bug#10810).
6421 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6423 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6425 2012-02-13 Glenn Morris <rgm@gnu.org>
6427 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6429 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6431 * net/gnutls.el (gnutls-trustfiles): New variable.
6432 (gnutls-negotiate): Use it.
6434 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6436 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6437 does its stuff if Gnus is running.
6439 2012-02-13 Alan Mackenzie <acm@muc.de>
6441 Fix a loop in c-set-fl-decl-start.
6443 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
6444 c-backward-syntactic-ws actually moves backwards.
6446 2012-02-13 Leo Liu <sdl.web@gmail.com>
6448 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6449 beginning so that all \C-o chars are removed.
6451 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6453 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
6455 2012-02-12 Alan Mackenzie <acm@muc.de>
6457 Fix infinite loop with long macros.
6458 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
6460 2012-02-12 Chong Yidong <cyd@gnu.org>
6462 * window.el (display-buffer): Doc fix (Bug#10785).
6464 2012-02-12 Glenn Morris <rgm@gnu.org>
6466 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6467 (x-disown-selection-internal, x-get-selection-internal):
6468 Sync docs with the xselect.c versions.
6470 * allout-widgets.el: Add missing license notice.
6472 2012-02-11 Glenn Morris <rgm@gnu.org>
6474 * select.el (x-get-selection-internal, x-own-selection-internal)
6475 (x-disown-selection-internal):
6476 * x-dnd.el (x-get-selection-internal): Update declarations.
6478 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6480 * window.el (window-sides-slots):
6481 * tool-bar.el (tool-bar-position):
6482 * term/xterm.el (xterm-extra-capabilities):
6483 * ses.el (ses-self-reference-early-detection):
6484 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6485 (verilog-auto-wire-type)
6486 (verilog-auto-delete-trailing-whitespace)
6487 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6488 (verilog-auto-tieoff-declaration):
6489 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6490 (sql-oracle-statement-starters, sql-oracle-scan-on):
6491 * progmodes/prolog.el (prolog-align-comments-flag)
6492 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6493 (prolog-left-indent-regexp, prolog-paren-indent-p)
6494 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6495 (prolog-types, prolog-mode-specificators)
6496 (prolog-determinism-specificators, prolog-directives)
6497 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6498 (prolog-electric-dot-flag)
6499 (prolog-electric-dot-full-predicate-template)
6500 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6501 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6502 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6503 (prolog-program-switches, prolog-prompt-regexp)
6504 (prolog-debug-on-string, prolog-debug-off-string)
6505 (prolog-trace-on-string, prolog-trace-off-string)
6506 (prolog-zip-on-string, prolog-zip-off-string)
6507 (prolog-use-standard-consult-compile-method-flag)
6508 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6509 (prolog-imenu-max-lines, prolog-info-predicate-index)
6510 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6511 (prolog-char-quote-workaround):
6512 * progmodes/cc-vars.el (c-defun-tactic):
6513 * net/tramp.el (tramp-encoding-command-interactive)
6514 (tramp-local-end-of-line):
6515 * net/soap-client.el (soap-client):
6516 * net/netrc.el (netrc-file):
6517 * net/gnutls.el (gnutls):
6518 * minibuffer.el (completion-category-overrides)
6519 (completion-cycle-threshold)
6520 (completion-pcm-complete-word-inserts-delimiters):
6521 * man.el (Man-name-local-regexp):
6522 * mail/feedmail.el (feedmail-display-full-frame):
6523 * international/characters.el (glyphless-char-display-control):
6524 * eshell/em-ls.el (eshell-ls-date-format):
6525 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6526 (lisp-lambda-list-keyword-parameter-indentation)
6527 (lisp-lambda-list-keyword-parameter-alignment):
6528 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6529 * dired-x.el (dired-omit-verbose):
6530 * cus-theme.el (custom-theme-allow-multiple-selections):
6531 * calc/calc.el (calc-highlight-selections-with-faces)
6532 (calc-lu-field-reference, calc-lu-power-reference)
6533 (calc-note-threshold):
6534 * battery.el (battery-mode-line-limit):
6535 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6536 (archive-7z-update):
6537 * allout.el (allout-prefixed-keybindings)
6538 (allout-unprefixed-keybindings)
6539 (allout-inhibit-auto-fill-on-headline)
6540 (allout-flattened-numbering-abbreviation):
6541 * allout-widgets.el (allout-widgets-auto-activation)
6542 (allout-widgets-icons-dark-subdir)
6543 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6544 (allout-widgets-theme-dark-background)
6545 (allout-widgets-theme-light-background)
6546 (allout-widgets-item-image-properties-emacs)
6547 (allout-widgets-item-image-properties-xemacs)
6548 (allout-widgets-run-unit-tests-on-load)
6549 (allout-widgets-time-decoration-activity)
6550 (allout-widgets-hook-error-post-time)
6551 (allout-widgets-track-decoration):
6552 Add missing :version tags to new defcustoms and defgroups.
6554 * progmodes/sql.el (sql-ansi-statement-starters)
6555 (sql-oracle-statement-starters): Add custom type.
6557 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6558 (prolog-system-version): Give it a type.
6560 2012-02-11 Eli Zaretskii <eliz@gnu.org>
6562 * term/pc-win.el (x-select-text, x-selection-owner-p)
6563 (x-own-selection-internal, x-disown-selection-internal)
6564 (x-get-selection-internal): Sync doc strings and argument lists
6565 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6567 2012-02-11 Leo Liu <sdl.web@gmail.com>
6569 * progmodes/python.el (python-end-of-statement): Fix infinite
6572 2012-02-10 Glenn Morris <rgm@gnu.org>
6574 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6575 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6577 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6579 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6580 about SMTP before checking the From header.
6582 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
6583 into own function for reuse by emacsbug.el.
6585 2012-02-10 Leo Liu <sdl.web@gmail.com>
6587 * subr.el (condition-case-unless-debug): Rename from
6588 condition-case-no-debug. All callers changed.
6589 (with-demoted-errors): Fix caller.
6591 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6592 * nxml/rng-valid.el (rng-do-some-validation):
6593 * emacs-lisp/package.el (package-refresh-contents)
6594 (package-menu-execute):
6595 * desktop.el (desktop-create-buffer):
6596 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
6598 2012-02-10 Glenn Morris <rgm@gnu.org>
6600 * textmodes/bibtex.el:
6601 Add missing :version tags for new/changed defcustoms.
6603 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6605 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
6607 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6608 (smtpmail-via-smtp): Use it, or fall back on the From address.
6609 (smtpmail-send-it): Ditto.
6611 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6613 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6614 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6615 (byte-compile-tmp-var): New const.
6616 (byte-compile-defvar): Use it to minimize .elc size.
6617 Just use `defvar' rather than simulate it (bug#10761).
6619 2012-02-09 Glenn Morris <rgm@gnu.org>
6621 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6623 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6626 * progmodes/compile.el (compilation-error-screen-columns)
6627 (compilation-first-column, compilation-filter-start): Doc fixes.
6629 * vc/log-view.el (log-view-toggle-entry-display):
6630 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6632 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6633 (report-emacs-bug-can-use-xdg-email):
6634 (report-emacs-bug-insert-to-mailer): Doc fixes.
6635 (report-emacs-bug): Message fix.
6637 * net/browse-url.el (browse-url-can-use-xdg-open)
6638 (browse-url-xdg-open): Doc fixes.
6640 * electric.el (electric-indent-mode, electric-pair-mode)
6641 (electric-layout-rules, electric-layout-mode): Doc fixes.
6642 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6644 2012-02-08 Martin Rudalics <rudalics@gmx.at>
6646 * server.el (server-unselect-display): Don't inadvertently kill
6647 the current buffer. (Bug#10729)
6649 2012-02-08 Glenn Morris <rgm@gnu.org>
6651 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6652 (sql-list-table): Doc fixes.
6654 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6655 Comment out (does nothing).
6657 * completion.el (dynamic-completion-mode):
6658 * dirtrack.el (dirtrack-debug-mode):
6659 * electric.el (electric-layout-mode):
6660 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6661 * face-remap.el (text-scale-mode, buffer-face-mode):
6662 * iimage.el (iimage-mode):
6663 * image-mode.el (image-transform-mode):
6664 * minibuffer.el (completion-in-region-mode):
6665 * scroll-lock.el (scroll-lock-mode):
6666 * simple.el (next-error-follow-minor-mode):
6667 * tar-mode.el (tar-subfile-mode):
6668 * tooltip.el (tooltip-mode):
6669 * vcursor.el (vcursor-use-vcursor-map):
6670 * wid-browse.el (widget-minor-mode):
6671 * emulation/tpu-edt.el (tpu-edt-mode):
6672 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6673 * international/iso-ascii.el (iso-ascii-mode):
6674 * language/thai-util.el (thai-word-mode):
6675 * mail/supercite.el (sc-minor-mode):
6676 * net/goto-addr.el (goto-address-mode):
6677 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6678 * progmodes/cwarn.el (cwarn-mode):
6679 * progmodes/flymake.el (flymake-mode):
6680 * progmodes/glasses.el (glasses-mode):
6681 * progmodes/hideshow.el (hs-minor-mode):
6682 * progmodes/pascal.el (pascal-outline-mode):
6683 * textmodes/enriched.el (enriched-mode):
6684 * vc/smerge-mode.el (smerge-mode):
6685 Doc fixes (minor mode argument).
6687 2012-02-07 Eli Zaretskii <eliz@gnu.org>
6689 * ls-lisp.el (ls-lisp-sanitize): New function.
6690 (ls-lisp-insert-directory): Use it to fix or remove any elements
6691 in file-alist with missing attributes. (Bug#4673)
6693 2012-02-07 Alan Mackenzie <acm@muc.de>
6695 Fix spurious recognition of c-in-knr-argdecl.
6697 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6698 putative K&R region.
6700 2012-02-07 Alan Mackenzie <acm@muc.de>
6702 * progmodes/cc-engine.el (c-forward-objc-directive):
6703 Prevent looping in "#pragma mark @implementation".
6705 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
6707 * notifications.el (notifications-on-closed-signal): Make `reason'
6708 optional. (Bug#10744)
6710 2012-02-07 Glenn Morris <rgm@gnu.org>
6712 * emacs-lisp/easy-mmode.el (define-minor-mode):
6713 Doc fixes for the macro and the mode it defines.
6715 * image.el (imagemagick-types-inhibit): Doc fix.
6717 * cus-start.el (imagemagick-render-type): Add it.
6719 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6721 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6722 Set the default at load time, too, so that `font-lock-fontify-buffer'
6723 can be called without setting up the entire mode first. This fixes
6724 a bug in `mm-inline-text' with C MIME parts.
6726 2012-02-06 Chong Yidong <cyd@gnu.org>
6728 * simple.el (list-processes--refresh): Delete exited processes
6731 * comint.el (comint-next-prompt): next-single-char-property-change
6732 and prev-single-char-property-change never return nil (Bug#8657).
6734 * custom.el (defcustom): Doc fix (Bug#9711).
6736 2012-02-05 Chong Yidong <cyd@gnu.org>
6738 * cus-edit.el (custom-variable-reset-backup): Quote the value
6739 before storing it in the customized-value property (Bug#6712).
6740 (custom-display): Add a customization type tag.
6741 (custom-buffer-create-internal): Improve tooltip message.
6743 * wid-edit.el (widget-field-value-get): New optional arg to
6744 suppress trailing whitespace truncation.
6745 (character): Use it (Bug#2689).
6747 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6749 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6750 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6752 2012-02-05 Chong Yidong <cyd@gnu.org>
6754 * cus-edit.el (custom-variable-value-create): For mismatched
6755 types, show the current value (Bug#7600).
6757 * custom.el (defcustom): Doc fix.
6759 2012-02-05 Glenn Morris <rgm@gnu.org>
6761 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6763 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
6765 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6766 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6767 (pp-last-sexp): Use `looking-at-p'.
6769 2012-02-04 Glenn Morris <rgm@gnu.org>
6771 * files.el (revert-buffer):
6772 Doc fix (mention revert-buffer-in-progress-p).
6774 * emacs-lisp/ert-x.el (ert-simulate-command):
6775 Check deferred-action-list (which is obsolete) is bound.
6777 * subr.el (with-wrapper-hook): Doc fixes.
6779 * simple.el (filter-buffer-substring-functions)
6780 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6782 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6784 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6785 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6787 2012-02-04 Leo Liu <sdl.web@gmail.com>
6789 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6791 2012-02-04 Glenn Morris <rgm@gnu.org>
6793 * image.el (image-extension-data): Add obsolete alias.
6795 * isearch.el (isearch-update): Doc fix.
6797 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6799 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6801 2012-02-03 Glenn Morris <rgm@gnu.org>
6803 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6804 (image-animate-timeout): Doc fix.
6806 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6808 2012-02-02 Glenn Morris <rgm@gnu.org>
6810 * server.el (server-auth-dir): Doc fix.
6811 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6813 * subr.el (run-mode-hooks): Doc fix.
6815 2012-02-02 Juri Linkov <juri@jurta.org>
6817 * image-mode.el (image-toggle-display-image): Remove tautological
6818 `major-mode' from the `derived-mode-p' test.
6820 2012-02-02 Kenichi Handa <handa@m17n.org>
6822 * composite.el (compose-region): Cancel previous change.
6824 2012-02-02 Kenichi Handa <handa@m17n.org>
6826 * composite.el (compose-region, compose-string): Signal error for
6827 a null string component (Bug#6988).
6829 2012-02-01 Chong Yidong <cyd@gnu.org>
6831 * view.el (view-buffer-other-window, view-buffer-other-frame):
6832 Handle special modes like view-buffer (Bug#10650).
6833 (view-buffer): Simplify.
6835 * frame.el (set-frame-font): Tweak meaning of third argument.
6837 * dynamic-setting.el (font-setting-change-default-font):
6838 Use set-frame-font (Bug#9982).
6840 2012-02-01 Glenn Morris <rgm@gnu.org>
6842 * progmodes/compile.el (compilation-internal-error-properties):
6843 Respect compilation-first-column in the "*compilation*" buffer.
6845 * emacs-lisp/easy-mmode.el (define-minor-mode):
6846 Relax :variable's test for a named function.
6848 2012-01-31 Alan Mackenzie <acm@muc.de>
6850 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6853 2012-01-31 Chong Yidong <cyd@gnu.org>
6855 * frame.el (set-frame-font): New arg ALL-FRAMES.
6857 * menu-bar.el (menu-set-font): Use set-frame-font.
6859 * faces.el (face-spec-reset-face): Don't apply unspecified
6860 attribute values to the default face.
6862 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
6864 * progmodes/cwarn.el (cwarn): Remove dead link.
6865 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6866 Remove * from defcustom docstrings.
6867 (turn-on-cwarn-mode): Make obsolete.
6868 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6869 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6871 2012-01-31 Glenn Morris <rgm@gnu.org>
6873 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6874 Fix :variable handling of mode a symbol not equal to modefun.
6875 Allow named functions to be used as the cdr of :variable.
6877 2012-01-30 Glenn Morris <rgm@gnu.org>
6879 * emacs-lisp/authors.el (authors-fixed-entries):
6880 Remove reference to deleted file rnewspost.el.
6882 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
6884 * window.el (window-with-parameter): Remove unused variable `windows'.
6885 (window--side-check): Remove unused variable `code'.
6886 (window--resize-siblings): Remove unused variable `first'.
6887 (adjust-window-trailing-edge): Remove unused variable `failed'.
6888 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6889 Use `let', not `let*'.
6890 (balance-windows-2): Remove unused variable `found'.
6891 (window--state-put-2): Remove unused variable `splits'.
6892 (window-state-put): Remove unused variable `selected'.
6893 (same-window-p): Use `string-match-p'.
6894 (display-buffer-assq-regexp): Remove unused variable `value'.
6895 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6896 Mark argument ALIST as ignored.
6897 (pop-to-buffer): Remove unused variable `old-window'.
6899 2012-01-29 Eli Zaretskii <eliz@gnu.org>
6901 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6902 and .lzma compressed files.
6904 2012-01-29 Chong Yidong <cyd@gnu.org>
6906 * frame.el (window-system-default-frame-alist): Doc fix.
6908 * dynamic-setting.el (font-setting-change-default-font): Don't
6909 change the default face if SET-FONT argument is non-nil (Bug#9982).
6911 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6913 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6915 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6917 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6918 breakpoints in files outside current directory (Bug#6098).
6920 2012-01-29 Chong Yidong <cyd@gnu.org>
6922 * progmodes/python.el: Require ansi-color at top-level.
6924 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6925 Define and use in Emacs Lisp mode (Bug#9360).
6926 (lisp-mode-abbrev-table): Add doc.
6927 (lisp-mode-variables): Don't set local-abbrev-table.
6928 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6930 2012-01-28 Roland Winkler <winkler@gnu.org>
6932 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6934 2012-01-28 Roland Winkler <winkler@gnu.org>
6936 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6937 (bibtex-set-dialect): Use it. Either set global values of
6938 dialect-dependent variables or bind these variables buffer-locally
6940 (bibtex-mode): Call bibtex-set-dialect via
6941 hack-local-variables-hook.
6942 (bibtex-dialect): Update docstring.
6943 Add safe-local-variable predicate.
6944 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6946 (bibtex-mode-map): Define menu for each dialect.
6947 (bibtex-entry): Fix docstring.
6949 2012-01-28 Chong Yidong <cyd@gnu.org>
6951 * eshell/esh-arg.el (eshell-quote-argument): New function.
6953 * eshell/esh-ext.el (eshell-invoke-batch-file):
6954 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6955 first arg to eshell-parse-command (Bug#10523).
6957 2012-01-28 Drew Adams <drew.adams@oracle.com>
6959 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6960 `default-directory' is non-nil.
6962 2012-01-28 Eli Zaretskii <eliz@gnu.org>
6964 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6965 line that displays system-configuration-options. (Bug#9924)
6967 2012-01-28 Drew Adams <drew.adams@oracle.com>
6969 * descr-text.el (describe-char): Show information about POS, in
6970 addition to information about the character at POS. Improve and
6971 update the doc string. Change "code point" to "code point in
6972 charset", to avoid confusion with the character's Unicode code
6973 point shown above that. (Bug#10129)
6975 2012-01-28 Eli Zaretskii <eliz@gnu.org>
6977 * descr-text.el (describe-char): Show the raw character, not only
6978 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6979 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6982 2012-01-28 Phil Hagelberg <phil@hagelb.org>
6984 * emacs-lisp/package.el (package-install):
6985 Run package-refresh-contents if there is no archive yet (Bug#9798).
6987 2012-01-28 Chong Yidong <cyd@gnu.org>
6989 * emacs-lisp/package.el (package-maybe-load-descriptor):
6990 New function, split from package-maybe-load-descriptor.
6991 (package-maybe-load-descriptor): Use it.
6992 (package-download-transaction): Fully load required packages
6993 inside the loop, so that `require' calls work (Bug#10593).
6994 (package-install): No need to call package-initialize now.
6996 2012-01-28 Chong Yidong <cyd@gnu.org>
6998 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7000 * tooltip.el (tooltip-mode): Doc fix.
7001 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7003 * frame.el (set-cursor-color): Doc fix (Bug#352).
7005 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7006 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7008 * cus-edit.el (custom-buffer-create-internal): Fix search button
7010 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
7012 2012-01-27 Eduard Wiebe <usenet@pusto.de>
7014 * dired.el (dired-mark-files-regexp):
7015 Include any subdirectory components. (Bug#10445)
7017 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7019 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7020 Handle [host]:port syntax. (Bug#10533)
7022 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
7024 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7026 2012-01-26 Glenn Morris <rgm@gnu.org>
7028 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7029 * term.el (term-raw-escape-map): Use Control-X-prefix.
7030 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7032 2012-01-25 Martin Rudalics <rudalics@gmx.at>
7034 * window.el (window-state-get, window--state-get-1): Don't deal
7035 with fixed-sizeness of windows. Simplify code.
7037 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7039 * window.el (window--state-get-1, window--state-put-2):
7040 Don't save and restore the mark.
7042 2012-01-25 Chong Yidong <cyd@gnu.org>
7044 * custom.el (custom-variable-p): Doc fix.
7046 2012-01-25 Glenn Morris <rgm@gnu.org>
7048 * dired.el (dired-goto-file): Handle some of the more common
7049 characters that `ls -b' escapes. (Bug#10596)
7051 * progmodes/compile.el (compilation-next-error-function):
7052 Respect compilation-first-column in the "*compilation*" buffer.
7053 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7055 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7057 2012-01-24 Glenn Morris <rgm@gnu.org>
7059 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7061 2012-01-24 Julien Danjou <julien@danjou.info>
7063 * color.el (color-rgb-to-hsl): Fix value computing.
7064 (color-hue-to-rgb): New function.
7065 (color-hsl-to-rgb): New function.
7066 (color-clamp, color-saturate-hsl, color-saturate-name)
7067 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7068 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7070 2012-01-24 Glenn Morris <rgm@gnu.org>
7072 * vc/vc-rcs.el (vc-rcs-create-tag):
7073 * vc/vc-sccs.el (vc-sccs-create-tag):
7074 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7076 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7078 * eshell/esh-util.el (eshell-read-hosts-file):
7079 Skip comment lines. (Bug#10549)
7081 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7083 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
7085 * subr.el (display-delayed-warnings): Doc fix.
7086 (collapse-delayed-warnings): New function to collapse identical
7088 (delayed-warnings-hook): Add it.
7090 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
7092 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7094 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7095 (tramp-default-user-alist): Don't add "pscp".
7096 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7097 property "login-as", if set. (Bug#10530)
7099 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
7101 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7102 "plink1" and "psftp". (Bug#10530)
7104 2012-01-21 Kenichi Handa <handa@m17n.org>
7106 * international/mule-cmds.el (prefer-coding-system): Show a
7107 warning message if the default value of file-name-coding-system
7110 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7112 * windmove.el (windmove-reference-loc):
7113 Fix windmove-reference-loc miscalculation.
7115 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7117 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7120 2012-01-21 Glenn Morris <rgm@gnu.org>
7122 * international/mule.el (auto-coding-alist): Add .tbz.
7124 * files.el (local-enable-local-variables): Doc fix.
7125 (inhibit-local-variables-regexps): Rename from
7126 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7127 Doc fix. Add some extensions from auto-coding-alist.
7128 (inhibit-local-variables-suffixes):
7129 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7130 (inhibit-local-variables-p):
7131 New function, extracted from set-auto-mode-1.
7132 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7133 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7134 (hack-local-variables): Doc fix. Make the mode-only case
7135 respect enable-local-variables and friends.
7136 Respect inhibit-local-variables-regexps for file-locals, but
7137 not for directory-locals.
7138 (set-visited-file-name):
7139 Take account of inhibit-local-variables-regexps.
7140 Whether it applies may change as the file name is changed.
7141 * jka-cmpr-hook.el (jka-compr-install):
7142 * jka-compr.el (jka-compr-uninstall):
7143 Update for inhibit-first-line-modes-suffixes name change.
7145 2012-01-20 Martin Rudalics <rudalics@gmx.at>
7147 * help-macro.el (make-help-screen): Temporarily restore original
7148 binding for minor-mode-map-alist (Bug#10454).
7150 2012-01-19 Julien Danjou <julien@danjou.info>
7152 * color.el (color-name-to-rgb): Use the white color to find the max
7153 color component value and return correctly computed values.
7154 (color-name-to-rgb): Add missing float conversion for max value.
7156 2012-01-19 Martin Rudalics <rudalics@gmx.at>
7158 * window.el (window--state-get-1, window-state-get): Do not use
7159 special state value for window-persistent-parameters.
7160 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
7161 (window--state-put-2): Reset all window parameters to nil before
7162 assigning values of persistent parameters.
7164 2012-01-18 Alan Mackenzie <acm@muc.de>
7166 Eliminate sluggishness and hangs in fontification of "semicolon
7169 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7170 Change value 10000 -> 3000.
7171 (c-state-safe-place): Reformulate so it doesn't stack up an
7172 infinite number of wrong entries in c-state-nonlit-pos-cache.
7173 (c-determine-limit-get-base, c-determine-limit): New functions to
7174 determine backward search limits disregarding literals.
7175 (c-find-decl-spots): Amend commenting.
7176 (c-cheap-inside-bracelist-p): New function which detects "={".
7178 * progmodes/cc-fonts.el
7179 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7181 (c-font-lock-declarations): Fix an occurrence of point being
7182 undefined. Check additionally for point being in a bracelist or
7183 near a macro invocation without a semicolon so as to avoid a
7184 fruitless time consuming search for a declarator. Give a more
7185 precise search limit for declarators using the new
7188 2012-01-18 Glenn Morris <rgm@gnu.org>
7190 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7191 (set-auto-mode): Doc fixes.
7193 2012-01-17 Glenn Morris <rgm@gnu.org>
7195 * isearch.el (search-nonincremental-instead): Fix doc typo.
7197 * dired.el (dired-insert-directory): Handle newlines in directory name.
7198 (dired-build-subdir-alist): Unescape newlines in directory name.
7200 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
7202 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7203 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7204 (tramp-action-terminal): Use it. (Bug#10530)
7206 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7208 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7210 2012-01-16 Martin Rudalics <rudalics@gmx.at>
7212 * window.el (window-state-ignored-parameters): Remove variable.
7213 (window--state-get-1): Rename argument MARKERS to IGNORE.
7214 Handle persistent window parameters. Make copy of clone-of
7215 parameter only if requested. (Bug#10348)
7216 (window--state-put-2): Install a window parameter only if it has
7217 a non-nil value or an existing parameter shall be overwritten.
7219 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
7221 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7223 2012-01-14 Eli Zaretskii <eliz@gnu.org>
7225 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7226 don't pass the (nil) value of `upnode' to string-match.
7228 2012-01-14 Chong Yidong <cyd@gnu.org>
7230 * startup.el (command-line): Fix X resource class for cursorColor.
7231 Fix values recognized by the cursorBlink resource.
7233 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7235 * epg.el (epg--make-temp-file): Avoid permission race condition
7236 when running on old Emacs versions (bug#10403).
7238 2012-01-14 Glenn Morris <rgm@gnu.org>
7240 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7242 2012-01-13 Alan Mackenzie <acm@muc.de>
7244 Fix filling for when filladapt mode is enabled.
7246 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7247 c-mask-paragraph, pass in `fill-paragraph' rather than
7248 `fill-region-as-paragraph'. (This is a reversion of a previous
7250 * progmodes/cc-mode.el (c-basic-common-init):
7251 Make fill-paragraph-handle-comment buffer local and set it to nil.
7253 2012-01-13 Glenn Morris <rgm@gnu.org>
7255 * dired.el (dired-switches-escape-p): New function.
7256 (dired-insert-directory): Use dired-switches-escape-p.
7257 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7259 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7261 2012-01-12 Glenn Morris <rgm@gnu.org>
7263 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7264 changes in adaptive-fill-regexp. (Bug#10276)
7266 2012-01-11 Alan Mackenzie <acm@muc.de>
7268 Fix Emacs bug #10463 - put `widen's around the critical spots.
7270 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
7271 widen around each invocation of c-state-pp-to-literal. Remove an
7272 unused let variable.
7274 2012-01-11 Glenn Morris <rgm@gnu.org>
7276 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
7279 2012-01-10 Chong Yidong <cyd@gnu.org>
7281 * net/network-stream.el (network-stream-open-starttls):
7282 Avoid emitting a confusing error message when the server gives a bad
7283 response to the capability command.
7285 2012-01-10 Glenn Morris <rgm@gnu.org>
7287 * mail/unrmail.el (unrmail): Tweak previous change.
7289 2012-01-09 Chong Yidong <cyd@gnu.org>
7291 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7293 2012-01-08 Alan Mackenzie <acm@muc.de>
7295 Optimise font locking in long enum definitions.
7297 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7298 arm to a cond form to handle enums.
7299 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7300 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7302 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
7304 * files.el (move-file-to-trash): Preserve default file modes on error.
7307 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7309 * faces.el (set-face-attribute): Clarify the meaning of the nil
7312 * subr.el (with-selected-frame): Mention that the selected frame
7313 is restored (bug#9980).
7315 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7318 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
7319 (password-read): Don't autoload unused function.
7321 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
7323 * progmodes/which-func.el (which-func-mode): Turn into a
7324 non-interactive function and mark as obsolete (bug#10428).
7326 2012-01-06 Chong Yidong <cyd@gnu.org>
7328 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7329 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7330 functions, along with 1 and -1.
7332 2012-01-06 Eli Zaretskii <eliz@gnu.org>
7334 * time.el (display-time-load-average)
7335 (display-time-default-load-average): Doc fixes. See the thread
7337 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7340 2012-01-06 Glenn Morris <rgm@gnu.org>
7342 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7343 has no messages. (Bug#10377)
7345 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7346 than Info-edit. (Bug#10385)
7348 * time.el (display-time-load-average, display-time-next-load-average):
7351 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7352 local setting of buffer-read-only to the input buffer. (Bug#10419)
7354 * calendar/calendar.el (calendar-mode):
7355 Locally set scroll-margin to 0. (Bug#10379)
7357 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
7359 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7361 2012-01-05 Glenn Morris <rgm@gnu.org>
7363 * eshell/em-unix.el (diff-no-select): Autoload it.
7364 (eshell/diff): Use diff-no-select. (Bug#10420)
7366 2012-01-05 Chong Yidong <cyd@gnu.org>
7368 * shell.el (shell-dynamic-complete-functions): Revert last change.
7369 (shell-command-completion-function): New function.
7370 (shell-completion-vars): Use it to implement
7371 shell-completion-execonly (Bug#10417).
7373 * custom.el (enable-theme): Don't set custom-safe-themes.
7375 * cus-theme.el (custom-theme-merge-theme):
7376 Ignore custom-enabled-themes and custom-safe-themes.
7378 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7380 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7381 first prompt in `sql-interacive-mode'.
7382 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
7384 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
7385 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7386 context of original buffer. Invoke `sql-login-hook'.
7388 2012-01-04 Eli Zaretskii <eliz@gnu.org>
7390 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7391 letters in cite-prefix.
7393 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7395 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7397 2012-01-03 Chong Yidong <cyd@gnu.org>
7399 * shell.el (shell-dynamic-complete-functions):
7400 Put pcomplete-completions-at-point, so as to try
7401 comint-filename-completion first (Bug#10417).
7403 2012-01-02 Richard Stallman <rms@gnu.org>
7405 * battery.el (battery-status-function):
7406 Detect when to use battery-yeeloong-sysfs.
7407 (battery-echo-area-format): Add string for Yeeloong.
7408 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7409 (battery-yeeloong-sysfs): New function.
7411 2012-01-02 Chong Yidong <cyd@gnu.org>
7413 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7414 (dirtrack): Merge code for handling relative filenames in prompt
7415 from shell-dir-cookie-watcher.
7416 (dirtrack-debug-message): New arg to avoid excess format calls.
7418 * shell.el (shell-dir-cookie-re): Variable deleted.
7419 (shell-dir-cookie-watcher): Function deleted.
7420 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7423 2012-01-01 Eli Zaretskii <eliz@gnu.org>
7425 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7426 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
7429 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7431 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7433 2011-12-31 Eli Zaretskii <eliz@gnu.org>
7435 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7436 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7438 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
7440 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7441 also for alternative shells.
7442 (tramp-open-connection-setup-interactive-shell): Check, whether
7443 the shell is a busybox.
7444 (tramp-send-command): Don't suppress multiple prompts for
7445 busyboxes, it hurts.
7447 2011-12-28 Chong Yidong <cyd@gnu.org>
7449 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7450 (gdb-get-source-file): Move mode line update to
7451 gdb-get-source-file (Bug#10087).
7453 2011-12-25 Chong Yidong <cyd@gnu.org>
7455 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7456 gud-gdb-marker-filter without taking it as an argument.
7457 (gud-gdb-run-command-fetch-lines): Caller changed.
7458 (gud-gdb-completion-function): New variable.
7459 (gud-gdb-completion-at-point): Use it.
7460 (gud-gdb-completions-1): Split from gud-gdb-completions.
7462 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7463 function as separate arguments.
7464 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7465 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7466 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7467 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7468 (gdb-stopped, def-gdb-auto-update-trigger)
7469 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
7470 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7472 (gud-gdbmi-completions): New function.
7473 (gdb): Use it for generating the completion table.
7475 2011-12-24 Alan Mackenzie <acm@muc.de>
7477 Introduce a mechanism to widen the region used in context font
7478 locking. Use this to protect declarations from losing their contexts.
7480 * progmodes/cc-langs.el (c-before-font-lock-functions):
7481 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
7482 (c-before-context-fontification-functions): New defvar, a list of
7483 functions to be run just before context (etc.) font locking.
7485 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
7486 New, functionality extracted from
7487 c-neutralize-syntax-in-and-mark-CPP.
7488 (c-in-after-change-fontification): New variable.
7489 (c-after-change): Set c-in-after-change-fontification.
7490 (c-set-fl-decl-start): Rejig its interface, so it can be called
7491 from both after-change and context fontifying.
7492 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7494 (c-standard-font-lock-fontify-region-function): New variable.
7495 (c-font-lock-fontify-region): New function.
7497 2011-12-24 Juri Linkov <juri@jurta.org>
7499 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7502 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
7504 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7505 existence of source file. (Bug#10325)
7507 2011-12-23 Alan Mackenzie <acm@muc.de>
7509 Fix unstable fontification inside templates.
7511 * progmodes/cc-langs.el (c-before-font-lock-functions):
7512 Newly created from the singular version. The (c c++ objc) entry now
7513 additionally has c-set-fl-decl-start. The other languages (apart
7514 from AWK) have that as a single entry.
7516 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7517 The functionality for "local" declarations has been extracted to
7518 c-set-fl-decl-start.
7520 * progmodes/cc-mode.el (c-common-init, c-after-change):
7521 Changes due to pluralisation of c-before-font-lock-functions.
7522 (c-set-fl-decl-start): New function, extracted from
7523 c-font-lock-enclosing-decls and enhanced.
7525 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
7527 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7529 2011-12-22 Juri Linkov <juri@jurta.org>
7531 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7533 2011-12-22 Chong Yidong <cyd@gnu.org>
7535 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7537 2011-12-21 Drew Adams <drew.adams@oracle.com>
7539 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7541 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7543 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7545 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7547 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7548 highlighting and support. Fix up comments for capitalization.
7549 (cfengine-mode-debug): New var.
7550 (cfengine3-mode): Change the modeline indicator to "CFE3".
7551 (cfengine3-font-lock-keywords): Improve defun highlighting.
7552 (cfengine2-actions): Rename from `cfengine-actions'.
7553 (cfengine2-font-lock-keywords): Rename from
7554 `cfengine-font-lock-keywords'.
7555 (cfengine2-imenu-expression): Rename from
7556 `cfengine-imenu-expression'.
7557 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7558 (cfengine2-beginning-of-defun): Rename from
7559 `cfengine-beginning-of-defun'.
7560 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7561 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7562 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7563 modeline indicator to "CFE2".
7564 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7565 (cfengine-mode-abbrevs): Mark obsolete.
7567 2011-12-21 Chong Yidong <cyd@gnu.org>
7569 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7572 2011-12-20 Martin Rudalics <rudalics@gmx.at>
7574 * window.el (window-normalize-buffer-to-display): Remove.
7575 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7577 2011-12-19 Chong Yidong <cyd@gnu.org>
7579 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7580 Don't signal an error in a predicate function; return non-nil.
7581 (vc-dir-mark-file): Move the error here.
7582 (vc-dir-mark-unmark): If acting on the region, keep going if one
7583 of the entries cannot be marked/unmarked.
7584 (vc-dir-mark-all-files): If current entry is a directory, mark
7585 only child files, as documented.
7587 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7589 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7590 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7593 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7595 * term/ns-win.el (ns-get-selection-internal)
7596 (ns-store-selection-internal): Declare.
7597 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7598 Declare as obsolete.
7599 (ns-get-pasteboard, ns-paste-secondary):
7600 Use ns-get-selection-internal.
7601 (ns-set-pasteboard, ns-copy-including-secondary):
7602 Use ns-store-selection-internal.
7604 2011-12-17 Chong Yidong <cyd@gnu.org>
7606 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
7607 (vc-deduce-fileset): Doc fix.
7609 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7611 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7613 2011-12-13 Sam Steingold <sds@gnu.org>
7615 * man.el (Man-getpage-in-background): When running under a
7616 window-system, ignore $MANWIDTH and $COLUMNS.
7618 2011-12-15 Kenichi Handa <handa@m17n.org>
7620 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7621 (setup-ethiopic-environment-internal): Comment out key-binding for
7622 ethio-toggle-punctuation.
7624 2011-12-13 Alan Mackenzie <acm@muc.de>
7626 Add the switch statement to AWK Mode.
7628 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
7629 "default" to the keywords regexp.
7631 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
7632 expression as the rest.
7633 (c-nonlabel-token-key): Allow string literals for AWK.
7634 Refactor for the other modes.
7636 Large brace-block initialisation makes CC Mode slow: Fix.
7637 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
7638 routines. Limit backward searching in c-font-lock-enclosing.decl.
7640 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7641 pp-state and literal type in addition to the limits.
7642 (c-state-safe-place): New defun, extracted from c-state-literal-at.
7643 (c-state-literal-at): Use the above new defun.
7644 (c-slow-in-literal, c-fast-in-literal): Remove.
7645 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
7647 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7648 being in a literal. Add a limit for backward searching.
7650 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7653 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7655 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7657 2011-12-13 Martin Rudalics <rudalics@gmx.at>
7659 * window.el (delete-other-windows): Use correct frame in call to
7660 window-with-parameter.
7662 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7664 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7665 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7666 (makefile-gmake-statements, makefile-makepp-statements):
7667 Use it and add new makepp keywords.
7668 (makefile-makepp-font-lock-keywords): Add new patterns.
7669 (makefile-match-function-end): Match new [...] and [[...]].
7671 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
7673 * ses.el (ses-call-printer-return, ses-cell-property-get)
7674 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7675 (ses-create-cell-variable, ses-reset-header-string)
7676 (ses-cell-set-formula, ses-repair-cell-reference-all)
7677 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7678 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7679 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7680 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7681 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7682 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7683 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7684 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7685 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7686 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7687 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7688 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7690 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7692 * ses.el: The overall change is to add cell renaming, that is
7693 setting fancy names for cell symbols other than name matching
7694 "\\`[A-Z]+[0-9]+\\'" regexp .
7695 (ses-create-cell-variable): New defun.
7696 (ses-relocate-formula): Relocate formulas only for cells the
7697 symbols of which are not renamed, i.e. symbols whose names do not
7698 match regexp "\\`[A-Z]+[0-9]+\\'".
7699 (ses-relocate-all): Relocate values only for cells the symbols of
7700 which are not renamed.
7701 (ses-load): Create cells variables as the (ses-cell ...) are read,
7702 in order to check row col consistency with cell symbol name only
7703 for cells that are not renamed.
7704 (ses-replace-name-in-formula): New defun.
7705 (ses-rename-cell): New defun.
7707 2011-12-11 Chong Yidong <cyd@gnu.org>
7709 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7710 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7712 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7714 * window.el (other-window): Fix docstring.
7716 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7718 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
7719 `from' or `to' address before taking its substring.
7720 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
7721 encoded name is chopped in the middle of the encoded string, and
7722 thus displayed encoded.
7724 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
7726 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7728 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7730 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7731 to use texinfo-update-node and commands that call it if the
7732 Texinfo file uses @node lines without next/prev/up pointers.
7733 Correct outdated description about texinfo-master-menu.
7734 (texinfo-all-menus-update, texinfo-master-menu)
7735 (texinfo-update-node, texinfo-every-node-update)
7736 (texinfo-multiple-files-update): Doc fix. Warn against updating
7737 all the @node lines.
7738 (texinfo-master-menu): Only call texinfo-update-node if the prefix
7739 argument is numeric. Explain better in the doc string what the
7740 function really does.
7741 (texinfo-insert-master-menu-list): Improve the error message
7742 displayed if there's no menu in the Top node.
7743 (Bug#2975) See also this thread:
7744 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7746 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7748 * speedbar.el (speedbar-supported-extension-expressions):
7749 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7751 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
7753 * printing.el (pr-mode-alist):
7754 * simple.el (filter-buffer-substring-functions)
7755 (completion-list-insert-choice-function):
7756 * window.el (window-with-parameter, window-atom-root)
7757 (window-sides-slots, window-size-fixed, window-min-delta)
7758 (window-max-delta, window--resize-mini-window)
7759 (window--resize-child-windows-normal, window-tree)
7760 (delete-other-windows, quit-window, split-window)
7761 (display-buffer-record-window, special-display-buffer-names)
7762 (special-display-regexps, special-display-popup-frame)
7763 (same-window-p, split-window-sensibly)
7764 (display-buffer-overriding-action, display-buffer-alist)
7765 (display-buffer-base-action, display-buffer, switch-to-buffer)
7766 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7767 (fit-window-to-buffer, recenter-positions)
7768 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7769 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7770 and remove unneeded backslashes in docstrings.
7772 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7774 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7776 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7777 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7779 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7780 when reading the makefile (bug#10116).
7782 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7784 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7787 2011-12-06 Glenn Morris <rgm@gnu.org>
7789 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7791 2011-12-06 Chong Yidong <cyd@gnu.org>
7793 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7795 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
7797 * textmodes/table.el (table-shorten-cell): Fix typo.
7799 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7801 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7803 2011-12-05 Eli Zaretskii <eliz@gnu.org>
7805 * descr-text.el (describe-char): Fix display of strong
7806 right-to-left characters and directional embeddings and overrides.
7808 * simple.el (what-cursor-position): Fix display of codepoints of
7809 strong right-to-left characters.
7811 2011-12-05 Chong Yidong <cyd@gnu.org>
7813 * faces.el (read-color): Doc fix.
7815 2011-12-05 Glenn Morris <rgm@gnu.org>
7817 * align.el (align--set-marker): Add doc-string.
7818 Don't try to move something that is not a marker. (Bug#10216)
7820 2011-12-04 Glenn Morris <rgm@gnu.org>
7822 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7823 overly zealous deletion of trailing whitespace.
7825 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
7827 * server.el (server-delete-client): On Windows, do not try to delete
7829 (server-process-filter): On Windows, treat requests for a tty frame as
7830 if they were for a GUI frame if the running server is in GUI mode.
7832 2011-12-03 Glenn Morris <rgm@gnu.org>
7834 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7836 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7838 * electric.el: Streamline electric-indent's hook.
7839 (electric-indent-chars): Revert to simple list.
7840 (electric-indent-functions): New var.
7841 (electric-indent-post-self-insert-function): Use it.
7843 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7844 there's no inferior buffer (bug#10196).
7845 (prolog-consult-compile): Don't use toggle-read-only.
7847 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
7849 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7850 interrupt. (Bug#10187)
7852 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7854 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7857 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7860 2011-12-02 Juri Linkov <juri@jurta.org>
7862 * info.el (Info-search): Display "end of manual" when Isearch
7863 reaches the end of single-file Info manual. (Bug#9918)
7865 2011-12-02 Eli Zaretskii <eliz@gnu.org>
7867 * isearch.el (isearch-message-prefix): Run the input method part
7868 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7870 2011-12-02 Juri Linkov <juri@jurta.org>
7872 * isearch.el (isearch-occur): Use `word-search-regexp' for
7874 (isearch-search-and-update): Add condition for `isearch-word' and
7875 call `word-search-regexp'. (Bug#10145)
7877 2011-12-01 Glenn Morris <rgm@gnu.org>
7879 * eshell/em-hist.el (eshell-hist-initialize):
7880 Handle eshell-history-size nil and HISTSIZE set or unset.
7881 (eshell-history-file-name, eshell-history-size): Fix custom type.
7883 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7885 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7887 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
7889 * progmodes/verilog-mode.el (verilog-pretty-expr):
7890 Rework verilog-pretty-expr to handle new assignment operators in system
7891 verilog, such as += *= and the like.
7892 (verilog-assignment-operator-re): Regular expression to find the
7893 assigment operator in a verilog assignment.
7894 (verilog-assignment-operation-re): Regular expression to find an
7895 assignment statement for pretty-expr.
7896 (verilog-in-attribute-p): Query returns true if point is in an
7897 attribute context; used to skip these for expression line up from
7899 (verilog-in-parameter-p): Query returns true if point is in an
7900 parameter definition context; used to skip these for expression
7901 line up from pretty-expr.
7902 (verilog-in-parenthesis-p): Query returns true if point is in a
7903 parenthetical expression, specifically ( ) but not [ ] or { };
7904 used by pretty-expr.
7905 (verilog-just-one-space): If there is no space, don't add one.
7906 (verilog-get-lineup-indent-2): Specifically skip just attribute
7907 contexts for expression lineup, rather than skipping all
7908 parenthetical expressions.
7909 (verilog-calculate-indent): Fix comment, and fix indent.
7910 (verilog-do-indent): Indent declarations in lists (suggested by
7912 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7914 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7917 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
7919 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7920 parameters with embedded comments. Reported by Ray Stevens.
7921 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7922 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7923 Reported by Tim Holt.
7924 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7925 instantiated by upper module causing wrong expansion until AUTOed a
7926 second time. Reported by K C Buckenmaier.
7927 (verilog-diff-auto): Fix showing .* as a difference when
7928 `verilog-auto-star-save' off. Reported by Dan Dever.
7929 (verilog-auto-reset, verilog-read-always-signals)
7930 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7931 temporary signals in reset list if
7932 verilog-auto-reset-blocking-in-non is nil, and match assignment
7933 style to each signal's assignment type, bug381.
7934 Reported by Thomas Esposito.
7935 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7936 (verilog-uvm-statement-re): Support UVM indentation and
7937 highlighting, with old OVM keywords only.
7938 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
7939 Support AUTOTIEOFF creating non-wire data types.
7940 Suggested by Jonathan Greenlaw.
7941 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7942 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7943 (verilog-inject-sense, verilog-read-inst-pins)
7944 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7945 Fix mismatching parenthesis inside commented out code when deleting
7946 AUTOINST, bug383. Reported by Jonathan Greenlaw.
7947 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7948 non-numeric vector width. Reported by Alex Reed.
7949 (verilog-auto-ascii-enum): Add "onehot" option to work around not
7950 detecting signals with parameter widths. Reported by Alex Reed.
7951 (verilog-auto-delete-trailing-whitespace):
7952 With `verilog-auto-delete-trailing-whitespace' remove trailing
7953 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7954 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7955 Fix verilog-scan-cache corruption when running user AUTO expansion
7956 hooks that call indentation routines.
7957 (verilog-simplify-range-expression): Fix typo ignoring lower case
7959 (verilog-delete-auto): Fix delete-autos to also remove user created
7960 automatics, as long as they start with AUTO.
7961 (verilog-batch-diff-auto, verilog-diff-auto)
7962 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7963 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7964 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7965 (verilog-in-paren-quick, verilog-re-search-backward-quick)
7966 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7967 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
7968 is disabled and its cache will get corrupt, causing AUTOS not to
7969 expand. Instead use only -quick functions.
7970 (verilog-scan-region): Fix scanning over escaped quotes.
7971 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7972 (verilog-re-search-backward-quick)
7973 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7974 related functions now ignore strings, to fix misparsing of strings
7975 with magic comments embedded in them.
7976 (verilog-read-auto-template):
7977 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7978 Reported by Brad Dobbie.
7979 (verilog-read-auto-template):
7980 Fix 'verilog-auto-inst-template-numbers' with comments.
7981 Reported by Brad Dobbie.
7982 (verilog-auto-inst, verilog-auto-inst-param)
7983 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7984 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7985 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
7986 debugging templates without merge conflicts, bug357.
7987 Reported by Brad Dobbie.
7988 (verilog-read-auto-template):
7989 Fix verilog-auto-inst-template-numbers with multiple templates.
7990 Reported by Brad Dobbie.
7991 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7992 abbrevs so user won't be asked to save.
7993 (verilog-read-auto-lisp-present): Fix to start at beginning of
7994 buffer in case called outside of verilog-auto.
7995 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7996 to "X-2". Reported by Matthew Myers.
7997 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7998 all inputs from module templates. Reported by Leith Johnson.
7999 (verilog-module-inside-filename-p): Fix locating programs as with
8001 (verilog-auto-inst-port): Fix vl-width expressions when using
8002 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8003 (verilog-decls-get-regs, verilog-decls-get-signals,
8004 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8005 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8006 verilog-read-decls): Combine reg and wire structures into one var
8007 structure to represent SystemVerilog concepts.
8008 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8009 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
8010 (verilog-auto-wire-type, verilog-insert-definition):
8011 Add verilog-auto-wire-type and AUTOLOGIC to support using
8012 SystemVerilog "logic" keyword instead of "wire"/"reg".
8013 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8014 to declares outputs that also have assignments (presumably in an
8015 ifdef or generate if so there's not a driver conflict).
8016 Reported by Matthew Myers.
8017 (verilog-auto-declare-nettype, verilog-insert-definition):
8018 Add verilog-auto-declare-nettype to fix declarations using
8019 `default_nettype none. Reported by Julian Gorfajn.
8020 (verilog-read-always-signals-recurse, verilog-read-decls)
8021 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8022 malformed end statement, bug325. Reported by Joshua Wise and
8024 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8025 (verilog-inst-comment-re): Fix not deleting Interfaced comment
8026 when expanding .* in interfaces, bug320.
8027 Reported by Pierre-David Pfister.
8028 (verilog-read-module-name): Fix import statements between module
8029 name and open parenthesis, bug317.
8030 Reported by Pierre-David Pfister.
8031 (verilog-simplify-range-expression): Fix simplification of
8032 multiplications inside AUTOWIRE connections, bug303.
8033 (verilog-auto-inst-port): Support parameter expansion in
8034 multidimensional arrays.
8035 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8036 after "assert property". Reported by Julian Gorfajn.
8037 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8038 with multiplication, bug303.
8039 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8040 Reported by Jan Frode Lonnum.
8042 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
8044 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8045 (hfy-shell-file-name, hfy-shell):
8046 * international/fontset.el (x-decompose-font-name): Fix typos.
8048 2011-11-29 Ken Brown <kbrown@cornell.edu>
8050 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8051 (gdb-version): Remove defvar.
8052 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8053 (gdb-gud-context-command, gdb-non-stop-handler)
8054 (gdb-current-context-command, gdb-stopped): Use it.
8055 (gdb-init-1): Enable pretty printing here.
8056 (gdb-non-stop-handler): Don't enable pretty-printing here.
8057 Check to see if the target supports non-stop mode; if not, turn off
8058 non-stop mode. Use the following.
8059 (gdb-check-target-async): New defun.
8060 (gud-watch, gdb-stopped): Fix whitespace.
8061 (gdb-get-source-file): Don't try to display the source file if
8062 `gdb-main-file' is nil.
8064 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8066 * align.el: Try to generate fewer markers (bug#10047).
8067 (align--set-marker): New macro.
8068 (align-region): Use it.
8070 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8072 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8074 2011-11-29 Chong Yidong <cyd@gnu.org>
8076 * indent.el (indent-for-tab-command, indent-according-to-mode):
8078 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8080 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
8082 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8083 aware of remote file names. (Bug#10124)
8085 2011-11-29 Chong Yidong <cyd@gnu.org>
8087 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8089 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8091 * files.el (find-file): Don't use force-same-window (bug#10144).
8092 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8093 use pop-to-buffer if the selected window can't be used.
8094 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8096 2011-11-28 Eli Zaretskii <eliz@gnu.org>
8098 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8101 2011-11-28 Chong Yidong <cyd@gnu.org>
8103 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8105 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
8107 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8108 gdb-get-source-file-list on gdb-create-source-file-list.
8110 2011-11-26 Eli Zaretskii <eliz@gnu.org>
8112 * whitespace.el (whitespace-newline): Use a different foreground
8113 color for 16-color light-background displays.
8115 2011-11-24 Chong Yidong <cyd@gnu.org>
8117 * window.el (display-buffer--special-action): Doc fix.
8119 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
8121 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8122 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8123 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8124 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8125 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8126 (avl-tree-stack-first):
8127 * emacs-lisp/cconv.el (cconv--analyse-use):
8128 * net/gnutls.el (gnutls-negotiate): Fix typos.
8130 2011-11-24 Glenn Morris <rgm@gnu.org>
8132 * lpr.el (lpr-windows-system, lpr-lp-system):
8133 * mail/binhex.el (binhex-begin-line):
8134 * progmodes/grep.el (grep-history, grep-find-history):
8135 * textmodes/flyspell.el:
8136 * vc/pcvs-defs.el (cvs-global-menu):
8137 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8138 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8139 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8141 * net/tls.el: Fix case of "GnuTLS".
8143 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8145 * version.el (emacs-build-system): Give it a doc-string.
8147 2011-11-24 Juri Linkov <juri@jurta.org>
8149 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8151 2011-11-24 Glenn Morris <rgm@gnu.org>
8153 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8154 if called on a non-mime message just toggle the headers. (Bug#8006)
8156 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
8158 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8159 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8160 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8161 (allout-rebullet-heading, allout-open-sibtopic)
8162 (allout-toggle-current-subtree-encryption)
8163 (allout-toggle-subtree-encryption, allout-encrypt-string)
8164 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8165 (allout-distinctive-bullets-string, allout-auto-activation):
8166 * window.el (window-normalize-buffer-to-display):
8167 * progmodes/verilog-mode.el (verilog-batch-indent):
8168 * textmodes/bibtex.el (bibtex-field-braces-opt)
8169 (bibtex-field-strings-opt):
8170 * vc/cvs-status.el (cvs-tree-merge):
8173 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
8175 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8176 `non-essential' to t, in order to avoid remote connections.
8178 2011-11-23 Eli Zaretskii <eliz@gnu.org>
8180 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8181 On MS-DOS and MS-Windows, compare with loaddefs.el
8184 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8186 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8188 2011-11-23 Glenn Morris <rgm@gnu.org>
8190 * paths.el (rmail-file-name): Reformat the doc-string so that it
8193 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8194 (rmail-auto-file): Ignore case in the "special" field names,
8195 as mail-fetch-field does for all others.
8197 * mail/rmail.el (rmail-forward):
8198 * mail/rmailkwd.el (rmail-set-label):
8199 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8200 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8202 * mail/rmail.el (rmail-current-message): Doc fix.
8204 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8206 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8208 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8210 2011-11-22 Glenn Morris <rgm@gnu.org>
8212 * mail/rmailmm.el (test-rmail-mime-handler)
8213 (test-rmail-mime-bulk-handler)
8214 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8216 2011-11-21 Juri Linkov <juri@jurta.org>
8218 * calc/calc.el (calc-read-key-sequence):
8219 Let-bind `input-method-function' to nil. (Bug#10018)
8221 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8223 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8224 Tell the caller that the next line needs recomputation, even
8225 though it doesn't start a sexp (bug#10094).
8227 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8229 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8231 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8233 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8234 Use force-same-window.
8236 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
8238 * descr-text.el (describe-char-unicode-data):
8239 * json.el (json-string-escape):
8240 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8241 (Footnote-unicode, Footnote-style-p):
8242 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8244 2011-11-20 Chong Yidong <cyd@gnu.org>
8246 * window.el (replace-buffer-in-windows): Restore interactive spec.
8248 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8250 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8252 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8253 (byte-compile-global-not-obsolete-vars): New var.
8254 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8256 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8258 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
8260 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8261 * progmodes/pascal.el (electric-pascal-equal):
8262 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8263 * xml.el (xml-substitute-special): Fix typos.
8265 2011-11-20 Glenn Morris <rgm@gnu.org>
8267 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8268 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8270 (rmail-decode-mime-charset): Mark as obsolete.
8272 * mail/rmailsum.el (rmail-message-regexp-p-1):
8273 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8274 Before using mime functions, check they are set. (Bug#10077)
8276 2011-11-19 Juri Linkov <juri@jurta.org>
8278 * info.el (Info-finder-find-node): Use `package--builtins' instead
8279 of `package-alist'. Use node names formed by the pattern "Keyword "
8280 and the keyword name.
8282 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8284 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
8286 2011-11-19 Juri Linkov <juri@jurta.org>
8288 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8289 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8290 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8291 `old-history', `old-history-forward'. Add let-binding
8292 `window-selected'. Remove calls to `kill-buffer',
8293 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8294 before calling `Info-find-node', so `Info-find-node-2' will reread
8295 the Info file. Restore window positions only when `window-selected'
8298 2011-11-19 Juri Linkov <juri@jurta.org>
8300 * isearch.el (isearch-lazy-highlight-new-loop):
8301 Remove condition `(not isearch-error)'. (Bug#9918)
8303 * misearch.el (multi-isearch-search-fun): Add condition
8304 `(not bound)' to ignore lazy-highlighting search.
8305 Add the search-failed message "end of multi" when the end of
8306 multi-sequence is reached. Uncapitalize the search-failed
8307 message "Repeat for next buffer".
8309 * info.el (Info-search): Add the search-failed message
8310 "end of the manual" when the end of the manual is reached
8313 2011-11-19 Juri Linkov <juri@jurta.org>
8315 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8316 Use non-destructive `remove' instead of `delete' because
8317 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8318 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8320 2011-11-19 Juri Linkov <juri@jurta.org>
8322 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8323 to nil instead of binding `search-ring' and `regexp-search-ring'.
8326 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8328 * simple.el (line-move): Force movement by logical lines for any
8329 hscrolled window, not only when auto-hscroll-mode is on.
8330 (line-move-visual): Update doc string to that effect. (Bug#10076)
8332 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8334 * language/european.el (macintosh): Define as alias for mac-roman.
8336 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8338 * mail/rmailmm.el (rmail-mime-display-header)
8339 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8340 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8341 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8342 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8343 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8345 (rmail-mime-entity-segment): To get past the tagline, move forward
8346 2 more lines, to account for the 2 empty lines that precede and
8347 follow the line with the buttons.
8348 (rmail-mime-update-tagline): Move one more line, to get past the
8349 empty line that follows the buttons in the tagline. (Bug#9520)
8351 2011-11-19 Martin Rudalics <rudalics@gmx.at>
8353 * window.el (window-max-delta-1, window-min-delta-1)
8354 (window-min-size-1, window-state-get-1, window-state-put-1)
8355 (window-state-put-2): Use "window--" prefix.
8357 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8359 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8360 (smie-warning-count): New var.
8361 (smie-set-prec2tab): Use it.
8362 (smie-bnf->prec2): Improve warnings. Add docstring.
8363 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8364 (smie-bnf--set-class): New function.
8365 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8368 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8369 (compilation-error-properties, compilation-move-to-column):
8370 Handle compilation-first-column while in the target buffer.
8372 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8373 Don't hardcode point-min==1.
8375 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8376 (eshell-rewrite-for-command): Remove workaround.
8377 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8378 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8379 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8381 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8383 2011-11-17 Glenn Morris <rgm@gnu.org>
8385 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8386 Ignore buffer-local generated-autoload-file if it is the same
8387 as the global value. (Bug#10049)
8389 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
8391 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8392 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8393 (reftex-toc-previous-heading, reftex-toc-max-level)
8394 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8395 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8396 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8397 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8398 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8399 (reftex-toc-rename-label, reftex-toc-visit-location)
8400 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8401 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8402 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8403 leaving "*toc*" only for references to the buffer.
8405 2011-11-17 Martin Rudalics <rudalics@gmx.at>
8407 * window.el (window-resize, delete-window, split-window):
8408 Replace window-splits by window-combination-resize.
8409 * cus-start.el (window-splits): Replace by window-combination-resize.
8411 2011-11-17 Glenn Morris <rgm@gnu.org>
8413 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8414 Make bash entry derive from sh entry, not shell entry.
8416 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
8418 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8421 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8423 * menu-bar.el (menu-bar-file-menu):
8424 * printing.el (pr-ps-utility):
8425 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8426 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8427 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8428 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8429 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8430 (icalendar--convert-cyclic-to-ical)
8431 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8432 (icalendar--convert-ical-to-diary)
8433 (icalendar--convert-recurring-to-diary)
8434 (icalendar--convert-non-recurring-all-day-to-diary)
8435 (icalendar-import-format-sample):
8436 * progmodes/idlw-shell.el (idlwave-shell-mode):
8437 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8438 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8439 (vhdl-ps-print-init): Fix typos.
8441 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8443 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8444 FSF and collapse date sequence, obscure author/maintainer email address
8445 better, remove extra version line, track relocation of author's webpage.
8447 * progmodes/python.el (python-pdbtrack-input-prompt)
8448 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8449 regular python pdb prompts. Adjustments shamelessly taken exactly as
8450 suggested in EmacsWiki page (tiny change):
8451 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8453 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8455 * expand.el (expand-pos, expand-index, expand-point):
8456 Remove redundant info from docstring.
8457 (expand-add-abbrevs): Doc fix.
8458 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8459 (expand-sample-perl-mode-expand-list): Fix typos.
8461 * net/dbus.el (dbus-event-member-name):
8462 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8463 * term/pc-win.el (msdos-create-frame-with-faces):
8464 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8466 2011-11-16 Martin Rudalics <rudalics@gmx.at>
8468 * window.el (split-window, window-state-get-1)
8469 (window-state-put-1, window-state-put-2): Rename occurrences of
8470 window-nest to window-combination-limit.
8471 * cus-start.el (window-nest): Rename to window-combination-limit.
8473 2011-11-16 Chong Yidong <cyd@gnu.org>
8475 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8478 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8480 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8481 `completing-read' will remove *Completions* and will preserve
8482 current-buffer for us.
8483 (tmm-add-prompt): Users of *Completions* will always (re)set its
8485 (tmm-old-comp-map): Remove.
8487 2011-11-16 Glenn Morris <rgm@gnu.org>
8489 * mail/rmailedit.el: Require rmailmm when compiling.
8490 (rmail-old-mime-state): New declaration.
8491 (rmail-edit-current-message): If editing a mime message,
8492 edit the "raw" message from the mbox buffer.
8493 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8495 2011-11-15 Glenn Morris <rgm@gnu.org>
8497 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8498 which wasn't being used. Add optional arg to force given state.
8499 (rmail-mime): Add optional arg to force given state.
8501 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8503 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8504 * frame.el (display-mm-dimensions-alist):
8505 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8506 (outline-move-subtree-down):
8507 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8508 (newsticker--treeview-do-get-node):
8509 * net/quickurl.el (quickurl-list-buffer-name):
8510 * progmodes/dcl-mode.el (dcl-mode):
8511 * progmodes/gdb-mi.el (gdb-mapcar*):
8512 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8514 2011-11-15 Glenn Morris <rgm@gnu.org>
8516 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8517 in a boolean sense, so just make it a boolean, and fix the doc.
8518 (rmail-show-mime-function, rmail-mime-feature)
8519 (rmail-require-mime-maybe): Doc fixes.
8520 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8522 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8524 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8526 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8527 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8528 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8529 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8531 2011-11-15 Glenn Morris <rgm@gnu.org>
8533 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8534 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8535 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8536 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8537 (rmail-mime, rmail-show-mime): Doc fixes.
8539 * term/ns-win.el (mode-line-frame-identification):
8540 Leave it alone. (Bug#10051)
8542 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8544 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8545 Handle empty buffers. (Bug#9978)
8547 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
8549 * international/mule.el (define-charset):
8550 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8551 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8552 * progmodes/verilog-mode.el (verilog-backward-token):
8553 * textmodes/ispell.el (lookup-words):
8554 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8556 2011-11-14 Glenn Morris <rgm@gnu.org>
8558 * progmodes/executable.el
8559 (executable-make-buffer-file-executable-if-script-p):
8560 Handle file-modes returning nil.
8562 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8563 message - not necessary, and causes problems. (Bug#9831)
8565 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8567 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8569 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8570 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8571 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8573 2011-11-12 Martin Rudalics <rudalics@gmx.at>
8575 * window.el (window-resize, delete-window): Use window-splits
8576 variable instead of function.
8577 (window-state-get-1, window-state-put-2, window-state-put):
8578 Don't deal with windows' splits status.
8580 2011-11-12 Glenn Morris <rgm@gnu.org>
8582 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8583 (apropos-documentation): Doc fixes.
8585 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
8587 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8588 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8590 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8592 * electric.el (electric-indent-post-self-insert-function): Make it
8593 possible for a char to only indent in some circumstances.
8594 (electric-indent-mode): Simplify.
8596 2011-11-11 Martin Rudalics <rudalics@gmx.at>
8598 * window.el (windows-with-parameter): Remove unused function.
8599 (windows-at-side): Rename to window-at-side-list.
8600 (window-check, window-atom-check, window-atom-check-1)
8601 (window-side-check, window-size-ignore, window-size-fixed-1)
8602 (window-in-direction-2): Prefix with "window--".
8603 (window-tree-1): Rename to window--subtree, fix doc-string.
8605 2011-11-11 Glenn Morris <rgm@gnu.org>
8607 * subr.el (eval-after-load): If FILE is already loaded,
8608 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8610 2011-11-10 Glenn Morris <rgm@gnu.org>
8612 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8613 Call svn via vc-svn-command rather than vc-do-command.
8614 (vc-svn-command): Add --non-interactive. (Bug#9993)
8615 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8617 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8618 Add toggle-read-only. (Bug#7292)
8619 * files.el (toggle-read-only): Mention that it should only
8620 be used interactively. (Bug#10006)
8622 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8624 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8625 Adjust regexp for OCaml warnings.
8627 * electric.el (electric-pair-post-self-insert-function): Let user
8628 turn it off buffer-locally (bug#9932).
8630 * progmodes/python.el (python-beginning-of-statement):
8633 * progmodes/compile.el: Better handle TABs (bug#9749).
8634 (compilation-internal-error-properties)
8635 (compilation-next-error-function): Obey the target buffer's
8636 compilation-error-screen-columns.
8638 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
8640 * progmodes/meta-mode.el: Remove obsolete comments.
8641 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8642 Fix typos in docstrings.
8644 2011-11-09 Martin Rudalics <rudalics@gmx.at>
8646 * window.el (window-size-fixed-p): Rewrite doc-string.
8647 (window-resizable-p): Rename to window--resizable-p. Update callers.
8648 (window--resizable): New function. Make all callers of
8649 window-resizable call window--resizable instead.
8650 (window-resizable): Rewrite in terms of window--resizable.
8652 2011-11-08 Glenn Morris <rgm@gnu.org>
8654 * progmodes/delphi.el (delphi-mode-syntax-table):
8655 Let define-derived-mode define a proper syntax table. (Bug#9994)
8657 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8659 * window.el: Stay away from defsubst.
8660 (window-list-no-nils): Remove.
8661 (window-state-get-1, window-state-get): Use backquote instead.
8663 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8665 * emacs-lisp/find-func.el (find-function-read):
8666 Fix incorrect use of default argument in `completing-read'.
8668 2011-11-08 Martin Rudalics <rudalics@gmx.at>
8670 * window.el (display-buffer-function, special-display-function):
8671 Mention display-buffer-record-window but do not mention
8672 help-setup parameter in doc-strings.
8673 (window-min-delta): Fix doc-string typo.
8675 2011-11-08 Chong Yidong <cyd@gnu.org>
8677 * window.el (window-total-height, window-total-width): Doc fix.
8678 (window-body-size): Move from C.
8679 (window-body-height, window-body-width): Move to C.
8681 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8683 * window.el: Make special-display like display-buffer-alist (bug#9532).
8684 (display-buffer--special-action): New function, morphed
8685 from display-buffer--special.
8686 (display-buffer): Use it to handle special-display-buffers at higher
8687 priority (just after display-buffer-alist).
8688 (display-buffer-fallback-action, display-buffer--other-frame-action)
8689 (pop-to-buffer-same-window): Remove display-buffer--special.
8691 2011-11-07 Glenn Morris <rgm@gnu.org>
8693 * calendar/cal-menu.el (cal-menu-set-date-title):
8694 Do nothing if not in a calendar. (Bug#9976)
8696 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8698 * files.el (find-file): Always use selected-window.
8700 2011-11-07 Martin Rudalics <rudalics@gmx.at>
8702 * window.el (window-combinations): Make WINDOW argument
8703 mandatory. Rewrite doc-string.
8704 (walk-window-subtree, window-atom-check, window-min-delta)
8705 (window-max-delta, window--resize-this-window)
8706 (window--resize-root-window-vertically, window-tree)
8707 (balance-windows, window-state-put): Rewrite doc-strings as to
8708 not mention the term "subwindow".
8709 (window--resize-subwindows-skip-p): Rename to
8710 window--resize-child-windows-skip-p.
8711 (window--resize-subwindows-normal): Rename to
8712 window--resize-child-windows-normal.
8713 (window--resize-subwindows): Rename to
8714 window--resize-child-windows.
8715 (window-or-subwindow-p): Rename to window--in-subtree-p.
8717 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8719 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8720 Ensure that mbox format messages end in two newlines (Bug#9974).
8722 2011-11-06 Chong Yidong <cyd@gnu.org>
8724 * window.el (window-combination-p): Function deleted; its
8725 side-effect is not used in any existing code.
8726 (window-combinations, window-combined-p): Call window-*-child
8729 2011-11-05 Chong Yidong <cyd@gnu.org>
8731 * window.el (window-valid-p): Rename from window-any-p.
8732 (window-size-ignore, window-state-get): Callers changed.
8733 (window-normalize-window): Rename from window-normalize-any-window.
8734 New arg LIVE-ONLY, replacing window-normalize-live-window.
8735 (window-normalize-live-window): Delete.
8736 (window-combination-p, window-combined-p, window-combinations)
8737 (walk-window-subtree, window-atom-root, window-min-size)
8738 (window-sizable, window-sizable-p, window-size-fixed-p)
8739 (window-min-delta, window-max-delta, window-resizable)
8740 (window-resizable-p, window-full-height-p, window-full-width-p)
8741 (window-current-scroll-bars, window-point-1, set-window-point-1)
8742 (window-at-side-p, window-in-direction, window-resize)
8743 (adjust-window-trailing-edge, maximize-window, minimize-window)
8744 (window-deletable-p, delete-window, delete-other-windows)
8745 (record-window-buffer, unrecord-window-buffer)
8746 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8747 (quit-window, split-window, window-state-put)
8748 (set-window-text-height, fit-window-to-buffer)
8749 (shrink-window-if-larger-than-buffer): Callers changed.
8751 2011-11-04 Eli Zaretskii <eliz@gnu.org>
8753 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8754 rfc2047-decode-string.
8755 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8758 * window.el (window-body-height, window-body-width): Mention in
8759 the doc string that the return values are in frame's canonical
8762 2011-11-03 Alan Mackenzie <acm@muc.de>
8764 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8765 change in cc-engine.el.
8767 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8769 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8771 2011-11-02 Martin Rudalics <rudalics@gmx.at>
8773 * window.el (quit-window): Call unrecord-window-buffer after
8774 showing another buffer in the window. (Bug#9937)
8775 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
8777 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
8779 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8780 Accept status with more than 9 shelves. (Bug#9935)
8781 Reported by Colin D Bennett <colin@gibibit.com>.
8783 2011-11-01 Martin Rudalics <rudalics@gmx.at>
8785 * help.el (with-help-window): Don't reference
8786 temp-buffer-show-specifiers in doc-string.
8788 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8790 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8793 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8795 * whitespace.el: New version 13.2.2.
8796 (whitespace-newline-mode): Disable properly. Reported by Sarah
8799 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
8801 * net/newst-treeview.el: Remove "Time-stamp".
8802 (newsticker--group-manage-orphan-feeds): Do not call
8803 newsticker--treeview-tree-update.
8804 (newsticker-treeview-update, newsticker-treeview):
8805 Call newsticker--treeview-tree-update if necessary.
8807 2011-10-30 Martin Rudalics <rudalics@gmx.at>
8809 * window.el (window-iso-combination-p, window-iso-combined-p)
8810 (window-iso-combinations): Remove "iso-" infix.
8811 Suggested by Chong Yidong.
8812 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8813 (window-max-delta-1, window-resize, window--resize-siblings)
8814 (window--resize-this-window, adjust-window-trailing-edge)
8815 (split-window, balance-windows-1)
8816 (shrink-window-if-larger-than-buffer):
8817 * calendar/calendar.el (calendar-generate-window):
8818 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
8820 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8822 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8823 in place (bug#9907).
8824 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8825 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8826 (eshell-structure-basic-command, eshell-rewrite-while-command)
8827 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8828 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8829 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8830 (eshell-do-pipelines-synchronously, eshell-eval-command):
8831 Use backquotes and prefer setq to set.
8832 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8833 (eshell-macrop): Use functionp.
8834 (eshell-do-eval): Handle multiple expressions in `while' body.
8836 2011-10-30 Chong Yidong <cyd@gnu.org>
8838 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8839 instead of set-mark (Bug#9810).
8841 2011-10-30 Chong Yidong <cyd@gnu.org>
8843 * window.el (split-window-below, split-window-right): Rename from
8844 split-window-above-each-other and split-window-side-by-side
8845 respectively. All callers changed.
8846 (split-window-sensibly, split-window-sensibly): Use them.
8847 (split-window-keep-point): Doc fix.
8849 * isearch.el: Add isearch-scroll property to split-window-below
8850 and split-window-right.
8852 * follow.el (follow-mode):
8853 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8854 * progmodes/ada-xref.el (ada-gdb-application):
8855 * emulation/vip.el (vip-buffer-in-two-windows):
8856 * image-dired.el (image-dired-dired-with-window-configuration):
8857 * dired-x.el (dired-do-find-marked-files):
8858 * dired.el (dired-pop-to-buffer):
8859 * bs.el (bs--show-with-configuration):
8860 * vc/emerge.el (emerge-setup-windows):
8861 * textmodes/two-column.el (2C-two-columns):
8862 * textmodes/reftex-toc.el (reftex-toc):
8863 * progmodes/gdb-mi.el (gdb-setup-windows):
8864 * progmodes/fortran.el (fortran-window-create):
8865 * net/newst-treeview.el (newsticker--treeview-window-init):
8866 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8867 * emulation/tpu-edt.el (tpu-gold-map):
8868 * emulation/crisp.el (crisp-mode-map):
8869 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8871 2011-10-29 Chong Yidong <cyd@gnu.org>
8873 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8875 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8877 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8878 forged Ispell output (Bug#7904).
8880 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8882 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8884 * doc-view.el: Avoid ugly errors about not finding nil.
8885 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8886 (doc-view-dvipdf-program, doc-view-unoconv-program)
8887 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8888 Avoid nil or absolute file name as default value.
8889 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8891 2011-10-28 Alan Mackenzie <acm@muc.de>
8893 * progmodes/cc-defs.el (c-version): -> 5.32.2.
8895 2011-10-28 Alan Mackenzie <acm@muc.de>
8897 Amend the handling of c-beginning/end-of-defun in nested declaration
8900 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8901 cc-langs.el. Change it to a defcustom.
8903 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8906 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8907 Prevent "class foo : bar" being spuriously recognized as a label.
8909 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
8910 Add parameter `inclusive' (to include enclosing braces in the region).
8911 (c-widen-to-enclosing-decl-scope): New function.
8912 (c-while-widening-to-decl-block): New macro.
8913 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8914 outward for defun boundaries, and correspondingly change symbol
8915 `respect-enclosure' to `go-outward'.
8916 (c-declaration-limits): Change algorithm to report only the "innermost"
8919 2011-10-28 Deniz Dogan <deniz@dogan.se>
8921 * net/rcirc.el (rcirc-mode): Use hard newlines.
8923 2011-10-28 Alan Mackenzie <acm@muc.de>
8925 Amend to indent and fontify macros "which include their own semicolon"
8926 correctly, using the "virtual semicolon" mechanism.
8928 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
8930 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8931 Recode to scan one line at a time rather than having \n and \r
8932 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
8933 (c-forward-label): Amend for virtual semicolons.
8934 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
8936 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8937 of the new C macros.
8939 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
8940 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8941 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
8942 (c-opt-cpp-macro-define): Make into a full language variable.
8943 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8944 AWK Mode (including \n, \r) removed, no longer needed.
8946 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8947 Invoke c-make-macro-with-semi-re.
8949 * progmodes/cc-vars.el (c-macro-with-semi-re):
8950 (c-macro-names-with-semicolon): New variables.
8951 (c-make-macro-with-semi-re): New function.
8953 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8955 * vc/log-edit.el: Fill empty field rather than adding new one.
8956 (log-edit-add-field): New function.
8957 (log-edit-insert-changelog): Use it.
8959 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8961 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8963 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8965 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8966 (gdb--check-interpreter): New function.
8969 2011-10-27 Glenn Morris <rgm@gnu.org>
8971 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8972 (least-positive-float, least-negative-float)
8973 (least-positive-normalized-float, least-negative-normalized-float)
8974 (float-epsilon, float-negative-epsilon):
8975 Remove unnecessary declarations.
8977 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8978 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8979 (least-positive-float, least-negative-float)
8980 (least-positive-normalized-float, least-negative-normalized-float)
8981 (float-epsilon, float-negative-epsilon): Add doc-strings,
8982 based on those in cl.texi.
8984 * files.el (set-visited-file-name): If the major-mode changed,
8985 reload the local variables. (Bug#9796)
8987 2011-10-27 Chong Yidong <cyd@gnu.org>
8989 * subr.el (change-major-mode-after-body-hook): New hook.
8990 (run-mode-hooks): Run it.
8992 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8993 Use change-major-mode-before-body-hook.
8995 * simple.el (fundamental-mode):
8996 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8997 change introducing fundamental-mode-hook.
8999 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
9001 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
9003 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
9005 * ido.el (ido-file-name-all-completions-1): Do not require
9006 tramp.el explicitly. (Bug#7583)
9008 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9010 * progmodes/octave-mod.el:
9011 * progmodes/octave-inf.el: Update maintainer.
9013 2011-10-26 Chong Yidong <cyd@gnu.org>
9015 * subr.el (with-wrapper-hook): Rewrite doc.
9017 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
9019 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
9020 filenames "/method:foo:". (Bug#9793)
9022 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9024 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9027 2011-10-24 Glenn Morris <rgm@gnu.org>
9029 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9031 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
9033 * notifications.el: Add the requirement of a running D-Bus session
9034 bus to the Commentary.
9036 2011-10-24 Juri Linkov <juri@jurta.org>
9038 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9039 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9042 2011-10-24 Juri Linkov <juri@jurta.org>
9044 * info.el (Info-following-node-name-re): Add newline to the list
9045 of allowed characters for leading space. (Bug#9824)
9047 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9049 * progmodes/octave-inf.el (inferior-octave-mode-map):
9050 Fix C-c C-h binding.
9051 * progmodes/octave-mod.el (octave-help): Remove.
9053 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
9055 Sync with Tramp 2.2.3.
9057 * net/tramp-cache.el (top): Pacify byte-compiler using
9058 `init-file-user' and `site-run-file'.
9060 * net/trampver.el: Update release number.
9062 2011-10-23 Chong Yidong <cyd@gnu.org>
9064 * files.el (toggle-read-only): Remove obsolete comment about
9067 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9068 for toggle-read-only. Note that this hasn't called vc-next-action
9069 since 2008-05-02, though it wasn't documented at the time.
9071 * vc/ediff-init.el (ediff-toggle-read-only-function):
9072 Use toggle-read-only.
9074 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9076 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9079 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9080 correct faulty logical expression.
9081 (c-parse-state-state, c-record-parse-state-state):
9082 (c-replay-parse-state-state): New defvar/defuns.
9083 (c-debug-parse-state): Use new functions.
9085 2011-10-22 Martin Rudalics <rudalics@gmx.at>
9087 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
9088 last fix. Use window-in-direction correctly.
9090 2011-10-21 Chong Yidong <cyd@gnu.org>
9092 * progmodes/idlwave.el (idlwave-mode):
9093 * progmodes/vera-mode.el (vera-mode): No need to set
9094 require-final-newline; that's done in prog-mode.
9095 Suggested by Stefan Monnier.
9097 2011-10-21 Martin Rudalics <rudalics@gmx.at>
9099 * mouse.el (mouse-drag-window-above)
9100 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9101 (mouse-drag-mode-line-1, mouse-drag-header-line)
9102 (mouse-drag-vertical-line-rightward-window): Remove.
9103 (mouse-drag-line): New function.
9104 (mouse-drag-mode-line, mouse-drag-header-line)
9105 (mouse-drag-vertical-line): Call mouse-drag-line.
9106 * window.el (window-at-side-p, windows-at-side): New functions.
9108 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
9110 * tar-mode.el (tar-grind-file-mode):
9111 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9113 2011-10-21 Chong Yidong <cyd@gnu.org>
9115 * progmodes/idlwave.el (idlwave-mode):
9116 * progmodes/vera-mode.el (vera-mode):
9117 Use mode-require-final-newline.
9119 2011-10-20 Glenn Morris <rgm@gnu.org>
9121 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
9123 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9125 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9127 2011-10-20 Chong Yidong <cyd@gnu.org>
9129 * emulation/cua-base.el (cua-mode):
9130 * mail/footnote.el (footnote-mode):
9131 * mail/mailabbrev.el (mail-abbrevs-mode):
9132 * net/xesam.el (xesam-minor-mode):
9133 * progmodes/bug-reference.el (bug-reference-mode):
9134 * progmodes/cap-words.el (capitalized-words-mode):
9135 * progmodes/compile.el (compilation-minor-mode)
9136 (compilation-shell-minor-mode):
9137 * progmodes/gud.el (gud-tooltip-mode):
9138 * progmodes/hideif.el (hide-ifdef-mode):
9139 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9140 * progmodes/subword.el (subword-mode):
9141 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9142 * progmodes/which-func.el (which-function-mode):
9143 * term/tvi970.el (tvi970-set-keypad-mode):
9144 * term/vt100.el (vt100-wide-mode):
9145 * textmodes/flyspell.el (flyspell-mode):
9146 * textmodes/ispell.el (ispell-minor-mode):
9147 * textmodes/nroff-mode.el (nroff-electric-mode):
9148 * textmodes/paragraphs.el (use-hard-newlines):
9149 * textmodes/refill.el (refill-mode):
9150 * textmodes/reftex.el (reftex-mode):
9151 * textmodes/rst.el (rst-minor-mode):
9152 * textmodes/sgml-mode.el (html-autoview-mode)
9153 (sgml-electric-tag-pair-mode):
9154 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9155 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9156 * emulation/crisp.el (crisp-mode):
9157 * emacs-lisp/eldoc.el (eldoc-mode):
9158 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9159 minor mode behavior.
9161 2011-10-19 Juri Linkov <juri@jurta.org>
9163 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9164 the list of hard-coded chars with escape-glyph face.
9166 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9168 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9170 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
9172 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9175 2011-10-19 Glenn Morris <rgm@gnu.org>
9177 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9178 Ignore ignored files. (Bug#9726)
9180 2011-10-19 Chong Yidong <cyd@gnu.org>
9182 Doc fix for minor modes, stating that an omitted argument enables
9183 the mode unconditionally when called from Lisp.
9185 * abbrev.el (abbrev-mode):
9186 * allout.el (allout-mode):
9187 * autoinsert.el (auto-insert-mode):
9188 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9189 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9190 (global-auto-revert-mode):
9191 * battery.el (display-battery-mode):
9192 * composite.el (global-auto-composition-mode)
9193 (auto-composition-mode):
9194 * delsel.el (delete-selection-mode):
9195 * desktop.el (desktop-save-mode):
9196 * dired-x.el (dired-omit-mode):
9197 * dirtrack.el (dirtrack-mode):
9198 * doc-view.el (doc-view-minor-mode):
9199 * double.el (double-mode):
9200 * electric.el (electric-indent-mode, electric-pair-mode):
9201 * emacs-lock.el (emacs-lock-mode):
9202 * epa-hook.el (auto-encryption-mode):
9203 * follow.el (follow-mode):
9204 * font-core.el (font-lock-mode):
9205 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9206 * help.el (temp-buffer-resize-mode):
9207 * hilit-chg.el (highlight-changes-mode)
9208 (highlight-changes-visible-mode):
9209 * hi-lock.el (hi-lock-mode):
9210 * hl-line.el (hl-line-mode, global-hl-line-mode):
9211 * icomplete.el (icomplete-mode):
9212 * ido.el (ido-everywhere):
9213 * image-file.el (auto-image-file-mode):
9214 * image-mode.el (image-minor-mode):
9215 * iswitchb.el (iswitchb-mode):
9216 * jka-cmpr-hook.el (auto-compression-mode):
9217 * linum.el (linum-mode):
9218 * longlines.el (longlines-mode):
9219 * master.el (master-mode):
9220 * mb-depth.el (minibuffer-depth-indicate-mode):
9221 * menu-bar.el (menu-bar-mode):
9222 * minibuf-eldef.el (minibuffer-electric-default-mode):
9223 * mouse-sel.el (mouse-sel-mode):
9224 * msb.el (msb-mode):
9225 * mwheel.el (mouse-wheel-mode):
9226 * outline.el (outline-minor-mode):
9227 * paren.el (show-paren-mode):
9228 * recentf.el (recentf-mode):
9229 * reveal.el (reveal-mode, global-reveal-mode):
9230 * rfn-eshadow.el (file-name-shadow-mode):
9231 * ruler-mode.el (ruler-mode):
9232 * savehist.el (savehist-mode):
9233 * scroll-all.el (scroll-all-mode):
9234 * scroll-bar.el (scroll-bar-mode):
9235 * server.el (server-mode):
9236 * shell.el (shell-dirtrack-mode):
9237 * simple.el (auto-fill-mode, transient-mark-mode)
9238 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9239 (line-number-mode, column-number-mode, size-indication-mode)
9240 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9241 * strokes.el (strokes-mode):
9242 * time.el (display-time-mode):
9243 * t-mouse.el (gpm-mouse-mode):
9244 * tool-bar.el (tool-bar-mode):
9245 * tooltip.el (tooltip-mode):
9246 * type-break.el (type-break-mode-line-message-mode)
9247 (type-break-query-mode):
9248 * view.el (view-mode):
9249 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9250 (global-whitespace-mode, global-whitespace-newline-mode):
9251 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9253 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9254 Fix autogenerated docstring.
9256 2011-10-19 Juri Linkov <juri@jurta.org>
9258 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9259 by checking environment variables "DESKTOP_SESSION" and
9260 "XDG_CURRENT_DESKTOP". (Bug#9779)
9262 2011-10-19 Juri Linkov <juri@jurta.org>
9264 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9265 (browse-url-chromium-program, browse-url-chromium-arguments):
9267 (browse-url-default-browser): Check for `browse-url-chromium' and
9268 call `browse-url-chromium-program'.
9269 (browse-url-chromium): New command. (Bug#9779)
9271 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
9273 * facemenu.el (list-colors-duplicates): On Windows, detect more
9274 duplicates by assuming that only colors matching "^System" are
9275 special "system colors". (Bug#9722)
9277 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9279 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9280 to distinguish the author from the committer.
9282 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
9284 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9286 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9288 * international/mule.el (sgml-html-meta-auto-coding-function):
9289 Add support for detecting encoding in HTML5 specified only as
9290 <meta charset="UTF-8">. Implementation just makes http-equiv and
9291 content-type parts from HTML4 encoding string optional. (Bug#9716)
9293 2011-10-18 Glenn Morris <rgm@gnu.org>
9295 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9297 2011-10-18 Chong Yidong <cyd@gnu.org>
9299 * faces.el (cursor): Doc fix.
9301 2011-10-17 Chong Yidong <cyd@gnu.org>
9303 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9305 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
9307 * dirtrack.el (dirtrack): Support shell buffers with path
9308 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9310 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9312 * json.el: Bump version to 1.3 and note change in History.
9313 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9315 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9317 * comint.el (comint-insert-input, comint-send-input)
9318 (comint-get-old-input-default, comint-backward-matching-input)
9319 (comint-next-prompt): Use nil instead of `input' for field property of
9320 past user input (bug#114).
9322 * minibuffer.el (completion--replace): Inherit surrounding properties
9324 (minibuffer-complete-and-exit): Use it.
9326 * comint.el (comint--table-subvert): Quote the all-completions output
9329 2011-10-17 Martin Rudalics <rudalics@gmx.at>
9331 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
9333 * menu-bar.el (menu-bar-file-menu): Add entry for making new
9334 window on right of selected. (Bug#9350) Reword other window
9335 entries and separate them from frame entries.
9337 2011-10-15 Glenn Morris <rgm@gnu.org>
9339 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9342 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
9344 * net/network-stream.el (network-stream-open-starttls):
9345 Improve detection of failure due to lack of TLS support.
9347 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9348 putting the input text in front and in bold.
9350 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9352 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9354 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9357 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9358 unread-command-events rather than pushing yet-another event.
9360 2011-10-14 Eli Zaretskii <eliz@gnu.org>
9362 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9363 the explanation of the possible choices. Make the options passed
9364 to completing-read shorter.
9366 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9368 * textmodes/flyspell.el (flyspell-large-region): Make sure
9369 extended character mode is used if defined (Bug#1339).
9371 2011-10-13 Eli Zaretskii <eliz@gnu.org>
9373 * simple.el (what-cursor-position): Fix the display of the
9374 character info for LRE, LRO, RLE, and RLO characters by appending
9377 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9379 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9380 even in case of error; add debug spec; simplify data flow.
9381 (with-timeout-handler): Remove.
9383 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
9385 Fix Bug#6019, Bug#9315.
9387 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9388 complete `buffer-file-name', the local file name part could look
9389 remotely (for example on VMS).
9391 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9392 `tramp-run-real-handler'.
9393 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9394 already quoted by '"'.
9396 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9397 Let `file-name-handler-alist' be nil, the local file name part
9398 could look remotely (for example on VMS).
9400 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9402 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9404 (flyspell-post-command-hook): ...to here.
9406 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9408 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9410 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9411 using completion. Protect against "slow" callers.
9412 Remove the "message hack".
9414 2011-10-11 Juri Linkov <juri@jurta.org>
9416 * isearch.el (isearch-lazy-highlight-word): New variable.
9417 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9420 2011-10-11 Glenn Morris <rgm@gnu.org>
9422 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9423 like f90-previous-statement does.
9425 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9427 * eshell/eshell.el (eshell-command): History should be saved
9428 only in interactive use, to avoid error.
9430 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9432 * minibuffer.el (completion-file-name-table): Fix last change,
9433 i.e. ignore normal errors but not the other ones.
9435 2011-10-10 Martin Rudalics <rudalics@gmx.at>
9437 * window.el (special-display-buffer-names)
9438 (special-display-regexps): Remove some remnants of earlier
9439 changes from doc-strings.
9440 (quit-windows-on): New function.
9442 * vc/vc.el (vc-revert, vc-rollback):
9443 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9444 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9445 (Bug#6183) (Bug#7074) (Bug#7447)
9447 2011-10-09 Martin Rudalics <rudalics@gmx.at>
9449 * window.el (frame-auto-hide-function): Add version tag.
9452 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
9454 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9457 2011-10-09 Leo Liu <sdl.web@gmail.com>
9459 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9462 2011-10-08 Glenn Morris <rgm@gnu.org>
9464 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9465 before the first code statement zero indent. (Bug#9690)
9467 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
9469 * simple.el (count-words-region): Always count in the region.
9470 Report the number of lines and characters too.
9471 (count-words): New command, which counts in the buffer if the
9472 region is inactive, as count-words-region used to.
9473 (count-words--message): New function. Handle plurals.
9474 (count-lines-region): Make it an alias for count-words-region.
9476 * bindings.el (esc-map): Replace count-lines-region with
9479 2011-10-08 Martin Rudalics <rudalics@gmx.at>
9481 * window.el (window--delete): Delete dedicated frame
9482 unconditionally when argument KILL is non-nil. (Bug#9699)
9483 (switch-to-buffer): Fix doc-string typo.
9485 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9487 * eshell/eshell.el (eshell-command): Avoid using hooks.
9489 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
9491 * bindings.el ([M-left],[M-right]): Bind to left-word and
9492 right-word respectively.
9494 2011-10-07 Glenn Morris <rgm@gnu.org>
9496 * cus-start.el (debug-on-quit): Fix custom type.
9498 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9500 * subr.el (define-key-after): Clarify that the function is not
9501 useful for non-menu keymaps.
9503 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9505 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9507 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
9508 in current minibuffer (Fix bug with recursive minibuffers).
9510 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
9512 * progmodes/gdb-mi.el (gdb): Doc fix.
9514 2011-10-05 Martin Rudalics <rudalics@gmx.at>
9516 * window.el (frame-auto-hide-function): New option replacing
9517 frame-auto-delete. Suggested by Stefan Monnier.
9518 (window--delete): Call frame-auto-hide-function instead of
9519 investigating frame-auto-delete.
9520 (window-point-1, set-window-point-1): New functions.
9521 (window-in-direction, record-window-buffer, window-state-get-1)
9522 (display-buffer-record-window): Use window-point-1 instead of
9524 (set-window-buffer-start-and-point): Use set-window-point-1.
9526 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9528 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9530 2011-10-05 Glenn Morris <rgm@gnu.org>
9532 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9533 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9535 2011-10-05 Leo Liu <sdl.web@gmail.com>
9537 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9538 works with buffer object.
9540 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9542 * mpc.el (mpc-tool-bar-map): Add labels.
9544 2011-10-04 Glenn Morris <rgm@gnu.org>
9546 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9548 2011-10-04 Martin Rudalics <rudalics@gmx.at>
9550 * window.el (window--delete): New function.
9551 (frame-auto-delete): Resuscitate option.
9552 (bury-buffer, replace-buffer-in-windows)
9553 (quit-window): Rewrite using window--delete.
9554 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9555 Pass display-buffer-mark-dedicated to window--display-buffer-2
9558 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9560 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9561 returns a list (bug#9554). Add remote file name completion.
9562 * comint.el (comint--table-subvert): Curry and get quote&unquote
9563 functions as arguments.
9564 (comint--complete-file-name-data): Adjust call accordingly.
9565 * pcomplete.el (pcomplete--table-subvert): Remove.
9566 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9568 * minibuffer.el (completion-table-case-fold): Use currying.
9569 (completion--styles-type, completion--cycling-threshold-type):
9571 (completion-styles, completion-category-overrides)
9572 (completion-cycle-threshold): Use them.
9573 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9574 completion-table-case-fold.
9576 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
9578 * minibuffer.el (completion-category-overrides): Fix type of styles
9579 and add more user friendly tags (bug#9660).
9581 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9583 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9584 (mule-input-method-string): New widget.
9585 (default-input-method, language-info-custom-alist): Use it.
9587 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9589 * pcomplete.el: Require comint.
9590 (pcomplete--common-suffix): Remove.
9591 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9592 (pcomplete--table-subvert): Sync with comint--table-subvert.
9593 (pcomplete--entries): Use comint-completion-file-name-table.
9594 * comint.el (comint-unquote-filename): Simplify.
9595 (comint-completion-file-name-table): New function (bug#9616).
9596 (comint--complete-file-name-data): Use it.
9598 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9599 (pcmpl-gnu-tar-buffer): Remove.
9600 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9601 around. Make sure pcomplete-suffix-list is only changed temporarily.
9602 Don't look inside the tar's file if it's too large.
9604 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
9606 * cus-edit.el (custom-mode-map):
9607 * epa.el (epa-key-list-mode-map):
9608 * man.el (Man-mode-map):
9609 * startup.el (splash-screen-keymap):
9610 * simple.el (special-mode-map): Use scroll-up-command and
9611 scroll-down-command.
9613 * progmodes/idlw-help.el (idlwave-help-mode-map):
9614 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9615 * net/newst-plainview.el (newsticker-mode-map):
9616 * emulation/ws-mode.el (wordstar-mode-map):
9617 * emulation/vi.el (vi-com-map):
9618 * calc/calc-graph.el (calc-graph-show-dumb):
9619 * term/sun.el (terminal-init-sun):
9620 * term/ns-win.el (global-map):
9621 * progmodes/grep.el (grep-mode-map):
9622 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9623 * mail/rmail.el (rmail-mode-map):
9624 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9626 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9627 custom-safe-themes as special.
9629 2011-10-01 Julien Danjou <julien@danjou.info>
9631 * notifications.el (notifications-notify): Fix docstring.
9633 2011-10-01 Per Starbäck <per@starback.se>
9635 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9637 2011-09-30 Martin Rudalics <rudalics@gmx.at>
9639 * startup.el (command-line-1): Fix last fix by inserting
9640 initial-scratch-message into *scratch* before displaying it.
9641 (Bug#9605) and (Bug#9636)
9643 2011-09-29 Eli Zaretskii <eliz@gnu.org>
9645 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9646 window is hscrolled, move by logical lines. (Bug#9607)
9647 (line-move-visual): Update the doc string to the above effect.
9649 2011-09-29 Martin Rudalics <rudalics@gmx.at>
9651 * window.el (display-buffer-record-window): When WINDOW is the
9652 selected window use `point' instead of `window-point'. (Bug#9626)
9654 * startup.el (command-line-1): Use insert-before-markers when
9655 inserting initial-scratch-message. (Bug#9605)
9657 * help.el (help-window): Remove variable.
9659 2011-09-29 Glenn Morris <rgm@gnu.org>
9661 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9663 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
9665 * descr-text.el (describe-char-categories): Accept category
9666 descriptions more than one line long.
9668 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9670 * simple.el (delete-trailing-whitespace): Fix last change.
9672 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9673 Don't confuse "y => 3" as the beginning of a `y' operation.
9675 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9676 object has more than 4 slots (bug#9613).
9678 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
9680 * subr.el (with-output-to-temp-buffer):
9681 * net/quickurl.el (quickurl, quickurl-browse-url):
9682 Fix typos in docstrings.
9684 2011-09-27 Eli Zaretskii <eliz@gnu.org>
9686 * minibuffer.el (completion-styles)
9687 (completion-category-overrides): Cross reference each other in doc
9690 2011-09-27 Glenn Morris <rgm@gnu.org>
9692 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9693 to split-string. (Bug#9606)
9695 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9697 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9700 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
9702 * emacs-lisp/package.el (list-packages): Fix echo area message.
9704 2011-09-27 Leo Liu <sdl.web@gmail.com>
9706 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9708 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
9710 * net/dbus.el (dbus-unregister-object): Don't release services for
9711 registered signals. (Bug#9581)
9713 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9715 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9716 function that picks between cfengine 2 and 3 support
9717 automatically. Update docs accordingly.
9719 2011-09-22 Kenichi Handa <handa@m17n.org>
9721 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9723 (indian-itrans-v5-table-for-tamil): New variable.
9724 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9726 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9728 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9729 that's true if the current command involved collapsing of text.
9730 It's reset to false at the beginning of the next command.
9731 (allout-post-command-business): Move the cursor to the beginning
9732 of entry if the cursor is hidden and collapsing activity just
9735 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
9737 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9738 tracking (Bug#9541).
9740 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
9742 * net/newst-reader.el (newsticker-html-renderer)
9743 (newsticker-show-news): Automatically load html rendering package
9744 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9745 because w3m-fill-column is let-bound" and the error "Symbol's value
9746 as variable is void: w3m-fill-column".
9748 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
9750 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9751 Release services only if they are defined. (Bug#9581)
9753 2011-09-23 Richard Stallman <rms@gnu.org>
9755 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9756 distinguish start of paragraph from start of its text.
9758 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9760 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9761 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9762 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9764 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9766 * international/mule-diag.el (mule-diag): Insert a newline after
9767 each fontset description.
9769 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9771 * simple.el (delete-trailing-whitespace):
9772 Document last change; simplify.
9774 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9776 * simple.el (delete-trailing-whitespace): Also delete
9777 extra newlines at the end of the buffer.
9779 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9780 (picture-newline): Use forward-line so as to ignore fields.
9782 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9784 * subr.el (with-wrapper-hook): Fix edebug spec.
9786 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9788 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9791 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
9793 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9794 Fix nasty bug using wrong cached values.
9796 2011-09-23 Alan Mackenzie <acm@muc.de>
9798 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9800 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
9802 * window.el (pop-to-buffer): Ensure right window is selected if we
9803 chose another frame.
9805 2011-09-22 Eli Zaretskii <eliz@gnu.org>
9807 * simple.el (what-cursor-position): Use get-char-property-change
9808 and next-single-char-property-change, to be able to show display
9809 properties that come from overlays as well as text properties.
9811 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
9813 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9815 * cmuscheme.el (run-scheme, switch-to-scheme):
9816 * cus-edit.el (customize-group, custom-buffer-create)
9820 * mail/sendmail.el (mail):
9821 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9823 2011-09-22 Richard Stallman <rms@gnu.org>
9825 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9826 move back only to line beg, don't move back over blank lines.
9828 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
9830 * files.el (copy-directory): Set directory attributes only in case
9831 they could be retrieved from the source directory. (Bug#9565)
9833 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9835 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9836 (hs-find-block-beginning, hs-hide-level-recursive):
9837 Ignore strings as well as comments. (Bug#9502)
9839 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9841 * progmodes/sql.el (sql-comint-postgres):
9842 Convert port number to a string. (Bug#9566)
9844 2011-09-22 Martin Rudalics <rudalics@gmx.at>
9846 * window.el (quit-window): Undedicate window when switching to
9847 previous buffer. Reported by Thierry Volpiatto
9848 <thierry.volpiatto@gmail.com>.
9849 (special-display-popup-frame): When popping up a new frame reset
9850 its previous buffers to nil. Simplify code.
9852 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
9854 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9855 and process filter, as done also in `shell-command'.
9857 2011-09-21 Martin Rudalics <rudalics@gmx.at>
9859 * window.el (set-window-buffer-start-and-point):
9860 Call set-window-start with NOFORCE argument t.
9861 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9862 (quit-window): Reword doc-string. Handle new format of
9863 quit-restore parameter. Don't delete window if it has a
9864 previous buffer we can show instead of the present one.
9865 (display-buffer-record-window): Rewrite using a new format for
9866 the quit-restore window parameter
9867 (special-display-popup-frame, display-buffer-same-window)
9868 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9869 (display-buffer-pop-up-window, display-buffer-use-some-window):
9870 Adapt symbol passed to display-buffer-record-window.
9871 * help.el (help-window-setup): Handle new format of quit-restore
9874 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9876 * faces.el (face-list): Fix docstring (bug#9564).
9878 * window.el (display-buffer--action-function-custom-type):
9879 Don't include internal functions in the Custom interface.
9881 2011-09-20 Juri Linkov <juri@jurta.org>
9883 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9884 (Info-forward-node, Info-backward-node, Info-next-preorder)
9885 (Info-last-preorder): Use it. (Bug#9528)
9887 2011-09-20 Juri Linkov <juri@jurta.org>
9889 * info.el (Info-last-preorder): Visit last menu item only when
9890 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9892 2011-09-20 Julien Danjou <julien@danjou.info>
9894 * password-cache.el (password-cache-remove): Remove entries even if the
9895 value is nil, so that password with a nil value (negative caching) is
9896 possible to invalidate.
9898 2011-09-20 Lawrence Mitchell <wence@gmx.li>
9900 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9901 all whitespace around breakpoint. (Bug#9553)
9902 (f90-find-breakpoint): Only break at whitespace inside a comment.
9904 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9906 * minibuffer.el (completion-file-name-table): Keep track of errors.
9907 (completion-table-with-predicate): Handle the case where pred1 is nil.
9908 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9910 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9912 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9913 (debugger-return-value): Signal an error if the debugging context does
9914 not await any return value.
9916 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9917 * image-mode.el (image-toggle-display-text)
9918 (image-toggle-display-image): Stay away from evil `intangible'.
9920 2011-09-19 Leo Liu <sdl.web@gmail.com>
9922 * replace.el (occur-revert-arguments): Make it permanent-local.
9923 (occur-mode): Don't call font-lock-defontify.
9925 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
9927 * net/ldap.el (ldap-search-internal): Don't push empty search
9930 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9932 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9934 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
9936 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9937 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9939 2011-09-18 Juri Linkov <juri@jurta.org>
9941 * buff-menu.el (Buffer-menu-mode-map):
9942 * dired.el (dired-mode-map):
9943 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9944 (lisp-interaction-mode-map):
9945 * emacs-lisp/package.el (package-menu-mode-map):
9946 * epa.el (epa-key-list-mode-map):
9947 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9948 (menu-bar-options-menu):
9949 * outline.el (outline-mode-menu-bar-map):
9950 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9951 * vc/vc-dir.el (vc-dir-menu-map):
9952 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9953 Capitalize non-function content words in menu item strings.
9955 * dired.el (dired-mode-map): Add menu item for
9956 `image-dired-dired-toggle-marked-thumbs'.
9958 2011-09-18 Juri Linkov <juri@jurta.org>
9960 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9961 to `isearch-case-fold-search' and restore its original value
9962 after the `isearch-mode' call.
9964 2011-09-18 Juri Linkov <juri@jurta.org>
9966 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9967 because `zgrep' returns 1 for successful matches (bug#9226).
9969 2011-09-18 Juri Linkov <juri@jurta.org>
9971 * info.el (Info-extract-menu-node-name): Check the second match
9972 for empty string (second test-case of bug#9528).
9973 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9974 intermediate nodes to the history (first test-case of bug#9528).
9976 2011-09-18 Juri Linkov <juri@jurta.org>
9978 * info.el (Info-mode-syntax-table): New variable.
9979 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
9981 2011-09-18 Juri Linkov <juri@jurta.org>
9983 * info.el (Info-file-supports-index-cookies):
9984 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9985 outputs one more line for long file names (bug#4142).
9987 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
9989 * newcomment.el (comment-normalize-vars): If prompting for
9990 comment-start, set comment-start-skip too (Bug#8424).
9992 2011-09-18 Johan Bockgård <bojohan@gnu.org>
9994 * icomplete.el: Fix previous fix of Bug#5849.
9995 (icomplete-mode): Don't set completion-show-inline-help.
9996 (icomplete-minibuffer-setup): Set completion-show-inline-help
9997 locally during icompletion.
9999 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
10001 * woman.el (woman2-process-escapes): Don't delete unrecognized
10002 escapes (Bug#7843).
10004 * files.el (inhibit-first-line-modes-regexps): Add image files.
10005 (hack-local-variables-prop-line): Return nil for malformed
10006 prop-lines (Bug#9044).
10008 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
10010 * net/tramp.el (top): Don't require 'shell.
10011 (tramp-methods): Fix docstring.
10012 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
10013 Return complete remote file name. Handle "smb" case.
10014 Use `tramp-tmpdir', if defined for the respective method.
10015 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10017 * net/tramp-compat.el (top): Require 'shell.
10019 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10020 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10021 `tramp-current-host'.
10022 (tramp-get-remote-tmpdir): Remove.
10024 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10025 `tramp-tmpdir' entries.
10026 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10027 (tramp-smb-handle-file-attributes): Ignore errors.
10028 (tramp-smb-wait-for-output): Check also for process end.
10030 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10032 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10033 when sending QUIT (bug#9312).
10035 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
10037 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10038 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10039 occur-mode-display-occurrence.
10040 (occur-edit-mode): Add usage message.
10041 (occur-cease-edit): New command.
10042 (occur-after-change-function): Use text properties to find the
10043 position of the prefix text.
10044 (occur-engine): Set stickiness of prefix text properties.
10046 2011-09-17 Glenn Morris <rgm@gnu.org>
10048 * progmodes/etags.el (complete-tag):
10049 Fix call to completion-in-region. (Bug#9526)
10051 2011-09-17 Juri Linkov <juri@jurta.org>
10053 * textmodes/ispell.el (ispell-word): Add to the error message
10054 the word, ispell program name and current dictionary (bug#9121).
10055 (ispell-tex-arg-end): Capitalize "error" in the error message.
10057 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10059 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10062 2011-09-17 Juri Linkov <juri@jurta.org>
10064 * window.el (window-safe-min-height, window-safe-min-width):
10065 Fix typos (followup to bug#9522).
10067 2011-09-17 Sven Joachim <svenjoac@gmx.de>
10069 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10071 2011-09-16 Eli Zaretskii <eliz@gnu.org>
10073 * simple.el (line-move): If goal-column is set, move by logical
10074 lines, not by display lines. (Bug#971)
10075 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10076 to reflect the above change.
10078 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10080 * image.el (imagemagick-register-types): Use regexp-opt.
10082 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
10084 * window.el (display-buffer-base-action): Rename from
10085 display-buffer-default-action. Make default value empty.
10086 (display-buffer-overriding-action): Convert to defvar.
10087 (display-buffer-fallback-action): New var.
10089 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
10091 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10093 (package--add-to-archive-contents): If there is a duplicate entry
10094 with an older version, remove it.
10095 (package-menu-mark-delete, package-menu-mark-install)
10096 (package-menu-mark-unmark): Make unused args optional.
10097 (package-menu-mark-obsolete-for-deletion):
10098 Use package-menu-get-status instead of a regexp search.
10099 (package-menu-get-status): Use tabulated-list-entry.
10100 (package-menu-mark-upgrades): New command.
10101 (package-menu-mode-map): Bind it to U. Add it to menu bar.
10102 (package-menu-execute): Do installation before deletion.
10103 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10104 instead of checking major-mode.
10105 (package-menu--find-upgrades): New function.
10107 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10109 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10110 passwords in the log buffer.
10111 (smtpmail-process-filter): Update the process marker so that the
10112 "broken by peer" status message is inserted in the right place.
10114 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10116 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10117 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10118 bibtex-completion-at-point-function.
10119 (bibtex-completion-at-point-function): Use them.
10121 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10123 * mpc.el (mpc-constraints-tag-lookup): New function.
10124 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10125 also to browser "album|playlist".
10127 2011-09-14 Juri Linkov <juri@jurta.org>
10129 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10130 (isearch-edit-string): Use length of `isearch-string' when
10131 `isearch-fail-pos' returns nil.
10132 (isearch-message): Remove duplicate code and call
10133 `isearch-fail-pos' with arg `t'.
10135 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
10137 * replace.el (occur-mode-goto-occurrence): Don't force using other
10140 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10142 2011-09-14 Martin Rudalics <rudalics@gmx.at>
10144 * window.el (display-buffer-window): Remove.
10145 (display-buffer-record-window): Use help-setup window parameter
10146 instead of variable display-buffer-window.
10147 (display-buffer-function, special-display-buffer-names)
10148 (special-display-function): Mention help-setup parameter instead
10149 of display-buffer-window in doc-string.
10150 * help.el (help-window-setup): New argument help-window.
10151 Use help-window-setup parameter instead of display-buffer-window.
10152 Reword some messages.
10153 (with-help-window): Pass window used for displaying the buffer
10154 to help-window-setup. Don't set display-buffer-window.
10156 2011-09-13 Glenn Morris <rgm@gnu.org>
10158 * emacs-lisp/debug.el (debugger-make-xrefs):
10159 Preserve point. (Bug#9462)
10161 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
10163 * window.el (window-deletable-p): Use next-frame.
10165 2011-09-13 Martin Rudalics <rudalics@gmx.at>
10167 * window.el (window-auto-delete): Remove.
10168 (window-deletable-p): Remove argument FORCE. Don't deal with
10169 dedication and previous buffers.
10170 (switch-to-prev-buffer): Don't delete window.
10171 (delete-windows-on): Delete a window's frame if and only if the
10172 window is dedicated.
10173 (replace-buffer-in-windows): Delete buffer's window or frame if
10174 and only if window is dedicated.
10175 (quit-window): Handle quit-restore as before last change.
10176 (bury-buffer): Delete window only if window-deletable-p returns t.
10178 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
10180 * window.el (window-deletable-p): Never delete the last frame on a
10183 2011-09-13 Glenn Morris <rgm@gnu.org>
10185 * help.el (describe-key-briefly): Copy previous standard-output change.
10187 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
10189 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10191 2011-09-13 Glenn Morris <rgm@gnu.org>
10193 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10194 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10196 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
10198 * dired-aux.el (dired-mark-read-string): Don't return default
10199 value on empty input (Bug#9361).
10200 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10201 Omit initial minibuffer contents.
10202 (dired-do-chmod): Signal an error on empty input.
10203 (dired-mark-read-string): Don't return default on empty input.
10205 * files.el (file-modes-symbolic-to-number): Doc fix.
10207 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10209 * international/mule-cmds.el (ucs-completions): Remove.
10210 (read-char-by-name): Use complete-with-action instead; add metadata.
10212 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
10214 * window.el (display-buffer--action-function-custom-type)
10215 (display-buffer--action-custom-type): New vars.
10216 (display-buffer-alist, display-buffer-default-action)
10217 (display-buffer-overriding-action): Add defcustom types.
10219 * frame.el (delete-other-frames): Doc fix (Bug#276).
10221 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10223 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10225 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
10227 Change modes that used same-window-* vars to use switch-to-buffer.
10229 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10230 Use switch-to-buffer.
10232 * cus-edit.el (customize-group, custom-buffer-create)
10233 (customize-browse, custom-buffer-create-other-window):
10234 Use switch-to-buffer or switch-to-buffer-other-window.
10236 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10237 (Info-prev, Info-up, Info-speedbar-goto-node)
10238 (info-display-manual): Use switch-to-buffer.
10239 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10241 * mail/sendmail.el (mail): Use switch-to-buffer.
10242 (mail-recover): Use switch-to-buffer-other-window.
10244 * cmuscheme.el (run-scheme, switch-to-scheme):
10246 * shell.el (shell):
10247 * net/rlogin.el (rlogin):
10248 * net/telnet.el (telnet, rsh):
10249 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10251 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10253 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10255 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10257 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10258 so don't mention it (bug#9301).
10259 (dired-sort-toggle-or-edit): Clarify string further.
10261 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10262 match `x', `w32' and `ns', like the manual says (bug#9029).
10264 * subr.el (eval-after-load): Doc string clarification (bug#9125).
10265 (process-kill-buffer-query-function): Mention the buffer name in
10268 * image-mode.el (image-next-line): The line parameter is mandatory
10271 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10272 which can be useful (bug#9301).
10274 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10276 * subr.el (match-string): Mention that the current buffer should
10277 be the same as the search was done in (bug#9282).
10279 * facemenu.el: Disable the remove-* commands if the mark isn't
10282 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10284 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10286 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10288 * replace.el (occur-mode-goto-occurrence)
10289 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10290 and display-buffer.
10292 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10295 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10296 special-display and same-window variables.
10297 (mail-other-window): Use switch-to-buffer-other-window.
10298 (mail-other-frame): USe switch-to-buffer-other-frame.
10300 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10301 Use display-buffer-other-frame.
10302 (gdb-display-gdb-buffer): Use pop-to-buffer.
10304 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10306 * progmodes/python.el: Don't set same-window-buffer-names.
10308 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10310 * window.el (display-buffer-alist): Add *Python*.
10312 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10314 * window.el (display-buffer-alist): Add entry for buffers
10315 previously handled same-window-*.
10316 (display-buffer-alist, display-buffer-default-action)
10317 (display-buffer-overriding-action): Mark as risky.
10318 (display-buffer-alist): Document action function changes.
10319 (display-buffer--same-window-action)
10320 (display-buffer--other-frame-action): New variables.
10321 (switch-to-buffer, display-buffer-other-frame): Use them.
10322 (display-buffer): Rename reuse-frame entry to reusable-frames.
10323 (display-buffer-reuse-selected-window): Function deleted.
10324 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10325 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10326 (display-buffer-special): New function.
10327 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10328 display-buffer-reuse-or-pop-window. Split off special-display
10329 part into display-buffer-special.
10330 (display-buffer-use-some-window): Don't perform any special
10331 pop-up-frames handling.
10332 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
10333 (display-buffer--maybe-same-window): Rename from
10334 display-buffer-maybe-same-window.
10336 * info.el: Don't set same-window-regexps.
10337 (info-setup): New function.
10338 (info-other-window, info): Call it.
10340 * cus-edit.el: Don't set same-window-regexps.
10341 (customize-group): New argument.
10342 (customize-group-other-window): Use it.
10343 (customize-face, customize-face-other-window): Likewise.
10344 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10348 * progmodes/gud.el: Don't set same-window-regexps.
10353 * mail/sendmail.el:
10354 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10356 2011-09-10 Juri Linkov <juri@jurta.org>
10358 * isearch.el (isearch-edit-string): Remove obsolete mention of
10359 `C-w' (`isearch-yank-word-or-char') from docstring.
10360 (isearch-query-replace): Fix typo in docstring (bug#9466).
10362 2011-09-10 Juri Linkov <juri@jurta.org>
10364 * paren.el (show-paren-function): Don't show escaped parens.
10365 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10367 2011-09-10 Eli Zaretskii <eliz@gnu.org>
10369 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10370 (mm-default-file-encoding): Remove autoload forms, they are
10371 replaced with autoload cookies in mml.el and mm-encode.el.
10372 (mail-add-attachment): New command.
10373 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10374 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10376 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10378 2011-09-10 Reuben Thomas <rrt@sc3d.org>
10380 * simple.el (count-words-region): Use buffer if there's no region
10383 2011-09-09 Juri Linkov <juri@jurta.org>
10385 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10386 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10387 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10389 2011-09-09 Alan Mackenzie <acm@muc.de>
10391 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10392 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10394 2011-09-09 Eli Zaretskii <eliz@gnu.org>
10396 Fix for Savannah bug#9392.
10397 * simple.el (mail-encode-mml): New defvar.
10399 * mail/rmail.el (mail-encode-mml): Add a defvar.
10400 (rmail-enable-mime-composing): Default to t.
10401 (rmail-forward): Use MIME method of forwarding only if both
10402 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10403 Set mail-encode-mml non-nil if the MIME method was used.
10405 * mail/sendmail.el (mml-to-mime): Add autoload form.
10406 (mail-encode-mml): Add a defvar.
10407 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10409 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10410 message through mml-to-mime, and reset mail-encode-mml to nil.
10412 2011-09-09 Glenn Morris <rgm@gnu.org>
10414 * woman.el (woman-if-body): When processing an .el block,
10415 do not delete the next .el block as well. (Bug#9447)
10416 (woman-special-characters): Add oq, cq, and hy characters.
10418 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10420 * window.el (window-deletable-p): Make sure window is live before
10421 invoking window-prev-buffers.
10423 2011-09-08 Leo Liu <sdl.web@gmail.com>
10425 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10427 2011-09-08 Juri Linkov <juri@jurta.org>
10429 * progmodes/compile.el (compilation-environment): Make it
10430 a defcustom (bug#8340).
10432 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10434 * window.el (frame-auto-delete): Rename to window-auto-delete.
10435 Make it control auto-deletion of windows and/or frames.
10436 (window-deletable-p): New argument FORCE. Rewrite conditions
10437 for deleting window/frame. (Bug#9419)
10438 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10439 Rewrite handling of case when window/frame can be deleted.
10440 (delete-windows-on): Call window-deletable-p with new FORCE
10441 argument t. (Bug#9456)
10443 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
10445 * help-mode.el (help-mode): Restore autoload.
10447 2011-09-07 Juri Linkov <juri@jurta.org>
10449 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10450 `compilation-environment'. Set buffer-local
10451 `compilation-environment' to `thisenv' later after (funcall mode).
10454 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10455 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10456 instead of replacing its value. (Bug#8340)
10458 2011-09-07 Juri Linkov <juri@jurta.org>
10460 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10461 based on text properties put by `grep-filter' instead of matching
10463 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10464 to the value of `grep-error-screen-columns' (bug#9438).
10466 2011-09-07 Juri Linkov <juri@jurta.org>
10468 * simple.el (next-error-highlight, next-error-highlight-no-select):
10469 Doc fix (bug#9432).
10471 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10473 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10474 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10476 2011-09-07 Leo Liu <sdl.web@gmail.com>
10478 * net/rcirc.el (rcirc-mode): Conditionally initialize
10481 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10483 * emacs-lisp/find-func.el (find-function-C-source): Only set
10484 find-function-C-source-directory after checking that we found a source
10485 file there (bug#9440).
10487 2011-09-06 Alan Mackenzie <acm@muc.de>
10489 * isearch.el (isearch-other-meta-char): Wherever a key list is
10490 unread, "unread" the prefix arg, too. This fixes bug #8901.
10492 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10494 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10496 2011-09-05 Juri Linkov <juri@jurta.org>
10498 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10500 2011-09-05 Juri Linkov <juri@jurta.org>
10502 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10503 keeping point where processing of grep matches begins, and
10504 continue to delete remaining escape sequences from the same point.
10505 (grep-filter): Make leading zero optional in "0?1;31m" because
10506 git-grep emits "\033[1;31m" escape sequences unlike expected
10507 "\033[01;31m" as GNU Grep does (bug#9408).
10508 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10510 2011-09-05 Juri Linkov <juri@jurta.org>
10512 * subr.el (y-or-n-p): Capitalize "yes".
10514 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
10516 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10517 `tramp-cache-unload-hook' where appropriate.
10518 (tramp-methods): Rename `tramp-remote-sh' to
10519 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10520 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10522 * net/tramp-sh.el (top): Don't require 'shell.
10523 (tramp-methods): Add `tramp-remote-shell' and
10524 `tramp-remote-shell-args' entries.
10525 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10526 (tramp-sh-handle-shell-command): Remove.
10527 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10528 Use `tramp-remote-shell'.
10530 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
10532 * mail/sendmail.el (sendmail-query-once-function): Delete.
10533 (sendmail-query-once): Save directly to send-mail-function.
10534 Update message-send-mail-function too.
10536 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10538 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10540 * progmodes/python.el (python-mode-map): Use correct function to
10541 start python interpreter from menu-bar (as reported by Geert
10543 (inferior-python-mode-map): Fix typo.
10544 (python-shell-map): Remove.
10546 2011-09-03 Deniz Dogan <deniz@dogan.se>
10548 * net/rcirc.el (rcirc-print): Simplify code for
10549 rcirc-scroll-show-maximum-output. There is no need to walk
10550 through all windows to find the right one.
10552 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10554 * help.el (help-return-method): Doc fix.
10556 2011-09-03 Martin Rudalics <rudalics@gmx.at>
10558 * window.el (window-deletable-p): Don't return a non-nil value
10559 when there's a buffer that was shown in the window before.
10561 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10562 Set window's previous buffers to nil.
10564 2011-09-03 Eli Zaretskii <eliz@gnu.org>
10566 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10567 newline before and after the tag line, so it doesn't interfere
10568 with determining the paragraph direction of bidirectional text.
10570 2011-09-03 Leo Liu <sdl.web@gmail.com>
10572 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10574 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10576 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
10577 (pop-to-buffer): Change interactive spec. Pass second argument
10578 directly to display-buffer.
10579 (display-buffer): Fix interactive spec. Use functionp to
10580 distinguish between a function and a list of functions.
10582 * abbrev.el (edit-abbrevs):
10583 * arc-mode.el (archive-extract):
10584 * autoinsert.el (auto-insert):
10585 * bookmark.el (bookmark-bmenu-list):
10586 * files.el (find-file):
10587 * view.el (view-buffer):
10588 * progmodes/compile.el (compilation-goto-locus):
10589 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10591 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10593 * window.el (display-buffer-alist): Doc fix.
10594 (display-buffer): Add docstring. Don't treat
10595 display-buffer-default specially.
10596 (display-buffer-reuse-selected-window)
10597 (display-buffer-same-window, display-buffer-maybe-same-window)
10598 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10599 (display-buffer-pop-up-window)
10600 (display-buffer-reuse-or-pop-window)
10601 (display-buffer-use-some-window): New functions.
10602 (display-buffer-default-action): Use them.
10603 (display-buffer-default): Delete.
10604 (pop-to-buffer-1): Fix choice of actions.
10606 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10608 * minibuffer.el (completion--insert-strings): Don't get confused by
10609 completion entries that end with an LF char.
10611 2011-09-01 Eli Zaretskii <eliz@gnu.org>
10613 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10615 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
10617 * window.el (display-buffer): Restore interactive spec.
10618 (display-buffer-same-window, display-buffer-other-window):
10620 (pop-to-buffer-1): New function. Use the above.
10621 (pop-to-buffer, pop-to-buffer-same-window): Use it.
10622 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
10624 * view.el (view-buffer-other-window, view-buffer-other-frame):
10625 Just use pop-to-buffer.
10627 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10629 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10631 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10633 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10635 2011-08-31 Richard Stallman <rms@gnu.org>
10637 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10638 of the separation of rmail-view-buffer from rmail-buffer.
10639 If you say no to "replace original", the decrypt is in the
10640 view buffer. If you say yes, the decrypt goes into the
10643 2011-08-31 Martin Rudalics <rudalics@gmx.at>
10645 * window.el (display-buffer-window): Rewrite doc-string.
10646 (display-buffer-record-window): New function.
10647 (display-buffer-macro-specifiers)
10648 (display-buffer-even-window-sizes, display-buffer-set-height)
10649 (display-buffer-set-width, display-buffer-in-window)
10650 (display-buffer-reuse-window, display-buffer-split-specifiers)
10651 (display-buffer-side-specifiers, display-buffer-split-window-1)
10652 (display-buffer-split-window, display-buffer-split-atom-window)
10653 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10654 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10655 (display-buffer-other-window-means-other-frame)
10656 (display-buffer-normalize-special)
10657 (display-buffer-normalize-default)
10658 (display-buffer-normalize-argument)
10659 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10660 (display-buffer-normalize-specifiers, display-buffer-frame)
10661 (display-buffer-same-window, display-buffer-same-frame)
10662 (display-buffer-other-window)
10663 (display-buffer-same-frame-other-window)
10664 (display-buffer-other-frame, pop-to-buffer-same-window)
10665 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10666 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10667 (switch-to-buffer-same-frame)
10668 (switch-to-buffer-other-window-same-frame)
10669 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10670 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10671 (display-buffer-alist-set): Remove.
10672 (display-buffer-function, special-display-buffer-names)
10673 (special-display-regexps, special-display-function):
10674 In doc-string refer to display-buffer-window and quit-restore
10676 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10677 (special-display-frame-alist, special-display-popup-frame)
10678 (same-window-buffer-names, same-window-regexps, same-window-p)
10679 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10680 (split-window-preferred-function, split-height-threshold)
10681 (split-width-threshold, window-splittable-p)
10682 (split-window-sensibly, window--try-to-split-window)
10683 (window--frame-usable-p, even-window-heights)
10684 (window--even-window-heights, window--display-buffer-1)
10685 (window--display-buffer-2, display-buffer-other-frame):
10686 Restore old Emacs 23 code, order and doc-strings where applicable.
10687 (display-buffer-default, display-buffer-assq-regexp): New functions.
10688 (display-buffer-alist): Rewrite doc-string.
10689 (display-buffer-default-action)
10690 (display-buffer-overriding-action): New variables.
10691 (display-buffer, switch-to-buffer): Rewrite.
10692 (pop-to-buffer): Restore Emacs 23 behavior but use
10693 window-normalize-buffer-to-display.
10694 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10695 Restore Emacs 23 behavior but use
10696 window-normalize-buffer-to-switch-to.
10697 (pop-to-buffer-same-window): Rewrite.
10698 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10699 Rewrite using Emacs 23 options.
10701 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
10703 * net/tramp.el (tramp-root-regexp): Remove.
10704 (tramp-completion-file-name-regexp-unified)
10705 (tramp-completion-file-name-regexp-separate)
10706 (tramp-completion-file-name-regexp-url): Don't use leading volume
10707 letter on w32 systems. (Bug#5303, Bug#9311)
10708 (tramp-drop-volume-letter): Simplify definition.
10709 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10711 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10713 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10716 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10718 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
10720 2011-08-29 Juri Linkov <juri@jurta.org>
10722 * isearch.el (isearch-done): Don't display message "Mark saved"
10723 when arg `edit' is non-nil to prevent its flicker in the echo area.
10725 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10727 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10728 obsolete packages for deletion.
10730 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10732 * help-mode.el (help-mode-map): Add special-mode-map to parent.
10733 (help-mode): Derive help-mode from special-mode. Don't invoke
10734 view-mode from help-mode.
10735 (help-xref-override-view-map): Remove.
10736 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10737 view-mode is not used anymore.
10739 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10741 * server.el (server-port): Doc fix.
10743 * cus-theme.el (custom-theme-choose-mode): Inherit from
10744 special-mode (Bug#9124).
10745 (custom-theme-choose-mode-map): Add special-mode to parent.
10747 2011-08-28 Alan Mackenzie <acm@muc.de>
10749 * progmodes/cc-fonts.el
10750 (c-make-font-lock-BO-decl-search-function): New function.
10751 (c-basic-matchers-after - "Fontify the clauses after various
10752 keywords"): Extract the three keyword lists for the 3 erroneous
10753 constructs from the list of four, and use the new function above
10754 in place of an old one.
10756 2011-08-28 Deniz Dogan <deniz@dogan.se>
10758 * net/rcirc.el (rcirc-insert-prev-input)
10759 (rcirc-insert-next-input): Remove unused argument.
10761 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10763 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10765 2011-08-27 Alan Mackenzie <acm@muc.de>
10767 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10768 handle function pointer parameters properly.
10770 2011-08-27 Martin Rudalics <rudalics@gmx.at>
10772 * window.el (display-buffer-reuse-window): Fix case where
10773 selected window was reused with non-nil OTHER-WINDOW argument.
10776 2011-08-27 Deniz Dogan <deniz@dogan.se>
10778 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10779 oftc's NickServ messages.
10781 2011-08-27 Glenn Morris <rgm@gnu.org>
10783 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10785 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
10787 * emacs-lisp/package.el (package-install): Call package-initialize
10788 if called interactively.
10790 2011-08-26 Leo Liu <sdl.web@gmail.com>
10792 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10794 2011-08-25 Juri Linkov <juri@jurta.org>
10796 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10797 `search-whitespace-regexp' (bug#9364).
10799 2011-08-25 Juri Linkov <juri@jurta.org>
10801 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10802 `regexp-search-ring' to their global values to protect from
10803 updating by `read-from-minibuffer' (bug#9185).
10805 2011-08-25 Juri Linkov <juri@jurta.org>
10807 * textmodes/ispell.el (ispell-command-loop): Add newline
10808 at the end of the "Use option `i'..." line.
10810 2011-08-25 Juri Linkov <juri@jurta.org>
10812 * battery.el (display-battery-mode): If `battery-status-function'
10813 or `battery-mode-line-format' is nil, display the message and set
10814 `display-battery-mode' to nil (bug#9363).
10816 2011-08-25 Eli Zaretskii <eliz@gnu.org>
10818 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10819 bidi-string-mark-left-to-right; they are unnecessary now.
10821 2011-08-25 Deniz Dogan <deniz@dogan.se>
10823 * net/quickurl.el: Documentation typo fixes.
10825 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
10827 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10829 2011-08-25 Glenn Morris <rgm@gnu.org>
10831 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10833 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10834 (smtpmail-via-smtp): Handle nil response from smtp.
10836 2011-08-24 Juri Linkov <juri@jurta.org>
10838 * proced.el (proced-marked): Inherit from `error' instead of
10839 `font-lock-warning-face'.
10841 * ibuffer.el (ibuffer-marked-face): Change default face from
10842 `font-lock-warning-face' to `warning'.
10843 (ibuffer-deletion-face): Change default face from
10844 `font-lock-type-face' to `error'.
10846 * battery.el (battery-update): Use the face `error' instead of
10847 `font-lock-warning-face' (bug#6117).
10849 2011-08-24 Juri Linkov <juri@jurta.org>
10851 * faces.el (success): Change face color from "Green3" to
10852 "ForestGreen" on light background (bug#9353).
10854 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
10856 * window.el (quit-window): Rename from quit-restore-window.
10857 Use same arglist as old quit-window.
10858 (frame-auto-delete): Doc fix.
10860 * view.el (view-mode-exit): Use quit-window.
10862 2011-08-24 Juri Linkov <juri@jurta.org>
10864 * isearch.el (isearch-ring-adjust1): Start visiting previous
10865 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10866 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10867 for empty search string (when the last search string is reused
10868 automatically) to adjust the isearch ring to the last element and
10869 prepare the correct index for further M-p commands (bug#9185).
10871 2011-08-24 Kenichi Handa <handa@m17n.org>
10873 * international/ucs-normalize.el: If decomposition property of
10874 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10876 (nfd, nfkd): Likewise.
10878 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10880 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10881 from process filters aren't reliably transmitted to the surrounding
10882 accept-process-output.
10883 (mpc-proc-check): New function.
10884 (mpc-proc-sync): Use it (bug#8293)
10886 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10888 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10889 Add compatibility functions (bug#9313).
10891 2011-08-23 Eli Zaretskii <eliz@gnu.org>
10893 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10895 * international/uni-bidi.el: Regenerate.
10897 2011-08-23 Kenichi Handa <handa@m17n.org>
10899 * international/charprop.el:
10900 * international/uni-bidi.el:
10901 * international/uni-category.el:
10902 * international/uni-combining.el:
10903 * international/uni-comment.el:
10904 * international/uni-decimal.el:
10905 * international/uni-decomposition.el:
10906 * international/uni-digit.el:
10907 * international/uni-lowercase.el:
10908 * international/uni-mirrored.el:
10909 * international/uni-name.el:
10910 * international/uni-numeric.el:
10911 * international/uni-old-name.el:
10912 * international/uni-titlecase.el:
10913 * international/uni-uppercase.el: Regenerate.
10915 2011-08-23 Martin Rudalics <rudalics@gmx.at>
10917 * help.el (help-window-setup): Fix message displayed when other
10918 window is reused. (Bug#9341)
10920 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10922 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10923 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10925 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10927 * shell.el (shell-parse-pcomplete-arguments): New function.
10928 (shell-completion-vars): Use it instead (bug#9160).
10930 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10932 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10933 strings and comments (bug#9333).
10935 * emacs-lisp/debug.el (debug-arglist): New function.
10936 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10937 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10939 2011-08-22 Juri Linkov <juri@jurta.org>
10941 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10942 Revert regexp that highlights output switches to its old
10943 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10945 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10946 to check for empty output (bug#9226).
10948 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
10950 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10951 symbol-constituent as the default, as that stops font-lock from
10952 working properly (Bug#8843).
10954 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10956 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10957 `coding-system-for-*' around the process open call to avoid
10958 auth-source side effects.
10959 (smtpmail-try-auth-methods): Expand the secret password.
10960 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10963 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
10965 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10967 * emacs-lisp/find-func.el (find-function-noselect): New arg
10970 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10971 signal an error for built-in functions (Bug#6664).
10973 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10975 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10976 (smtpmail-try-auth-methods): Use it.
10978 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
10980 * font-lock.el (font-lock-fontify-region)
10981 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10982 (font-lock-default-unfontify-buffer)
10983 (font-lock-default-fontify-region)
10984 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10986 * progmodes/compile.el (compilation-error-properties):
10987 Fix confusion between file struct and message struct (Bug#9319).
10988 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10991 * net/browse-url.el (browse-url-firefox): Don't call
10992 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10994 2011-08-20 Glenn Morris <rgm@gnu.org>
10996 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10998 * tutorial.el (tutorial--default-keys): Update some default bindings.
11000 * files.el (hack-local-variables): Fully ignore case for "mode:".
11002 2011-08-20 Alan Mackenzie <acm@muc.de>
11004 Resolve invalid use of a regexp in regexp-opt.
11006 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11007 detection for a java annotation.
11009 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
11010 detection for a java annotation.
11012 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11014 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11016 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
11018 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11021 2011-08-20 Alan Mackenzie <acm@muc.de>
11023 Fontify CPP expressions correctly when starting in the middle of
11024 such a construct. Mainly for when jit-lock etc. starts a chunk
11027 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
11029 (c-make-font-lock-search-form): New function, extracted from
11030 c-make-font-lock-search-function.
11031 (c-make-font-lock-search-function): Use the above function.
11032 (c-make-font-lock-context-search-function): New function.
11033 (c-cpp-matchers): Enhance the preprocessor expression case with
11035 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11036 which takes an expression.
11038 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11040 2011-08-20 Martin Rudalics <rudalics@gmx.at>
11042 * window.el (display-buffer-reuse-window)
11043 (display-buffer-pop-up-window): Don't reuse or split a side
11046 2011-08-19 Glenn Morris <rgm@gnu.org>
11048 * files.el (hack-local-variables-prop-line, hack-local-variables):
11049 Downcase "Mode:". (Bug#9331)
11051 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
11053 * international/characters.el: Add L and R categories.
11055 * subr.el (bidi-string-mark-left-to-right): Rename from
11056 string-mark-left-to-right. Use category search.
11058 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11060 2011-08-18 Juri Linkov <juri@jurta.org>
11062 * faces.el (error, warning, success): New faces with definitions
11063 copied from old default values of `font-lock-warning-face',
11064 `compilation-warning', `compilation-info' (bug#6117).
11066 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11068 * progmodes/compile.el (compilation-error): Inherit from `error'.
11069 (compilation-warning): Inherit from `warning'.
11070 (compilation-info): Inherit from `success'.
11072 * dired.el (dired-marked): Inherit from `warning'.
11073 (dired-flagged): Inherit from `error'.
11075 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11077 * mail/smtpmail.el (auth-source): Require to avoid problems with
11078 binding variables (bug#9298). Also clean up some unused
11081 * net/network-stream.el (network-stream-open-starttls):
11082 Support using starttls.el without using gnutls-cli.
11084 2011-08-17 Juri Linkov <juri@jurta.org>
11086 * progmodes/grep.el (rgrep): Handle the case when
11087 `grep-find-command' is a cons cell (bug#9278).
11089 2011-08-17 Martin Rudalics <rudalics@gmx.at>
11091 * window.el (display-buffer-pop-up-frame): Run frame creation
11092 function with BUFFER current (as special-display-popup-frame
11093 does). Reported by Drew Adams.
11095 2011-08-17 Daiki Ueno <ueno@unixuser.org>
11097 * epa-mail.el: Simplify GnuPG group expansion using
11099 (epa-mail-group-alist, epa-mail-group-modtime)
11100 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11101 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11102 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11105 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
11107 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11109 2011-08-16 Alan Mackenzie <acm@muc.de>
11111 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11112 Correct, to avoid the inside of macros.
11114 2011-08-16 Richard Stallman <rms@gnu.org>
11116 * epa-mail.el: Handle GnuPG group definitions.
11117 (epa-mail-group-alist, epa-mail-group-modtime)
11118 (epa-mail-gnupg-conf-file): New variables.
11119 (epa-mail-parse-groups, epa-mail-sync-groups)
11120 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11121 (epa-mail-expand-recipients): New functions.
11122 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11124 * mail/rmail.el (rmail-epa-decrypt): New command.
11126 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11127 Don't bind buffer-read-only, just inhibit-read-only.
11128 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11129 (epa-decrypt-armor-in-region): Make error message clearer.
11131 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11133 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11134 and "a2b" to "ab" for `prefix'.
11136 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
11138 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11140 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11141 Fourquet (Bug#8804).
11143 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
11145 * startup.el (argi): Declare as global variable (bug#9275).
11147 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
11149 * subr.el (string-mark-left-to-right): Search the entire string
11150 for RTL script, not just the terminating character. Doc fix.
11152 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11154 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11156 (js--regexp-literal, js-syntax-propertize-function): Remove.
11157 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11158 (js-mode-map): Don't rebind electric keys.
11159 (js-insert-and-indent): Remove.
11160 (js-mode): Setup electric-layout and electric-indent instead.
11162 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11164 2011-08-12 Daiki Ueno <ueno@unixuser.org>
11166 * epa.el (epa-progress-callback-function): Fix the logic of
11167 displaying progress.
11168 * epa-file.el (epa-file-insert-file-contents): Make progress
11169 display more user-friendly.
11170 (epa-file-write-region): Ditto.
11172 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
11174 * subr.el (string-mark-left-to-right): New function.
11176 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11177 Use string-mark-left-to-right.
11178 (list-buffers-noselect): Caller changed.
11180 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11181 Use string-mark-left-to-right.
11182 (tabulated-list-print): Recenter after moving point.
11184 2011-08-10 Juri Linkov <juri@jurta.org>
11186 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11187 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11188 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11190 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
11192 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11195 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11197 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11198 character. (Bug#6594)
11200 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
11202 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11203 (image-dired--with-db-file): New macro.
11204 (image-dired-write-tags, image-dired-remove-tag)
11205 (image-dired-create-gallery-lists, image-dired-write-comments)
11206 (image-dired-get-comment, image-dired-mark-tagged-files)
11207 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11208 (image-dired-gallery-generate): Use insert-file-contents.
11210 * time.el (display-time-world-list, display-time-world-display):
11211 * time-stamp.el (time-stamp-string):
11212 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11213 set-time-zone-rule (Bug#7337).
11215 2011-08-08 Daiki Ueno <ueno@unixuser.org>
11217 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11218 (epg-error-to-string, epg-errors-to-string): New function.
11219 (epg-wait-for-completion): Reverse errors list.
11220 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11221 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11222 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11223 (epg-sign-keys, epg-generate-key-from-file)
11224 (epg-generate-key-from-string): Format errors by using
11225 epg-errors-to-string (bug#9255).
11226 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11228 2011-08-07 Juri Linkov <juri@jurta.org>
11230 * faces.el (list-faces-display): Remove extra angle bracket
11231 from `help-mode-map'.
11233 * info.el (Info-history-toc-nodes): Doc fix.
11235 * longlines.el (longlines-mode): Doc fix.
11237 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11239 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11240 of statements and in a few more cases (bug#9183).
11242 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11244 (cl-transform-lambda): Use them (bug#9239).
11246 2011-08-05 Martin Rudalics <rudalics@gmx.at>
11248 * window.el (display-buffer-same-window)
11249 (display-buffer-same-frame, display-buffer-other-window)
11250 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11251 (pop-to-buffer-other-window)
11252 (pop-to-buffer-same-frame-other-window)
11253 (pop-to-buffer-other-frame): Make them defuns.
11254 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11256 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11258 * subr.el (make-composed-keymap): Move from C. Change calling
11259 convention, and improve docstring to bring attention to a subtle point.
11260 * minibuffer.el (completing-read-default): Adjust accordingly.
11262 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
11264 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11265 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11267 * net/trampver.el: Update release number.
11269 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11271 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11274 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11276 * mail/sendmail.el (sendmail-query-once): Restore the current
11277 buffer after querying (bug#9074).
11279 * dired.el (dired-flagged): Use different faces for marked and
11280 flagged files (bug#6117).
11282 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11285 * ido.el (ido-mode): Switch off the message if called
11288 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11289 before 587, since it appears that that's more likely to work for
11292 * cus-edit.el (custom-file): When running under emacs -q, always
11293 refuse to save the customizations, even if the .emacs file doesn't
11296 * info.el: Remove the `Info-beginning-of-buffer' function
11299 * net/network-stream.el (network-stream-open-starttls):
11300 Use `starttls-available-p' to see whether starttls.el can be used.
11302 2011-08-01 Martin Rudalics <rudalics@gmx.at>
11304 * window.el (display-buffer-in-window): Don't set dedicated status
11305 of window here (Bug#9215).
11306 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11307 (display-buffer-pop-up-side-window)
11308 (display-buffer-in-side-window): Set dedicated status of window here.
11310 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11312 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11313 before binding generated-autoload-file.
11315 2011-08-01 Deniz Dogan <deniz@dogan.se>
11317 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11319 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
11321 Sync with Tramp 2.2.2.
11323 * net/trampver.el: Update release number.
11325 2011-07-30 Juri Linkov <juri@jurta.org>
11327 * dired-aux.el (dired-touch-initial): Remove function.
11328 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11329 current time, and `default' to the last modification time of the
11330 current marked file (bug#6887).
11332 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11334 * simple.el (goto-line): Use string-to-number to provide a
11335 numeric argument to read-number (bug#9163).
11337 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
11339 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11340 connection process, it could be nil.
11342 2011-07-27 Leo Liu <sdl.web@gmail.com>
11344 Simplify url handling in rcirc-mode.
11346 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11347 (rcirc-browse-url-at-mouse): Remove.
11348 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11350 2011-07-26 Alan Mackenzie <acm@muc.de>
11352 Fontify bitfield declarations properly.
11354 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11355 (c-symbol-chars): Now exported as a lang variable.
11356 (c-not-primitive-type-keywords): New lang variable.
11358 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11359 QT keyword "more" to prevent "more slots: ...." being spuriously
11360 parsed as a bitfield declaration.
11362 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11363 Refactor and enhance to handle bitfield declarations.
11364 (c-punctuation-in): New function.
11365 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11366 declarations properly.
11368 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
11370 * calendar/icalendar.el (icalendar--all-events): Take care of
11371 multiple vcalendars in a single file.
11372 (icalendar--convert-float-to-ical): Checkdoc fixes.
11374 2011-07-25 Deniz Dogan <deniz@dogan.se>
11376 * image.el (insert-image): Clarifying docstring.
11378 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
11380 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11381 `tramp-send-command-and-check' if there is no error.
11382 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11384 2011-07-22 Alan Mackenzie <acm@muc.de>
11386 Prevent cc-langs.elc being loaded at run time.
11388 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11391 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
11392 "(require 'cc-langs)". Quote a form so it will evaluate at
11393 (cc-mode's) compilation time.
11395 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
11397 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11398 loading. (Bug#9114)
11400 2011-07-21 Martin Rudalics <rudalics@gmx.at>
11402 * window.el (display-buffer-pop-up-window)
11403 (display-buffer-pop-up-side-window)
11404 (display-buffer-in-side-window): Call display-buffer-set-height
11405 and display-buffer-set-width after setting the new window's
11406 buffer so `fit-window-to-buffer' and friends work on the right buffer.
11408 2011-07-20 Sam Steingold <sds@gnu.org>
11410 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11411 (etags-tags-included-tables): Call `convert-standard-filename' on
11412 the file names contained in TAGS so that windows Emacs can handle
11413 TAGS files created by cygwin ctags.
11415 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11417 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11418 which apparently didn't work.
11420 2011-07-19 Roland Winkler <winkler@gnu.org>
11422 * proced.el (proced-send-signal): For *Marked Processes* buffer
11423 put point at beginning of buffer.
11425 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
11427 * proced.el (proced-format): Make header lines align with the text
11430 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11432 * view.el (view-buffer): Allow running in `special' modes if we're
11433 visiting a file (bug#8615).
11435 2011-07-19 Martin Rudalics <rudalics@gmx.at>
11437 * window.el (display-buffer-alist-of-strings-p)
11438 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11440 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11443 2011-07-18 Alan Mackenzie <acm@muc.de>
11445 Fontify declarators properly when, e.g., a jit-lock chunk begins
11446 inside a declaration.
11448 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11450 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11452 (c-complex-decl-matchers): Insert reference to
11453 c-font-lock-enclosing-decls.
11455 * progmodes/cc-engine.el (c-backward-single-comment):
11456 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11457 to nil around calls to (forward-comment -1).
11459 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11461 * image.el (put-image): Doc typo fix.
11463 * progmodes/etags.el (tags-search): Doc typo fix.
11465 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11466 password if we get errors 550 to 554.
11468 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11470 * net/gnutls.el (gnutls-log-level): Remove.
11472 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11473 indentation character (bug#6380).
11475 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11477 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11478 to clarify what the problem is (bug#4291).
11480 * simple.el (current-kill): Clarify what
11481 `interprogram-paste-function' does (bug#7500).
11482 (auto-fill-mode): Document `auto-fill-function' in relation to
11483 `auto-fill-mode' (bug#2470).
11485 2011-07-16 Lawrence Mitchell <wence@gmx.li>
11487 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11488 method if slot is read-only (bug#9035).
11490 2011-07-16 Martin Rudalics <rudalics@gmx.at>
11492 * frame.el (select-frame-set-input-focus): New argument NORECORD.
11493 * window.el (pop-to-buffer): Select window used even if it was
11494 selected before, see discussion of (Bug#8615), (Bug#6954).
11495 Pass argument NORECORD on to select-frame-set-input-focus.
11497 2011-07-15 Glenn Morris <rgm@gnu.org>
11499 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
11502 2011-07-09 Lawrence Mitchell <wence@gmx.li>
11504 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11505 (gnutls-negotiate): Use it.
11507 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11509 * net/gnutls.el (gnutls-negotiate):
11510 Upcase `gnutls-algorithm-priority'.
11512 2011-07-15 Glenn Morris <rgm@gnu.org>
11514 * jka-compr.el (jka-compr-verbose): Move from here...
11515 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11516 Add missing :version tag.
11517 * info.el: No need to require jka-compr when compiling.
11519 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11521 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11522 (gnutls-negotiate): Use it.
11524 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11526 * info.el (Info-beginning-of-buffer): New command.
11527 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11528 announcing `b' as the key (bug#8325).
11529 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
11531 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11533 * international/mule-cmds.el
11534 (describe-specified-language-support): Make the error message
11535 clearer (bug#8905).
11537 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11539 * isearch.el (isearch-barrier): Add a doc string, since it's
11540 mentioned in a function doc string (bug#8678).
11542 2011-07-15 Martin Rudalics <rudalics@gmx.at>
11544 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11545 buffer argument (Bug#9083) and self-identifying label argument.
11547 2011-07-15 Glenn Morris <rgm@gnu.org>
11549 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11551 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11553 * man.el (Man-fontify-manpage): Fix message when formatting the
11554 man page (bug#7929).
11556 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11558 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11559 argument LRM; if non-nil, append an invisible LRM character to the
11561 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11562 last argument non-nil, when formatting buffer names.
11563 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11564 paragraph direction.
11566 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11568 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11569 the man page name (bug#7929).
11571 * image.el (put-image): Mention the `put-image' overlay property
11574 * scroll-bar.el (set-scroll-bar-mode): Mention that
11575 `scroll-bar-mode' lists the values (bug#7772).
11577 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11578 command (bug#7729).
11580 * rect.el (apply-on-rectangle): Return the point after the last
11582 (string-rectangle): Go to the point after the last operation
11585 * printing.el (pr-toggle-region): Clarify the documentation
11586 slightly (bug#7493).
11588 * time.el (display-time-update):
11589 Allow `display-time-mail-function' to return nil (bug#7158).
11590 Fix suggested by Detlev Zundel.
11592 * vc/diff.el (diff): Clarify the order the file names are read
11595 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11596 the doc string (bug#7015).
11598 * font-lock.el (font-lock-maximum-decoration): Mention what
11599 numeric levels mean (bug#6935).
11601 * startup.el (initial-buffer-choice): Don't mention the `none'
11602 selection, which is against policy.
11604 2011-07-14 Martin Rudalics <rudalics@gmx.at>
11606 * window.el (display-buffer-normalize-special):
11607 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
11609 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11611 * subr.el (version<, version<=, version=): Mention "-CVS" and
11612 "-12345" alpha version numbers.
11614 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11616 * bindings.el: Add advertised binding for set-mark-command
11619 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11621 * bindings.el (mode-line-other-buffer):
11622 * bookmark.el (bookmark-bmenu-2-window):
11623 * bs.el (bs-cycle-next, bs-cycle-previous):
11624 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11627 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11630 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
11632 * follow.el (follow-debug-message, follow-redisplay):
11633 * jka-cmpr-hook.el (with-auto-compression-mode):
11634 Fix typos in docstrings.
11636 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11638 * subr.el (with-silent-modifications): Clarify somewhat what the
11639 macro inhibits (bug#6525).
11641 * simple.el (eval-expression): Note what it does if called
11642 interactively (bug#6495).
11644 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11646 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11647 Use pop-to-buffer buffer-or-name if it is nil.
11649 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11650 Remove switch-to-buffer.
11652 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11654 * files.el (make-directory): Clarify that an error will be raised
11655 if there's an error (bug#6397).
11657 * startup.el (initial-buffer-choice): Add `none' as a choice
11660 * subr.el (add-hook): Clarify section about buffer-local hooks
11663 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11665 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11667 * tabify.el (untabify): Preserve the current column so that point
11668 doesn't move (bug#6032).
11670 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11672 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11673 Rewrite to avoid awkward possessive "s" (bug#5986).
11675 2011-07-13 Glenn Morris <rgm@gnu.org>
11677 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11678 (dired-insert-directory): Give a message the first time
11679 if ls is found not to support --dired.
11681 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11683 * simple.el (toggle-truncate-lines): Clarify what is toggled
11684 (bug#5580). Text by Drew Adams.
11686 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11688 * simple.el (blink-matching-open): Make the error message from the
11689 last change less verbose.
11691 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11693 * font-lock.el (font-lock-comment-face): Use the high contrast
11694 "yellow" color for font-lock-comment-face on low color terminals
11695 using a dark background color (bug#4221).
11697 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11699 * dired.el (dired-insert-set-properties): Make the doc string
11700 reflect what it does now (bug#5325).
11702 * simple.el (blink-matching-open): Say that we were unable to find
11703 the match within the limit, if we're limited (bug#5122).
11705 * international/mule-cmds.el (prefer-coding-system): Add an
11706 example (bug#4869).
11708 * progmodes/etags.el (tags-search): Document `file-list-form'
11711 2011-07-13 Lawrence Mitchell <wence@gmx.li>
11713 * net/browse-url.el (browse-url-default-browser)
11714 (browse-url-browser-function): Make the default browser choice a
11715 bit more logical (bug#4300). Also clean up the doc string.
11717 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11719 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11720 binary endings (bug#4440).
11722 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11724 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11725 which can be pretty annoying (bug#8971).
11727 * jka-compr.el (jka-compr-verbose): New variable, and use
11728 throughout (bug#8971).
11730 * info.el (Info-find-file): Fall back on the installation
11731 directory if we can't find the info node anywhere else.
11733 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11735 * vc/vc.el (vc-revert-file):
11736 Don't set file time-stamp in the past. (Bug#5181)
11738 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11740 * files.el (after-find-file): Give a better error message when
11741 trying to find a symlink that points to a file that doesn't exist
11744 * progmodes/cc-vars.el: Remove (probably) misleading comment
11747 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11749 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11751 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11753 * mouse-sel.el: Hack restoring functionality, while keeping
11754 compatibility with 2010-07-03 changes to mouse selection.
11755 (mouse-sel-primary-overlay): New var.
11756 (mouse-sel-selection-alist): Use it.
11757 (mouse-sel-mode): Doc fix; remove points that are default features
11760 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11762 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11763 Fix previous fix (bug#2490).
11765 2011-07-12 Roland Winkler <winkler@gnu.org>
11767 * textmodes/bibtex.el (bibtex-initialize):
11768 Use pop-to-buffer-same-window.
11769 (bibtex-search-entries): Fix interactive call.
11771 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11773 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11774 Fontise bytecomp Error lines more correctly (bug#2490).
11775 Fix suggested by Johan Bockgård.
11777 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11779 * dired-x.el (dired-guess-default): Use `delete-dups'.
11781 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11783 * dired.el (dired-mark-prompt):
11784 * dired-aux.el (dired-read-shell-command): Doc fix.
11786 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11788 * mail/sendmail.el (sendmail-query-once):
11789 Use `customize-save-variable' unconditionally, now that it works under
11792 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11794 * cus-edit.el (custom-file): Take an optional no-error variable.
11795 (customize-save-variable): Set the variable, and give a warning if
11796 running under "emacs -q".
11798 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
11800 * loadhist.el (unload-feature-special-hooks):
11801 Add `auto-coding-functions', `fill-nobreak-predicate' and
11802 `find-directory-functions' (bug#5327).
11804 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11806 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11808 * cus-edit.el (custom-guess-name-alist): -alist variables should
11809 use the `alist' type (bug#3120). Suggested by Drew Adams.
11811 * printing.el: Add documentation to all the `pr-toggle-' commands.
11813 2011-07-11 Leo Liu <sdl.web@gmail.com>
11815 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11816 backends where it makes sense (bug#2623).
11818 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11820 * dired-x.el (dired-guess-default): Remove duplicate shell command
11821 entries (bug#2028).
11822 (dired-guess-default): Fix grammar in doc string (bug#2028).
11823 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
11825 * subr.el (remove-duplicates): New conveniency function.
11827 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11829 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11832 2011-07-10 Martin Rudalics <rudalics@gmx.at>
11834 * window.el (display-buffer-normalize-default): Don't invert
11835 meaning of even-window-heights. Reported by Eli Zaretskii
11838 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11840 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11842 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
11844 * window.el (display-buffer): Fix arguments to
11845 display-buffer-reuse-window in last change.
11847 * faces.el (link): Use a less saturated blue on light backgrounds.
11849 * startup.el (fancy-startup-text, fancy-about-text)
11850 (fancy-startup-tail): Use font-lock faces, for background safety.
11852 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11854 * emulation/viper-cmd.el (viper-change-state-to-vi):
11855 Limit triggering of abbrev expansion (Bug#9038).
11857 2011-07-09 Martin Rudalics <rudalics@gmx.at>
11859 * window.el (display-buffer-default-specifiers): Remove.
11860 (display-buffer-macro-specifiers): Remove default specifiers.
11861 (display-buffer-alist): Default to nil.
11862 (display-buffer-reuse-window): New optional argument other-window.
11863 (display-buffer-pop-up-window): Allow splitting internal
11864 windows. Check whether a live window was created.
11865 (display-buffer-other-window-means-other-frame)
11866 (display-buffer-normalize-arguments): Rename to
11867 display-buffer-normalize-argument and rewrite. Set the
11868 other-window specifier.
11869 (display-buffer-normalize-special): New function.
11870 (display-buffer-normalize-options): Rename to
11871 display-buffer-normalize-default and rewrite.
11872 (display-buffer-normalize-options-inhibit): Remove.
11873 (display-buffer-normalize-specifiers): Rewrite.
11874 (display-buffer): Process other-window specifier and call
11875 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11877 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
11878 (display-buffer-alist-set): Don't handle 'unset default values.
11879 (display-buffer-in-window, display-buffer-alist-set):
11880 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
11881 <tassilo@member.fsf.org>.
11883 2011-07-09 Leo Liu <sdl.web@gmail.com>
11885 * register.el (insert-register): Restore accidental change on
11886 2011-06-26. (Bug#9028)
11888 2011-07-09 Glenn Morris <rgm@gnu.org>
11890 * subr.el (remq): Handle the empty list. (Bug#9024)
11892 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11894 * mail/sendmail.el (send-mail-function): No longer delay custom
11896 * custom.el (custom-initialize-delay): Doc fix.
11898 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11900 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11902 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
11904 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11905 human-friendly prompt.
11907 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11909 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11910 provided by a particular plugin.
11912 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11914 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11915 save customizations (with "emacs -Q"), just set the variable
11916 instead of erroring out.
11918 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11920 2011-07-08 Juri Linkov <juri@jurta.org>
11922 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11923 (archive-zip-update-case): Use 7z if found by `executable-find'.
11924 The order of searching the available programs is the same as in
11925 `archive-zip-extract' (bug#8968).
11927 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11929 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11930 (menu-bar-options-menu): Tweak descriptions.
11932 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11934 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11935 menu items into verb phrases (bug#1421). Also refill to fit under
11938 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11940 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11941 (Info-read-node-name): Doc fix (Bug#1084).
11943 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11944 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11945 (end-of-sexp, beginning-of-sexp)
11946 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11947 (forward-symbol, forward-same-syntax, word-at-point)
11948 (sentence-at-point): Doc fix (Bug#1144).
11950 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11952 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11953 should cover it (bug#1281).
11955 * cus-edit.el (custom-show): Mark as obsolete.
11957 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
11958 negotiation fails, then possibly try again with a non-encrypted
11959 connection (bug#9017).
11961 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11964 2011-07-07 Richard Stallman <rms@gnu.org>
11966 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11967 property, and handle its changed format.
11968 Look for the correct line number.
11969 Use file's line contents (but not past first =) to find
11970 correct line in message.
11972 2011-07-07 Kenichi Handa <handa@m17n.org>
11974 * international/characters.el (build-unicode-category-table):
11976 (unicode-category-table): Set it by unicode-property-table-internal.
11978 * international/mule-cmds.el (char-code-property-alist): Move to
11980 (get-char-code-property): Call unicode-property-table-internal to
11981 load a file. Call get-unicode-property-internal where necessary.
11982 (put-char-code-property): Call unicode-property-table-internal to
11983 load a file. Call put-unicode-property-internal where necessary.
11984 put-unicode-property-internal where necessary.
11985 (char-code-property-description):
11986 Call unicode-property-table-internal to load a file.
11988 * international/charprop.el:
11989 * international/uni-bidi.el:
11990 * international/uni-category.el:
11991 * international/uni-combining.el:
11992 * international/uni-comment.el:
11993 * international/uni-decimal.el:
11994 * international/uni-decomposition.el:
11995 * international/uni-digit.el:
11996 * international/uni-lowercase.el:
11997 * international/uni-mirrored.el:
11998 * international/uni-name.el:
11999 * international/uni-numeric.el:
12000 * international/uni-old-name.el:
12001 * international/uni-titlecase.el:
12002 * international/uni-uppercase.el: Regenerate.
12004 * loadup.el: Load international/charprop.el before
12005 international/characters.
12007 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12009 * window.el (next-buffer, previous-buffer): Signal an error if
12010 called from a minibuffer window.
12012 * bindings.el: Revert 2011-07-04 change.
12014 2011-07-06 Richard Stallman <rms@gnu.org>
12016 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12017 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12018 Treat markers like ints.
12019 (rmail-mime-entity): Doc fix.
12021 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12023 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12024 defcustom again for backwards compatibility.
12026 * simple.el (shell-command-on-region): Fill.
12028 * dired-aux.el (dired-kill-line): Add a doc string.
12030 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12031 to "\\sw\\|\\s_" (bug#358).
12033 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12034 (dired-unmark-backward): Ditto.
12035 (dired-flag-backup-files): Ditto.
12037 * dired-x.el (dired-mark-sexp): Ditto.
12039 2011-07-06 Richard Stallman <rms@gnu.org>
12041 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12042 (rmail-mime-entity): New arg TRUNCATED.
12043 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12045 (rmail-mime-save): Warn if entity is truncated.
12046 (rmail-mime-toggle-hidden): Likewise, for showing.
12047 (rmail-mime-process-multipart): Record when an entity is truncated.
12049 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12050 if ENTITY is a string.
12052 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12054 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
12055 of faces when `M-C-x'-ing their definitions (bug#8378).
12056 Also clean up the code slightly.
12058 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
12059 because that makes the colors go away.
12061 * mail/sendmail.el (send-mail-function): Change the default to
12062 `sendmail-query-once'.
12063 (sendmail-query-once): Add an autoload cookie.
12065 * net/network-stream.el (network-stream-open-starttls): Try using
12066 a plain connection even if the server offered STARTTLS, and we
12067 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12068 capability. This should make smtpmail.el work in slightly more
12071 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
12073 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12075 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12077 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12079 * progmodes/sql.el: Version 3.0
12080 (sql-product-alist): Add product :completion-object,
12081 :completion-column, and :statement attributes.
12082 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
12083 (sql-mode-syntax-table): Mark all punctuation.
12084 (sql-font-lock-keywords-builder): Temporarily remove fallback on
12086 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
12087 (sql-mode-oracle-font-lock-keywords): Improve.
12088 (sql-oracle-show-reserved-words): New function for development.
12089 (sql-product-font-lock): Simplify for source code buffers.
12090 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12092 (sql-highlight-product): Set product specific syntax table.
12093 (sql-mode-map): Add statement movement functions.
12094 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12096 (sql-statement-regexp, sql-beginning-of-statement)
12097 (sql-end-of-statement, sql-signum): New functions.
12098 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
12099 (sql-show-sqli-buffer): Bug fix.
12100 (sql-interactive-mode): Store connection data as buffer local.
12101 (sql-connect): Add NEW-NAME parameter. Redesign interaction
12102 with sql-interactive-mode.
12103 (sql-save-connection): Save buffer local settings.
12104 (sql-connection-menu-filter): Change menu entry name.
12105 (sql-product-interactive): Bug fix.
12106 (sql-preoutput-hold): New variable.
12107 (sql-interactive-remove-continuation-prompt): Bug fixes.
12108 (sql-debug-redirect): New variable.
12109 (sql-str-literal): New function.
12110 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
12112 (sql-oracle-save-settings, sql-oracle-restore-settings)
12113 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12114 (sql-completion-object, sql-completion-column)
12115 (sql-completion-sqlbuf): New variables.
12116 (sql-build-completions-1, sql-build-completions)
12117 (sql-try-completion): New functions.
12118 (sql-read-table-name): Use them.
12119 (sql-contains-names): New buffer local variable.
12120 (sql-list-all, sql-list-table): Use it.
12121 (sql-oracle-completion-types): New variable.
12122 (sql-oracle-completion-object, sql-sqlite-completion-object)
12123 (sql-postgres-completion-object): New functions.
12125 2011-07-06 Glenn Morris <rgm@gnu.org>
12127 * window.el (pop-to-buffer): Doc fix.
12129 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
12131 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12133 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
12135 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
12137 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
12139 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
12141 * button.el (button): Inherit from link face. Suggested by Dan
12144 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12146 * progmodes/gdb-mi.el: Fit in 80 columns.
12147 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12150 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12151 if imenu is simply not configured (bug#8941).
12153 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12155 * allout.el (allout-post-undo-hook): New allout outline-change
12156 event hook to signal undo activity.
12157 (allout-post-command-business): Run allout-post-undo-hook if an
12158 undo just occurred.
12159 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12160 * allout-widgets.el (allout-widgets-after-undo-function):
12161 Ensure the integrity of the current item's decoration after it has been
12162 in the vicinity of an undo.
12163 (allout-widgets-mode): Include allout-widgets-after-undo-function
12164 on the new allout-post-undo-hook.
12166 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12168 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12169 Let define-derived-mode define it.
12170 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12171 cycles of abbrev-table inheritance (bug#8998).
12173 2011-07-05 Roland Winkler <winkler@gnu.org>
12175 * textmodes/bibtex.el: Add support for biblatex.
12176 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12177 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12178 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12179 (bibtex-entry-alist, bibtex-field-alist): New variables.
12180 (bibtex-entry-field-alist): Obsolete alias for
12181 bibtex-BibTeX-entry-alist.
12182 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12183 (bibtex-set-dialect): New command.
12184 (bibtex-entry-type, bibtex-entry-head)
12185 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12186 Bind via bibtex-set-dialect.
12187 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12188 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12189 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12190 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12191 Define via bibtex-set-dialect.
12192 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12193 Obey bibtex-no-opt-remove-re.
12194 (bibtex-vec-push, bibtex-vec-incr): New functions.
12195 (bibtex-format-entry, bibtex-field-list)
12196 (bibtex-print-help-message, bibtex-validate)
12197 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12199 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12201 * progmodes/compile.el (compilation-goto-locus):
12202 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12203 * bs.el (bs-cycle-next, bs-cycle-previous):
12204 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12205 * bindings.el (mode-line-other-buffer):
12206 * autoinsert.el (auto-insert):
12207 * arc-mode.el (archive-extract):
12208 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12210 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12212 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12213 Fix check of `emacs-lock-unlockable-modes'.
12214 Coerce true values of `emacs-lock--try-unlocking' to t.
12216 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12218 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12219 * emacs-lock.el: New file.
12221 2011-07-05 Julien Danjou <julien@danjou.info>
12223 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12224 than `boundp' to check if face is set.
12226 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12228 * register.el (registerv-make):
12229 * window.el (window-min-height): Fix typos in docstrings.
12231 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12233 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
12236 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12238 * server.el (server-execute): Catch quit and call
12239 `server-return-error' to pass the error back to emacsclient and
12240 close the connection (bug#8942).
12242 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12244 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12245 insecure exception for current topic. Also note that auto-saves
12246 are handled differently.
12248 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
12249 State variables for tracking auto-save inhibition situation.
12251 (allout-write-contents-hook-handler): Rename from
12252 'allout-write-file-hook-handler', and describe how it depends on
12253 write-contents-functions sensitivity to non-nil value to prevent
12256 (allout-auto-save-hook-handler): Remove. auto-save does not check
12257 this in individual buffers, only in the starting buffer, so this
12258 is not the right way for us to inhibit auto-save in a buffer
12259 according to its condition.
12261 (allout-mode): Use new allout-write-contents-hook-handler, and
12262 only with write-contents-functions. Remove auto-save provisions -
12263 they're implemented elsewhere.
12265 (allout-before-change-handler): If undo is in progress, note that
12266 for attention of allout-post-command-business.
12268 (allout-post-command-business): If the command we're following was
12269 an undo, check for change in the status of encrypted items and
12270 adjust auto-save inhibitions accordingly.
12272 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12273 according to whether there are or aren't any plain-text topics
12274 pending encryption.
12276 (allout-inhibit-auto-save-info-for-decryption):
12277 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12278 if there are plain-text topics pending encryption.
12280 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12281 buffer-saved-size and some allout state to not inhibit auto-saves
12282 if there are no longer any plain-text topics pending encryption.
12284 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12285 No longer provide for exemption of the current topic.
12287 2011-07-04 Juri Linkov <juri@jurta.org>
12289 Add 7z operations to delete and save changed members (bug#8968).
12290 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12292 (archive-7z-write-file-member): New function.
12293 (archive-7z-summarize): Fix the number of dashes in the
12296 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12298 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12301 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
12303 * bindings.el: Ignore next-buffer and previous-buffer in
12304 minibuffer-local-map.
12306 * font-lock.el (font-lock-builtin-face): Change light background
12307 color to dark slate blue (Bug#6693).
12309 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12311 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12313 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12315 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12316 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12317 Add switch-to-buffer.
12319 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12321 * isearch.el (isearch-search-fun-function): Clarify further the
12322 meaning of the function returned.
12324 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
12326 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12328 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12329 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12331 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12332 `tramp-default-remote-path' does not exist.
12333 (tramp-send-command-and-read): New optional argument NOERROR.
12334 (tramp-open-connection-setup-interactive-shell)
12335 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12336 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12337 (tramp-process-sentinel): Flush also process' connection property.
12338 (tramp-sh-handle-start-file-process): Do not set process
12339 sentinel. It is done now ...
12340 (tramp-maybe-open-connection): ... here. (Bug#8929)
12342 2011-07-04 MON KEY <monkey@sandpframing.com>
12344 * play/animate.el (animate-string): Doc fixes and allow changing
12345 the buffer name (bug#5417).
12347 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12349 * play/animate.el (animation-buffer-name): Rename from *animate*.
12351 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12353 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12354 This is simpler and helps future-proof the code.
12355 (timer-until): Use time-subtract and float-time.
12356 (timer--time-less-p): Use time-less-p.
12358 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12360 * type-break.el (timep): Use the value of `float-time' to avoid a
12361 byte-compiler warning.
12363 * server.el (server-eval-and-print): Return any result, even nil.
12365 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12367 * type-break.el: Accept time formats that the builtins accept.
12368 (timep, type-break-time-difference): Accept any format that
12369 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12370 This is simpler and helps future-proof the code.
12371 (type-break-time-difference): Round rather than ignoring
12372 subseconds components.
12374 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12376 * info.el (Info-apropos-matches): Make non-interactive, since it
12377 doesn't seem to do anything useful as a command (bug#8829).
12379 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
12381 * frame.el (frame-background-mode, frame-set-background-mode):
12382 Move from faces.el.
12383 (frame-default-terminal-background): New function.
12385 * custom.el (custom-push-theme): Don't record faces in `changed'
12386 theme; this doesn't work correctly for per-frame face settings.
12387 (disable-theme): Use face-set-after-frame-default to reset faces.
12388 (custom--frame-color-default): New function.
12390 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12392 * dired.el (dired-flagging-regexp): Remove unused variable
12395 2011-03-29 Kevin Ryde <user42@zip.com.au>
12397 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12398 `perl-Test2' extend to match possible "fail #N" rep count
12401 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12403 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12404 `smtpmail-via-smtp' now returns the error instead of nil.
12406 * isearch.el (isearch-search-fun-function): Clarify the doc string
12409 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
12411 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12412 unnecessary spaces (bug#8987).
12414 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12416 * net/network-stream.el (open-network-stream): Use the
12417 :end-of-capability command thoughout.
12419 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12421 * net/network-stream.el (open-network-stream): Add the
12422 :end-of-capability command parameter, used by pop3.el.
12424 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12426 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12428 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12429 for list)" (bug#6475).
12431 * files.el (file-expand-wildcards): Ignore non-readable
12432 sub-directories while trying to find matches instead of signaling
12433 an error (bug#6297).
12435 * man.el (Man-reference-regexp): Allow matching possible
12436 word-wrapped references (bug#6289).
12438 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12439 for consistency with the other vc buffers (bug#6197).
12440 (vc-checkin): Ditto.
12442 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12444 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12446 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12448 * custom.el (defcustom): Clarify that :set is only used in the
12449 Customize user interface (bug#6089).
12451 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12452 associated with a file, refuse to run instead of erroring out
12455 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12456 the doc string, since it appears that using `fill-column' always
12457 controls the width (bug#7845).
12459 * simple.el (shell-command-on-region): Say where the error output
12460 went if `shell-command-default-error-buffer' is set (bug#6857).
12462 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12464 * allout.el (allout-yank-processing): Adjust cursor position for
12465 backwards-deleted space.
12467 (allout-rebullet-heading): Register changes with
12468 allout-exposure-changed-hook, so the modified topic is properly
12471 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12473 * minibuffer.el (completion-in-region): Document PREDICATE
12476 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12477 of keyword/argument pairs (bug#6904).
12479 * replace.el (multi-occur):
12480 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
12482 2011-07-02 Drew Adams <drew.adams@oracle.com>
12484 * dired.el (dired-mark-if): Make the message about whether it's
12485 marking or unmarking clearer (bug#8523).
12487 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12489 * disp-table.el (display-table-print-array): New function.
12490 (describe-display-table): Use it to print the vectors more pretty
12493 2011-07-02 Martin Rudalics <rudalics@gmx.at>
12495 * window.el (window-state-get-1): Don't assign clone numbers.
12496 Add clone-of item to list of window parameters.
12497 (window-state-put-2): Don't process clone numbers.
12498 (display-buffer-alist): Fix doc-string.
12500 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12502 * subr.el (remq): Don't allocate if it's not needed.
12503 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12504 (keymap--merge-bindings): New functions.
12505 (keymap-canonicalize): Use them to refine the canonicalization.
12506 * minibuffer.el (minibuffer-local-completion-map)
12507 (minibuffer-local-must-match-map): Move initialization from C.
12508 (minibuffer-local-filename-completion-map): Move initialization from C;
12509 don't inherit from anything here.
12510 (minibuffer-local-filename-must-match-map): Make obsolete.
12511 (completing-read-default): Use make-composed-keymap to combine
12512 minibuffer-local-filename-completion-map with either
12513 minibuffer-local-must-match-map or
12514 minibuffer-local-filename-completion-map.
12516 2011-07-01 Glenn Morris <rgm@gnu.org>
12518 * type-break.el (type-break-time-sum): Use dolist.
12520 * textmodes/flyspell.el (flyspell-word-search-backward):
12521 Replace CL function.
12523 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12525 * mouse.el (mouse--strip-first-event): New function.
12526 (function-key-map): Use it to map fringe clicks to normal clicks
12529 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12530 (vc-bzr-revision-completion-table): Add support for annotate and date.
12532 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12533 inherit from parent.
12535 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12537 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
12538 (dired-show-file-type): Doc fixup (bug#8818).
12540 * dired.el (dired-mode): Fix up the doc string as suggested by
12541 Drew Adams (bug#8817).
12543 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12544 cookie, since the manual says that it should be possible to add
12545 this function to `find-file-hook' (bug#8709).
12547 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12549 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12550 here. Noted Ted Zlatanov as the maintainer.
12551 (cfengine-common-settings, cfengine-common-syntax): New functions
12552 to set up common things between `cfengine-mode' and
12554 (cfengine3-mode): New mode.
12555 (cfengine3-defuns cfengine3-defuns-regex
12556 (cfengine3-class-selector-regex cfengine3-category-regex)
12557 (cfengine3-vartypes cfengine3-font-lock-keywords)
12558 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
12559 (cfengine3-indent-line): Add from cfengine3.el.
12561 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
12563 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12565 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12567 2011-07-01 Martin Rudalics <rudalics@gmx.at>
12569 * window.el (same-window-buffer-names, same-window-regexps)
12570 (same-window-p, special-display-frame-alist)
12571 (special-display-popup-frame, special-display-function)
12572 (special-display-buffer-names, special-display-regexps)
12573 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12574 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12575 (split-window-preferred-function, split-height-threshold)
12576 (split-width-threshold, even-window-heights)
12577 (display-buffer-mark-dedicated, window-splittable-p)
12578 (split-window-sensibly, window-safely-shrinkable-p):
12580 (display-buffer): Don't spread args with function specifier
12581 because special-display-popup-frame won't like it.
12583 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12585 Time-stamp simplifications and fixes.
12586 These improve accuracy slightly, and future-proof the code
12587 against some potential changes to current-time format.
12589 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12590 by using time-since and float-time.
12592 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12593 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12594 + NNN microseconds".
12596 * type-break.el (type-break-time-sum): Rewrite using time-add.
12598 * play/hanoi.el (hanoi-current-time-float): Remove.
12599 All uses replaced by float-time.
12601 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12602 This yields a more-accurate answer.
12603 (rng-time-to-float): Remove; no longer needed.
12605 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12607 * calendar/timeclock.el (timeclock-seconds-to-time):
12608 Defalias to seconds-to-time, since they're the same thing.
12610 * emacs-lisp/elp.el (elp-elapsed-time):
12611 * emacs-lisp/benchmark.el (benchmark-elapse):
12612 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12614 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12616 * window.el (bury-buffer): Don't iconify the only frame.
12617 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12618 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12620 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
12622 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12623 Add mouse-yank-primary.
12625 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12627 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12629 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12631 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12632 (find-library-name): Use it to find relative load names when provided
12633 absolute file name (bug#8803).
12635 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12637 * textmodes/flyspell.el (flyspell-word): Consider words that
12638 differ only in case as potential doublons (bug#5687).
12640 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12641 Remove two rather uninteresting debugging-like messages to make
12642 debbugs.el more silent.
12644 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12645 a password-like phrase.
12647 2011-06-30 Masatake YAMATO <yamato@redhat.com>
12649 * progmodes/cc-guess.el: New file.
12651 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
12653 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12654 derived from `c-basic-common-init'.
12656 * progmodes/cc-mode.el (top-level): Require cc-guess.
12657 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12659 2011-06-30 Lawrence Mitchell <wence@gmx.li>
12661 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12663 2011-06-30 Alan Mackenzie <acm@muc.de>
12665 * progmodes/cc-engine.el (c-guess-continued-construct):
12666 Correct the handling of template-args-cont, particularly for when font
12667 lock is disabled. Name this case as "CASE G".
12669 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12671 * allout.el (allout-yank-processing): Fix injection of extra space
12672 between bullet and non-whitespace character in first topic when
12673 pasting, ensuring that the actual spacing in the pasted topic
12674 following the bullet char is preserved. This extra space was
12675 causing pasted encrypted topics to get a decrypted status even
12676 when the content was actually still encrypted. Now the decryption
12677 status from before the paste is preserved.
12679 (allout-flag-region): Set all allout overlays so they evaporate
12680 when reduced to zero length (evanescent), to prevent overlay
12683 2011-06-30 Glenn Morris <rgm@gnu.org>
12685 * w32-fns.el (w32-charset-info-alist): Declare.
12687 * find-dired.el (find-grep-options): Simplify.
12689 * term/ns-win.el (ns-set-resource): Declare.
12691 * ses.el (row, col): Declare dynamic variables honestly.
12693 * textmodes/reftex-parse.el (index-tags): Declare.
12695 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
12697 * cus-edit.el (customize-push-and-save): New function.
12699 * files.el (hack-local-variables-confirm): Use it.
12701 * custom.el (load-theme): New arg NO-CONFIRM.
12702 Use customize-push-and-save (Bug#8720).
12703 (custom-enabled-themes): Doc fix.
12705 * cus-theme.el (customize-create-theme)
12706 (custom-theme-merge-theme): Callers to load-theme changed.
12708 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12710 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12711 short URLs have at least one dot in them (bug #7614).
12713 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12714 nil, because using a pty is apparently too slow (bug #895).
12716 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12718 * mail/sendmail.el (sendmail-query-once): New function.
12719 (sendmail-query-once-function): New variable.
12721 2011-06-29 Glenn Morris <rgm@gnu.org>
12723 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12725 * ses.el (top-level): Require cl when compiling.
12726 (ses-set-localvars): Fix error statement.
12727 Call it at compile time to silence a storm of warnings.
12729 2011-06-29 Martin Rudalics <rudalics@gmx.at>
12731 * window.el (normalize-live-buffer): Rename to
12732 window-normalize-buffer.
12733 (normalize-live-frame): Rename to window-normalize-frame.
12734 (normalize-any-window): Rename to window-normalize-any-window.
12735 (normalize-live-window): Rename to window-normalize-live-window.
12736 (make-window-atom): Rename to window-make-atom.
12737 (window-resize-reset): Rename to window--resize-reset.
12738 (window-resize-reset-1): Rename to window--resize-reset-1.
12739 (resize-mini-window): Rename to window--resize-mini-window.
12740 (resize-subwindows-skip-p): Rename to
12741 window--resize-subwindows-skip-p.
12742 (resize-subwindows-normal): Rename to
12743 window--resize-subwindows-normal.
12744 (resize-subwindows): Rename to window--resize-subwindows.
12745 (resize-other-windows): Rename to window--resize-siblings.
12746 (resize-this-window): Rename to window--resize-this-window.
12747 (resize-root-window): Rename to window--resize-root-window.
12748 (resize-root-window-vertically): Rename to
12749 window--resize-root-window-vertically.
12750 (normalize-buffer-to-display): Rename to
12751 window-normalize-buffer-to-display.
12752 (normalize-buffer-to-switch-to): Rename to
12753 window-normalize-buffer-to-switch-to.
12754 Correspondingly update all callers of the functions listed
12756 (display-buffer-alist, display-buffer-normalize-arguments)
12757 (display-buffer-normalize-options, display-buffer)
12758 (display-buffer-alist-set): Use "function" instead of
12761 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
12763 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12764 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12765 debbugs.gnu.org. Mention acknowledgment email.
12767 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12769 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12770 buffer multibyteness, since it shouldn't matter.
12772 2011-06-28 Martin Rudalics <rudalics@gmx.at>
12774 * window.el (display-buffer-in-side-window): Handle dedicated
12775 windows as in display-buffer-reuse-window.
12776 (display-buffer-normalize-alist): Use value of override
12778 (display-buffer-normalize-specifiers): Use value of
12779 other-window-means-other-frame specifier.
12780 (display-buffer-alist): Rewrite some texts in widgets.
12781 (display-buffer): Spread arguments when calling function
12782 specified by fun-with-args.
12784 2011-06-28 Deniz Dogan <deniz@dogan.se>
12786 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12789 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12790 selectors (Bug#5732).
12791 (css-proprietary-nmstart-re): Use `regexp-opt'.
12793 2011-06-27 Jari Aalto <jari.aalto@cante.net>
12795 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12796 (eshell-ls-date-format): New defcustom.
12797 (eshell-ls-file): Use it.
12799 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12801 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12803 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12805 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12806 (ange-ftp-make-tmp-name): New arg.
12807 (ange-ftp-file-local-copy): Use it.
12809 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
12811 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12812 no-conversion (Bug#8870).
12814 2011-06-27 Martin Rudalics <rudalics@gmx.at>
12816 * window.el (window-right, window-left, window-child)
12817 (window-child-count, window-last-child)
12818 (window-iso-combination-p, walk-window-tree-1)
12819 (window-atom-check-1, window-tree-1, delete-window)
12820 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12821 new naming conventions - window-vchild, window-hchild,
12822 window-next and window-prev are now called window-top-child,
12823 window-left-child, window-next-sibling and window-prev-sibling
12825 (resize-window-reset): Rename to window-resize-reset.
12826 (resize-window-reset-1): Rename to window-resize-reset-1.
12827 (resize-window): Rename to window-resize.
12828 (window-min-height, window-min-width)
12829 (resize-mini-window, resize-this-window, resize-root-window)
12830 (resize-root-window-vertically, adjust-window-trailing-edge)
12831 (enlarge-window, shrink-window, maximize-window)
12832 (minimize-window, delete-window, quit-restore-window)
12833 (split-window, balance-windows, balance-windows-area-adjust)
12834 (balance-windows-area, window-state-put-2)
12835 (display-buffer-even-window-sizes, display-buffer-set-height)
12836 (display-buffer-set-width, set-window-text-height)
12837 (fit-window-to-buffer): Rename all "resize-window" prefixed
12838 calls to use the "window-resize" prefix convention.
12839 (display-buffer-alist): Fix symbol for label specifier.
12840 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12841 corresponding specifier.
12842 Reported by Juanma Barranquero <lekktu@gmail.com>.
12844 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12846 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12848 (ses-call-printer): Does not pass an empty string to formatter when the
12849 cell is empty to keep from barking printer Calc math-format-value.
12851 2011-06-27 Richard Stallman <rms@gnu.org>
12853 * battery.el (battery-mode-line-limit): New variable.
12854 (battery-update): Handle it.
12856 * mail/rmailmm.el (rmail-mime-process-multipart):
12857 Handle truncated messages.
12859 2011-06-27 Glenn Morris <rgm@gnu.org>
12861 * progmodes/flymake.el (flymake-err-line-patterns):
12862 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12864 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12866 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
12867 (ses--clean-!, ses--clean-_): New functions.
12868 (ses-range): Add configurability of readout order, and conversion
12871 * ses.el (ses-repair-cell-reference-all): New function.
12872 (ses-cell-symbol): Set macro as safe, so that it can be used in
12875 * ses.el: Update cycle detection algorithm.
12876 (ses-localvars): Add ses--Dijkstra-attempt-nb and
12877 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
12878 (ses-set-localvars): New function.
12879 (ses-make-cell): Add property-list as a cell element.
12880 (ses-cell-property-get-fun, ses-cell-property-get)
12881 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
12882 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12884 (ses-cell-property-set, ses-cell-property-pop)
12885 (ses-cell-property-get-handle): New macro.
12886 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12887 New aliases, used for code readability.
12888 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12890 (ses-self-reference-early-detection): New defcustom.
12891 (ses-formula-references): Robustify against self-referring cells.
12892 (ses-mode): Use ses-set-localvars.
12893 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12894 before lauching the update processing.
12895 (ses-initialize-Dijkstra-attempt): New function.
12896 (ses-recalculate-cell): Update for cycle detection based on
12897 Dijkstra algorithm.
12899 * ses.el: Fix commenting and indenting convention.
12901 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12903 * bs.el (bs-cycle-next): Complete last change.
12905 2011-06-27 Drew Adams <drew.adams@oracle.com>
12907 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12909 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12911 * net/network-stream.el (network-stream-open-starttls):
12912 Don't re-get capabilities unless we've reestablished connection.
12913 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12915 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12916 to binary to possibly avoid line encoding issues on Windows (among
12919 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12921 * net/network-stream.el (open-network-stream): Return an :error
12922 saying what the problem was, if possible.
12924 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12927 * net/network-stream.el (network-stream-open-starttls): If we
12928 wanted to use STARTTLS, and the server offered it, but we weren't
12929 able to because we had no STARTTLS support, then close the connection.
12930 (open-network-stream): Return an :error element, if present.
12932 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
12934 * hl-line.el (hl-line-sticky-flag): Doc fix.
12935 (global-hl-line-sticky-flag): New option (Bug#8323).
12936 (global-hl-line-highlight): Obey it.
12938 * vc/vc.el (vc-revert-show-diff): Default to t.
12940 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12942 * allout-widgets.el (allout-widgets-post-command-business):
12943 Stop decorating intermediate isearch matches. They're not being
12944 undecorated when an isearch is continued past, and isearch
12945 automatically collapses them. This leads to "widget leaks", where
12946 decorated items accumulate in collapsed areas. Lines with lots of
12947 hidden widgets can slow down cursor travel, substantially.
12948 Too much complicated machinery would be needed to ensure undecoration,
12949 so we're doing without this nicety.
12951 (allout-widgets-tally-string): Don't try to do a hash-table-count
12952 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12953 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12954 *Messages* when allout-widgets-maintain-tally is t.
12956 2011-06-26 Martin Rudalics <rudalics@gmx.at>
12958 * window.el (display-buffer-normalize-argument): Rename to
12959 display-buffer-normalize-arguments. Handle special meaning of
12960 LABEL argument. Respect special-display-function when popping up
12961 a new frame. Fix code searching for a window showing the buffer
12963 (display-buffer-normalize-specifiers):
12964 Call display-buffer-normalize-arguments.
12965 (display-buffer-in-window): Don't undedicate the window if its
12966 buffer remains the same.
12967 Reported by Drew Adams <drew.adams@oracle.com>.
12968 (display-buffer-alist): Add choice for same-window macro
12970 (display-buffer): Mention special meaning of LABEL argument in
12971 doc-string. Fix quoting. Don't pop up a new frame even as
12974 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
12976 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12977 avoid deleting the current window in some cases (bug#8911).
12979 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12981 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12984 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12986 * net/network-stream.el (network-stream-open-starttls):
12987 Use built-in TLS support if `gnutls-available-p' is true.
12988 (network-stream-open-tls): Ditto.
12990 2011-06-26 Leo Liu <sdl.web@gmail.com>
12992 * register.el (registerv): New struct.
12993 (registerv-make): New function.
12994 (jump-to-register, describe-register-1, insert-register):
12995 Support the jump-func, print-func and insert-func slot of a registerv
12998 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
13000 * vc/vc.el (vc-revert-show-diff): New defcustom.
13001 (vc-diff-internal): New arg specifying diff buffer.
13002 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13003 reuse an existing *vc-diff* buffer (Bug#8927).
13005 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13007 2011-06-26 Glenn Morris <rgm@gnu.org>
13009 * progmodes/f90.el (f90-critical-indent): New option.
13010 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13011 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13012 (f90-mode): Doc fix.
13013 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13014 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13015 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13016 (f90-match-end): Handle block, critical.
13018 2011-06-25 Glenn Morris <rgm@gnu.org>
13020 * calendar/diary-lib.el (diary-included-files): Doc fix.
13021 (diary-include-files): New function, extracted from
13022 diary-include-other-diary-files and diary-mark-included-diary-files.
13023 (diary-include-other-diary-files, diary-mark-included-diary-files):
13024 Just call diary-include-files.
13025 (diary-mark-entries): Reset diary-included-files on first call.
13027 * calendar/diary-lib.el (diary-mark-entries)
13028 (diary-mark-included-diary-files):
13029 Visit included diary-files in temp buffers.
13031 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13032 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13033 (f90-start-block-re, f90-imenu-generic-expression)
13034 (f90-looking-at-program-block-start, f90-no-block-limit):
13035 Add support for submodules.
13037 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13038 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
13040 2011-06-25 Eli Zaretskii <eliz@gnu.org>
13042 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13043 buffer-file-type before setting its value, to avoid disastrous
13044 global effects on decoding files for DOS/Windows systems. (Bug#8780)
13046 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
13048 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13050 * ses.el (ses-unload-function):
13051 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13053 * proced.el (proced-unload-function):
13054 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13056 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13058 * server.el (server-create-window-system-frame): Add parameters arg.
13059 (server-process-filter): Doc fix. Handle frame-parameters.
13061 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
13063 Fix bug#8730, bug#8781.
13065 * loadhist.el (unload--set-major-mode): New function.
13066 (unload-feature): Use it.
13068 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13069 (python-unload-function): New function.
13071 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13073 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13075 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13077 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13078 the candidates list.
13080 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
13082 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13084 2011-06-23 Richard Stallman <rms@gnu.org>
13086 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13087 (rmail-variables): Set next-error-move-function.
13088 (rmail-what-message): Take argument POS.
13089 (rmail-next-error-move): New function.
13091 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13093 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13094 messages for adjacent non-terminals.
13096 2011-06-23 Richard Stallman <rms@gnu.org>
13098 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
13099 (rmail-show-message-1): Preserve buffer modified flag.
13100 (rmail-start-mail): Don't specify use of rmail-mail-return;
13101 that's done by mail-bury now.
13102 (rmail-mail-return): Handle arg NEWBUF.
13104 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
13106 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13109 2011-06-23 Martin Rudalics <rudalics@gmx.at>
13111 * window.el (get-lru-window, get-mru-window)
13112 (get-largest-window): Never return a minibuffer window.
13113 (display-buffer-pop-up-window): Fix a bug that could lead to
13114 reusing the minibuffer window.
13115 (display-buffer): Pass original specifier argument to
13116 display-buffer-function instead of the normalized one.
13117 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13119 2011-06-22 Leo Liu <sdl.web@gmail.com>
13121 * minibuffer.el (completing-read-function)
13122 (completing-read-default): Move from minibuf.c
13124 2011-06-22 Richard Stallman <rms@gnu.org>
13126 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13127 to Rmail even if not started by a special Rmail command.
13129 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13130 Copy the buffer currently showing just one message.
13132 2011-06-22 Roland Winkler <winkler@gnu.org>
13134 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13135 (bibtex-clean-entry): First delete the old key so that a
13136 customized algorithm for generating the new key does not get
13137 confused by the old key.
13138 (bibtex-url): Obey regexp of first step.
13139 (bibtex-search-entries): Do not use add-to-list with local
13142 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13144 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13145 stored a user name, then query for the password first, instead of
13146 waiting for SMTP to give an error message and the trying again.
13148 2011-06-22 Lawrence Mitchell <wence@gmx.li>
13150 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13151 BUFFER in call-process.
13153 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13155 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13157 (smtpmail-try-auth-methods): Require user name and password from
13160 2011-06-22 Martin Rudalics <rudalics@gmx.at>
13162 * window.el (display-buffer-default-specifiers)
13163 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13164 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
13165 (split-window): Normalize SIDE argument (Bug#8916).
13167 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13168 (special-display-frame-alist, special-display-popup-frame):
13169 Remove duplicate declarations. These are now in window.el.
13171 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13173 * mail/smtpmail.el (smtpmail-via-smtp):
13174 Set :use-starttls-if-possible so that we always use STARTTLS if the
13175 server supports it. SMTP servers that support STARTTLS commonly
13178 * net/network-stream.el (network-stream-open-starttls): Support
13179 upgrading to STARTTLS always, even if we don't have built-in support.
13180 (open-network-stream): Add the :always-query-capabilities keyword.
13182 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13183 upgrades with `open-network-stream', and rely solely on
13184 auth-source for all credentials. Big changes throughout the file,
13186 (smtpmail-auth-credentials): Remove.
13187 (smtpmail-starttls-credentials): Remove.
13188 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13191 * net/network-stream.el (network-stream-open-starttls):
13192 Provide support for client certificates both for external and built-in
13194 (auth-source): Require.
13195 (open-network-stream): Document the :client-certificate keyword.
13196 (network-stream-certificate): Change cert-cert to cert and
13199 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
13201 * net/tramp-cache.el (top): Don't load the persistency file when
13202 "emacs -Q" has been called.
13204 2011-06-21 Tim Harper <timcharper@gmail.com>
13206 * term/ns-win.el (ns-initialize-window-system):
13207 Set application-specific `ApplePressAndHoldEnabled' system
13208 resource to NO as it is not yet supported by the NS port.
13210 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
13212 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13213 (list-dynamic-libraries): ...not here.
13215 2011-06-21 Leo Liu <sdl.web@gmail.com>
13217 * subr.el (sha1): Implement sha1 using secure-hash.
13219 2011-06-21 Martin Rudalics <rudalics@gmx.at>
13221 * window.el (display-buffer-alist): In default value do not
13222 enforce searching a window on any but the selected frame.
13223 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13224 (display-buffer-select-window): Remove function.
13225 (display-buffer-in-window): When a window on another frame gets
13226 reused, do not select it any more but just raise its frame if
13227 necessary (Bug#8851) and (Bug#8856).
13228 (display-buffer-normalize-options): Handle pop-up-frames related
13229 options more faithfully.
13230 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13231 window if it is on another frame.
13232 (display-buffer-alist, display-buffer-default-specifiers):
13233 Don't make new frame unsplittable by default.
13234 (display-buffer-normalize-argument): Fix doc-string typo and use
13235 'same-frame-other-window instead of 'other-window when associating
13236 with display-buffer-macro-specifiers.
13238 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13240 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13242 (5x5-mode-map, 5x5-mode-menu): Bind them.
13243 (5x5-draw-grid): Tweak the solver's rendering.
13245 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13247 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13248 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13250 2011-06-21 Drew Adams <drew.adams@oracle.com>
13252 * menu-bar.el: Use function variable instead of switch-to-buffer.
13253 (menu-bar-select-buffer-function): New variable.
13254 (menu-bar-update-buffers): Use it (bug#8876).
13256 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13258 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13261 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13263 * x-dnd.el (x-dnd-version-from-flags)
13264 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13265 and long as number (Bug#8899).
13266 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13268 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13270 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
13271 (completion-try-completion, completion-all-completions): Compute the
13272 metadata argument if it's missing; make it optional (bug#8795).
13274 * wid-edit.el: Use lex-bind and move towards completion-at-point.
13275 (widget-complete): Use new :completion-function property.
13276 (widget-completions-at-point): New function.
13277 (default): Use :completion-function instead of :complete.
13278 (widget-default-completions): Rename from widget-default-complete;
13280 (widget-string-complete, widget-file-complete, widget-color-complete):
13282 (file, symbol, function, variable, coding-system, color):
13283 * international/mule-cmds.el (default-input-method, charset)
13284 (language-info-custom-alist):
13285 * cus-edit.el (face): Use new property :completions.
13287 * progmodes/pascal.el (pascal-completions-at-point): New function.
13288 (pascal-mode): Use it.
13289 (pascal-mode-map): Use completion-at-point.
13290 (pascal-toggle-completions): Make obsolete.
13291 (pascal-complete-word, pascal-show-completions):
13292 * progmodes/octave-mod.el (octave-complete-symbol):
13293 Redefine as obsolete alias.
13294 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13295 Signal absence of completion info for old Octave,
13296 (inferior-octave-complete): Redefine as obsolete alias.
13297 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13298 (meta-completions-at-point): Rename from meta-complete-symbol and
13299 adapt it for use on completion-at-point-functions.
13300 (meta-common-mode): Use it.
13301 (meta-looking-at-backward, meta-match-buffer): Remove.
13302 (meta-complete-symbol): Redefine as obsolete alias.
13303 (meta-common-mode-map): Use completion-at-point.
13304 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13305 (makefile-mode-map): Use completion-at-point.
13306 (makefile-completions-at-point): Rename from makefile-complete and
13307 adapt it for use on completion-at-point-functions.
13308 (makefile-mode): Use it.
13309 (makefile-complete): Redefine as obsolete alias.
13311 2011-06-20 Deniz Dogan <deniz@dogan.se>
13313 * net/rcirc.el: Delete trailing whitespaces once and for all.
13315 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13317 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13319 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
13321 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13323 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13325 2011-06-19 Martin Rudalics <rudalics@gmx.at>
13327 * window.el (display-buffer-other-window-means-other-frame):
13328 Call display-buffer-normalize-alist.
13329 (display-buffer-normalize-specifiers-1): Rename to
13330 display-buffer-normalize-argument. New argument other-frame.
13332 (display-buffer-normalize-specifiers-2): Rename to
13333 display-buffer-normalize-options.
13334 (display-buffer-normalize-alist-1): New function.
13335 (display-buffer-normalize-specifiers-3): Rename to
13336 display-buffer-normalize-alist.
13337 Call display-buffer-normalize-alist-1.
13338 (display-buffer-normalize-options-inhibit): New variable.
13339 (display-buffer-normalize-specifiers): Rewrite calling
13340 display-buffer-normalize-alist,
13341 display-buffer-normalize-argument, and
13342 display-buffer-normalize-options. Don't call the latter if
13343 display-buffer-normalize-options-inhibit is non-nil.
13344 (frame-auto-delete): New option.
13345 (window-deletable-p): Use frame-auto-delete.
13346 (window-list-no-nils, window-state-ignored-parameters)
13347 (window-state-get-1, window-state-get, window-state-put-list)
13348 (window-state-put-1, window-state-put-2, window-state-put):
13350 (display-buffer-normalize-options): Move special-display-p group
13351 after pop-up-frame group (Bug#8851) and (Bug#8856).
13353 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
13355 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13357 (rx-submatch-n): New function.
13360 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13363 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13365 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13367 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13368 anytime existing face settings are present (Bug#8889).
13370 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13371 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13372 Remove unused argument.
13374 2011-06-18 Martin Rudalics <rudalics@gmx.at>
13376 * window.el (display-buffer-default-specifiers):
13377 Remove pop-up-frame. Add pop-up-window-min-height,
13378 pop-up-window-min-width, and another reuse-window specifier
13379 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
13380 (display-buffer-normalize-specifiers-2):
13381 Handle split-height-threshold and split-width-threshold also when
13382 pop-up-windows is unset. Add a reuse-window specifier for the
13383 case popping up a new window fails.
13384 (special-display-popup-frame): Remove double quoting.
13385 (display-buffer-normalize-specifiers-1): Fix thinko.
13387 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13389 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13390 according to comint-completion-addsuffix.
13392 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13393 (pcomplete-suffix-list): Mark as obsolete.
13394 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13395 pcomplete-seen in the closure.
13396 (pcomplete-comint-setup): Setup completion-at-point as well.
13397 (pcomplete--entries): New function.
13398 (pcomplete--env-regexp): New var.
13399 (pcomplete-entries): Rewrite to work with partial-completion and
13400 without relying on pcomplete-suffix-list.
13401 (pcomplete-pare-list): Remove, unused.
13403 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13405 * window.el (display-buffer-alist): Set pop-up-window-min-height
13406 and pop-up-window-min-width in default value. Reported by
13407 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13408 other-window-means-other-frame.
13409 (display-buffer-macro-specifiers): Comment out entry for
13410 other-window specifier.
13411 (display-buffer-other-window-means-other-frame): New function.
13412 (display-buffer-normalize-specifiers-1): New arguments
13413 buffer-name and label. Treat other-window case specially.
13414 (display-buffer-normalize-specifiers-2): Treat other-window case
13416 (display-buffer-normalize-specifiers-3): New function.
13417 (display-buffer-normalize-specifiers):
13418 Call display-buffer-normalize-specifiers-3.
13420 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13422 * window.el (same-window-p): Fix two typos introduced when
13423 adding with-no-warnings.
13424 (display-buffer-normalize-specifiers-1): Don't check
13425 pop-up-frames for 'unset initialization.
13426 (display-buffer-normalize-specifiers-2): Major rewrite using
13427 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13428 (pop-up-frames, display-buffer-reuse-frames)
13429 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13430 Suggested by David Engster <deng@randomsample.de>.
13431 (even-window-heights): Initialize to 'unset.
13432 (display-buffer-alist-set): Handle new 'unset initializations.
13433 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13436 2011-06-16 Martin Rudalics <rudalics@gmx.at>
13438 * window.el (display-buffer-normalize-specifiers-1):
13439 Respect current value of pop-up-frames for most reasonable values of
13440 second argument of display-buffer (Bug#8865).
13441 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13442 (switch-to-buffer-other-window-same-frame)
13443 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13445 (display-buffer): Don't check noninteractive when calling
13446 display-buffer-pop-up-frame.
13447 (display-buffer-pop-up-frame): Never pop up a frame in
13448 noninteractive mode (Bug#8857).
13449 (enlarge-window, shrink-window): Don't report an error when the
13450 window can't be resized as requested (Bug#8862).
13452 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13454 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13456 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13458 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13460 2011-06-15 Alan Mackenzie <acm@muc.de>
13462 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13463 for declarators, disable knr checking to speed up for normal files.
13464 2: Refactor, replacing a sequence of nested if forms by a cond form.
13466 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13468 * net/network-stream.el (open-network-stream): Add the keyword
13469 :always-query-capabilities for the case where you want to force a
13470 `plain' network connection, but the protocol still requires the
13471 capabilitiy command (i.e., SMTP and EHLO).
13473 * subr.el (process-live-p): Rename from `process-alive-p' for
13474 consistency with other `-live-p' functions.
13476 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13478 * window.el (same-window-buffer-names, same-window-regexps)
13479 (special-display-frame-alist, special-display-popup-frame)
13480 (special-display-function, special-display-buffer-names)
13481 (special-display-regexps, pop-up-frame-alist)
13482 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13483 (pop-up-windows, split-window-preferred-function)
13484 (split-height-threshold, split-width-threshold, even-window-heights)
13485 (display-buffer-mark-dedicated): Don't encourage the use of
13486 display-buffer-alist from Elisp code.
13488 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13490 * progmodes/python.el (python-mode): Derive from prog-mode.
13491 * progmodes/ps-mode.el (ps-mode):
13492 * progmodes/mixal-mode.el (mixal-mode):
13493 * progmodes/cfengine.el (cfengine-mode):
13494 * progmodes/ld-script.el (ld-script-mode): Likewise.
13496 2011-06-15 Martin Rudalics <rudalics@gmx.at>
13498 * window.el (display-buffer-alist): Trim default value to avoid
13499 popping up a new frame (Bug#8857) or reusing an arbitrary window
13501 (display-buffer): Do not fall back on popping up a new frame in
13502 batch mode (Bug#8857).
13504 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
13506 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13507 (custom-theme-summary): New function.
13508 (customize-themes): Use it.
13510 2011-06-13 Glenn Morris <rgm@gnu.org>
13512 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13514 2011-06-13 Martin Rudalics <rudalics@gmx.at>
13516 * help.el (help-window): Remove variable.
13517 (help-window-point-marker, temp-buffer-max-height)
13518 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13519 (help-print-return-message): Don't set help-window.
13520 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13521 (help-window-setup-finish): Remove.
13522 (help-window-display-message, help-window-setup)
13523 (with-help-window): Major rewrite based on new
13524 display-buffer-window variable.
13526 * help-mode.el (help-mode-finish): Remove help-window related
13529 * view.el (view-exits-all-viewing-windows): Remove reference to
13530 view-return-to-alist in doc-string.
13531 (view-return-to-alist): Make obsolete.
13532 (view-buffer): Call pop-to-buffer-same-window and remove
13534 (view-buffer-other-window): Call pop-to-buffer-other-window and
13535 simplify code. Ignore second argument.
13536 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13537 simplify code. Ignore second argument.
13538 (view-return-to-alist-update): Make obsolete.
13539 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13540 Rewrite using quit-restore window parameters.
13541 (view-mode-exit): Rename second argument to EXIT-ONLY.
13542 Rewrite using quit-restore-window.
13543 (View-exit, View-exit-and-edit, View-leave, View-quit)
13544 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13545 appropriate arguments.
13546 (view-end-message): Use quit-restore window parameter.
13548 * window.el (display-buffer-function): Rewrite doc-string.
13549 (display-buffer-window, display-buffer-alist): New variables.
13550 (display-buffer-split-specifiers)
13551 (display-buffer-side-specifiers)
13552 (display-buffer-macro-specifiers): New constants.
13553 (display-buffer-even-window-sizes, display-buffer-set-height)
13554 (display-buffer-set-width, display-buffer-select-window)
13555 (display-buffer-in-window, display-buffer-reuse-window)
13556 (display-buffer-split-window-1, display-buffer-split-window)
13557 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13558 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13559 (display-buffer-in-side-window, normalize-buffer-to-display)
13560 (display-buffer-normalize-specifiers-1)
13561 (display-buffer-normalize-specifiers-2)
13562 (display-buffer-normalize-specifiers, display-buffer-frame):
13564 (display-buffer): Major rewrite.
13565 (display-buffer-other-window, display-buffer-other-frame)
13566 (pop-to-buffer, switch-to-buffer-other-window)
13567 (switch-to-buffer-other-frame): Rewrite.
13568 (display-buffer-same-window, display-buffer-same-frame)
13569 (display-buffer-same-frame-other-window)
13570 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13571 (pop-to-buffer-other-window)
13572 (pop-to-buffer-same-frame-other-window)
13573 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13574 (switch-to-buffer-other-window-same-frame): New functions.
13575 (same-window-p, special-display-p): Rewrite disabling warnings.
13577 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13578 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13580 (same-window-buffer-names, same-window-regexps)
13581 (special-display-frame-alist, special-display-popup-frame)
13582 (special-display-function, special-display-buffer-names)
13583 (special-display-regexps, pop-up-frame-alist)
13584 (pop-up-frame-function, split-window-preferred-function)
13585 (split-height-threshold, split-width-threshold)
13586 (even-window-heights): Make obsolete.
13588 2011-06-12 Glenn Morris <rgm@gnu.org>
13590 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
13591 Misc simplifications.
13593 2011-06-12 Martin Rudalics <rudalics@gmx.at>
13595 * window.el (window-safely-shrinkable-p): Restore function which
13596 was inadvertently removed in change from 2011-06-11. Declare as
13599 * calendar/calendar.el (calendar-generate-window):
13600 Use window-iso-combined-p instead of combination of one-window-p and
13601 window-safely-shrinkable-p.
13603 2011-06-12 Glenn Morris <rgm@gnu.org>
13605 * progmodes/fortran.el (fortran-mode-syntax-table):
13606 * progmodes/f90.el (f90-mode-syntax-table):
13607 Set % to punctuation. (Bug#8820)
13608 (f90-find-tag-default): Remove, no longer needed.
13610 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13612 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13614 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
13616 * image.el (image-animated-p): Return animation delay in seconds.
13617 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13618 (image-animate-timeout): Remove DELAY argument. Don't assume
13619 every subimage has the same delay; get it from image-animated-p.
13620 (image-animate): Caller changed.
13622 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
13624 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13625 to ignored backtrace functions.
13627 2011-06-11 Glenn Morris <rgm@gnu.org>
13629 * calendar/appt.el (appt-disp-window-function): Doc fix.
13630 (appt-check): Handle overlapping appointments. (Bug#8337)
13632 2011-06-11 Martin Rudalics <rudalics@gmx.at>
13634 * window.el (window-tree-1, window-tree): New functions, moving
13635 the latter to window.el.
13636 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13637 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13638 (bw-refresh-edges): Remove.
13639 (balance-windows-1, balance-windows-2): New functions.
13640 (balance-windows): Rewrite in terms of window tree functions,
13641 balance-windows-1 and balance-windows-2.
13642 (bw-adjust-window): Remove.
13643 (balance-windows-area-adjust): New function with functionality of
13644 bw-adjust-window but using resize-window.
13645 (set-window-text-height): Rewrite doc-string.
13646 Use normalize-live-window and resize-window.
13647 (enlarge-window-horizontally, shrink-window-horizontally):
13648 Rename argument to DELTA.
13649 (window-buffer-height): New function.
13650 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13651 Rewrite using new window resize routines.
13652 (kill-buffer-and-window, mouse-autoselect-window-select):
13653 Use ignore-errors instead of condition-case.
13654 (quit-window): Call delete-frame instead of delete-windows-on
13655 for the only buffer on frame.
13657 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13659 * loadup.el (top-level): Load window before files for the sake
13660 of replace-buffer-in-windows.
13662 * files.el (read-buffer-to-switch)
13663 (switch-to-buffer-other-window)
13664 (switch-to-buffer-other-frame, display-buffer-other-frame):
13667 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13668 (previous-buffer): Move to window.el.
13670 * bindings.el (unbury-buffer): Move to window.el.
13672 * window.el (delete-other-windows-vertically): Move after
13673 definition of delete-other-windows.
13674 (other-window, delete-windows-on, replace-buffer-in-windows):
13675 Move here from window.c.
13676 (record-window-buffer, unrecord-window-buffer)
13677 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13678 (switch-to-next-buffer): New functions.
13679 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13680 from simple.el. Call switch-to-next-buffer.
13681 (previous-buffer): Move here from simple.el.
13682 Call switch-to-prev-buffer.
13683 (bury-buffer): Move here from buffer.c. Switch to previous
13684 buffer when window cannot be deleted.
13685 (unbury-buffer): Move here from bindings.el.
13686 (ctl-x-map): Move binding for other-window from window.c to
13688 (read-buffer-to-switch, switch-to-buffer-other-window)
13689 (switch-to-buffer-other-frame): Move here from files.el.
13690 (normalize-buffer-to-switch-to): New functions.
13691 (switch-to-buffer): Move here from buffer.c.
13692 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
13694 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13696 * window.el (window-min-height, window-min-width): Move here
13697 from window.c. Add defcustoms and rewrite doc-strings.
13698 (resize-mini-window, resize-window): New functions.
13699 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13700 Move here from window.c.
13701 (maximize-window, minimize-window): New functions.
13702 (delete-window, delete-other-windows, split-window): Move here
13704 (window-split-min-size): New function.
13705 (split-window-keep-point): Mention split-window-above-each-other
13706 instead of split-window-vertically.
13707 (split-window-above-each-other, split-window-vertically):
13708 Rename split-window-vertically to split-window-above-each-other
13709 and provide defalias for old definition.
13710 (split-window-side-by-side, split-window-horizontally):
13711 Rename split-window-horizontally to split-window-side-by-side
13712 and provide defalias for the old definition.
13713 (ctl-x-map): Move bindings for delete-window,
13714 delete-other-windows and enlarge-window here from window.c.
13715 Replace bindings for split-window-vertically and
13716 split-window-horizontally by bindings for
13717 split-window-above-each-other and split-window-side-by-side.
13719 * cus-start.el (all): Remove entries for window-min-height and
13720 window-min-width. Add entries for window-splits and
13723 2011-06-09 Glenn Morris <rgm@gnu.org>
13725 * calendar/appt.el (appt-mode-line): New function.
13726 (appt-check, appt-disp-window): Use it.
13728 * files.el (hack-one-local-variable-eval-safep):
13729 Allow minor-modes with explicit +/-1 arguments.
13731 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13733 * term/xterm.el (xterm): Add defgroup.
13734 (xterm-extra-capabilities): Add defcustom to supply known xterm
13735 capabilities, skip querying them, or query them (default).
13736 (terminal-init-xterm): Use it.
13737 (terminal-init-xterm-modify-other-keys): New function to set up
13738 modifyOtherKeys support to simplify `terminal-init-xterm'.
13740 2011-06-09 Martin Rudalics <rudalics@gmx.at>
13742 * window.el (resize-window-reset, resize-window-reset-1)
13743 (resize-subwindows-skip-p, resize-subwindows-normal)
13744 (resize-subwindows, resize-other-windows, resize-this-window)
13745 (resize-root-window, resize-root-window-vertically)
13746 (window-deletable-p, window-or-subwindow-p)
13747 (frame-root-window-p): New functions.
13749 2011-06-09 Glenn Morris <rgm@gnu.org>
13751 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13752 (ange-ftp-get-files): Use it.
13754 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13756 * mail/sendmail.el (mail-recover-1, mail-recover):
13757 * files.el (recover-file, recover-session):
13758 Handle dired-listing-switches not being just a single short option.
13760 2011-06-09 Glenn Morris <rgm@gnu.org>
13762 * calendar/appt.el (appt-display-message, appt-disp-window):
13763 Handle lists of appointments.
13765 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13767 * window.el (one-window-p): Move down in code.
13768 Rewrite doc-string.
13769 (window-current-scroll-bars): Rewrite doc-string.
13770 Normalize live window argument.
13771 (walk-windows, get-window-with-predicate, count-windows):
13772 Rewrite doc-string. Use window-list-1.
13773 (window-in-direction-2, window-in-direction, get-mru-window):
13776 2011-06-08 Reuben Thomas <rrt@sc3d.org>
13778 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13779 Doc fix (Bug#8713).
13781 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
13783 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13785 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
13787 * loadhist.el (unload-feature-special-hooks):
13788 Add `comint-output-filter-functions'.
13790 2011-06-08 Ivan Kanis <gnu@kanis.fr>
13792 * calendar/appt.el (appt-check): Move some initializations into the let.
13794 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13796 * window.el (window-height): Defalias to window-total-height.
13797 (window-width): Defalias to window-body-width.
13799 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
13801 * image-mode.el (image-toggle-animation): New command.
13802 (image-mode-map): Bind it to RET.
13803 (image-mode): Update message.
13804 (image-toggle-display-image): Avoid a spurious cache flush.
13805 (image-transform-rotation): Doc fix.
13806 (image-transform-properties): Return quickly in the normal case.
13807 (image-animate-loop): Rename from image-animate-max-time.
13809 * image.el (image-animate-max-time): Move to image-mode.el.
13810 (create-animated-image): Remove unnecessary function.
13811 (image-animate): Rename from image-animate-start. New arg.
13812 (image-animate-stop): Remove; just use image-animate-timer.
13813 (image-animate-timer): Use car-safe.
13814 (image-animate-timeout): Rename argument.
13816 2011-06-07 Martin Rudalics <rudalics@gmx.at>
13818 * window.el (get-lru-window, get-largest-window): Move here from
13819 window.c. Rename first argument to ALL-FRAMES.
13820 Rephrase doc-strings.
13821 (get-buffer-window-list): Rewrite using window-list-1.
13822 Rephrase doc-string.
13823 (window-safe-min-height, window-safe-min-width): New constants.
13824 (window-size-ignore, window-min-size, window-min-size-1)
13825 (window-sizable, window-sizable-p, window-size-fixed-1)
13826 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13827 (window-max-delta-1, window-max-delta, window-resizable)
13828 (window-resizable-p, window-total-height, window-total-width)
13829 (window-body-width): New functions.
13830 (window-full-height-p, window-full-width-p): Rewrite using
13832 (window-body-height): Rewrite using window-body-size.
13834 2011-06-06 Martin Rudalics <rudalics@gmx.at>
13836 * window.el (window-right, window-left, window-child)
13837 (window-child-count, window-last-child, window-any-p)
13838 (normalize-live-buffer, normalize-live-frame)
13839 (normalize-any-window, normalize-live-window)
13840 (window-iso-combination-p, window-iso-combined-p)
13841 (window-iso-combinations)
13842 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13843 (windows-with-parameter, window-with-parameter)
13844 (window-atom-root, make-window-atom, window-atom-check-1)
13845 (window-atom-check, window-side-check, window-check):
13847 (ignore-window-parameters, window-sides, window-sides-vertical)
13848 (window-sides-slots): New variables.
13849 (window-size-fixed): Move down in code. Minor doc-string fix.
13851 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13853 * comint.el (comint-dynamic-complete-as-filename)
13854 (comint-dynamic-complete-filename): Correctly call
13855 completion-in-region.
13857 2011-06-05 Deniz Dogan <deniz@dogan.se>
13859 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13862 2011-06-05 Deniz Dogan <deniz@dogan.se>
13864 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13865 (rcirc): Use it to prompt for encryption.
13867 2011-06-05 Roland Winkler <winkler@gnu.org>
13869 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13870 (bibtex-search-entries): New command bound to C-c C-a.
13871 (bibtex-display-entries): New function.
13873 2011-06-05 Roland Winkler <winkler@gnu.org>
13875 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13876 (bibtex-insert-kill): After yanking insert newline if necessary.
13877 (bibtex-initialize): Call bibtex-string-files-init only once.
13878 (bibtex-mode): Do not call easy-menu-add.
13879 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13880 (bibtex-yank): Set arg properly if nil.
13882 2011-06-05 Roland Winkler <winkler@gnu.org>
13884 * textmodes/bibtex.el (bibtex-search-entry-globally):
13886 (bibtex-search-entry): Use it.
13888 2011-06-05 Roland Winkler <winkler@gnu.org>
13890 * textmodes/bibtex.el (bibtex-entry-format): New option
13892 (bibtex-format-entry, bibtex-reformat): Honor this option.
13893 (bibtex-parse-entry): Return fields in proper order.
13895 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
13897 * doc-view.el (doc-view-remove-if): Move computation of result out
13898 of `dolist' to silence misleading lexical-binding warning.
13900 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
13902 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13903 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13905 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13907 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13910 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13912 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13913 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13914 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13915 (tramp-parse-putty):
13916 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13917 (tramp-completion-function-alist-ssh)
13918 (tramp-completion-function-alist-telnet)
13919 (tramp-completion-function-alist-su)
13920 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13923 * net/tramp-ftp.el:
13925 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13926 load "tramp.el" `tramp-set-completion-function'.
13928 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13930 * shell.el: Require and use pcomplete.
13931 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13932 (shell-completion-vars): Set pcomplete-default-completion-function.
13934 2011-06-04 Deniz Dogan <deniz@dogan.se>
13936 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13939 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13941 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13943 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
13945 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13946 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13947 * vc/log-view.el (log-view-beginning-of-defun):
13948 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13949 (smerge-refine-forward, smerge-refine-chopup-region):
13950 Silence warning for unused `dotimes' counter variables.
13952 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13954 * net/tramp.el (tramp-with-progress-reporter): Rename from
13955 with-progress-reporter. Use `declare'.
13956 * net/tramp-smb.el:
13958 * net/tramp-gvfs.el: Update all uses.
13960 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13962 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13963 buffer isn't killed before making it current.
13965 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13967 Silence various byte-compiler warnings.
13968 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13969 `access-type' and new obsolescence format.
13970 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13972 (byte-compile-check-variable): New `access-type' argument.
13973 Only warn if the access-type is obsolete.
13974 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13975 (byte-compile-variable-set): Adjust callers.
13976 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13977 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13978 setting it as obsolete.
13979 * simple.el (minibuffer-completing-symbol):
13980 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13981 access as obsolete.
13982 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13984 * international/quail.el (quail-mouse-choose-completion): Remove unused
13985 code referring to obsolete var.
13986 (quail-choose-completion-string): Remove.
13987 * server.el (server-clients-with, server-kill-buffer-query-function)
13988 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13989 * proced.el (proced-send-signal):
13990 * emacs-lisp/lisp.el (lisp-complete-symbol):
13991 Replace completion-annotate-function with completion-extra-properties.
13993 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13995 * simple.el (goto-line): Use read-number.
13996 (overriding-map-is-bound): Remove.
13997 (saved-overriding-map): Change default.
13998 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13999 Take the map as argument.
14000 (universal-argument, negative-argument, digit-argument): Use it.
14001 (restore-overriding-map): Adjust.
14002 (do-auto-fill): Use fill-forward-paragraph.
14003 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14005 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14006 (minibuffer-inactive-mode): New major mode.
14007 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14008 the *Messages* buffer" hack.
14009 (mouse-popup-menubar): Don't burp if the event is a normal key.
14011 Miscellaneous tweaks.
14012 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14013 lexical scoping as in subr.el's dolist and dotimes.
14014 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14015 Silence compiler warning.
14016 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14017 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14018 * international/ccl.el (ccl-compile): Trivial simplification.
14019 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14020 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14021 `printflag' argument.
14022 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14023 Purecopy the whole obsolescence data.
14025 2011-06-01 Leo Liu <sdl.web@gmail.com>
14027 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14028 improve doc-string as suggested by Marco Pessotto
14029 <melmothx@gmail.com>.
14030 (rcirc-print): Fix last change.
14032 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14034 * minibuffer.el (complete-with-action): Return nil for the metadata and
14035 boundaries of non-functional tables.
14036 (completion-table-dynamic): Return nil for the metadata.
14037 (completion-table-with-terminator): Add default case, using
14038 complete-with-action.
14039 (completion--metadata): New function.
14040 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14041 to try and avoid pathological performance problems.
14042 (completion--embedded-envvar-table): Return `category' metadata.
14044 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14046 * subr.el (process-alive-p): New tiny convenience function.
14048 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14050 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14051 content but also its previous major mode.
14053 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
14055 * emacs-lisp/debug.el (debug): Restore the previous content of the
14056 *Backtrace* buffer when we exit with C-M-c.
14058 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14060 * minibuffer.el: Add metadata method to completion tables.
14061 (completion-category-overrides): New defcustom.
14062 (completion-metadata, completion--field-metadata)
14063 (completion-metadata-get, completion--styles)
14064 (completion--cycle-threshold): New functions.
14065 (completion-try-completion, completion-all-completions):
14066 Add `metadata' argument to choose completion-styles.
14067 (completion--do-completion): Use metadata to choose cycling.
14068 (completion-all-sorted-completions): Use metadata for sorting.
14069 Remove :completion-cycle-penalty which is not needed any more.
14070 (completion--try-word-completion): Add `metadata' argument.
14071 (minibuffer-completion-help): Check metadata for annotation function
14073 (completion-file-name-table): Return `category' metadata.
14074 (minibuffer-completing-file-name): Make obsolete.
14075 * simple.el (minibuffer-completing-symbol): Make obsolete.
14076 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14077 completion-try-completion.
14079 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14081 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14083 2011-05-30 Leo Liu <sdl.web@gmail.com>
14085 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
14086 (rcirc-print): Decode all incoming messages (bug#8744).
14087 (rcirc-decode-coding-system): Allow value nil for automatic coding
14090 2011-06-01 Glenn Morris <rgm@gnu.org>
14092 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14094 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14096 * image.el (image-animate-max-time): Allow nil and t values.
14098 (create-animated-image): Doc fix.
14099 (image-animate-start): Remove second arg; just use
14100 image-animate-max-time.
14101 (image-animate-timeout): Doc fix. Args changed.
14103 * image-mode.el (image-toggle-display-image): Ensure that the
14104 image spec passed to the animate timer is the same object as in
14105 the buffer's display property (Bug#6981).
14106 (image-transform-properties): Doc fix.
14108 * image.el (image-animate-max-time): Default to nil.
14110 2011-05-29 Martin Rudalics <rudalics@gmx.at>
14112 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14113 entire buffer list (Bug#8184).
14115 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14117 * image.el (imagemagick-types-inhibit)
14118 (imagemagick-register-types): Doc fix.
14120 2011-05-29 Deniz Dogan <deniz@dogan.se>
14122 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14125 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14127 * select.el: Don't perform clipboard-manager saving in hooks;
14128 leave the hooks empty.
14130 2011-05-28 Leo Liu <sdl.web@gmail.com>
14132 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14133 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14134 (occur-edit-mode): New major mode (Bug#8463).
14135 (occur-after-change-function): New function.
14136 (occur-engine): Give Occur tags a read-only property.
14138 2011-05-28 Kevin Ryde <user42@zip.com.au>
14140 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14142 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14144 * bindings.el (help-echo): Make the initial non-indicator dash
14145 empty on graphical terminals (Bug#7295).
14147 * files.el (auto-mode-alist): Move config rule after the
14148 in-stripping one (Bug#8547).
14150 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14152 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14153 setting (Bug#8740).
14155 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14157 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14158 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14161 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14163 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14165 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14167 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14168 (hs-hide-block-at-point, hs-find-block-beginning)
14169 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14172 2011-05-28 Glenn Morris <rgm@gnu.org>
14174 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14176 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14178 * help-fns.el (describe-function-1): If the function is a derived
14179 major mode, print the parent mode.
14181 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14182 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14184 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14186 * minibuffer.el (completion--capf-wrapper): Check applicability before
14187 returning non-nil for non-exclusive completion data.
14188 * progmodes/etags.el (tags-completion-at-point-function):
14189 * info-look.el (info-lookup-completions-at-point): Mark as
14191 (info-complete): Adjust accordingly.
14193 * info-look.el: Convert to lexical-binding and completion-at-point.
14194 (info-lookup-completions-at-point): New function.
14195 (info-complete): Use it and completion-in-region.
14197 2011-05-28 Drew Adams <drew.adams@oracle.com>
14199 * isearch.el: Let M-e start with point at the first mismatched char.
14200 (isearch-fail-pos): New function.
14201 (isearch-edit-string): Use it.
14203 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14205 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14207 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
14209 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14210 traversal functions for avl-trees.
14211 (avl-tree--stack): New struct.
14212 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14213 (avl-tree-enter): Add optional `updatefun' arg.
14214 (avl-tree--do-enter): Add optional `updatefun' arg.
14215 Change return value.
14216 (avl-tree-delete): Add optional `test' and `nilflag' args.
14217 (avl-tree--do-delete): Add `test' and `nilflag' args.
14218 Change return value.
14219 (avl-tree-member): Add optional `nilflag'
14220 (avl-tree-member-p): New function.
14221 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14222 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14223 (avl-tree-stack-empty-p): New functions.
14225 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14226 avl-tree--del-balance1 and make it work both ways.
14227 (avl-tree--del-balance2): Remove.
14228 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14229 make it work both ways.
14230 (avl-tree--enter-balance2): Remove.
14231 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14233 (avl-tree--mapc, avl-tree-map): Add direction argument.
14235 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
14237 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14239 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
14241 * select.el: Support clipboard managers with built-in function
14242 x-clipboard-manager-save, via delete-frame-functions and
14244 (xselect-convert-to-targets): Add MULTIPLE target to list.
14245 (xselect-convert-to-save-targets): New function.
14247 2011-05-27 Kenichi Handa <handa@m17n.org>
14249 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14250 let-binding rfc2047-encode-encoded-words to nil.
14252 2011-05-27 Glenn Morris <rgm@gnu.org>
14254 * mail/emacsbug.el: Don't require url-util.
14256 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14258 * files.el (set-auto-mode):
14259 Also respect mode: entries at the end of the file. (Bug#8586)
14261 2011-05-26 Glenn Morris <rgm@gnu.org>
14263 * files.el (hack-local-variables-prop-line, hack-local-variables):
14264 Downcase mode names, as seems to be traditional.
14265 (hack-local-variables, hack-local-variables-apply): Doc fixes.
14267 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14268 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14270 2011-05-25 Julien Danjou <julien@danjou.info>
14272 * textmodes/rst.el (rst-define-level-faces): Do not define face
14273 symbol if it is already defined.
14275 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14277 * play/5x5.el (5x5-new-game, 5x5-randomize):
14278 Reset 5x5-solver-output to nil when a new grid is cast.
14279 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14280 these debugging traces, as defmacro breaks the compiled code.
14282 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14284 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14286 2011-05-24 Leo Liu <sdl.web@gmail.com>
14288 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14289 (vc-bzr-sha1): Adapt.
14291 * sha1.el: Remove. Function `sha1' is now builtin.
14293 * bindings.el: Provide sha1 feature.
14295 2011-05-24 Kenichi Handa <handa@m17n.org>
14297 * mail/sendmail.el: Require `rfc2047'.
14298 (mail-insert-from-field): Do not perform RFC2047 encoding.
14299 (mail-encode-header): New function.
14300 (sendmail-send-it): Set buffer-file-coding-system of the work
14301 buffer to the return value of select-message-coding-system.
14302 Call mail-encode-header.
14304 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14306 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
14308 * mail/supercite.el (sc-default-cite-frame):
14309 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
14311 2011-05-24 Glenn Morris <rgm@gnu.org>
14313 * progmodes/python.el (brm-menu): Declare.
14315 * emulation/viper.el (viper-set-hooks): Declare.
14317 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14318 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14319 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14320 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14321 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14322 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14324 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14326 Add an :exit-function for completion-at-point.
14328 * minibuffer.el (completion--done): New fun.
14329 (completion--do-completion): Use it. New arg `expect-exact'.
14330 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14331 since completion--do-completion does it for us now.
14332 (minibuffer-force-complete): Use completion--done and
14333 completion--replace. Handle sole-completion case with more care.
14334 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14335 (completion-extra-properties): New var.
14336 (completion-annotate-function): Make obsolete.
14337 (minibuffer-completion-help): Adjust accordingly.
14338 Use completion-list-insert-choice-function.
14339 (completion-at-point, completion-help-at-point):
14340 Bind completion-extra-properties.
14341 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14342 * simple.el (completion-list-insert-choice-function): New var.
14343 (completion-setup-function): Preserve it.
14344 (choose-completion): Pay attention to it, shuffle the code a bit.
14345 (choose-completion-string): New arg `insert-function'.
14347 * textmodes/bibtex.el: Convert to lexical binding.
14348 (bibtex-mode-map): Use completion-at-point.
14349 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14350 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14351 (bibtex-complete): Define as obsolete alias.
14352 (bibtex-complete-internal): Remove.
14353 (bibtex-format-entry): Remove unused sub-group in regexp.
14354 * shell.el (shell--command-completion-data)
14355 (shell-environment-variable-completion):
14356 * pcomplete.el (pcomplete-completions-at-point):
14357 * comint.el (comint--complete-file-name-data): Use :exit-function
14358 instead of completion-table-with-terminator so it also works for
14361 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14363 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14365 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14368 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14370 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14372 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14373 customization variable and implement: If non-nil, auto-fill will
14374 be inhibited while on topic's header line.
14376 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14378 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
14379 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
14380 always have a solution in grid size = 5 cases.
14381 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14382 (5x5-solver-output, 5x5-log-buffer): New vars.
14383 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14384 Make these variables buffer local to achieve 5x5 multi-session-ness.
14385 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14386 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14387 (5x5-solve-suggest): New funs.
14388 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14389 randomize a grid so that we ensure that there is always a solution.
14390 (5x5-make-random-grid): Allow other movement than flipping.
14392 2011-05-23 Kevin Ryde <user42@zip.com.au>
14394 * emacs-lisp/advice.el (ad-read-advised-function):
14395 Use `function-called-at-point' as the default, if it has
14396 advice and passes PREDICATE.
14398 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14400 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14401 byte-compile-lambda if it's actually a lambda.
14403 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14404 Fix function quoting. Use backquote better.
14406 2011-05-22 Yuanle Song <sylecn@gmail.com>
14408 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14409 matching (Bug#8516).
14411 2011-01-22 Jari Aalto <jari.aalto@cante.net>
14413 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14414 different face (Bug#8178).
14416 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
14418 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14419 defface (Bug#8144).
14421 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14423 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14424 funcall as well (bug#8712). Warn when performing those conversions.
14425 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14427 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14429 2011-05-22 Glenn Morris <rgm@gnu.org>
14431 * files.el (hack-local-variables-prop-line): Small simplifications.
14432 (hack-local-variables, hack-local-variables-prop-line):
14433 If MODE-ONLY, return the mode, rather than just `t'.
14435 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14437 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14439 2011-05-21 Glenn Morris <rgm@gnu.org>
14441 * files.el (hack-local-variables-prop-line, hack-local-variables):
14442 If only interested in the mode, don't bother doing the other stuff.
14444 * image-mode.el (image-after-revert-hook):
14445 Redraw all frames on which the image is visible. (Bug#8567)
14447 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14449 * wid-edit.el (widget-checklist-match-inline):
14450 Fix 2011-04-19 change. (Bug#8649)
14452 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14454 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14455 Also allow singlespace after single-letter capitals followed by a dot.
14457 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14458 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14460 2011-05-20 Nix <nix@esperi.org.uk>
14462 * files.el (basic-save-buffer-2):
14463 Fix handling of break-hardlink-on-save with non-existent files.
14465 2011-05-19 Deniz Dogan <deniz@dogan.se>
14467 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
14468 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
14470 2011-05-19 Glenn Morris <rgm@gnu.org>
14472 * progmodes/f90.el (f90-type-def-re):
14473 Handle "type, bind(c)". (Bug#8691)
14475 * emacs-lisp/autoload.el (batch-update-autoloads):
14476 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14478 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
14480 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14481 property for the correct connection in case of multihops.
14483 2011-05-18 Glenn Morris <rgm@gnu.org>
14485 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
14486 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14488 Rationalize calendar handling of day and month abbrev-arrays.
14489 * calendar/calendar.el (calendar-customized-p): New function.
14490 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14491 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14493 (calendar-abbrev-length, calendar-day-abbrev-array)
14494 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14495 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14496 Elements may no longer be nil.
14497 (calendar-day-name, calendar-month-name):
14498 Update for changed nature of abbrev arrays.
14499 * calendar/diary-lib.el (diary-name-pattern):
14500 Update for changed nature of abbrev arrays.
14501 (diary-mark-entries-1): Update calendar-make-alist calls.
14502 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14503 * calendar/cal-html.el (cal-html-day-abbrev-array):
14504 Simply inherit from calendar-day-abbrev-array.
14506 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14508 * progmodes/grep.el (grep-mode): Disable default
14509 compilation-directory-matcher setting (bug#8684).
14511 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
14513 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14514 instead of "head" and "tail". There were problems with SunOS 5.9,
14515 and it performs better.
14517 2011-05-17 Glenn Morris <rgm@gnu.org>
14519 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14521 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14522 Replace obsolete function.
14524 * shell.el (pcomplete-parse-arguments-function): Declare.
14526 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14527 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14528 (appt-check): Doc fixes.
14529 (appt-disp-window-function, appt-delete-window-function):
14530 Remove needless special case in custom :type.
14531 (appt-display-count): Default to 0, not nil.
14532 (appt-check): Reset appt-display-count to 0, not nil.
14534 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
14536 * progmodes/python.el (python-font-lock-keywords):
14537 Add the Python 3.X keyword "nonlocal" (bug#8639).
14539 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14541 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14543 2011-05-16 Kevin Ryde <user42@zip.com.au>
14545 * info-look.el (makefile-automake-mode): New setups, looking in
14546 automake manual, then makefile-mode.
14547 (makefile-mode): Remove automake manual, have it just in
14548 makefile-automake-mode since there's various things different or
14549 not relevant to plain make.
14550 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14551 believe a hypothetical automake-mode would go to makefile-mode,
14552 not the other way around.
14554 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
14556 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14557 hunk-end tags (Bug#8672).
14559 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14560 vc-annotate-show-diff-revision-at-line (Bug#8671).
14562 2011-05-14 Glenn Morris <rgm@gnu.org>
14564 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14565 in the middle of an existing one with multiple authors. (Bug#8645)
14566 (change-log-font-lock-keywords): Also handle multiple author lines
14567 with leading tabs. (Bug#8644)
14569 * calendar/appt.el (appt-check): Rename some local variables.
14570 Some simplification/reordering.
14572 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14573 (feedmail-sendmail-f-doesnt-sell-me-out)
14574 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14575 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14576 (feedmail-queue-runner-message-sender): Set :version.
14577 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14578 (bbdb-dwim-net-address, vm-mail): Declare.
14579 (feedmail-binmail-gnulinuxish-template):
14580 Rename from feedmail-binmail-linuxish-template.
14581 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14582 Use insert-buffer-substring.
14584 2011-05-14 Bill Carpenter <bill@carpenter.org>
14586 * mail/feedmail.el (feedmail-patch-level): Increase.
14587 (feedmail-debug): New custom group.
14588 (feedmail-confirm-outgoing-timeout)
14589 (feedmail-sendmail-f-doesnt-sell-me-out)
14590 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14591 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14592 (feedmail-sender-line, feedmail-from-line)
14593 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
14594 (feedmail-spray-this-address)
14595 (feedmail-spray-address-fiddle-plex-list)
14596 (feedmail-queue-use-send-time-for-date)
14597 (feedmail-queue-use-send-time-for-message-id)
14598 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14599 (feedmail-buffer-eating-function):
14601 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14602 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14603 (feedmail-message-action-scroll-down): New functions.
14604 (feedmail-queue-directory, feedmail-queue-draft-directory):
14605 Use expand-file-name.
14606 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14607 Remove C-v help entry.
14608 (feedmail-queue-buffer-file-name): New variable.
14609 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14610 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14611 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14612 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14613 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14614 (feedmail-message-action-toggle-spray)
14615 (feedmail-run-the-queue-no-prompts)
14616 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14617 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14618 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14619 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14620 (feedmail-envelope-deducer, feedmail-fiddle-from)
14621 (feedmail-fiddle-sender, feedmail-default-date-generator)
14622 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14623 (feedmail-fiddle-spray-address)
14624 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14625 (feedmail-fiddle-list-of-fiddle-plexes)
14626 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14627 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14628 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14629 Change default. Doc fix.
14630 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14631 (feedmail-binmail-linuxish-template): New constant.
14632 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14633 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14634 (feedmail-send-it): Add debug call.
14635 Use feedmail-queue-buffer-file-name, and
14636 feedmail-send-it-immediately-wrapper.
14637 (feedmail-message-action-send): Add debug call.
14638 Use feedmail-send-it-immediately-wrapper.
14639 (feedmail-queue-express-to-queue): Add debug call.
14640 Run feedmail-queue-express-hook.
14641 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14642 (feedmail-message-action-help-blat):
14643 Rename from feedmail-queue-send-edit-prompt-help-first.
14644 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14645 Check line-endings. Handle errors better.
14646 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14647 Doc fix. Add debug call.
14648 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14649 Use feedmail-queue-send-edit-prompt-inner.
14650 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14651 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14652 from feedmail-queue-send-edit-prompt.
14653 (feedmail-queue-send-edit-prompt-help)
14654 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14655 (feedmail-tidy-up-slug): Add debug call.
14656 Respect feedmail-queue-slug-suspect-regexp.
14657 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14658 (feedmail-dump-message-to-queue): Add debug call.
14659 Expand queue-directory.
14660 (feedmail-dump-message-to-queue): Change message slightly.
14661 Use feedmail-say-chatter.
14662 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14663 (feedmail-send-it-immediately-wrapper): New function.
14664 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14665 Insert empty string rather than newline. Handle full-frame case.
14666 Use catch/throw. Use feedmail-say-chatter.
14667 (feedmail-fiddle-from): Try mail-host-address.
14668 (feedmail-default-message-id-generator): Doc fix.
14669 Bind system-time-locale. Handle missing end.
14670 (feedmail-fiddle-x-mailer): Add debug call.
14671 Handle feedmail-x-mailer-line being nil.
14672 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14673 Add debug call. Use buffer-substring-no-properties.
14674 (feedmail-say-debug, feedmail-say-chatter): New functions.
14675 (feedmail-find-eoh): Give an explicit error.
14677 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
14679 * net/newst-treeview.el (newsticker-treeview-face): Change default
14680 family from helvetica to sans.
14681 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
14682 etc/images/newsticker.
14684 * net/newst-reader.el (newsticker-feed-face): Change default
14685 family from helvetica to sans.
14687 * net/newst-plainview.el (newsticker-new-item-face)
14688 (newsticker-old-item-face, newsticker-immortal-item-face)
14689 (newsticker-obsolete-item-face, newsticker-date-face)
14690 (newsticker-statistics-face): Change default family from
14692 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
14693 etc/images/newsticker.
14695 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14696 (newsticker--process-auto-mark-filter-match): Tell user about
14699 2011-05-13 Didier Verna <didier@xemacs.org>
14701 Common Lisp indentation improvements on defmethod and lambda-lists.
14702 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14704 (lisp-lambda-list-keyword-parameter-indentation)
14705 (lisp-lambda-list-keyword-parameter-alignment)
14706 (lisp-lambda-list-keyword-alignment): New customizable user options.
14707 (lisp-indent-defun-method): Improve docstring.
14708 (extended-loop-p): Fix comment.
14709 (lisp-indent-lambda-list-keywords-regexp): New variable.
14710 (lisp-indent-lambda-list): New function.
14711 (lisp-indent-259): Use it.
14712 (lisp-indent-defmethod): Support for more than one
14713 method qualifier and properly indent methods lambda-lists.
14714 (defgeneric): Provide a missing common-lisp-indent-function property.
14716 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14718 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14719 bounds for the empty string (bug#8667).
14721 2011-05-13 Glenn Morris <rgm@gnu.org>
14723 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14725 * mail/sendmail.el (sendmail-program): Try executable-find first.
14726 (sendmail-send-it): `sendmail-program' cannot be unbound.
14728 * calendar/appt.el (appt-make-list): Simplify.
14729 (appt-time-msg-list): Doc fix.
14730 (appt-check): Change mode-line message at the time of the appointment.
14732 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14734 * progmodes/ld-script.el (ld-script-keywords)
14735 (ld-script-builtins): Update keywords list.
14737 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14739 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14741 * shell.el (shell-completion-vars): New function.
14743 * simple.el (read-shell-command): Use it.
14744 (blink-matching-open): No need for " [...]" in minibuffer-message.
14746 2011-05-12 Glenn Morris <rgm@gnu.org>
14748 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14749 (appt-check): Simplify.
14751 2011-05-12 Eli Zaretskii <eliz@gnu.org>
14753 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
14754 literal "/dev/null".
14756 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14758 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14761 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
14763 * progmodes/which-func.el (which-function):
14764 Use add-log-current-defun instead of add-log-current-defun-function,
14765 which might not be defined (Bug#8260).
14767 2011-05-12 Glenn Morris <rgm@gnu.org>
14769 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14770 Let byte-compile-initial-macro-environment always take precedence.
14772 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14774 * net/rcirc.el: Add support for SSL/TLS connections.
14775 (rcirc-server-alist): New field `encryption'.
14776 (rcirc): Check `encryption' settings.
14777 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14778 Merge make-local-variable into `set'.
14779 (rcirc--connection-open-p): New function.
14780 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14781 the process is not a network process (e.g. running gnutls-cli).
14782 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14783 Make rcirc-(en|de)code-coding-system local here.
14784 (rcirc-mode): Merge make-local-variable into `set'.
14785 (rcirc-parent-buffer): Make permanent buffer-local.
14786 (rcirc-multiline-minor-mode): Don't do it here.
14787 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14788 there's no server buffer.
14790 2011-05-11 Glenn Morris <rgm@gnu.org>
14792 * newcomment.el (comment-kill): Prefix "unused" local.
14794 * term/w32console.el (get-screen-color): Declare.
14796 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14797 Handle symbol elements of byte-compile-initial-macro-environment.
14799 2011-05-10 Leo Liu <sdl.web@gmail.com>
14801 * bookmark.el (bookmark-bmenu-mode-map):
14802 Bind bookmark-bmenu-search to `/'.
14804 * mail/footnote.el: Convert to utf-8 encoding.
14805 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14806 (Footnote-unicode): New function.
14807 (footnote-style-alist): Add unicode style to the list.
14808 (footnote-style): Doc fix.
14810 2011-05-10 Jim Meyering <meyering@redhat.com>
14812 Fix doubled-word typos.
14813 * international/quail.el (quail-insert-kbd-layout): and and -> and
14814 * kermit.el: and and -> and
14815 * net/ldap.el (ldap-search-internal): to to -> to
14816 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14817 * progmodes/js.el (js-mode): and and -> and
14818 * textmodes/artist.el (artist-move-to-xy): at at -> at
14819 (artist-draw-region-trim-line-endings): if if -> if
14820 And Safetyc -> Safety.
14821 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14823 2011-05-10 Glenn Morris <rgm@gnu.org>
14824 Stefan Monnier <monnier@iro.umontreal.ca>
14826 * files.el (hack-one-local-variable-eval-safep):
14827 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14829 2011-05-10 Glenn Morris <rgm@gnu.org>
14831 * calendar/diary-lib.el (diary-list-entries-hook)
14832 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14833 (diary-nongregorian-marking-hook, diary-list-entries)
14834 (diary-include-other-diary-files, diary-mark-entries)
14835 (diary-mark-included-diary-files): Doc fixes.
14837 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14839 * misc.el: Require tabulated-list.el during compilation.
14841 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14843 * progmodes/compile.el (compilation-start):
14844 Run compilation-filter-hook for the async case too.
14845 (compilation-filter-hook): Doc fix.
14847 2011-05-09 Deniz Dogan <deniz@dogan.se>
14849 * wdired.el: Remove outdated installation comment. Fix usage
14852 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14854 * misc.el: Implement new command `list-dynamic-libraries'.
14855 (list-dynamic-libraries--loaded-only-p): New variable.
14856 (list-dynamic-libraries--refresh): New function.
14857 (list-dynamic-libraries): New command.
14859 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14861 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14862 Fix the ant regexp to handle end-line and end-column info from jikes.
14863 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14864 higher priority to avoid clobbering by gnu.
14866 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14868 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14869 if the face has existing theme settings (Bug#8454).
14871 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14873 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14874 Only match variables declared via `my' or `our' (Bug#8261).
14876 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14877 special file names `.' and `..' (Bug#8259).
14879 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14881 * progmodes/grep.el (grep-mode-font-lock-keywords):
14882 Remove buffer-changing entries.
14883 (grep-filter): New function.
14884 (grep-mode): Add it to compilation-filter-hook.
14886 * progmodes/compile.el (compilation-filter-hook)
14887 (compilation-filter-start): New defvars.
14888 (compilation-filter): Call compilation-filter-hook prior to
14889 updating the process mark.
14891 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14893 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14895 2011-05-07 Eli Zaretskii <eliz@gnu.org>
14897 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14898 mailclient-send-it even if window-system is nil. (Bug#8595)
14900 * term/w32console.el (terminal-init-w32console):
14901 Call get-screen-color and use its output to set the frame
14902 background-mode. (Bug#8597)
14904 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14906 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14907 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14909 (defgeneric, eieio--defmethod): Use them.
14910 (eieio-defgeneric): Remove.
14911 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14913 2011-05-07 Glenn Morris <rgm@gnu.org>
14915 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14916 Use let rather than let*.
14917 (timeclock-find-discrep): Remove unused local.
14919 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14921 * calendar/appt.el (appt-time-msg-list): Doc fix.
14923 2011-05-06 Noah Friedman <friedman@splode.com>
14925 * apropos.el (apropos-print-doc): Only use
14926 emacs-lisp-docstring-fill-column when it is bound to an integer,
14927 per that variable's documentation.
14929 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14931 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
14932 and warnings are not silently discarded (e.g. use -d instead of -P).
14934 2011-05-06 Glenn Morris <rgm@gnu.org>
14936 * calendar/appt.el (appt-message-warning-time): Doc fix.
14937 (appt-warning-time-regexp): New option.
14938 (appt-make-list): Respect appt-message-warning-time.
14940 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14942 (diary-add-to-list): Strip comments from the displayed string.
14943 (diary-mode): Set comment-start and comment-end.
14945 * vc/diff-mode.el (smerge-refine-subst): Declare.
14946 (diff-refine-hunk): Don't require smerge-mode when compiling.
14948 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
14950 * simple.el (list-processes): Return nil as the docstring says.
14952 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14954 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14956 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14957 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14958 determining of binary transfer. (Bug#7383)
14960 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14962 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14963 Fix port computation bug. (Bug#8618)
14965 2011-05-05 Glenn Morris <rgm@gnu.org>
14967 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14969 * simple.el (shell-dynamic-complete-functions)
14970 (comint-dynamic-complete-functions): Declare.
14972 * net/network-stream.el (gnutls-negotiate):
14973 * simple.el (tabulated-list-print): Fix declarations.
14975 * progmodes/gud.el (syntax-symbol, syntax-point):
14976 Remove unnecessary and incorrect declarations.
14978 * emacs-lisp/check-declare.el (check-declare-scan):
14979 Handle byte-compile-initial-macro-environment in bytecomp.el
14981 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14983 Fix earlier half-done eieio-defmethod change (bug#8338).
14984 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14985 Streamline and change calling convention.
14986 (defmethod): Adjust accordingly and simplify.
14987 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14988 new eieio--defmethod.
14989 (slot-boundp): Minor CSE simplification.
14991 2011-05-05 Milan Zamazal <pdm@zamazal.org>
14993 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14994 (glasses-make-readable): Use glasses-separate-capital-groups.
14996 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
14998 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14999 (warning-series): Doc fix.
15000 (display-warning): Don't try to create the buffer if we just found it.
15002 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
15004 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15005 (autoload-find-generated-file): New function.
15006 (generate-file-autoloads): Bind generated-autoload-file to
15008 (update-file-autoloads, update-directory-autoloads):
15009 Use autoload-find-generated-file. If called interactively, prompt for
15010 output file (Bug#7989).
15011 (batch-update-autoloads): Doc fix.
15013 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
15015 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15017 2011-05-04 Glenn Morris <rgm@gnu.org>
15019 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15020 function, so it follows changes in calendar-date-style.
15021 (diary-fancy-date-matcher): New function.
15022 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15023 (diary-fancy-font-lock-fontify-region-function):
15024 Use diary-fancy-date-pattern as a function.
15026 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15027 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15029 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15031 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15032 instead of positional arguments. Allow :keylist and :crlfiles
15034 (open-gnutls-stream): Call it.
15036 * net/network-stream.el (network-stream-open-starttls): Adjust to
15037 call `gnutls-negotiate' with :process and :hostname arguments.
15039 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15041 * minibuffer.el (completion--message): New function.
15042 (completion--do-completion, minibuffer-complete)
15043 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15044 (completion--do-completion): Don't ignore completion-auto-help when in
15047 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15048 internal encoding (e.g. tibetan zero is not whitespace).
15049 (global-whitespace-mode): Prefer save-current-buffer.
15050 (whitespace-trailing-regexp): Remove useless save-match-data.
15051 (whitespace-empty-at-bob-regexp): Minor simplification.
15053 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
15055 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15057 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15059 * textmodes/ispell.el (ispell-add-per-file-word-list):
15060 Use `concat' to create string for insertion.
15062 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15064 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15065 Avoid open-line which runs post-self-insert-hook.
15066 (bibtex-fill-entry): Remove unused `end' var.
15068 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15070 * textmodes/ispell.el (ispell-add-per-file-word-list):
15071 Protect against `nil' value of `comment-start' (Bug#8579).
15073 2011-05-03 Leo Liu <sdl.web@gmail.com>
15075 * isearch.el (isearch-yank-pop): New command.
15076 (isearch-mode-map): Bind it to `M-y'.
15077 (isearch-forward): Mention it.
15079 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15081 * simple.el (minibuffer-complete-shell-command): Remove.
15082 (minibuffer-local-shell-command-map): Use completion-at-point.
15083 (read-shell-command): Setup completion vars here instead.
15084 (read-expression-map): Bind TAB to symbol completion.
15086 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15087 error directly rather via storing it into `results'.
15089 2011-05-02 Leo Liu <sdl.web@gmail.com>
15091 * vc/diff.el: Fix description.
15093 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15095 * server.el (server-eval-at): New function.
15097 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15099 * net/network-stream.el (open-network-stream): Take a :nowait
15100 parameter and pass it on to `make-network-process'.
15101 (network-stream-open-plain): Ditto.
15103 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15105 * faces.el (face-spec-set-match-display): Don't match toolkit
15106 options on terminal frames.
15108 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15110 * progmodes/pascal.el: Use lexical binding.
15111 (pascal-mode-map): Remove author preferences.
15113 * pcomplete.el (pcomplete-std-complete): Don't abuse
15114 completion-at-point.
15116 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
15118 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15119 removing code that has been dead since 1991 or so.
15121 * startup.el (command-line): When warning about "_emacs", use a
15122 delayed warning to allow the user to filter it out.
15124 2011-04-28 Deniz Dogan <deniz@dogan.se>
15126 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15127 user has not joined.
15129 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15131 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15132 aren't any completions at point.
15134 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
15136 * subr.el (display-delayed-warnings): New function.
15137 (delayed-warnings-hook): New variable.
15139 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15141 * minibuffer.el (completion-at-point, completion-help-at-point):
15142 Don't presume that a given completion-at-point-function will always
15143 use the same calling convention.
15145 * pcomplete.el (pcomplete-completions-at-point):
15146 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15147 pcomplete-seen is non-nil.
15148 (pcomplete-comint-setup): Also recognize the new comint/shell
15149 completion functions.
15150 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15151 pcomplete-seen is non-nil.
15153 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
15155 * calendar/icalendar.el (diary-lib): Add require statement.
15156 (icalendar--create-uid): Read out a uid from a text-property on
15157 the first character in the entry. This allows for code to add its
15158 own uid to the entry.
15159 (icalendar--convert-float-to-ical): Add export of
15160 `diary-float'-entries save for those with the optional DAY
15163 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15165 * subr.el (shell-quote-argument): Use alternate escaping strategy
15166 when we spot a variable reference in a string.
15168 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15170 * cus-start.el (all): Define customization for debug-on-event.
15172 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15174 * subr.el (shell-quote-argument): Escape correctly under Windows.
15176 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15178 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15180 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
15182 * net/tramp.el (tramp-process-actions): Add POS argument.
15183 Delete region between POS and (pos).
15185 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15186 Use `nil' position in `tramp-process-actions' call.
15187 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15189 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15190 position in `tramp-process-actions' call.
15192 * net/trampver.el: Update release number.
15194 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15196 * custom.el (defcustom): Obey lexical-binding.
15198 Fix octave-inf completion problems reported by Alexander Klimov.
15199 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15200 Inherit from octave-mode-syntax-table.
15201 (inferior-octave-mode): Set info-lookup-mode.
15202 (inferior-octave-completion-at-point): New function.
15203 (inferior-octave-complete): Use it and completion-in-region.
15204 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15205 comint-filename-completion.
15206 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15207 symbol elements which shouldn't be word elements.
15208 (octave-font-lock-keywords, octave-beginning-of-defun)
15209 (octave-function-header-regexp): Adjust regexps accordingly.
15210 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15212 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
15214 * net/gnutls.el (gnutls-errorp): Declare before first use.
15216 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15218 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15219 verify-error, and verify-hostname-error parameters. Check whether
15220 default trustfile exists before going to use it. Add missing
15221 argument to gnutls-message-maybe call. Return value.
15222 Reported by Claudio Bley <claudio.bley@gmail.com>.
15223 (open-gnutls-stream): Add usage example.
15225 * net/network-stream.el (network-stream-open-starttls): Give host
15226 parameter to `gnutls-negotiate'.
15227 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
15228 * subr.el (shell-quote-argument): Escape correctly under Windows.
15230 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
15232 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15233 Use correct match group (bug#8438).
15235 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
15237 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15238 (package-menu--generate): New arg specifying packages to show.
15239 (package-menu-refresh, package-menu-execute, list-packages):
15241 (package-show-package-list): New function, replacing deleted
15242 package--list-packages (renamed because it is non-internal).
15244 * finder.el (finder-list-matches): Use package-show-package-list
15245 instead of deleted package--list-packages.
15247 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15248 Based on a previous implementation by Juanma Barranquero (Bug#8366).
15249 (vc-annotate-mode-map): Bind it to RET.
15251 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15253 * progmodes/etags.el (next-file): Don't use set-buffer to change
15254 buffers (Bug#8478).
15256 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
15258 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15260 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15261 (apropos-accumulator): Doc fix.
15262 (apropos-function, apropos-macro, apropos-command)
15263 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15264 (apropos-plist): Add face property.
15265 (apropos-symbols-internal): Fix indentation.
15266 (apropos-print): Simplify help, and recognize apropos-multi-type.
15267 (apropos-print-doc): Use button-type-get to extract the button's
15268 face property. Fill docstring (Bug#8352).
15270 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
15272 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15274 * play/mpuz.el (mpuz-silent): Doc fix.
15275 (mpuz-mode-map): Use mapc.
15276 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15277 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15278 Fix typos in docstrings.
15280 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15281 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15283 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15285 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
15287 * minibuffer.el (completion--do-completion): Avoid the "Next char
15288 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15290 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15291 mouse-2 into unread-command-events, it is interpreted correctly.
15293 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
15294 (image-toggle-display): Doc fix.
15296 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
15298 * textmodes/page.el (what-page): Use line-number-at-pos to
15299 calculate line number (Bug#6825).
15301 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15303 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15304 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15305 Pass argument NO-DEFAULT to `find-tag-interactive'.
15307 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15309 Lexical-binding cleanup.
15311 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15312 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15313 * progmodes/ada-prj.el (ada-prj-initialize-values)
15314 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15315 (ada-prj-show-value):
15316 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15317 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15318 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15319 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15320 * progmodes/bug-reference.el (bug-reference-push-button):
15321 * progmodes/fortran.el (fortran-line-length):
15322 * progmodes/glasses.el (glasses-change):
15323 * progmodes/octave-mod.el (octave-fill-paragraph):
15324 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15325 (python-pdbtrack-grub-for-buffer, python-sentinel):
15326 * progmodes/sql.el (sql-save-connection):
15327 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15328 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15329 Mark unused parameters.
15331 * progmodes/compile.el (compilation--flush-directory-cache)
15332 (compilation--flush-parse, compile-internal): Mark unused parameters.
15333 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15334 (compilation-next-error-function): Remove unused variable `timestamp'.
15336 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15337 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15339 * progmodes/dcl-mode.el (dcl-end-of-command):
15340 Remove unused variable `start'.
15341 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15342 (dcl-option-value-basic, dcl-option-value-offset)
15343 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15344 Mark unused parameters.
15345 (dcl-save-local-variable): Remove unused variable `val'.
15348 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15349 Mark unused parameters.
15350 (delphi-ignore-changes): Move before first use.
15351 (delphi-charset-token-at): Remove unused variable `start'.
15352 (delphi-else-start): Remove unused variable `if-count'.
15353 (delphi-comment-block-start, delphi-comment-block-end):
15354 Remove unused variable `kind'.
15355 (delphi-indent-line): Remove unused variable `new-point'.
15357 * progmodes/ebrowse.el (ebrowse-files-list)
15358 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15359 Mark unused parameters. Don't quote `lambda'.
15360 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15361 Don't quote `lambda'.
15362 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15363 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15364 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15365 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15366 Use `ignore-errors'.
15367 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15368 (ebrowse-view/find-file-and-search-pattern)
15369 (ebrowse-view/find-member-declaration/definition):
15370 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15371 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15372 Rename parameter PREFIX-ARG to PREFIX.
15373 (ebrowse-tags-read-name): Remove unused variables `start' and
15375 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15378 * progmodes/etags.el (local-find-tag-hook): Declare.
15379 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15380 Mark unused parameters.
15382 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15383 (executable-interpret): Mark unused parameter.
15385 * progmodes/flymake.el (flymake-process-sentinel)
15386 (flymake-after-change-function)
15387 (flymake-create-temp-with-folder-structure)
15388 (flymake-get-include-dirs-dot): Mark unused parameters.
15389 (flymake-safe-delete-directory): Remove unused variable `err'.
15391 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15392 (speedbar-timer-fn, speedbar-line-text)
15393 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15394 (speedbar-center-buffer-smartly): Declare functions.
15395 (gdb-find-watch-expression): Remove unused variable `array'.
15396 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15397 (gdb-starting): Mark unused parameters.
15398 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15399 (gdb-table-string): Remove unused variable `res'.
15400 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15401 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15402 (gdb-display-buffer): Remove unused variable `cur-size'.
15404 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15405 allow lexical-binding compilation.
15406 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15407 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15408 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15409 Mark unused parameters.
15410 (gud-gdb-marker-filter): Remove unused variable `match'.
15411 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15412 lambda expressions and funcall them, instead of using `fset'.
15414 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15415 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15417 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15418 variable `header-beg'; use `let'.
15420 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15421 `restart', `last-sexp' and `at-do'.
15423 * progmodes/js.el (js--debug): Mark unused parameter.
15424 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15425 (js--splice-into-items): Remove unused variable `item'.
15426 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15428 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15429 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15430 (makefile-complete): Remove unused variable `try'.
15431 (makefile-fill-paragraph, makefile-match-function-end):
15432 Mark unused parameters.
15434 * progmodes/octave-inf.el (inferior-octave-complete):
15435 Remove unused variable `proc'.
15436 (inferior-octave-output-digest): Mark unused parameter.
15438 * progmodes/perl-mode.el (perl-calculate-indent):
15439 Remove unused variable `err'.
15441 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15442 (prolog-indent-line): Mark unused parameters.
15443 (prolog-indent-line): Remove unused variable `beg'.
15445 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15446 (reporter-dont-compact-list): Declare.
15448 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15449 Remove unused variable `char'.
15450 (sh-debug): Mark unused parameter.
15451 (sh-get-indent-info): Remove unused variable `start'.
15452 (sh-calculate-indent): Remove unused variable `var'.
15454 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15455 (simula-electric-keyword): Remove unused variable `null'.
15456 (simula-search-backward, simula-search-forward): Remove unused
15457 variables `begin' and `end'.
15459 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15460 Remove unused variable `pos'.
15461 (vera-electric-tab, vera-comment-uncomment-region):
15462 Mark unused parameters.
15463 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15465 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
15467 * emacs-lisp/package.el (package--builtins, package-alist)
15468 (package-load-descriptor, package-built-in-p, package-activate)
15469 (define-package, package-installed-p)
15470 (package-compute-transaction, package-buffer-info)
15471 (package--push): Doc fix. Distinguish more clearly between
15472 version strings and version lists.
15474 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
15476 Lexical-binding cleanup.
15478 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15479 (5x5-make-mutate-best):
15480 * play/fortune.el (fortune-in-buffer):
15481 * play/gomoku.el (gomoku-init-display):
15482 * play/solitaire.el (solitaire, solitaire-do-check):
15483 * play/tetris.el (tetris-default-update-speed-function):
15484 Mark unused parameters.
15486 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15487 (bubbles--shift): Remove unused variable `char-org'.
15488 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15489 (bubbles--show-images): Remove unused variable `char'.
15491 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15492 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15493 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15494 (decipher-analyze-buffer): Use ?\s.
15495 (decipher-make-checkpoint): Remove unused variable `mapping'.
15497 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15499 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15500 Remove unused variable `result'; use `let'.
15502 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15503 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15504 (gametree-children-shown-p, gametree-compute-reduced-score):
15505 Use `ignore-errors'.
15507 * play/handwrite.el (ps-lpr-switches): Declare.
15508 (handwrite): Remove unused variables `pmin' and `lastp'.
15510 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15512 * play/landmark.el (landmark-init-display)
15513 (landmark-update-naught-weights): Mark unused parameters.
15514 (landmark-y): Remove unused variable `noise'. Simplify.
15515 (landmark-human-plays): Remove unused variable `score'.
15517 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15518 (mpuz-try-proposal): Remove unused variable `game'.
15520 * play/zone.el (life-patterns): Declare.
15522 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
15524 * vc/vc.el (ediff-vc-internal): Declare function.
15526 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15528 * shell.el: Use lexical-binding and std completion UI.
15529 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15530 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15531 comint-preoutput-filter-functions rather than on
15532 comint-output-filter-functions.
15533 (shell-command-completion, shell--command-completion-data)
15534 (shell-filename-completion, shell-environment-variable-completion)
15535 (shell-c-a-p-replace-by-expanded-directory): New functions.
15536 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15537 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15538 (shell-dynamic-complete-environment-variable): Use them.
15539 (shell-dynamic-complete-as-environment-variable)
15540 (shell-dynamic-complete-as-command): Remove.
15541 (shell-match-partial-variable): Match past point.
15542 * comint.el: Clean up use of completion-at-point-functions.
15543 (comint-completion-at-point): New function.
15544 (comint-mode): Use it completion-at-point-functions.
15545 (comint-dynamic-complete): Make it obsolete.
15546 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15547 (comint-c-a-p-replace-by-expanded-history): New function.
15548 (comint-dynamic-complete-functions)
15549 (comint-replace-by-expanded-history): Use it.
15550 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15551 termination strings. Try harder to avoid second try-completion.
15552 (completion-in-region-mode-map): Disable bindings that don't work yet.
15554 * comint.el: Use lexical-binding. Require CL.
15555 (comint-dynamic-complete-functions): Use comint-filename-completion.
15556 (comint-completion-addsuffix): Tweak custom type.
15557 (comint-filename-completion, comint--common-suffix)
15558 (comint--common-quoted-suffix, comint--table-subvert)
15559 (comint--complete-file-name-data): New functions.
15560 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15561 (comint-dynamic-list-filename-completions): Use them.
15562 (comint-dynamic-simple-complete): Make obsolete.
15564 * minibuffer.el (completion-in-region-mode):
15565 Keep completion-in-region-mode--predicate global.
15566 (completion-in-region--postch):
15567 Assume completion-in-region-mode--predicate is not null.
15569 * progmodes/flymake.el (flymake-start-syntax-check-process):
15570 Obey `dir'. Simplify.
15572 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15573 we're in VC after all.
15575 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15577 * vc/vc.el (vc-diff-build-argument-list-internal)
15578 (vc-version-ediff, vc-ediff): New commands.
15579 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15581 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15583 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15586 * obsolete/erc-hecomplete.el: Make obsolete.
15587 * obsolete/: Standardize obsolescence info in the header.
15589 2011-04-20 Glenn Morris <rgm@gnu.org>
15591 * calendar/solar.el (solar-horizontal-coordinates):
15592 Use the longitude argument rather than `calendar-longitude'.
15593 (solar-date-next-longitude): Remove unused locals.
15595 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15597 * whitespace.el: New version 13.2.1.
15599 2011-04-20 felix <EmacsWiki> (tiny change)
15601 * whitespace.el (global-whitespace-mode): Keep highlight when
15602 switching between major modes on a file.
15604 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15606 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15607 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15608 multi-line comments as well.
15610 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
15612 Lexical-binding cleanup.
15614 * arc-mode.el (archive-mode-revert):
15615 * cmuscheme.el (scheme-interactively-start-process):
15616 * custom.el (custom-initialize-delay):
15617 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15618 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15619 * emacs-lock.el (emacs-lock-clear-sentinel):
15620 * ezimage.el (defezimage):
15621 * follow.el (follow-avoid-tail-recenter):
15622 * fringe.el (set-fringe-mode-1):
15623 * generic-x.el (bat-generic-mode-compile):
15624 * help-mode.el (help-info-variable, help-do-xref)
15625 (help-mode-revert-buffer):
15626 * help.el (view-emacs-todo):
15627 * iswitchb.el (iswitchb-completion-help):
15628 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15629 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15630 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15631 * locate.el (locate-update):
15632 * longlines.el (longlines-encode-region)
15633 (longlines-after-change-function):
15634 * outline.el (outline-isearch-open-invisible):
15635 * ps-def.el (declare-function, charset-dimension, char-width)
15637 * ps-mule.el (ps-mule-plot-string):
15638 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15639 (recentf-edit-list-select, recentf-edit-list-validate)
15640 (recentf-open-files-action):
15641 * rect.el (delete-whitespace-rectangle-line)
15642 (rectangle-number-line-callback):
15643 * register.el (window-configuration-to-register)
15644 (frame-configuration-to-register):
15645 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15646 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15647 (xselect-convert-to-targets, xselect-convert-to-delete)
15648 (xselect-convert-to-filename, xselect-convert-to-charpos)
15649 (xselect-convert-to-lineno, xselect-convert-to-colno)
15650 (xselect-convert-to-os, xselect-convert-to-host)
15651 (xselect-convert-to-user, xselect-convert-to-class)
15652 (xselect-convert-to-name, xselect-convert-to-integer)
15653 (xselect-convert-to-atom, xselect-convert-to-identity):
15654 * subr.el (declare, ignore, process-kill-without-query)
15655 (text-clone-maintain):
15656 * terminal.el (te-get-char, te-tic-sentinel):
15657 * tool-bar.el (tool-bar-make-keymap):
15658 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15659 * type-break.el (type-break-mode, type-break-noninteractive-query):
15660 * view.el (View-back-to-mark):
15661 * wid-browse.el (widget-browse-action, widget-browse-widget)
15662 (widget-browse-widgets, widget-browse-sexp):
15663 * widget.el (define-widget-keywords):
15664 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15665 Mark unused parameters.
15667 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15668 (align-areas): Remove unused variable `look'.
15669 (align-region): Remove unused variables `real-end' and `pos-list'.
15671 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15673 * bindings.el (mode-line-modified, mode-line-remote):
15674 Mark unused parameters.
15675 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15677 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15678 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15680 * comint.el (comint-history-isearch-pop-state)
15681 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15682 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15683 (comint-substitute-in-file-name): Doc fix.
15685 * completion.el (cmpl-statistics-block): Mark unused parameter.
15686 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15687 (save-completions-to-file, load-completions-from-file):
15688 Remove unused local variable `e'.
15690 * composite.el (compose-chars): Remove unused variable `len'.
15691 (lgstring-insert-glyph): Remove unused variable `g'.
15692 (compose-glyph-string): Remove unused variables `ascent',
15693 `descent', `lbearing' and `rbearing'.
15694 (compose-glyph-string-relative): Remove unused variables
15695 `lbearing', `rbearing' and `wadjust'.
15696 (compose-gstring-for-graphic): Remove unused variables `header',
15697 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15698 (compose-gstring-for-terminal): Remove unused variables `header'
15699 and `nchars'. Use `let', not `let*'.
15701 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15702 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15703 (Custom-buffer-done, custom-buffer-create-internal)
15704 (custom-browse-visibility-action, custom-browse-group-tag-action)
15705 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15706 (widget-magic-mouse-down-action, custom-toggle-parent)
15707 (custom-add-parent-links, custom-toggle-hide-variable)
15708 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15709 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15710 (custom-face-menu-create, custom-variable-menu-create, get)
15711 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15712 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15713 (customize-apropos): Remove unused variable `tests'.
15714 (custom-group-value-create): Remove unused variable `hidden-p'.
15715 (sort-fold-case): Declare.
15717 * cus-theme.el (custom-reset-standard-faces-list)
15718 (custom-reset-standard-variables-list): Declare.
15719 (customize-create-theme, custom-theme-revert, custom-theme-write)
15720 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15721 Mark unused parameters.
15723 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15725 * delim-col.el (delimit-columns-max): Move defvar before first use.
15727 * descr-text.el (describe-char-categories): Don't quote `lambda'.
15728 (describe-char): Don't quote `lambda'. Mark unused parameter.
15730 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15731 (auto-insert): Declare.
15732 (desktop-restore-file-buffer): Rename desktop-* parameters;
15734 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15735 (desktop-buffer): Rename desktop-* parameters.
15737 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15738 (dframe-reposition-frame-xemacs, dframe-help-echo)
15739 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15740 Mark unused parameters.
15742 * dired-aux.el (backup-extract-version-start, overwrite-query)
15743 (overwrite-backup-query, rename-regexp-query)
15744 (rename-non-directory-query): Declare.
15745 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15746 (dired-add-entry): Remove unused variable `orig-file-name'.
15747 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15748 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15749 `dired-copy-preserve-time' directly.
15750 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15751 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15753 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15754 (dired-virtual-revert, dired-make-relative-symlink):
15755 Mark unused parameters.
15756 (manual-program): Declare.
15757 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15758 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15759 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15761 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15763 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15765 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15768 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15770 * electric.el (Electric-command-loop): Rename parameter
15771 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15773 * expand.el (expand-in-literal): Remove unused variable `here'.
15775 * facemenu.el (facemenu-add-new-color):
15776 Remove unused variable `docstring'.
15778 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15779 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15780 (face-attr-construct): Mark unused parameter. Doc fix.
15781 (read-color): Remove unused variable `hex-string'.
15783 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15784 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15785 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15786 (display-buffer-other-frame): Remove unused variable `old-window'.
15787 (kill-buffer-hook): Declare.
15788 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15789 Mark unused parameters.
15790 (after-find-file): Pass 1 to `auto-save-mode', not t.
15792 * files-x.el (auto-insert): Declare.
15793 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15795 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
15796 variable `buf'. Mark unused parameter.
15797 (find-lisp-insert-directory): Mark unused parameter.
15799 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15800 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15801 (format-common-tail): Remove, unused.
15802 (format-deannotate-region): Remove unused variable `loc'.
15803 (format-annotate-region): Remove unused variable `p'.
15804 (format-annotate-single-property-change): Remove unused variables
15805 `default' and `tail'.
15807 * forms.el (read-file-filter): Declare.
15808 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15810 * frame.el (frame-creation-function-alist): Mark unused parameter.
15811 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15813 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15814 Remove unused parameters.
15815 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15816 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15818 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15819 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15820 (hfy-prepare-tag-map): Mark unused parameters.
15821 (htmlfontify-buffer): Use `called-interactively-p'.
15823 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15824 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15825 (ibuffer-do-occur): Mark unused parameters.
15826 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15827 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15829 * ibuffer.el: Don't quote `lambda'.
15830 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15831 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15832 Mark unused parameters.
15834 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15835 (ido-completing-read): Mark unused parameters.
15836 (ido-copy-current-word): Mark unused parameters;
15837 remove unused variable `name'.
15838 (ido-sort-merged-list): Remove unused parameter `dirs'.
15840 * ielm.el (ielm-input-sender): Mark unused parameter.
15841 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15842 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15843 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15844 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15845 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15847 * image-dired.el (image-dired-display-thumbs): Remove unused
15848 variables `curr-file' and `count'.
15849 (image-dired-remove-tag): Remove unused variable `start'.
15850 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15851 variable `curr-file'
15852 (image-dired-rotate-original): Remove unused variable `temp-file'.
15853 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15854 Remove unused variable `file'.
15855 (image-dired-gallery-generate): Remove unused variable `curr'.
15856 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15858 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15860 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15862 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15864 * isearch.el (minibuffer-history-symbol): Declare.
15865 (isearch-edit-string): Remove unused variable `err'.
15866 (isearch-message-prefix, isearch-message-suffix):
15867 Mark unused parameters.
15869 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15871 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15873 * makesum.el (double-column): Remove unused variable `cnt'.
15875 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15876 (ido-ignore-item-temp-list): Declare.
15878 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15879 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15880 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15881 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15884 * mouse-sel.el (mouse-extend-internal):
15885 Remove unused variable `orig-window-frame'.
15887 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15888 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15889 Move declarations before first use.
15890 (pcomplete-opt): Mark unused parameters; doc fix.
15892 * proced.el (proced-revert): Mark unused parameter.
15893 (proced-send-signal): Remove unused variable `err'.
15895 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15896 Rename parameter PREFIX-ARG to ARG.
15897 (ps-basic-plot-string, ps-basic-plot-whitespace):
15898 Mark unused parameters.
15900 * replace.el (replace-count): Define.
15901 (occur-revert-function): Mark unused parameters.
15902 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15903 (isearch-case-fold-search, isearch-string): Declare.
15904 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15905 bind `case-fold-search'. Remove unused variables `beg' and `end',
15907 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15908 COUNT and bind `replace-count'.
15909 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15912 * savehist.el (print-readably, print-string-length): Declare.
15914 * shadowfile.el (shadow-expand-cluster-in-file-name):
15915 Remove unused variable `cluster'.
15916 (shadow-copy-file): Remove unused variable `i'.
15917 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15918 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15919 (shadow-define-literal-group, shadow-define-regexp-group)
15920 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15922 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15923 (shell): Use `called-interactively-p'.
15924 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15926 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15927 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15928 (delete-backward-char): Remove unused variable `ocol'.
15929 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15930 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15931 (event-apply-hyper-modifier, event-apply-shift-modifier)
15932 (event-apply-control-modifier, event-apply-meta-modifier):
15933 Mark unused parameters.
15934 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15935 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15937 * speedbar.el (speedbar-ignored-directory-expressions)
15938 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15939 (speedbar-find-file, speedbar-dir-follow)
15940 (speedbar-directory-buttons-follow, speedbar-tag-find)
15941 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15942 (speedbar-buffers-line-directory, speedbar-buffer-click):
15943 Mark unused parameters.
15944 (speedbar-tag-file): Remove unused variable `mode'.
15945 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15947 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15949 * talk.el (talk): Remove unused variable `display'.
15951 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15952 (tar-write-region-annotate): Mark unused parameter.
15954 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15955 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15956 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15957 warning by another.
15959 * time-stamp.el (time-stamp-string-preprocess):
15960 Remove unused variable `require-padding'.
15962 * tree-widget.el (widget-glyph-enable): Declare.
15963 (tree-widget-action): Mark unused parameter.
15965 * w32-fns.el (x-get-selection): Mark unused parameter.
15966 (autoload-make-program, generated-autoload-file): Declare.
15968 * wdired.el (wdired-revert): Mark unused parameters.
15969 (wdired-xcase-word): Remove unused variable `err'.
15971 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15972 (whitespace-help-scroll): Remove unused variable `data-help'.
15974 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15975 (widget-image-insert, widget-after-change, default)
15976 (widget-default-format-handler, widget-default-notify)
15977 (widget-default-prompt-value, widget-info-link-action)
15978 (widget-url-link-action, widget-function-link-action)
15979 (widget-variable-link-action, widget-file-link-action)
15980 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15981 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15982 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15983 (widget-insert-button-action, widget-delete-button-action, visibility)
15984 (widget-documentation-link-action, widget-documentation-string-action)
15985 (widget-const-prompt-value, widget-regexp-match, symbol)
15986 (widget-coding-system-prompt-value)
15987 (widget-key-sequence-value-to-external, sexp)
15988 (widget-sexp-value-to-internal, character, vector, cons)
15989 (widget-choice-prompt-value, widget-boolean-prompt-value)
15990 (widget-color--choose-action): Mark unused parameters.
15991 (widget-item-match-inline, widget-choice-match-inline)
15992 (widget-checklist-match, widget-checklist-match-inline)
15993 (widget-group-match): Rename parameter VALUES to VALS.
15994 (widget-field-value-set): Remove unused variable `size'.
15995 (widget-color-action): Remove unused variables `value' and `start'.
15997 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
15998 variable `dir'. Doc fix.
15999 (windmove-find-other-window): Don't pass it.
16001 * window.el (count-windows): Mark unused parameter.
16002 (bw-adjust-window): Remove unused variable `err'.
16004 * woman.el (woman-file-name): Remove unused variable `default'.
16005 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16006 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16007 (global-font-lock-mode): Declare.
16008 (woman-decode-region): Mark unused parameter.
16009 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16011 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16012 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16013 (x-dnd-handle-moz-url): Remove unused variable `title'.
16014 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16016 * xml.el (xml-parse-tag, xml-parse-attlist):
16017 Remove unused variable `pos'.
16019 2011-04-19 Glenn Morris <rgm@gnu.org>
16021 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16022 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16023 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16024 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16025 * calendar/cal-html.el (cal-html-insert-minical):
16026 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16027 (calendar-mark-date-pattern):
16028 Prefix "unused" locals.
16030 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16031 optional argument `style'.
16033 * calendar/appt.el (appt-make-list):
16034 * calendar/cal-china.el (calendar-chinese-date-string):
16035 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16036 (diary-hebrew-yahrzeit):
16037 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16038 * calendar/calendar.el (calendar-generate-window):
16039 * calendar/time-date.el (time-to-days):
16040 Remove unused local variables.
16042 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
16044 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16045 glyphless-char-display table.
16046 (tabulated-list-glyphless-char-display): New var.
16048 2011-04-18 Sam Steingold <sds@gnu.org>
16050 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16051 to acknowledgments.
16053 2011-04-17 Glenn Morris <rgm@gnu.org>
16055 * calendar/diary-lib.el (diary-sexp-entry):
16056 * calendar/holidays.el (holiday-sexp):
16057 Set debug-on-error rather than the removed stack-trace-on-error.
16059 2011-04-16 Glenn Morris <rgm@gnu.org>
16061 * progmodes/f90.el: Use lexical-binding.
16062 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16064 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16066 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16067 (mail-mode): Setup mailalias completion here instead.
16068 * mail/mailalias.el: Use lexical-binding.
16069 (pattern, mailalias-done): Declare dynamic.
16070 (mail-completion-at-point-function): New function, from mail-complete.
16071 (mail-complete): Use it.
16072 (mail-completion-expand): New function.
16073 (mail-get-names): Use it.
16074 (mail-directory, mail-directory-process, mail-directory-stream):
16075 Don't use `pattern' for lexically bound arg.
16077 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16079 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16080 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16081 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16083 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16084 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16085 (byte-interactive-p): Define them again, for use when inlining
16088 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
16090 * loadup.el: Use `string-to-number', not `string-to-int'.
16092 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16094 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16095 gud-gdb-complete-command.
16096 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16097 (gud-gdb-completion-at-point): New function.
16098 (gud-gdb-completions): Remove.
16100 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
16102 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16103 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16104 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16105 whether `executable-find' is bound.
16107 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16109 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16111 * minibuffer.el (completion-in-region-mode-predicate)
16112 (completion-in-region-mode--predicate): New vars.
16113 (completion-in-region, completion-in-region--postch)
16114 (completion-in-region-mode): Use them.
16115 (completion--capf-wrapper): Also return the hook function.
16116 (completion-at-point, completion-help-at-point):
16117 Adjust and provide a predicate.
16119 Preserve arg names for advice of subr and lexical functions (bug#8457).
16120 * help-fns.el (help-function-arglist): Consolidate the subr and
16121 new-byte-code cases. Add argument `preserve-names' to extract names
16122 from the docstring when needed.
16123 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16124 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16125 (ad-arglist): Use help-function-arglist's new arg.
16126 (ad-definition-type): Use cond.
16128 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
16130 * autorevert.el (auto-revert-handler):
16131 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16132 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16133 Don't quote lambda.
16135 * image-mode.el (image-transform-set-scale):
16136 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16138 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16140 * net/network-stream.el (network-stream-open-starttls): Only do
16141 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
16142 Upgrades via gnutls-cli are too slow to be done opportunistically.
16144 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
16146 * dframe.el (dframe-current-frame): Remove spurious quote.
16148 2011-04-12 Glenn Morris <rgm@gnu.org>
16150 * calendar/cal-tex.el (cal-tex-end-document):
16151 Try to automatically use latin1 input if needed.
16153 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16154 Don't try to cons a mark onto an empty element.
16156 2011-04-11 Leo Liu <sdl.web@gmail.com>
16158 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16160 (ido-kill-buffer-at-head): Support killing virtual buffers.
16162 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
16164 * minibuffer.el (completion-show-inline-help): New var.
16165 (completion--do-completion, minibuffer-complete)
16166 (minibuffer-force-complete, minibuffer-complete-word):
16167 Inhibit minibuffer messages if completion-show-inline-help is nil.
16169 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16170 to avoid interference from inline help (Bug#5849).
16172 2011-04-10 Leo Liu <sdl.web@gmail.com>
16174 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16177 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
16179 * image-mode.el (image-toggle-display-image): Signal an error if
16181 (image-transform-mode, image-transform-resize)
16182 (image-transform-set-rotation): Doc fix.
16183 (image-transform-set-resize): Delete.
16184 (image-transform-set-scale, image-transform-fit-to-height)
16185 (image-transform-fit-to-width): Handle image-toggle-display-image
16186 and image-transform-resize directly.
16188 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
16190 * doc-view.el (doc-view-fit-width-to-window)
16191 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16192 New functions for fitting the shown image to the Emacs window size.
16193 (doc-view-mode-map): Add bindings for the new functions.
16195 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
16197 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
16198 Fix typo in docstring.
16200 2011-04-08 Eli Zaretskii <eliz@gnu.org>
16202 * files.el (file-size-human-readable): Produce one digit after
16203 decimal, like "ls -lh" does.
16205 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16206 the file size representation.
16208 * simple.el (list-processes): If async subprocesses are not
16209 available, error out with a clear error message.
16211 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
16213 * help.el (help-form-show): New function, to be called from C.
16214 Put help-form output in a buffer named differently than *Help*.
16216 2011-04-08 Eli Zaretskii <eliz@gnu.org>
16218 * files.el (file-size-human-readable): New function.
16220 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16221 computing the representation inline. Don't require `cl'.
16223 2011-04-08 Glenn Morris <rgm@gnu.org>
16225 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16227 * net/browse-url.el (browse-url-firefox):
16228 Test system-type, not system-configuration.
16230 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16231 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16232 Use log-edit-empty-buffer-p. (Bug#7598)
16234 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16235 (rlogin-mode-map): Initialize in the defvar.
16236 (rlogin): Use ignore-errors.
16238 * replace.el (occur-mode-map): Some fixes for menu items.
16240 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16242 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16244 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
16246 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16247 issuing unused warnings.
16249 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16252 * simple.el: Lisp reimplement of list-processes. Based on an
16253 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16254 (process-menu-mode): New major mode.
16255 (list-processes--refresh, list-processes):
16256 (process-menu-visit-buffer): New functions.
16258 * files.el (save-buffers-kill-emacs): Don't assume any return
16259 value of list-processes, which is undocumented anyway.
16261 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
16263 * emacs-lisp/tabulated-list.el: New file.
16265 * emacs-lisp/package.el: Use Tabulated List mode.
16266 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16267 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16268 table format using Tabulated List mode variables.
16269 (package--push): New macro, replacing package-list-maybe-add.
16270 (package-menu--generate): Use package--push. Renamed from
16271 package--generate-package-list.
16272 (package-menu-refresh, list-packages): Use it.
16273 (package-menu--print-info): Rename from package-print-package.
16274 Return insertion data instead of inserting it directly.
16275 (package-menu-describe-package, package-menu-execute):
16276 Use tabulated-list-get-id.
16277 (package-menu-mark-delete, package-menu-mark-install)
16278 (package-menu-mark-unmark, package-menu-backup-unmark)
16279 (package-menu-mark-obsolete-for-deletion):
16280 Use tabulated-list-put-tag.
16281 (package--list-packages, package-menu-revert)
16282 (package-menu-get-package, package-menu-get-version)
16283 (package-menu-sort-by-column): Functions deleted.
16284 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16285 (package-menu--status-predicate, package-menu--version-predicate)
16286 (package-menu--name-predicate)
16287 (package-menu--description-predicate): Handle arguments in the
16288 Tabulated List format.
16289 (package-list-packages-no-fetch): Call list-packages.
16291 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
16293 * files.el (after-find-file-from-revert-buffer): Remove variable.
16294 (after-find-file): Don't bind it.
16295 (revert-buffer-in-progress-p): New variable.
16296 (revert-buffer): Bind it.
16297 Pass nil for `after-find-file-from-revert-buffer'.
16299 * saveplace.el (save-place-find-file-hook): Use new variable
16300 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16302 2011-04-06 Glenn Morris <rgm@gnu.org>
16304 * Makefile.in (AUTOGEN_VCS): New variable.
16305 (autoloads): Use $AUTOGEN_VCS.
16307 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16308 * calendar/calendar.el (calendar-mode-map):
16309 Check for toolkit scroll bars. (Bug#8305)
16311 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16313 * minibuffer.el (completion-in-region--postch)
16314 (completion-in-region-mode): Remove unnecessary messages.
16316 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
16318 * font-lock.el (font-lock-refresh-defaults):
16319 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16320 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16322 * info.el (Info-directory-list, Info-read-node-name-2)
16323 (Info-split-parameter-string): Doc fixes.
16324 (Info-virtual-nodes): Reflow docstring.
16325 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16326 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16327 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16328 Fix typos in docstrings.
16329 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16330 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16331 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16332 (Info-restore-desktop-buffer): Mark unused parameters.
16333 (Info-directory-find-file, Info-directory-find-node)
16334 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16335 (Info-virtual-index-find-node, Info-apropos-find-file)
16336 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
16337 Mark unused parameters; fix typos in docstrings.
16338 (Info-virtual-index): Remove unused local variable `nodename'.
16340 2011-04-05 Deniz Dogan <deniz@dogan.se>
16342 * net/rcirc.el: Update my e-mail address.
16343 (rcirc-mode-map): Remove M-o binding.
16345 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16347 * startup.el (command-line): Save the cursor's theme-face
16348 directly, instead of using face-override-spec.
16350 * custom.el (load-theme): Minor optimization in assigning faces.
16352 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16354 * help-fns.el (describe-variable): Complete all variables having
16355 documentation, including keywords.
16356 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16358 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16360 Convert to lexical-binding.
16362 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16363 (bs--get-marked-string, bs--get-modified-string)
16364 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16365 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16366 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16368 * ehelp.el (electric-help-execute-extended)
16369 (electric-help-ctrl-x-prefix):
16370 * hexl.el (hexl-revert-buffer-function):
16371 * linum.el (linum-after-change, linum-after-scroll):
16372 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16374 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16376 2011-04-04 Daiki Ueno <ueno@unixuser.org>
16383 * epg.el: Use lexical binding.
16385 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
16387 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16389 * textmodes/flyspell.el (flyspell-word): Recognize default
16390 dictionary case for flyspell-mark-duplications-exceptions.
16391 Use regexp matching for languages.
16392 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16393 default dictionary (Bug#7926).
16395 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
16397 * emacs-lisp/package.el (package--with-work-buffer):
16398 Recognize https URLs.
16400 * net/network-stream.el: Move from gnus/proto-stream.el.
16401 Change prefix to network-stream throughout.
16402 (open-protocol-stream): Merge into open-network-stream, leaving
16403 open-protocol-stream as an alias. Handle nil BUFFER args.
16405 * subr.el (open-network-stream): Move to net/network-stream.el.
16407 2011-04-02 Glenn Morris <rgm@gnu.org>
16409 * find-dired.el (find-exec-terminator): New option.
16410 (find-ls-option): Test for -ls support.
16411 (find-ls-subdir-switches): Test for -b in find-ls-option.
16412 (find-dired, find-grep-dired): Doc fixes.
16413 (find-dired): Use find-exec-terminator.
16415 * find-dired.el (find-ls-option, find-ls-subdir-switches)
16416 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16417 (find-name-arg): Remove purecopy.
16419 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16420 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16421 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16422 accordingly. Don't add the null-device if not needed.
16424 * files.el (save-some-buffers): Doc fix.
16426 2011-04-02 Eli Zaretskii <eliz@gnu.org>
16428 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16430 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
16432 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16433 Use `dolist' rather than `mapcar'.
16435 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16437 Add lexical binding.
16439 * subr.el (apply-partially): Use new closures rather than CL.
16440 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16441 (dolist, dotimes): Use slightly different expansion for lexical code.
16442 (functionp): Move to C.
16443 (letrec): New macro.
16444 (with-wrapper-hook): Use it and apply-partially instead of CL.
16445 (eval-after-load): Preserve lexical-binding.
16446 (save-window-excursion, with-output-to-temp-buffer): Turn them
16449 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16451 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16453 (help-add-fundoc-usage): Don't add `Not documented'.
16454 (help-function-arglist): Handle closures, subroutines, and new
16455 byte-code-functions.
16456 (help-make-usage): Remove leading underscores.
16457 (describe-function-1): Handle closures.
16458 (describe-variable): Use special-variable-p for completion.
16460 * files.el (lexical-binding): Declare safe.
16462 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16463 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16464 (pcase): Add `let' pattern.
16465 Change memoization so it actually works.
16466 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16467 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16470 * emacs-lisp/macroexp.el: Use lexical binding.
16471 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16472 Don't convert ' to #' without checking that it's indeed quoting
16475 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
16476 Use eval-sexp-add-defvars.
16477 (eval-sexp-add-defvars): New fun.
16479 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16481 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16483 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16484 than the internal `byte-compile-lambda'.
16485 (defmethod): Don't hide code under quotes.
16486 (eieio-defmethod): New `code' argument.
16488 * emacs-lisp/eieio-comp.el: Remove.
16490 * emacs-lisp/edebug.el (edebug-eval-defun)
16491 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16492 (edebug-toggle): Avoid `eval'.
16494 * emacs-lisp/disass.el (disassemble-internal): Handle new
16496 (disassemble-1): Handle new byte codes.
16498 * emacs-lisp/cl.el (pushnew): Silence warning.
16500 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16501 (cl-byte-compile-throw): Remove.
16502 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16504 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16507 * emacs-lisp/cconv.el: New file.
16509 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16510 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16511 (byte-compile-initial-macro-environment):
16512 Handle declare-function here.
16513 (byte-compile--lexical-environment): New var.
16514 (byte-stack-ref, byte-stack-set, byte-discardN)
16515 (byte-discardN-preserve-tos): New lap codes.
16516 (byte-interactive-p): Don't use any more.
16517 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16519 (byte-compile-lapcode): Use them and handle new lap codes.
16520 (byte-compile-obsolete): Remove.
16521 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16522 (byte-compile-arglist-warn): Check late def of inlinable funs.
16523 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16524 since they should have been expanded by now.
16525 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16526 (byte-compile-from-buffer): Remove unused second arg.
16527 (byte-compile-preprocess): New function.
16528 (byte-compile-toplevel-file-form): New function to distinguish
16529 file-form calls from outside from file-form calls from hunk-handlers.
16530 (byte-compile-file-form): Simplify.
16531 (byte-compile-file-form-defsubst): Remove.
16532 (byte-compile-file-form-defmumble): Simplify now that
16533 byte-compile-lambda always returns a byte-code-function.
16534 (byte-compile): Preprocess.
16535 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16536 Remove, not used any more.
16537 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16538 (byte-compile-make-args-desc): New funs.
16539 (byte-compile-lambda): Handle lexical functions. Always return
16540 a byte-code-function.
16541 (byte-compile-reserved-constants): New var, to make up room for
16542 closed-over variables.
16543 (byte-compile-constants-vector): Obey it.
16544 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16545 (byte-compile-macroexpand-declare-function): New function.
16546 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16547 byte-code-functions.
16548 (byte-compile-form): Check obsolescence here.
16549 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16550 (byte-compile-variable-ref): Remove.
16551 (byte-compile-dynamic-variable-op): New fun.
16552 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16553 (byte-compile-variable-set): New funs.
16554 (byte-compile-discard): Add 2 args.
16555 (byte-compile-stack-ref, byte-compile-stack-set)
16556 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16557 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16558 macroexpand-all instead.
16559 (byte-compile-quote-form): Remove.
16560 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16561 (byte-compile-bind, byte-compile-unbind): New funs.
16562 (byte-compile-let): Handle let* and lexical binding.
16563 (byte-compile-let*): Remove.
16564 (byte-compile-catch, byte-compile-unwind-protect)
16565 (byte-compile-track-mouse, byte-compile-condition-case):
16566 Handle a new :fun-body form, used for lexical scoping.
16567 (byte-compile-save-window-excursion)
16568 (byte-compile-with-output-to-temp-buffer): Remove.
16569 (byte-compile-defun): Simplify.
16570 (byte-compile-stack-adjustment): New fun.
16571 (byte-compile-out): Use it.
16572 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16574 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16577 * emacs-lisp/byte-opt.el: Use lexical binding.
16578 (byte-inline-lapcode): Remove (to bytecomp).
16579 (byte-compile-inline-expand): Pay attention to inlining to/from
16580 lexically bound code.
16581 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16583 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16584 any more and don't call compiler-macros.
16585 (byte-compile-splice-in-already-compiled-code): Remove.
16586 (byte-code): Don't inline any more.
16587 (disassemble-offset): Receive `bytes' as argument rather than via
16589 (byte-compile-tag-number): Declare before first use.
16590 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16591 `return' even if make-spliceable.
16592 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16593 obsolete interactive-p.
16594 (byte-optimize-lapcode): Optimize new lap-codes.
16595 Don't trip up on new form of `byte-constant' lap code.
16597 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16599 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16601 * custom.el (custom-initialize-default, custom-declare-variable):
16604 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16606 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16607 (COMPILE_FIRST): Add macroexp and cconv.
16608 * makefile.w32-in: Mirror changes in Makefile.in.
16610 * vc/cvs-status.el:
16614 * vc/smerge-mode.el:
16615 * textmodes/bibtex-style.el:
16616 * textmodes/css-mode.el:
16624 * emacs-lisp/smie.el:
16627 * abbrev.el: Use lexical binding.
16629 2011-04-01 Eli Zaretskii <eliz@gnu.org>
16631 * info.el (info-display-manual): New function.
16633 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16635 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16637 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16639 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
16640 an entry for that server in rcirc-authinfo. (Bug#8385)
16642 2011-03-31 Glenn Morris <rgm@gnu.org>
16644 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16646 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16648 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16650 * progmodes/python.el (python-default-interpreter)
16651 (python-python-command-args, python-jython-command-args)
16652 (python-which-shell, python-which-args, python-which-bufname)
16653 (python-file-queue, python-comint-output-filter-function)
16654 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16655 variables and functions.
16657 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16659 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16660 (completion-in-region-mode): New minor mode.
16661 (completion-in-region): Use it.
16662 (completion-in-region--data, completion-in-region-mode-map): New vars.
16663 (completion-in-region--postch): New function.
16664 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16666 (completion--capf-wrapper): New function.
16667 (completion-at-point): Use it to track well-behavedness of
16669 (completion-help-at-point): New command.
16671 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16673 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16674 syntax class to search for whitespace on a single line
16675 (Message-ID: <4D938140.4030905@redhat.com>).
16677 2011-03-30 Leo Liu <sdl.web@gmail.com>
16679 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16681 (edit-abbrevs-map): Bind them here.
16682 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16684 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16686 * allout.el (allout-hide-by-annotation, allout-flag-region):
16687 Reduce possibility of overlay leakage by making them volatile.
16689 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16690 hash is not shared between buffers. Mode initialization is
16691 responsible for giving it a useful starting value.
16692 (allout-item-span): Reduce possibility of overlay leakage by
16693 making them volatile.
16694 (allout-widgets-count-buttons-in-region): Add diagnostic function
16695 for tracking down button overlay leaks.
16697 2011-03-29 Leo Liu <sdl.web@gmail.com>
16699 * ido.el (ido-read-internal): Use the default history var
16700 minibuffer-history if no HISTORY is specified.
16702 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16704 * net/imap.el (imap-shell-open, imap-process-connection-type):
16705 Use imap-process-connection-type for 'shell' streams as well as
16706 Kerberos, SSL, other subprocesses.
16708 2011-03-28 Leo Liu <sdl.web@gmail.com>
16710 * abbrev.el (abbrev-table-empty-p): New function.
16711 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16712 nonempty ones. (Bug#5937)
16714 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16716 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16718 2011-03-27 Leo Liu <sdl.web@gmail.com>
16720 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16721 for foreground and background colors.
16722 (ansi-color-make-color-map): Adapt.
16724 2011-03-25 Leo Liu <sdl.web@gmail.com>
16726 * midnight.el (midnight-time-float): Remove. Note it calculates
16727 the microsecond component incorrectly and seconds-to-time does the
16729 Remove redundant (require 'timer).
16731 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16732 (ido-completions): Remove unused arguments. (Bug#8329)
16734 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16736 * minibuffer.el (completion--flush-all-sorted-completions):
16737 Remove itself from hook.
16738 (completion-at-point): Let the functions perform the completion
16739 immediately and return nil or t.
16740 * comint.el (comint-dynamic-complete-functions): Now identical to
16741 completion-at-point-functions.
16742 (comint-dynamic-list-input-ring): Remove unused var `index'.
16743 (comint--match-partial-filename, comint--unquote&expand-filename):
16744 New funs, split from comint-match-partial-filename.
16745 (comint-dynamic-complete): Use completion-at-point.
16746 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16748 2011-03-24 Drew Adams <drew.adams@oracle.com>
16750 * thingatpt.el: Support `defun'.
16752 2011-03-23 Leo Liu <sdl.web@gmail.com>
16754 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16756 * help-mode.el (help-mode-finish): Tweak regexp.
16758 2011-03-23 Glenn Morris <rgm@gnu.org>
16760 * eshell/esh-opt.el (eshell-eval-using-options):
16761 Do not bind unused local variable `eshell-option-stub'.
16763 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16765 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16767 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16768 keymap variable in `with-no-warnings' to avoid a warning when the
16769 keymap has been already `defconst'ed.
16771 2011-03-22 Leo Liu <sdl.web@gmail.com>
16773 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16774 encode all chars in abbrevs; otherwise use emacs-mule or
16775 utf-8-emacs. (Bug#8308)
16777 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16779 * simple.el (backward-delete-char-untabify):
16780 Avoid warning about using `delete-backward-char'.
16782 * image.el (image-type-file-name-regexps): Make it variable.
16783 `imagemagick-register-types' modifies it, and the user may want
16784 to add new extensions for known image types.
16785 (imagemagick-register-types): Throw error if not using ImageMagick.
16787 2011-03-22 Leo Liu <sdl.web@gmail.com>
16789 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16790 located before rcirc-prompt-end-marker.
16791 (rcirc-complete): Error if point is not after rcirc prompt.
16792 Handle the case when table is nil.
16793 (rcirc-user-authenticated): Define to fix compiler warning.
16795 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
16797 * custom.el (custom--inhibit-theme-enable): Make it affect only
16798 custom-theme-set-variables and custom-theme-set-faces.
16799 (provide-theme): Ignore custom--inhibit-theme-enable.
16800 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16801 (custom-enabling-themes): Delete variable.
16802 (enable-theme): Accept only loaded themes as arguments.
16803 Ignore the special custom-enabled-themes variable.
16804 (custom-enabled-themes): Forbid themes from setting this.
16805 Eliminate use of custom-enabling-themes.
16806 (custom-push-theme): Quote "changed" custom var entry.
16808 2011-03-21 Leo Liu <sdl.web@gmail.com>
16810 * ido.el (ido-read-internal): Add ido-selected to history instead
16813 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16815 * subr.el (deferred-action-list, deferred-action-function):
16818 2011-03-21 Leo Liu <sdl.web@gmail.com>
16820 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16821 change on 2011-02-13 (bug#8309).
16823 * minibuffer.el (read-file-name-function): Change default value.
16824 (read-file-name--defaults): Rename from read-file-name-defaults.
16825 (read-file-name-default): Rename from read-file-name.
16826 (read-file-name): Call read-file-name-function.
16828 2011-03-21 Glenn Morris <rgm@gnu.org>
16830 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16833 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
16835 * cus-theme.el: Add missing provide statement.
16836 (customize-create-theme): Extract theme value correctly.
16837 (custom-theme-visit-theme): Autoload.
16838 (customize-create-theme): Prompt before inserting default faces.
16840 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16842 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16843 units and musical notes.
16845 2011-03-20 Leo Liu <sdl.web@gmail.com>
16847 * ido.el (ido-read-internal): Use completing-read-default.
16848 (ido-completing-read): Fix compatibility with completing-read.
16850 2011-03-20 Christian Ohler <ohler@gnu.org>
16852 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16853 (ert-delete-all-tests): Use `called-interactively-p' rather than
16855 (ert--make-xrefs-region): Respect END.
16857 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16859 * dired-aux.el (dired-create-directory): Signal an error if the
16860 directory already exists (Bug#8246).
16862 * facemenu.el (list-colors-display): Call list-faces-display
16863 inside with-help-window.
16864 (list-colors-print): Use display property to align the final
16865 column, instead of checking window-width.
16867 2011-03-19 Eli Zaretskii <eliz@gnu.org>
16869 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
16870 windows-nt systems.
16871 (emerge-protect-metachars): Quote correctly for ms-dos and
16872 windows-nt systems.
16874 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
16876 * info.el (info-initialize): Replace all uses of `:' with
16877 path-separator for compatibility with non-Unix systems.
16878 Cache quoting of path-separator. (Bug#8258)
16880 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
16882 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16883 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16884 (mouse-avoidance-mode): Fix typos in docstrings.
16886 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16888 * startup.el (package-subdirectory-regexp): Move from package.el.
16889 Omit \\` and \\', and let callers add them.
16891 * emacs-lisp/package.el (package-strip-version)
16892 (package-load-all-descriptors): Add \\` and \\' to
16893 package-subdirectory-regexp before using it.
16894 (package-untar-buffer): New arg DIR; ensure that file untars only
16895 into this expected directory. Remove superfluous delete-region.
16896 (package-unpack): Caller changed.
16897 (package-tar-file-info): Use package-subdirectory-regexp.
16899 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16901 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16902 diff-mode-shared-map (bug#8284).
16903 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
16905 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16907 * calendar/time-date.el (format-seconds): Use assoc instead of
16908 assoc-string, since assoc-string doesn't exist in XEmacs.
16910 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
16912 * custom.el (custom-known-themes): Reflow docstring.
16913 (custom-theme-load-path): Fix typo in docstring.
16914 (load-theme): Fix typo in error message.
16915 (custom-available-themes, custom-variable-theme-value):
16916 Use `let', not `let*'.
16918 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16920 * calc/README: Mention inclusion of musical notes.
16922 * calc/calc-units.el (calc-lu-quant): Rename from
16923 `calc-logunits-quantity'.
16924 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16925 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16926 (calc-db): Rename from `calc-dblevel'.
16927 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16928 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16929 (calc-np): Rename from `calc-nplevel'.
16930 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16931 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16932 (calc-lu-plus): Rename from `calc-logunits-add'.
16933 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16934 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16935 (calc-lu-minus): Rename from `calc-logunits-sub'.
16936 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16937 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16938 (calc-lu-times): Rename from `calc-logunits-mul'.
16939 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16940 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16941 (calc-lu-divide): Rename from `calc-logunits-div'.
16942 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16943 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16945 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16946 functions being autoloaded.
16948 * calc/calc.el (calc-lu-power-reference): Rename from
16949 `calc-logunits-power-reference'.
16950 (calc-lu-field-reference): Rename from
16951 `calc-logunits-field-reference'.
16953 * calc/calc-help.el (calc-l-prefix-help):
16954 Mention musical note functions.
16956 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16958 * minibuffer.el (completion-all-sorted-completions):
16959 Use :completion-cycle-penalty text property if present.
16961 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16963 * allout.el (allout-yank-processing): Adjust for new rebulleting
16964 regime so bullet being yanked is used without prompting the user
16967 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
16969 * startup.el (command-line): Warn the user that _emacs is deprecated.
16971 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
16973 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16974 (delphi-verbose, delphi-comment-face, delphi-string-face)
16975 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16976 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16977 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16978 (delphi-new-comment-line, delphi-font-lock-defaults)
16979 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16980 Fix typos in docstrings.
16982 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16984 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
16985 Invert the roles of character and string values for INSTEAD, so a
16986 string is used for the more common case of a defaulting prompt.
16988 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16990 * progmodes/ruby-mode.el (ruby-backward-sexp):
16991 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16992 * play/gamegrid.el (gamegrid-make-face):
16993 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16994 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16995 * notifications.el (notifications-notify):
16996 * net/xesam.el (xesam-search-engines):
16997 * net/quickurl.el (quickurl-list-insert):
16998 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17000 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
17002 * startup.el (command-line): Update package subdirectory regexp.
17004 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17006 * allout.el (allout-abbreviate-flattened-numbering)
17007 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17009 * subr.el (read-char-choice): Only show the cursor after the prompt,
17010 not after the answer.
17012 2011-03-15 Kevin Ryde <user42@zip.com.au>
17014 * help-fns.el (variable-at-point): Skip leading quotes, if any
17017 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17019 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17022 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
17024 * shell.el (shell): When called interactively, offer to change the
17025 shell file name on remote hosts.
17027 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17029 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17030 integration for LDAP parameters. The host, base, user or binddn,
17031 and secret tokens can be specified in a netrc file, for instance.
17032 This is optional because an `auth-source' parameter must be
17033 specified in the search attributes.
17035 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
17037 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17039 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17041 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17042 into declaration. Remove redundant and harmful binding.
17044 2011-03-12 Eli Zaretskii <eliz@gnu.org>
17046 * files.el (file-ownership-preserved-p): Pass `integer' as an
17047 explicit 2nd argument to `file-attributes'. If the file's owner
17048 is the Administrators group on Windows, and the current user is
17049 Administrator, consider that a match.
17051 * server.el (server-ensure-safe-dir): Consider server directory
17052 safe on MS-Windows if its owner is the Administrators group while
17053 the current Emacs user is Administrator. Use `=' to compare
17054 numerical UIDs, since they could be integers or floats.
17056 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
17058 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17060 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
17062 Sync with Tramp 2.2.1.
17064 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17066 * net/trampver.el: Update release number.
17068 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17070 * progmodes/compile.el (compilation--previous-directory): Fix up
17071 various nil/dead-marker mismatches (bug#8014).
17072 (compilation-directory-properties, compilation-error-properties):
17073 Don't call it at a position past the one we're about to change.
17075 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17076 Disable obsolescence warnings in the file that declares it.
17078 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17080 * allout-widgets.el (allout-widgets-tally):
17081 Initialize allout-widgets-tally as a hash table rather than nil to
17082 prevent mode-line redisplay warnings. Also, clarify the module
17083 description and fix a comment typo.
17085 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
17087 * help-fns.el (describe-variable): Don't complete keywords.
17088 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17090 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
17092 * emacs-lisp/package.el (package-version-join): Impose a standard
17093 string representation for pre/alpha/beta version lists.
17094 (package-unpack-single): Standardize the directory name by passing
17095 it through package-version-join.
17096 (package-strip-rcs-id): Accept any version string that does not
17097 signal an error in version-to-list.
17099 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
17101 * simple.el (delete-trailing-whitespace): Return nil for the
17102 benefit of `write-file-functions'.
17104 2011-03-10 Glenn Morris <rgm@gnu.org>
17106 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17108 * vc/vc-git.el (vc-git-program): New option.
17109 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17110 (vc-git--call): Use it.
17112 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17114 * cus-edit.el (Custom-newline): If no button at point, look
17115 for a subgroup button at start-of-line. (Bug#2298)
17117 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17119 2011-03-10 Julien Danjou <julien@danjou.info>
17121 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17122 `cursor-type' is nil.
17124 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17126 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17128 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17130 * allout.el: Change so yank of distinctive-bullet items
17131 preserves the existing header prefix, rebulleting it if necessary,
17132 rather than replacing it. This is necessary for proper operation
17133 of cooperative addons like allout-widgets.
17134 (allout-make-topic-prefix, allout-rebullet-heading):
17135 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17136 value as alternate bullet to be used, instead of prompting the user
17137 for a bullet character.
17139 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
17141 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17142 Do not use `tramp-file-name-port', because this returns also
17143 `tramp-default-port'.
17145 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17147 * net/rcirc.el (rcirc-handler-001): Remove useless
17148 with-rcirc-process-buffer.
17149 (rcirc-check-auth-status): Swap arguments to string-match.
17151 2011-03-09 Glenn Morris <rgm@gnu.org>
17153 * shell.el (shell-mode):
17154 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17156 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17157 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17159 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
17161 * emacs-lisp/package.el (package-refresh-contents)
17162 (package-menu-execute): Use condition-case-no-debug.
17164 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
17166 * simple.el (shell-command-to-string): Use `process-file'.
17168 * emacs-lisp/package.el (package-tar-file-info): Handle also
17171 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17172 Use `equal' for upload base check.
17174 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17176 * textmodes/texinfo.el (texinfo-environments):
17177 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17179 2011-03-08 Glenn Morris <rgm@gnu.org>
17181 * cus-start.el (cursor-in-non-selected-windows):
17182 Fix :set quoting oddness. (Bug#8192)
17184 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17185 in some setf expressions. (Bug#2159)
17187 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
17189 * custom.el (custom-available-themes): Return themes in
17190 alphabetical order.
17192 See ChangeLog.15 for earlier changes.
17194 ;; Local Variables:
17198 Copyright (C) 2011-2012 Free Software Foundation, Inc.
17200 This file is part of GNU Emacs.
17202 GNU Emacs is free software: you can redistribute it and/or modify
17203 it under the terms of the GNU General Public License as published by
17204 the Free Software Foundation, either version 3 of the License, or
17205 (at your option) any later version.
17207 GNU Emacs is distributed in the hope that it will be useful,
17208 but WITHOUT ANY WARRANTY; without even the implied warranty of
17209 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17210 GNU General Public License for more details.
17212 You should have received a copy of the GNU General Public License
17213 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.